/* ==================== Hero Section ==================== */

.hero {
    position: relative;
    color: #333;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: #F5F5DC;
    margin-top: 0px;
    padding: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.hero-content {
    max-width: 800px;
    padding: 30px;
    border-radius: 1px;
    background-color: white;
    text-align: center; /* Center text */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c6e2f;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 15px;
    font-family: 'Quicksand', sans-serif;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
}

.carousel-inner {
    width: 100%;
    height: auto;
}

.carousel-item img {
    width: 100%;
    height: 400px; /* Fixed height to maintain consistency */
    object-fit: cover; /* Ensures images maintain their aspect ratio */
    border-radius: 3px;
}

.cta-btn {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.125rem;
    border-radius: 2px;
    transition: background-color 0.3s ease-in-out;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 10px;
}

.cta-btn:hover {
    background-color: #218838;
    color: #fff; /* Ensure text remains visible */
}

@media (max-width: 767px) {
    .hero {
        margin-top: 20px;
    }
    .row {
        flex-direction: column;
    }
    .hero-content {
        margin-bottom: 20px;
    }
    .carousel-item img {
        height: 250px; /* Reduced height for smaller screens */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.2rem;
    }
    .hero p {
        font-size: 1.125rem;
    }
    .cta-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}


/* ==================== About Section Styles ==================== */

.about-us {
    padding: 50px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c6e2f;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    border-bottom: 3px solid #28a745;
    display: inline-block;
    padding-bottom: 10px;
}

.about-us .row > div {
    padding: 20px;
    margin: 15px; /* Add margin to separate boxes */
    border-radius: 2px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1; /* Ensures columns expand equally */
}

.about-us h3 {
    font-size: 1.75rem;
    color: #444;
    margin-bottom: 15px;
    font-family: 'Quicksand', sans-serif;
}

.about-us p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #555;
}

.btn-primary {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-color: #218838;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .about-us .row {
        flex-direction: column; /* Stack boxes vertically on mobile */
    }
    .about-us .row > div {
        margin: 10px 0; /* Slightly smaller margin for mobile */
    }
}

/* PC Layout Adjustment */
@media (min-width: 768px) {
    .about-us .row {
        display: flex;
        justify-content: space-between; /* Space out the columns */
    }
    .about-us .row > div {
        flex: 1;
        max-width: calc(50% - 30px); /* Reduce max-width slightly for consistent margins */
    }
}



/* Services Section Styling */
.services-section {
    padding: 60px 0;
    background-color: #F5F5DC;
}

.service-box {
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease-in-out;
    height: 100%;

}

.service-box:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: #28a745; /* Green color to match the farm theme */
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-description {
    color: #555;
}

@media (max-width: 767px) {
    .service-box {
        margin-bottom: 20px;
    }
}






/* ==================== Product Section ==================== */

/* General Styles for the Products Section */
#products {
    padding: 60px 0;
    background-color: #f9f9f9;
  }
  
  #products .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  #products .section-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 40px;
  }
  
  .product-box {
    background-color: #fff;
    border-radius: 3px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  
  .product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .product-img {
    width: 100%;
    height: 250px; /* Set a consistent height for all images */
    object-fit: cover; /* Ensure images fill the box without distortion */
    border-radius: 3px;
    margin-bottom: 15px;
  }
  
  .product-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .product-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
  }
  
  .product-box .btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .product-box .btn:hover {
    background-color: #218838;
  }
  
  /* Responsive Grid for Small Screens */
  @media (max-width: 767px) {
    #products .product-box {
      margin-bottom: 30px;
    }
  
    #products .product-title {
      font-size: 1.25rem;
    }
  
    #products .product-description {
      font-size: 0.9rem;
    }
  }
  
/* Contact Section Styling */
.contact-info-box, .contact-form-box {
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.contact-info-box h3, .contact-form-box h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-box p, .contact-form-box p {
    font-size: 1rem;
    color: #555;
}

.contact-info-box {
    text-align: left; /* Align text for a professional look */
}

.contact-form-box .form-group {
    margin-bottom: 20px;
}

.contact-form-box .form-control {
    border-radius: 5px;
}

.contact-form-box .btn-primary {
    background-color: #28a745;
    border: none;
    transition: background-color 0.3s ease;
}

.contact-form-box .btn-primary:hover {
    background-color: #218838;
}

@media (max-width: 767px) {
    .contact-info-box, .contact-form-box {
        text-align: center;
    }
}





/* ////////// Exportable Activity Section CSS ////////// */

/* Base Styles for Exportable Section */
#ex-activity-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.ex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Title */
.ex-section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #006400; /* Dark Green */
    text-align: center;
    margin-bottom: 30px;
}

/* Activity Row */
.ex-activity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
    justify-content: center;
}

/* Activity Item */
.ex-activity-item {
    width: 450px; /* Set the fixed width for each video */
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Video Styling */
.ex-activity-video {
    width: 100%;
    height: 250px; /* Set the fixed height for each video */
    border: none;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ex-activity-item {
        width: 100%; /* Make items take full width on smaller screens */
    }

    .ex-section-title {
        font-size: 2rem;
    }
}


