* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Candara', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    background-color: #f5f5dc;
    color: #333;
    overflow-x: hidden;
}

/* Apply Garamond font to all numbers */
.counter, .stat-item strong, .review-rating, [class*="price"], [class*="count"],
.hero-stats strong, .impact-stats strong, .rating {
    font-family: 'Garamond', 'Times New Roman', serif !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: #f5f5dc;
    padding: 0px 0;
    border-bottom: 2px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    gap: 5px;
}

.logo-text {
    font-family: 'Hind', 'Noto Sans Devanagari', sans-serif;
    font-size: 10%;
    font-weight: 5000;
    color: #D2691E;
    line-height: 1;
}

.logo-wheat {
    width: 35px;
    height: 45px;
}

.logo-img {
    height: 70px;
    width: auto;
    mix-blend-mode: multiply;
    background-color: transparent;
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #8bc34a;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.search-bar:focus {
    border-color: #689f38;
    box-shadow: 0 0 5px rgba(139, 195, 74, 0.3);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8bc34a;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-icon {
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #689f38;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.icon-link:hover {
    color: #689f38;
}

.icon-link .icon {
    font-size: 24px;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff5252;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ff5252;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.profile-dropdown {
    position: relative;
    cursor: pointer;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.profile-dropdown:hover .profile-menu,
.profile-dropdown.active .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Invisible bridge to prevent gap issue */
.profile-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.profile-dropdown .icon-link::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.2s;
}

.profile-dropdown:hover .icon-link::after {
    transform: rotate(180deg);
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.profile-menu a:hover {
    background-color: #f5f5f5;
}

.profile-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.profile-menu a:last-child {
    border-radius: 0 0 8px 8px;
    color: #ff5252;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #8bc34a, #689f38);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    color: #2c5f2d;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section - Simplified */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('/images/farm-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.floating-elements {
    display: none;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    font-size: 16px;
}

.hero-icon {
    display: none;
}

.hero-title {
    font-size: 72px;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: white;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn i {
    position: relative;
    z-index: 1;
}

.hero-btn.primary {
    background: #8bc34a;
    color: white;
    box-shadow: 0 4px 20px rgba(139, 195, 74, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(139, 195, 74, 0.7);
    background: #7cb342;
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn.secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 80px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.stat-item i {
    font-size: 50px;
    color: white;
    opacity: 0.95;
}

.stat-item strong {
    font-size: 48px;
    color: white;
    display: inline;
    line-height: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.stat-item span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-top: 5px;
}
}

.how-it-works {
    padding: 60px 20px;
    background-color: #f5f5dc;
}

.how-it-works .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 50px;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(76, 175, 80, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #cbe4cc 0%, #6fda74 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-icon-wrapper svg {
    width: 55px;
    height: 55px;
    color: white;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: #FFA726;
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 167, 38, 0.4);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-arrow svg {
    width: 40px;
    height: 40px;
    color: #4CAF50;
}

@media (max-width: 900px) {
    .steps {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 10px 5px;
        justify-content: flex-start;
    }
    
    .step {
        flex-shrink: 0;
        min-width: 200px;
        max-width: 200px;
        padding: 10px;
    }

    .step-icon-wrapper {
        width: 80px;
        height: 80px;
        margin: 0 auto 15px;
    }

    .step-icon-wrapper svg {
        width: 36px;
        height: 36px;
    }

    .step-number {
        width: 26px;
        height: 26px;
        font-size: 14px;
        top: -3px;
        right: -3px;
    }

    .step h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .step p {
        font-size: 12px;
    }
    
    .step-arrow {
        padding-top: 30px;
    }
    
    .step-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* Why Choose Us Section */
.why-choose {
    padding: 20px 20px;
    background: linear-gradient(135deg, #f5f5dc 0%, #f5f5dc 50%, #f5f5dc 100%);
}

.why-choose .section-title {
    text-align: center;
    margin-bottom: 10px;
    color: #2E7D32;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.25);
    border-color: #4CAF50;
}

.feature-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 3px dashed #4CAF50;
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-icon {
    font-size: 80px;
}

.feature-content {
    text-align: center;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #2E7D32;
}

.feature-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Impact Section */
.impact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5dc , #f5f5dc , #f5f5dc);
    color: #2d5f32;
    position: relative;
    overflow: hidden;
}

.impact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.impact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(104, 159, 56, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.impact-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.impact h2 {
    font-size: 52px;
    margin-bottom: 20px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 900;
    color: #2d5f32;
    letter-spacing: -1px;
}

.impact p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 60px;
    color: #4a7c4e;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
    flex-wrap: nowrap;
}

.stat {
    background: white;
    padding: 20px 40px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid #e8f5e9;
    position: relative;
    box-shadow: 0 2px 10px rgba(139, 195, 74, 0.08);
    min-width: 220px;
    max-width: 380px;
    flex: 1;
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(139, 195, 74, 0.15);
    border-color: #c5e1a5;
}

.stat i {
    font-size: 45px;
    margin-bottom: 15px;
    color: #8bc34a;
    transition: all 0.3s ease;
}

.stat:hover i {
    transform: scale(1.05);
}

.stat h3 {
    font-size: 48px;
    margin-bottom: 8px;
    font-weight: 900;
    color: #2d5f32;
    transition: all 0.3s ease;
    letter-spacing: -1px;
}

.stat p {
    font-size: 17px;
    margin: 0;
    color: #4a7c4e;
    font-weight: 500;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .impact-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .impact {
        padding: 70px 0;
    }
    
    .impact h2 {
        font-size: 38px;
    }
    
    .impact-stats {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 10px 5px;
        justify-content: flex-start;
    }
    
    .stat {
        flex-shrink: 0;
        min-width: 200px;
        max-width: 200px;
        padding: 15px 20px;
    }

    .stat i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .stat h3 {
        font-size: 36px;
    }

    .stat p {
        font-size: 14px;
    }
}

/* Meet the Farmer Section - Kisan Kommunity */
.farmers {
    padding: 30px 0;
    background: linear-gradient(180deg, #f5f5dc , #f5f5dc );
    position: relative;
}

.farmers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 1400px) {
    .farmers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .farmers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.farmer-card {
    background: white;
    padding: 20px 15px 20px;
    border-radius: 20px;
    border: 2px solid rgba(139, 195, 74, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.farmer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, rgba(104, 159, 56, 0.05) 100%);
    border-radius: 20px 20px 0 0;
    z-index: 0;
}

.farmer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139, 195, 74, 0.2);
    border-color: rgba(139, 195, 74, 0.4);
}

.farmer-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #8bc34a;
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.farmer-card:hover .farmer-avatar {
    border-color: #689f38;
    transform: scale(1.05);
}

.farmer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.farmer-name {
    font-size: 15px;
    font-weight: 800;
    color: #2c5f2d;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.3;
}

.farm-name {
    font-size: 15px;
    color: #555;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.farmer-location {
    font-size: 13px;
    color: #777;
    margin: 0;
    font-style: italic;
}

/* Customer Reviews Section */
.reviews {
    padding: 60px 0;
    background: #f5f5dc;
    position: relative;
}

/* Carousel Wrapper */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-carousel {
    overflow: hidden;
    position: relative;
}

.reviews-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.reviews-grid .review-card {
    flex: 0 0 calc(33.333% - 20px);
}

@media (max-width: 1200px) {
    .reviews-grid .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .reviews-grid .review-card {
        flex: 0 0 100%;
    }
    
    .reviews-carousel-wrapper {
        padding: 0 50px;
    }
}

/* Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #8bc34a;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.carousel-nav-btn:hover {
    background: #689f38;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #8bc34a;
    width: 30px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: #689f38;
}

/* Review Card - SCOPED UPDATES ONLY */
.review-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /* CHANGED: Center-aligned vertical layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative; /* For quote icon positioning */
    min-height: 320px; /* Prevent layout shift */
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* Quote Icon - New Element */
.review-quote-icon {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 24px;
    color: #8bc34a;
    opacity: 0.25;
}

/* Review Avatar - Updated for centered layout */
.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #8bc34a;
    box-shadow: 0 3px 10px rgba(139, 195, 74, 0.3);
    margin-top: 5px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Review Text - Updated for centered layout */
.review-text {
    flex: 1;
    overflow: hidden;
    margin-top: 5px;
}

.review-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    /* REMOVED: italic and em styling for cleaner look */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Review Author - No change needed */
.review-author {
    font-size: 15px;
    color: #333;
    font-weight: 700;
    margin: 5px 0 0 0;
}

/* Review Role - New Element */
.review-role {
    font-size: 12px;
    color: #8bc34a;
    font-weight: 500;
    margin: 0;
    text-transform: capitalize;
}

/* Star Rating - New Component */
.review-rating {
    display: flex;
    gap: 3px;
    margin-top: 5px;
    justify-content: center;
}

.review-rating i {
    font-size: 14px;
    color: #ffc107; /* Gold color for stars */
}

/* Maintain existing duplicate avatar styles (if needed elsewhere) */
.review-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8bc34a;
    box-shadow: 0 3px 12px rgba(139, 195, 74, 0.3);
    transition: all 0.4s ease;
}

.review:hover .review-avatar {
    transform: scale(1.1);
    border-color: #ffa726;
    box-shadow: 0 4px 20px rgba(255, 167, 38, 0.4);
}

.review-author-info {
    flex: 1;
}

.review-author {
    font-weight: 700;
    color: #2c5f2d;
    margin: 0 0 6px 0;
    font-size: 15px;
    transition: color 0.3s ease;
}

.review:hover .review-author {
    color: #8bc34a;
}

.rating {
    color: #ffa726;
    font-size: 13px;
    display: flex;
    gap: 3px;
}

.rating i {
    filter: drop-shadow(0 2px 3px rgba(255, 167, 38, 0.3));
    transition: all 0.3s ease;
}

.review:hover .rating i {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 5px rgba(255, 167, 38, 0.5));
}

/* Footer */
footer {
    position: relative;
    background-color: #2e7d32;
    padding: 0;
    margin-top: 0;
}

.footer-curve {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background-color: #f5f5dc;
}

.footer-curve svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-main {
    background-color: #2e7d32;
    padding: 50px 60px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 180px 1fr 1fr auto;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
}

.logo-shape {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 0 50% 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    overflow: hidden;
}

.footer-logo-img {
    transform: rotate(45deg);
    width: 90px;
    height: auto;
    object-fit: contain;
}

/* Menu Section */
.footer-menu {
    color: white;
    padding-top: 10px;
}

.footer-menu h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

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

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: white;
}

/* Contacts Section */
.footer-contacts {
    color: white;
    padding-top: 10px;
}

.footer-contacts h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.footer-contacts .address {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contacts .phone,
.footer-contacts .email {
    font-size: 14px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.9);
}

/* Social Icons */
.footer-social {
    padding-top: 10px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 150px 1fr 1fr;
        gap: 40px;
    }
    
    .footer-social {
        grid-column: 1 / -1;
        padding-top: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 20px 25px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Join Community Section */
.join-community {
    padding: 80px 0;
    background: linear-gradient(135deg, #6e6e4a 0%, #f5f5dc  100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.community-header {
    text-align: center;
    margin-bottom: 50px;
}

.community-header h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 900;
}

.community-header p {
    font-size: 20px;
    opacity: 0.9;
}

.join-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.role-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 45px 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.role-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.role-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #8bc34a, #689f38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.role-box:hover .role-icon {
    transform: scale(1.1) rotate(10deg);
}

.role-box h3 {
    font-size: 30px;
    margin-bottom: 18px;
    font-weight: 900;
}

.role-box > p {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.6;
    opacity: 0.9;
}

.role-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.role-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.role-benefits i {
    color: #8bc34a;
    font-size: 18px;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #8bc34a, #689f38);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 195, 74, 0.5);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(10deg);
    }
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
}

[data-animate="fade-in-up"].animated {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animate="fade-in-left"].animated {
    animation: fadeInLeft 0.8s ease forwards;
}

[data-animate="fade-in-right"].animated {
    animation: fadeInRight 0.8s ease forwards;
}

[data-animate="zoom-in"].animated {
    animation: zoomIn 0.8s ease forwards;
}

[data-animate="scale-in"].animated {
    animation: scaleIn 0.8s ease forwards;
}

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

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

/* Responsive Design */
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Navigation Styles */
.mobile-search {
    display: none;
}

.desktop-search {
    display: block;
}

@media (max-width: 1024px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .desktop-search {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .farmers-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-social {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-content {
        flex-wrap: nowrap;
    }

    .desktop-search {
        display: none !important;
    }

    .mobile-search {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 0;
        overflow-y: auto;
    }

    .nav-right.active {
        right: 0;
    }

    .nav-link,
    .icon-link {
        width: 100%;
        padding: 15px 10px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: flex-start;
    }

    .icon-link span {
        display: inline;
    }

    .cart-link {
        position: relative;
    }

    .cart-count {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .profile-dropdown {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .profile-dropdown .icon-link {
        border-bottom: 1px solid #f0f0f0;
    }

    .profile-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        display: none;
        background-color: #f8f8f8;
    }

    .profile-dropdown.active .profile-menu {
        display: block;
    }

    .profile-menu a {
        padding: 12px 20px 12px 30px;
        border-bottom: 1px solid #e5e5e5;
    }

    .profile-menu a:first-child {
        border-radius: 0;
    }

    .profile-menu a:last-child {
        border-radius: 0;
    }

    nav {
        padding: 12px 0;
    }

    .logo-img {
        height: 50px;
    }

    .hero-title {
        font-size: 38px;
    }
    
    .hero-description {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        gap: 15px;
    }

    .hero-btn {
        flex: 1;
        min-width: 140px;
        max-width: 300px;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        flex: 0 0 auto;
        min-width: 100px;
    }

    .stat-item i {
        font-size: 40px;
    }

    .stat-item strong {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    /* Steps already handled in 900px breakpoint */
    
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .feature {
        min-width: 100%;
    }
    
    .farmers-images {
        grid-template-columns: 1fr;
    }
    
    .join-roles {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .contact-social {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .geometric-shape {
        opacity: 0.3;
    }
    
    .geometric-shape svg {
        width: 50px;
        height: 50px;
    }

    /* Search Results Mobile Optimization */
    .search-results {
        max-height: 400px;
        overflow-y: auto;
    }

    .search-result-item {
        padding: 10px;
    }

    .search-result-item img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
        min-height: auto;
        height: auto;
    }

    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 120px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        min-width: 90px;
    }

    .stat-item i {
        font-size: 35px;
    }

    .stat-item strong {
        font-size: 32px;
    }

    .stat-item span {
        font-size: 14px;
    }
    
    .impact h2,
    .community-header h2 {
        font-size: 28px;
    }

    .impact p {
        font-size: 16px;
        padding: 0 10px;
    }

    .impact-stats {
        padding: 0 15px;
    }

    .stat {
        padding: 15px 20px;
        min-width: 100%;
    }

    .stat h3 {
        font-size: 36px;
    }

    .stat p {
        font-size: 15px;
    }

    .step-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .step-icon-wrapper svg {
        width: 45px;
        height: 45px;
    }

    .step h3 {
        font-size: 18px;
    }

    .step p {
        font-size: 14px;
    }

    .feature {
        padding: 30px 20px;
    }

    .feature-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .feature-icon {
        font-size: 60px;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .feature-content p {
        font-size: 0.95rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-menu h3,
    .contact-info-footer h3 {
        font-size: 16px;
    }
    
    .footer-logo svg {
        width: 80px;
        height: 80px;
    }
    
    .contact-footer-style {
        padding: 40px 0 30px;
    }
    
    .geometric-shape {
        display: none;
    }

    /* Mobile-specific improvements */
    .nav-right {
        max-width: 85%;
    }

    .search-bar {
        font-size: 14px;
        padding: 8px 35px 8px 12px;
    }

    .logo-img {
        height: 45px;
    }

    /* Touch-friendly buttons */
    .hero-btn,
    .nav-link,
    .icon-link,
    button,
    a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        min-height: 44px;
        min-width: 44px;
    }

    /* Farmer cards mobile optimization */
    .farmer-card {
        padding: 15px 10px;
    }

    .farmer-avatar {
        width: 120px;
        height: 120px;
    }

    .farmer-name {
        font-size: 14px;
    }

    .farm-name {
        font-size: 13px;
    }

    .farmer-location {
        font-size: 12px;
    }

    /* Reviews mobile optimization */
    .reviews-carousel-wrapper {
        padding: 0 15px;
    }

    .review-card {
        padding: 20px 15px;
    }
}

/* Landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 80px 0;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .stat-item {
        flex-direction: row;
        flex: 0 0 45%;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .nav-right {
        width: 90%;
        max-width: none;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
}
