@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
    --primary-color: #528c35;
    --secondary-color: #6b7280;
    --text-color-dark: #1f2937;
    --text-color-medium: #4b5563;
    --text-color-light: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --card-bg: whitesmoke;
    --top-bar-bg: #3b5c27;
    --button-green: #528c35;
    --button-green-hover: #42702a;
    --mann-text-color: #3b5c27;
    --nav-link-color: #1f2937;
    --envato-button-bg: #2d3748;
    --envato-button-hover: #1a202c;
    --yellow-play-button: #fdd835;
    --yellow-play-button-hover: #fbc02d;
    --gallery-card-overlay-bg: #fdd835;
    --gallery-card-text-color: #3b5c27;
    --badge-yellow: #ffd54f;
    --badge-brown: #5d4037;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    background-color: whitesmoke;
    padding-top: 100px;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

/* Top Bar */
.top-bar {
    background-color: var(--top-bar-bg);
    color: var(--text-color-light);
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    width: 100%;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-info,
.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-info span,
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-bar-info span a {
    text-decoration: none;
    color: white;
}

.top-bar-info .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.flag-icon {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    width: 24px;
    height: 16px;
}

.icon-small {
    width: 8px;
    height: 8px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

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

.social-icons a .icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.2s ease;
    width: 16px;
    height: 16px;
}

.social-icons a .icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Header */
.header {
    background-color: var(--card-bg);
    padding: 18px 0;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    width: calc(100% - 40px);
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo span {
    font-size: 0.85rem;
    color: var(--text-color-medium);
    font-weight: 400;
    display: block;
}

.header.scrolled {
    top: 0;
    border-radius: 0;
    width: 100%;
    max-width: none;
    transform: translateX(0);
    background-color: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(15px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--mann-text-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.02);
}

.mann-logo {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: border-color 0.3s ease;
}

.logo:hover .mann-logo {
    border-color: var(--button-green-hover);
}

/* Navigation */
.nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--nav-link-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 25px;
    position: relative;
    white-space: nowrap;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(82, 140, 53, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(82, 140, 53, 0.1);
    font-weight: 600;
}

.nav-link.active::before {
    width: 80%;
}

/* Header CTA Button */
.header-cta {
    flex-shrink: 0;
    margin-left: 20px;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-color);
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--button-green-hover);
    border-color: var(--button-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 140, 53, 0.3);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-left: auto;
    z-index: 1003;
}

.menu-toggle:hover {
    background-color: rgba(82, 140, 53, 0.1);
}

.menu-toggle i {
    font-size: 28px;
    color: var(--nav-link-color);
    transition: color 0.3s ease;
}

.menu-toggle:hover i {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 70vh;
    color: var(--text-color-light);
    padding: 60px 30px 40px;
    margin-top: -100px;
    padding-top: 160px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("./assets/wood.jpeg") no-repeat center center / cover;
    z-index: 0;
    animation: subtleFloat 15s linear infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) translateX(5px) scale(1.01);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-color-light);
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
}

.hero-text {
    color: var(--text-color-light);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--button-green-hover);
    border-color: var(--button-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.farmer-container {
    position: relative;
    max-width: 380px;
    width: 100%;
}

.farmer-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    box-shadow: none;
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}

.farmer-image:hover {
    transform: scale(1.02);
}

.delivery-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--badge-yellow);
    color: var(--badge-brown);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    animation: pulse 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.delivery-badge::before {
    content: "🌿";
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

@keyframes pulse {

    0%,
    100% {
        transform: rotate(5deg) scale(1);
    }

    50% {
        transform: rotate(5deg) scale(1.05);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.floating-leaf {
    position: absolute;
    opacity: 0.7;
    font-size: 2rem;
    animation: floatLeaf 12s infinite ease-in-out;
    color: rgba(82, 140, 53, 0.8);
}

.floating-leaf:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.floating-leaf:nth-child(2) {
    top: 60%;
    right: 8%;
    animation-delay: -4s;
}

.floating-leaf:nth-child(3) {
    bottom: 25%;
    left: 10%;
    animation-delay: -8s;
}

.floating-leaf:nth-child(4) {
    top: 35%;
    right: 25%;
    animation-delay: -2s;
    font-size: 1.5rem;
}

.floating-leaf:nth-child(5) {
    bottom: 40%;
    right: 5%;
    animation-delay: -6s;
    font-size: 1.8rem;
}

@keyframes floatLeaf {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.4;
    }
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewY(-1deg);
    z-index: 2;
}

/* Team Page Specific Styles */
.team-hero-section {
    position: relative;
    background: url("./assets/logo.png") no-repeat center center / cover;
    color: var(--text-color-light);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: -100px;
    padding-top: 160px;
    min-height: 70vh;
}

.team-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.team-hero-section .container {
    position: relative;
    z-index: 1;
}

.team-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-hero-description {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Directors Section */
.directors-section,
.farmers-section,
.vision-mission-section,
.core-values-section,
.our-story-section,
.cta-contact-section {
    padding: 80px 0;
    background-color: white;
}

.directors-section {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mann-text-color);
    text-align: center;
    margin-bottom: 50px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.director-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.director-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.director-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--mann-text-color);
    margin-bottom: 8px;
}

.director-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.director-bio {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    line-height: 1.6;
}

/* Farmers Section */
.farmers-section {
    background-color: white;
}

.farmers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.farmer-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.farmer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.farmer-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.farmer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.farmer-card:hover .farmer-photo {
    transform: scale(1.05);
}

.share-icon-circle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.share-icon-circle:hover {
    background-color: var(--button-green-hover);
}

.share-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.farmer-title-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 5px;
}

.farmer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mann-text-color);
    margin-bottom: 20px;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: var(--bg-light);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.vision-card,
.mission-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
}

.vm-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(30%) sepia(80%) saturate(1000%) hue-rotate(80deg) brightness(80%);
}

.vm-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mann-text-color);
    margin-bottom: 15px;
}

.vm-description {
    font-size: 1rem;
    color: var(--text-color-medium);
    line-height: 1.6;
}

/* Core Values Section */
.core-values-section {
    background-color: white;
}

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

.value-item {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    filter: invert(30%) sepia(80%) saturate(1000%) hue-rotate(80deg) brightness(80%);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mann-text-color);
    margin-bottom: 10px;
}

.value-description {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    line-height: 1.5;
}

/* Our Story Section */
.our-story-section {
    background-color: var(--bg-light);
}

.story-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.story-text {
    flex: 1;
    color: var(--text-color-medium);
    font-size: 1rem;
    line-height: 1.7;
}

.story-text p {
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.story-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.cta-contact-section {
    background-color: white;
    color: black;
    text-align: center;
    padding: 50px 0;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-contact-section .button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cta-contact-section .button.primary {
    background: var(--gallery-card-text-color);
    color: white;
    border-color: white;
}

.cta-contact-section .button.primary:hover {
    background: lightgreen;
    border-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-contact-section .button.secondary {
    background: lightgreen;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
}

.cta-contact-section .button.secondary:hover {
    background: var(--gallery-card-text-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: yellowgreen;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
}

.scroll-to-top-btn img {
    width: 24px;
    height: 24px;
}


.footer {
    background: var(--top-bar-bg);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-tagline {
    color: #b8d4bb;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 280px;
}

.footer-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8d4bb;
    font-size: 0.95rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #7fb883;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

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

.social-link:hover {
    background: #7fb883;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.footer-bottom-content {

    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #b8d4bb;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: #b8d4bb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}


/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.language-selector i,
.social-icons i {
    font-size: 16px;
    color: var(--text-color-light);
}

.icon-small {
    font-size: 12px !important;
}

.social-icons i {
    font-size: 16px;
    color: var(--text-color-light);
}

.icon-small {
    font-size: 12px !important;
}

/* Cards Section */
.cards-overlap-section {
    margin-top: 50px;
}

.cards-section {
    margin-top: 10px;
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.card-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
    transform: translateY(calc(100% - 70px));
    transition: transform 0.4s ease-out;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.card-item:hover .card-content {
    transform: translateY(0);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--mann-text-color);
    margin-bottom: 10px;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.4s ease;
}

.card-item:hover .card-description {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}



@media (max-width: 360px) {
    .header {
        border-radius: 12px;
        padding: 6px 0;
    }

    .header .container {
        padding: 0 5px;
    }

    .logo {
        font-size: 0.09rem;
        gap: 4px;
    }

    .mann-logo {
        height: 14px;
        width: 10px;
    }

    .cta-button {
        font-size: 0.35rem;
        padding: 0;
        max-width: 90px;
    }


    .cta-button a {
        font-size: 0.09rem;
    }

    .menu-toggle {
        padding: 6px;
        margin-left: -2px;
    }

    .menu-toggle i {
        font-size: 18px;
    }

    .nav {
        border-radius: 10px;
        margin-top: 4px;
        left: 2px;
        right: 2px;
    }

    .nav-list {
        padding: 10px 6px;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 0.5rem;
    }

    .hero-section {
        padding: 25px 15px 20px;
        padding-top: 80px;
        min-height: 45vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .floating-leaf {
        font-size: 1.2rem;
    }

    .organic-shop-section .main-title {
        font-size: 2rem;
    }
}



@media (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 60px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-text {
        text-align: left;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        margin-top: 0;
        border: none;
        border-radius: 0;
    }

    .nav-list {
        flex-direction: row;
        padding: 0;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.0);

}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.modal-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px 30px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-subtitle {
    margin: 5px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.close {
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover,
.close:focus {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

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

.form-row {
    display: flex;
    gap: 15px;
}

.form-col {
    flex: 1;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #1c4438);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.contact-item a {
    text-decoration: none;
    color: #b8d4bb;
}

.contact-info i {
    margin-right: 10px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .top-bar {
        display: none;
    }

    body {
        padding-top: 70px;
    }

    .header {
        top: 0;
        border-radius: 20px;
        padding: 10px 0;
        width: calc(100% - 10px);
    }

    .header.scrolled {
        border-radius: 0;
        width: 100%;
    }

    .header .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1rem;
        gap: 8px;
    }

    .mann-logo {
        height: 32px;
        width: 32px;
    }

    .header-cta {
        order: 2;
        margin-left: 8px;
    }

    .cta-button {
        padding: 4px 10px;
        font-size: 0.75rem;
        font-weight: 500;
        border-radius: 15px;
    }

    .menu-toggle {
        display: block;
        padding: 10px;
        margin-left: 12px;
        order: 3;
        background-color: rgba(82, 140, 53, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(82, 140, 53, 0.2);
    }

    .menu-toggle:hover {
        background-color: rgba(82, 140, 53, 0.2);
    }

    /* Mobile Navigation */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 8px;
        right: 8px;
        background-color: var(--card-bg);
        border-radius: 15px;
        margin-top: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border: 1px solid var(--border-color);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav.nav-open {
        display: block;
        max-height: 400px;
        animation: slideDown 0.3s ease-out;
    }

    .nav-list {
        flex-direction: column;
        gap: 3px;
        padding: 15px 12px;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 15px;
        border-radius: 10px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        transform: none;
        background-color: rgba(82, 140, 53, 0.1);
    }

    .hero-section {
        padding: 30px 20px 25px;
        padding-top: 100px;
        min-height: 50vh;
        margin-top: -70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .delivery-badge {
        width: 75px;
        height: 75px;
        font-size: 0.7rem;
    }

    .farmer-container {
        max-width: 320px;
    }

    .floating-leaf {
        font-size: 1.5rem;
    }

    .floating-leaf:nth-child(4),
    .floating-leaf:nth-child(5) {
        display: none;
    }

    .carousel-track {
        gap: 0;
    }

    .gallery-card {
        min-width: 100%;
    }

    .about-us-section .container {
        flex-direction: column;
        gap: 30px;
    }

    .about-content,
    .about-stats {
        max-width: 100%;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    /* Scrolling Text Section */
    .scrolling-text {
        font-size: 1.5em;
        gap: 20px;
    }

    .scrolling-text .star-icon {
        width: 30px;
        height: 30px;
    }

    .organic-shop-section .container {
        flex-direction: column;
        gap: 30px;
    }

    .organic-shop-section .image-column,
    .organic-shop-section .content-column {
        max-width: 100%;
    }

    .organic-shop-section .main-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card-shop {
        align-items: center;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        transform: translateY(0);
        margin: 10px;
    }

    .card-description {
        opacity: 1;
        max-height: none;
    }
}

/* About Us Section */
.about-us-section {
    position: relative;
    background-color: white;
    padding: 80px 0;
    overflow: hidden;
}

.about-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: url("./assets/project1.jpeg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    opacity: 0.3;
    z-index: 0;
}

.about-us-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1;
    max-width: 500px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mann-text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-description {
    font-size: 1rem;
    color: var(--text-color-medium);
    margin-bottom: 10px;
}

.about-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    min-width: 180px;
}

.stat-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    width: 32px;
    height: 32px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Scrolling Text Section */
.scrolling-text-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 80px;
    padding: 20px 0;
    background-color: #f0f4ed;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
    font-size: 2.5em;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
    gap: 30px;
    align-items: center;
}

.scrolling-text span {
    display: inline-block;
}

.scrolling-text .star-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    vertical-align: middle;
}

@keyframes scrollText {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

/* organic section
 */
.organic-shop-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.organic-shop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 195, 74, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.organic-shop-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.image-column {
    position: relative;
}

.image-stack {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 500px;
}

.shop-main-image.primary-image {
    width: 420px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: transform 0.3s ease;
}

.shop-secondary-image {
    position: absolute;
    top: 40px;
    right: -60px;
    width: 280px;
    height: 210px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    z-index: 4;
    animation: pulse 2s infinite;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    }

    50% {
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4), 0 0 0 10px rgba(76, 175, 80, 0.1);
    }

    100% {
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    }
}

.organic-badge-large {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FF9800, #FF6F00);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.image-stack:hover .shop-main-image.primary-image {
    transform: scale(1.02) rotate(-1deg);
}

.image-stack:hover .shop-secondary-image {
    transform: scale(1.05) rotate(1deg);
}

.content-column {
    padding-left: 20px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 40px;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    border-radius: 2px;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card-shop {
    background: white;
    padding: 18px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-shop:hover::before {
    transform: scaleX(1);
}

.feature-card-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon-large {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #4CAF50;
    font-size: 18px;
    transition: all 0.3s ease;
}

.feature-card-shop:hover .feature-icon-large {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.feature-card-shop:hover .feature-card-title {
    color: #1B5E20;
}

.feature-card-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .organic-shop-section .container {
        gap: 60px;
        padding: 0 30px;
    }

    .shop-main-image.primary-image {
        width: 300px;
        height: 220px;
    }

    .shop-secondary-image {
        width: 200px;
        height: 150px;
        top: 50px;
        right: -30px;
    }

    .main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .organic-shop-section {
        padding: 80px 0;
    }

    .organic-shop-section .container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
    }

    .image-column {
        order: 1;
    }

    .content-column {
        order: 2;
        padding-left: 0;
    }

    .image-stack {
        justify-content: center;
        min-height: 320px;
    }

    .shop-main-image.primary-image {
        width: 280px;
        height: 210px;
    }

    .shop-secondary-image {
        width: 180px;
        height: 135px;
        top: 40px;
        right: -25px;
    }

    .main-title {
        font-size: 2rem;
        text-align: center;
    }

    .main-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card-shop {
        padding: 20px 15px;
    }

    .feature-icon-large {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .feature-card-title {
        font-size: 1rem;
    }

    .feature-card-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .organic-shop-section {
        padding: 60px 0;
    }

    .organic-shop-section .container {
        gap: 40px;
        padding: 0 15px;
    }

    .image-stack {
        min-height: 280px;
    }

    .shop-main-image.primary-image {
        width: 250px;
        height: 180px;
    }

    .shop-secondary-image {
        width: 160px;
        height: 120px;
        top: 35px;
        right: -20px;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .organic-badge-large {
        padding: 12px 16px;
        font-size: 12px;
        bottom: 15px;
        right: 15px;
    }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card-shop {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .organic-shop-section {
        padding: 50px 0;
    }

    .organic-shop-section .container {
        padding: 0 10px;
    }

    .image-stack {
        min-height: 250px;
    }

    .shop-main-image.primary-image {
        width: 220px;
        height: 160px;
    }

    .shop-secondary-image {
        width: 140px;
        height: 100px;
        top: 30px;
        right: -15px;
    }

    .play-button {
        width: 45px;
        height: 45px;
    }

    .organic-badge-large {
        padding: 10px 12px;
        font-size: 11px;
        bottom: 10px;
        right: 10px;
    }

    .main-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .feature-card-shop {
        padding: 15px;
    }

    .feature-icon-large {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .feature-card-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .feature-card-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .organic-shop-section {
        padding: 40px 0;
    }

    .image-stack {
        min-height: 220px;
    }

    .shop-main-image.primary-image {
        width: 200px;
        height: 140px;
    }

    .shop-secondary-image {
        width: 120px;
        height: 90px;
        top: 25px;
        right: -10px;
    }

    .play-button {
        width: 40px;
        height: 40px;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .feature-card-shop {
        padding: 12px;
    }

    .feature-icon-large {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

.gallery-carousel-section {
    padding: 20px 0;
    background-color: whitesmoke;
    overflow: hidden;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.carousel-header {
    text-align: center;
    margin-bottom: 60px;
}

.carousel-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-header p {
    font-size: 1.2rem;
    color: var(--text-color-medium);
    font-weight: 300;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.gallery-card {
    flex: 0 0 33.333%;
    padding: 20px;
    position: relative;
    min-height: 350px;
}

.card-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    background: #f5f5f5;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.card-inner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.card-inner:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    height: 100%;
}

.card-inner:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.overlay-description {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    color: white;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 4;
}

.badge-organic {
    background: #22c55e;
    color: white;
}

.badge-premium {
    background: #f59e0b;
    color: white;
}

.badge-seasonal {
    background: #8b5cf6;
    color: white;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(82, 140, 53, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(82, 140, 53, 0.7);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-card {
        flex: 0 0 50%;
    }

    .team-hero-section {
        margin-top: -118px;
        padding-top: 240px;
    }

    .carousel-nav.prev {
        left: -15px;
    }

    .carousel-nav.next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .gallery-card {
        flex: 0 0 100%;
        padding: 15px;
    }

    .carousel-header h2 {
        font-size: 2.2rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-nav.prev {
        left: -10px;
    }

    .carousel-nav.next {
        right: -10px;
    }

    .team-hero-title {
        font-size: 2.5rem;
    }

    .team-hero-description {
        font-size: 1rem;
    }

    .directors-section,
    .farmers-section,
    .vision-mission-section,
    .core-values-section,
    .our-story-section,
    .cta-contact-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .section-description {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .directors-grid,
    .farmers-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .director-photo {
        width: 120px;
        height: 120px;
    }

    .farmer-image-wrapper {
        height: 300px;
    }

    .vision-mission-grid {
        gap: 25px;
    }

    .vision-card,
    .mission-card {
        padding: 30px;
    }

    .vm-icon {
        width: 50px;
        height: 50px;
    }

    .vm-title {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    .cta-contact-section .button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .contact-info {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        justify-content: center;
    }
}



@media (max-width: 480px) {
    .footer-content {
        gap: 24px;
    }

    .footer-brand-name {
        font-size: 1.3rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .team-hero-section {
        padding: 120px 0 40px;
    }

    .team-hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .director-name {
        font-size: 1.4rem;
    }

    .farmer-name {
        font-size: 1.2rem;
    }

    .vm-title {
        font-size: 1.4rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    .cta-contact-section .button {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .header {
        width: calc(100% - 8px);
        border-radius: 15px;
        padding: 8px 0;
    }

    .header .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 0.9rem;
        gap: 6px;
    }

    .mann-logo {
        height: 28px;
        width: 28px;
    }

    .cta-button {
        padding: 5px 5px;
        font-size: 0.7rem;
        margin-left: -5px;
    }

    .menu-toggle {
        padding: 8px;
        margin-left: 8px;
    }

    .menu-toggle i {
        font-size: 20px;
    }

    .nav {
        left: 4px;
        right: 4px;
        border-radius: 12px;
        margin-top: 6px;
    }

    .nav-list {
        padding: 7px 3px;
    }

    .nav-link {
        padding: 7px 10px;
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 25px 15px 20px;
        padding-top: 80px;
        min-height: 45vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .floating-leaf {
        font-size: 1.2rem;
    }

    .organic-shop-section .main-title {
        font-size: 2rem;
    }
}


/* Responsive adjustments for Team Page */
@media (max-width: 1024px) {
    .team-hero-title {
        font-size: 3rem;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        padding: 50px 30px 30px;
        padding-top: 140px;
        min-height: 60vh;
    }

    .directors-grid,
    .farmers-grid,
    .values-grid {
        gap: 30px;
    }

    .director-card,
    .farmer-card,
    .value-item {
        padding: 25px;
    }

    .director-name {
        font-size: 1.6rem;
    }

    .farmer-name {
        font-size: 1.3rem;
    }

    .vm-title {
        font-size: 1.8rem;
    }

    .story-content {
        flex-direction: column;
        gap: 40px;
    }

    .story-image {
        max-width: 100%;
    }

    .cta-title {
        font-size: 2.4rem;
    }

    body {
        padding-top: 118px;
    }

    .hero-section {
        margin-top: -118px;
    }

    .nav-list {
        gap: 8px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-left: 0px;
    }

    /* Gallery Carousel Tablet*/
    .carousel-track {
        gap: 20px;
    }

    .gallery-card {
        min-width: calc(50% - 10px);
    }
}

@media (min-width: 616px) and (max-width: 986px) {
    body {
        padding-top: 130px;
    }

    .team-hero-section {
        margin-top: -130px;
        padding-top: 260px;
    }

    .header {
        top: 50px;
        margin-top: 40px;
        width: calc(100% - 40px);
        max-width: 1200px;
        transform: translateX(-50%);
        padding: 15px 0;
    }

    .header.scrolled {
        top: 0;
        margin-top: 0;
        border-radius: 0;
        width: 100%;
        max-width: none;
        transform: translateX(0);
    }

    .header .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 10px;
    }

    .mann-logo {
        height: 38px;
        width: 38px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .header-cta {
        margin-left: 15px;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        margin-top: 0;
        border: none;
        border-radius: 0;
    }

    .nav-list {
        flex-direction: row;
        padding: 0;
        gap: 6px;
    }

    .hero-section {
        margin-top: -130px;
        padding-top: 260px;
    }
}

@media (min-width: 987px) and (max-width: 1199px) {
    body {
        padding-top: 118px;
    }

    .team-hero-section {
        margin-top: -118px;
        padding-top: 240px;
    }

    .header {
        top: 50px;
        margin-top: 40px;
        width: calc(100% - 40px);
        max-width: 1200px;
        transform: translateX(-50%);
        padding: 18px 0;
    }

    .header.scrolled {
        top: 0;
        margin-top: 0;
        border-radius: 0;
        width: 100%;
        max-width: none;
        transform: translateX(0);
    }

    .nav-list {
        gap: 8px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-left: 15px;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        display: flex !important;
    }

    .nav-list {
        flex-direction: row;
    }
}

.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.map-modal-box {
    background-color: #fff;
    max-width: 700px;
    margin: 5% auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.map-modal-title {
    font-size: 1.25rem;
    margin: 0;
}

.map-close-btn {
    font-size: 1.5rem;
    cursor: pointer;
}

.map-modal-body {
    padding: 0;
}

.director-card:hover .director-photo {
    border-color: #2E7D32;
}

.director-card:hover .director-photo {
    border-color: #FF6B35;
}

.director-card:hover .director-photo {
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
}

.director-social-icons {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease;
    margin-top: 15px;
}

.director-card:hover .director-social-icons {
    opacity: 1;
    visibility: visible;
    height: auto;
    transform: translateY(0);
}

/*  social links */
.director-social-icons .social-link {
    display: inline-block;
    margin: 0 8px;
    font-size: 20px;
    color: white;
    background-color: #4CAF50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.director-social-icons .social-link:hover {
    background-color: #2E7D32;
    transform: scale(1.2);
}

/* Card lift effect */
.director-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}