:root {
    --primary-color: #8bc34a;
    --secondary-color: #ffc107;
    --dark-color: #2e7d32;
    --light-color: #f1f8e9;
    --text-color: #333;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

header {
    background-color: var(--primary-color);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
    width: 85%;
    margin: 0 auto;
    max-width: 1200px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 60px;
    height:60px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--red);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100px;
    height: 100px;
    margin-right: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hero {
    height: 100vh;
    /* Remove the background-image: url("images/intro.mp4"); line */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    position: relative;
    /* Add this */
    overflow: hidden;
    /* Add this */
}

/* Add this new CSS rule for the video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Places the video behind content */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ffd54f;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.products {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.wwoofing {
    background-color: var(--light-color);
}

.wwoof-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.wwoof-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.wwoof-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.wwoof-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.country-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.country-flag {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.farmers {
    background-color: var(--white);
}

.farmers-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.farmers-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.farmers-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.farmers-image img {
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location {
    background-color: var(--light-color);
}

.location-content {
    display: flex;
    flex-wrap: wrap;
}

.location-map {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.location-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.facilities {
    background-color: var(--white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facility-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.facility-info {
    padding: 20px;
}

.facility-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.future-plans {
    background-color: var(--light-color);
}

.plans-list {
    list-style: none;
}

.plans-list li {
    margin-bottom: 15px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.plan-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Gallery Section */
/* Replace your existing .gallery-item CSS with this enhanced version */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Enhanced hover effect for gallery items */
.gallery-item:hover {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Optional: Add container hover effect to fade other items */
.gallery-grid:hover .gallery-item:not(:hover) {
    opacity: 0.6;
    transform: scale(0.98);
}

/* Add smooth transitions to the gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 40px;
    transition: all 0.3s ease;
}

/* Modal Styles for Gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.modal-close:hover {
    color: #ff4444;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-prev {
    left: -60px;
}

.modal-next {
    right: -60px;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.5);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .modal-nav {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    .modal-prev {
        left: -50px;
    }
    
    .modal-next {
        right: -50px;
    }
    
    .modal-close {
        top: -35px;
        font-size: 28px;
    }
}

/* Keep existing responsive rules */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:hover {
        transform: scale(1.1); /* Slightly less zoom on smaller screens */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:hover {
        transform: scale(1.08); /* Even less zoom on mobile */
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.contact {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-left: 63px;

}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Colors for different social platforms on hover */
.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-link:hover .fa-facebook-f {
    background-color: #3b5998;
}

.social-link:hover .fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-link:hover .fa-linkedin-in {
    background-color: #0077b5;
}

.social-link:hover .fa-youtube {
    background-color: #ff0000;
}

.social-link i {
    font-size: 18px;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--dark-color);
}


footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1b5e20 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

/* Add decorative background pattern */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column {
    padding: 0;
    margin-bottom: 0;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact info styling */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Social links improved styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-start;
    margin-left: 0;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link:hover .fa-facebook-f {
    color: #3b5998;
}

.social-link:hover .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-link:hover .fa-linkedin-in {
    color: #0077b5;
}

.social-link:hover .fa-youtube {
    color: #ff0000;
}

.social-link i {
    font-size: 18px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    footer {
        padding: 50px 0 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .footer-column {
        padding: 0 10px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 16px;
    }
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--white);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

/* Scroll Animation Styles */
section {
    opacity: 0;
    transition: all 1s ease;
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

section.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Additional animations for section elements */
section.animate .section-title h2 {
    animation: fadeInDown 1s ease forwards;
}

section.animate .service-card,
section.animate .product-card,
section.animate .facility-card,
section.animate .testimonial-card,
section.animate .gallery-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.2s);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover animations for facility cards */
.facility-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.facility-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.facility-card:hover .facility-image {
    height: 220px;
}

.facility-info {
    padding: 20px;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-info h3 {
    color: var(--primary-color);
}

/* Add overlay effect on hover */
.facility-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.facility-card:hover .facility-image::after {
    opacity: 1;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    padding: 0 10px;
    margin-bottom: 30px;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.products-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.product-card {
    min-width: calc((100% - 60px) / 3);
    /* Show 3 cards with gap considered */
    flex: 0 0 auto;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

.carousel-btn:active {
    transform: translateY(0);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-arrow {
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-card {
        min-width: calc((100% - 30px) / 2);
        /* Show 2 cards on medium screens */
    }
}

@media (max-width: 576px) {
    .product-card {
        min-width: 100%;
        /* Show 1 card on small screens */
    }
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 20px 0;
}

.review-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 24px;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

/* Large screens - 3 cards */
@media (min-width: 992px) {
    .review-card {
        flex-basis: calc(33.333% - 24px);
        max-width: calc(33.333% - 24px);
    }
}

/* Medium screens - 2 cards */
@media (min-width: 768px) and (max-width: 991px) {
    .review-card {
        flex-basis: calc(50% - 24px);
        max-width: calc(50% - 24px);
    }
}

/* Small screens - 1 card */
@media (max-width: 767px) {
    .review-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.review-card:hover {
    transform: translateY(-5px);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-weight: bold;
    color: #555;
}

.user-name {
    font-weight: 600;
    font-size: 18px;
}

.review-date {
    font-size: 14px;
    color: #777;
    margin-top: 4px;
}

.review-content {
    line-height: 1.6;
}

.review-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.review-text {
    color: #444;
}

@media (max-width: 600px) {
    .review-card {
        padding: 16px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
    }

    .review-title {
        font-size: 18px;
    }
}
/* ADD THESE RESPONSIVE STYLES TO YOUR EXISTING CSS FILE */
/* Copy and paste this at the end of your style.css file */

/* Base responsive improvements - UPDATE YOUR EXISTING .container */
.container {
    width: 90%;  /* Changed from 85% for better mobile spacing */
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 15px;  /* Added padding for mobile */
}

/* Header/Navigation Responsive - ENHANCE YOUR EXISTING MOBILE STYLES */
@media (max-width: 768px) {
    header {
        padding: 12px 0; /* Reduce padding on mobile */
    }
    
    .logo img {
        width: 100px;  /* Smaller logo on mobile */
        height: 100px;
    }
    
    .nav-links {
        z-index: 999; /* Ensure it's above other content */
    }
}

/* Hero Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
}

/* Section Responsive - ADD THESE */
@media (max-width: 768px) {
    section {
        padding: 60px 0; /* Reduce from 80px */
    }
    
    .section-title h2 {
        font-size: 2rem; /* Already in your CSS but ensure it's here */
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
}

/* About Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        min-width: 100%;
        padding: 15px;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .about-text ul {
        text-align: left;
    }
    
    .about-text ul li {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }
}

/* Services Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }
    
    .service-card {
        padding: 25px 20px;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

/* WWOOFing Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .wwoof-content {
        flex-direction: column-reverse; /* Image first, then text */
    }
    
    .wwoof-text, .wwoof-image {
        min-width: 100%;
        padding: 15px;
    }
    
    .wwoof-text h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .wwoof-text ul li {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }
    
    .country-flags {
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }
    
    .country-flag {
        width: 40px;
        height: 40px;
    }
}

/* Farmers Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .farmers-content {
        flex-direction: column;
    }
    
    .farmers-text, .farmers-image {
        min-width: 100%;
        padding: 15px;
    }
    
    .farmers-image img {
        width: 100%; /* Full width on mobile instead of 80% */
    }
    
    .farmers-text h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .farmers-text ul li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
}

/* Location Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .location-content {
        flex-direction: column;
    }
    
    .location-map, .location-info {
        min-width: 100%;
        padding: 15px;
    }
    
    .map-container {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .location-info h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .location-info ul li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
}

/* Facilities Section Responsive - ADD THESE */
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .facility-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .facility-image {
        height: 220px;
    }
    
    .facility-info {
        padding: 18px;
    }
    
    .facility-info h3 {
        font-size: 1.2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        gap: 20px;
    }
    
    .facility-image {
        height: 200px;
    }
}

/* Gallery Section - ENHANCE YOUR EXISTING STYLES */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
        margin-top: 30px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-item:hover {
        transform: scale(1.05); /* Less zoom on mobile */
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-item:hover {
        transform: scale(1.02); /* Minimal zoom on small mobile */
    }
}

/* Modal Responsive - ENHANCE YOUR EXISTING STYLES */
@media (max-width: 480px) {
    .modal-nav {
        position: fixed;
        top: 20px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
    }
    
    .modal-prev {
        left: 20px;
    }
    
    .modal-next {
        right: 70px; /* Make room for close button */
    }
    
    .modal-close {
        top: 20px;
        right: 20px;
        position: fixed;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }
}

/* Buttons Responsive - ADD THESE */
@media (max-width: 768px) {
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .carousel-navigation {
        gap: 15px;
        margin-top: 25px;
    }
}

/* Prevent horizontal scroll - ADD THIS */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .btn {
        display: block;
        text-align: center;
        max-width: 200px;
        margin: 0 auto;
    }
    
    ul li {
        line-height: 1.6;
    }
    
    p {
        margin-bottom: 15px;
        line-height: 1.6;
    }
}

/* Landscape mobile orientation - ADD THIS */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 50px 0;
    }
}

/* 
this is to resize the image
.product-image {
    height: 300px; /* Reduced from 500px */
    background-size: contain; /* Changed from 'cover' to 'contain' */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5; /* Add light background */
} */