/* CSS Variables & Reset */
:root {
    --primary: #1a4d2e;
    /* Deep Forest Green */
    --secondary: #d4a373;
    /* Earthy Clay */
    --accent: #ffb703;
    /* Sun Gold */
    --light: #fefae0;
    /* Cream */
    --dark: #202020;
    /* Soft Black */
    --text-muted: #666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    -webkit-font-smoothing: antialiased;
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #143d23;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 6rem 0;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(254, 250, 224, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav.scrolled .btn-primary {
    background-color: var(--secondary);
    color: #1a1a1a;
}

nav.scrolled .btn-primary:hover {
    background-color: #c49a6c;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light);
    /* Dynamic based on bg */
    text-decoration: none;
    letter-spacing: -0.5px;
    z-index: 1001;
    /* Above mobile menu */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

nav.scrolled .logo-img {
    filter: none;
}

.logo span {
    color: var(--secondary);
}

nav.scrolled .logo {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav.scrolled .nav-links a {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav-contact {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.15) contrast(1.1) brightness(1.02);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(61, 72, 10, 0.65), rgba(61, 72, 10, 0.85));
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    animation: fadeInDown 1s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

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

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

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

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

/* About Section */
.about {
    background-color: var(--light);
}

.section-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    display: flex;
    flex-direction: column;
}

.image-caption span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.image-caption small {
    font-size: 0.9rem;
    opacity: 0.85;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.about h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.owner-quote {
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 1.5rem 0 0;
}

.owner-quote p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.signature {
    display: flex;
    flex-direction: column;
}

.signature-name {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
}

.signature-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Proof Points Cards */
.proof-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.proof-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.proof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 77, 46, 0.1);
}

.proof-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #2d6a4f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.proof-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.proof-card h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.proof-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .proof-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Press Badge */
.press-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.press-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.press-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.press-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.press-subtitle {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

.press-badge i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.press-badge:hover i {
    color: var(--secondary);
    transform: translate(2px, -2px);
}

/* Kakheti Region Section */
.kakheti-region {
    background: linear-gradient(135deg, #f7f3e8 0%, #fefae0 100%);
}

.kakheti-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.kakheti-map {
    flex: 1;
    max-width: 45%;
    position: relative;
}

.kakheti-map img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.kakheti-label {
    position: absolute;
    top: 15%;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.kakheti-text {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.kakheti-arrow {
    width: 100px;
    height: 50px;
    color: var(--primary);
    margin-right: 1rem;
    transform: rotate(-15deg);
}

.kakheti-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.kakheti-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.kakheti-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 77, 46, 0.1);
}

.kakheti-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), #c49a6c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.kakheti-icon i {
    color: #fff;
    font-size: 1.25rem;
}

.kakheti-card h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.kakheti-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .kakheti-layout {
        flex-direction: column;
    }

    .kakheti-map {
        max-width: 80%;
        margin-bottom: 2rem;
    }

    .kakheti-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .kakheti-map {
        max-width: 100%;
    }

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

/* Produce Grid */
.produce {
    background-color: #f7f3e8;
    /* Slightly darker cream */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.produce-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    /* group; - removed invalid property */
}

.produce-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 250px;
    background-color: #ddd;
    /* Fallback */
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.card-img-1 {
    background-image: url('assets/orchard-IMG_1280.webp');
}

.card-img-2 {
    background-image: url('assets/orchard-IMG_1281.webp');
}

.card-img-3 {
    background-image: url('assets/orchard-IMG_1282.webp');
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-content p {
    color: var(--text-muted);
}

/* ========================================
   ALMOND VARIETIES SECTION
   ======================================== */
.varieties {
    background-color: var(--light);
    overflow: hidden;
    padding-top: 0;
    /* Reduced from default 6rem */
}

.varieties-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;

    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.varieties-grid::-webkit-scrollbar {
    display: none;
}

.variety-card {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.variety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 77, 46, 0.12);
}

.variety-img {
    height: 200px;
    background-image: url('assets/almond-variety-default.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.variety-img-1 {
    background-image: url('assets/IMG_8840.webp');
    filter: none;
    transition: background-image 0.3s ease, transform 0.3s ease;
}

.variety-img-1:hover {
    background-image: url('assets/IMG_8842.webp');
    transform: scale(1.05);
}

.variety-img-2 {
    background-image: url('assets/IMG_8846.webp');
    filter: none;
    transition: background-image 0.3s ease, transform 0.3s ease;
}

.variety-img-2:hover {
    background-image: url('assets/makako.webp');
    transform: scale(1.05);
}

.variety-img-3 {
    background-image: url('assets/IMG_8843 2.WEBP');
    filter: none;
    transition: background-image 0.3s ease, transform 0.3s ease;
}

.variety-img-3:hover {
    background-image: url('assets/IMG_8841.webp');
    transform: scale(1.05);
}

.variety-img-4 {
    background-image: url('assets/IMG_8849.webp');
    filter: none;
    transition: background-image 0.3s ease, transform 0.3s ease;
}

.variety-img-4:hover {
    background-image: url('assets/Gemini_Generated_Image_6iex336iex336iex.webp');
    transform: scale(1.05);
}

.variety-content {
    padding: 1.75rem;
}

.variety-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.variety-origin {
    display: block;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.variety-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.variety-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.variety-tags span {
    background: rgba(26, 77, 46, 0.08);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.variety-trees {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.variety-trees i {
    color: var(--primary);
    font-size: 1rem;
}

/* Reel Navigation */
.reel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.reel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.reel-arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.reel-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.reel-indicator i {
    animation: swipeHint 1.5s ease-in-out infinite;
}

@keyframes swipeHint {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* ========================================
   SPANISH EXPERTS SECTION
   ======================================== */
.experts {
    background: linear-gradient(135deg, #f7f3e8 0%, #fefae0 100%);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.expert-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(26, 77, 46, 0.1);
}

.expert-img {
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-img::after {
    content: '';
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.expert-img-1 {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
}

.expert-img-2 {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
}

.expert-img-3 {
    background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
}

.expert-content {
    padding: 2rem;
}

.expert-content h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.expert-title {
    display: block;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expert-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.expert-credentials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.expert-credentials i {
    color: var(--secondary);
    font-size: 1rem;
}

/* ========================================
   GROWTH TIMELINE SECTION
   ======================================== */
.timeline {
    background: linear-gradient(135deg, #f7f3e8 0%, #fefae0 100%);
    overflow: hidden;
}

.timeline-container {
    position: relative;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-container::-webkit-scrollbar {
    display: none;
}

.timeline-line {
    position: absolute;
    top: calc(1rem + 18px);
    left: calc(2rem + 140px);
    right: calc(2rem + 140px);
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Gradient shows progress color up to 40% (third dot), then transparent */
    background: linear-gradient(90deg, #52b788 0%, var(--secondary) 40%, transparent 40%);
    border-radius: 2px;
}

.timeline-item {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
    padding-top: 0.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.timeline-marker {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.timeline-marker.planting {
    background: linear-gradient(135deg, #52b788 0%, #40916c 100%);
}

.timeline-marker.harvest {
    background: linear-gradient(135deg, var(--secondary) 0%, #c49a6c 100%);
}

.timeline-item.current .timeline-marker {
    width: 32px;
    height: 32px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.5), 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(212, 163, 115, 0), 0 4px 15px rgba(0, 0, 0, 0.15);
    }
}

.timeline-content {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    margin: 1rem 0.5rem 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    flex: 1;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(26, 77, 46, 0.1);
}

.timeline-item.current .timeline-content {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, #fff 0%, rgba(212, 163, 115, 0.05) 100%);
}

.timeline-item.future .timeline-content {
    opacity: 0.85;
    background: linear-gradient(135deg, #fff 0%, rgba(254, 250, 224, 0.5) 100%);
}

.timeline-item.future:hover .timeline-content {
    opacity: 1;
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(26, 77, 46, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.timeline-item.current .timeline-year {
    background: rgba(212, 163, 115, 0.15);
    color: #b37a3d;
}

.timeline-current {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary) 0%, #c49a6c 100%);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.planting-badge {
    background: rgba(82, 183, 136, 0.12);
    color: #2d6a4f;
}

.planting-badge i {
    color: #40916c;
}

.harvest-badge {
    background: rgba(212, 163, 115, 0.15);
    color: #8b5e34;
}

.harvest-badge i {
    color: var(--secondary);
}

.harvest-tonnage {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.1) 0%, rgba(212, 163, 115, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.tonnage-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.tonnage-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline-item {
        min-width: 260px;
        max-width: 260px;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .tonnage-number {
        font-size: 1.5rem;
    }
}

/* ========================================
   EQUIPMENT SECTION
   ======================================== */
.equipment {
    background-color: #f7f3e8;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.equipment-coming-soon {
    opacity: 0.85;
}

.equipment-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--secondary), #c49a6c);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 77, 46, 0.1);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.equipment-card:hover .equipment-icon {
    transform: scale(1.1) rotate(-5deg);
}

.equipment-icon i {
    font-size: 2rem;
    color: #fff;
}

.equipment-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.equipment-card>p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.equipment-specs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.equipment-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(26, 77, 46, 0.06);
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.equipment-specs span i {
    font-size: 0.7rem;
    color: var(--secondary);
}

.equipment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(212, 163, 115, 0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.equipment-link:hover {
    background: rgba(212, 163, 115, 0.2);
    color: var(--primary);
    transform: translateX(3px);
}

.equipment-link i {
    font-size: 0.75rem;
}

/* ========================================
   QUALITY SECTION
   ======================================== */
.soil-health {
    background: linear-gradient(135deg, var(--primary) 0%, #143d23 100%);
    color: var(--light);
}

.soil-flex {
    gap: 4rem;
}

.soil-content {
    flex: 1.2;
}

.soil-content .section-tag {
    color: var(--secondary);
}

.soil-content h2 {
    color: var(--light);
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.soil-content>p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.soil-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .soil-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.soil-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.soil-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.soil-feature .feature-icon i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.soil-feature h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.soil-feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.soil-badges {
    flex: 0.8;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.certification-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.certification-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, #c49a6c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cert-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.certification-card h4 {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.certification-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* In Progress Certification Badge */
.certification-card.in-progress {
    position: relative;
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.cert-badge-status {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #1a1a1a;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 183, 3, 0.5);
    }
}

.certification-card.in-progress .cert-icon {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(251, 133, 0, 0.2) 100%);
    border: 2px dashed rgba(255, 183, 3, 0.5);
}

.certification-card.in-progress .cert-icon i {
    color: var(--accent);
}

/* Single certification card - center it */
.soil-badges {
    display: flex;
    justify-content: center;
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: var(--light);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat-item p {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    background-color: var(--light);
    position: relative;
}

.contact-layout {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.contact-info-panel {
    flex: 1;
}

.map-container {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info-panel>p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp {
    background-color: var(--primary);
    color: var(--light);
}

.btn-whatsapp:hover {
    background-color: #143d23;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.map-container {
    margin-top: 4rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Map Iframe */
.map-iframe {
    border: 0;
    min-height: 400px;
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--light);
    margin-bottom: 1rem;
}

.footer-press {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-press:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-press strong {
    color: var(--secondary);
}

.footer-press i {
    font-size: 0.65rem;
    opacity: 0.6;
}

.forbes-logo {
    height: 14px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-press:hover .forbes-logo {
    opacity: 1;
}

.footer-col h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

/* ========================================
   LANGUAGE TOGGLE
   ======================================== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

nav.scrolled .lang-toggle {
    background: rgba(212, 163, 115, 0.15);
    border-color: rgba(212, 163, 115, 0.3);
}

.lang-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    cursor: pointer;
}

nav.scrolled .lang-label {
    color: rgba(139, 94, 52, 0.6);
}

.lang-label.active {
    color: var(--light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav.scrolled .lang-label.active {
    color: #8b5e34;
    text-shadow: none;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    transition: var(--transition);
}

nav.scrolled .toggle-slider {
    background: rgba(212, 163, 115, 0.3);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: var(--light);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav.scrolled .toggle-slider::before {
    background: var(--secondary);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(16px);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--secondary);
}

/* Mobile Language Toggle */
.mobile-lang-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    margin-left: auto;
}

nav.scrolled .mobile-lang-toggle {
    background: rgba(212, 163, 115, 0.15);
    border-color: rgba(212, 163, 115, 0.3);
}

.mobile-lang-toggle .lang-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    cursor: pointer;
}

nav.scrolled .mobile-lang-toggle .lang-label {
    color: rgba(139, 94, 52, 0.6);
}

.mobile-lang-toggle .lang-label.active {
    color: var(--light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav.scrolled .mobile-lang-toggle .lang-label.active {
    color: #8b5e34;
    text-shadow: none;
}

.mobile-lang-toggle .toggle-slider {
    background: rgba(255, 255, 255, 0.25);
}

nav.scrolled .mobile-lang-toggle .toggle-slider {
    background: rgba(212, 163, 115, 0.3);
}

.mobile-lang-toggle .toggle-slider::before {
    background: var(--light);
}

nav.scrolled .mobile-lang-toggle .toggle-slider::before {
    background: var(--secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .section-flex {
        flex-direction: column;
    }

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

    .contact-layout {
        flex-direction: column;
    }

    .map-container {
        min-height: 350px;
    }

    .soil-flex {
        flex-direction: column;
    }

    .soil-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .soil-content h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-lang-toggle {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   NEWS FROM OUR FIELDS SECTION
   ======================================== */
.news {
    background: linear-gradient(135deg, #f7f3e8 0%, #fefae0 100%);
    overflow: hidden;
    padding: 3rem 0;
}

.news .section-header {
    margin-bottom: 2rem;
}

.news-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-grid::-webkit-scrollbar {
    display: none;
}

.news-card {
    min-width: 340px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 77, 46, 0.12);
}

.news-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.news-placeholder-icon i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.news-img-forbes {
    background-image: url('forbes-article.webp');
    background-size: cover;
    background-position: center;
}

.news-single {
    justify-content: center;
    overflow-x: visible;
}

.news-single .news-card {
    min-width: 300px;
    max-width: 380px;
}

.news-card-compact .news-content {
    padding: 1.5rem;
}

.news-card-compact h3 {
    font-size: 1.1rem;
}

.news-card-compact p {
    font-size: 0.9rem;
}

.news-img-1 {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
}

.news-img-2 {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
}

.news-img-3 {
    background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
}

.news-content {
    padding: 1.75rem;
}

.news-date {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.news-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.news-card:hover .news-link {
    color: var(--secondary);
}

.news-card:hover .news-link i {
    transform: translateX(4px);
}

.news-nav {
    margin-top: 2rem;
}

/* Responsive adjustments for news section */
@media (max-width: 768px) {
    .news-card {
        min-width: 280px;
        max-width: 280px;
    }

    .news-img {
        height: 160px;
    }

    .news-content {
        padding: 1.25rem;
    }

    .news-content h3 {
        font-size: 1.15rem;
    }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d6a4f 100%);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(26, 77, 46, 0.35);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--secondary) 0%, #c49564 100%);
    box-shadow: 0 8px 30px rgba(212, 163, 115, 0.5);
    animation: none;
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse Animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 6px 20px rgba(26, 77, 46, 0.35);
    }

    50% {
        box-shadow: 0 6px 30px rgba(26, 77, 46, 0.5), 0 0 0 10px rgba(26, 77, 46, 0.1);
    }

    100% {
        box-shadow: 0 6px 20px rgba(26, 77, 46, 0.35);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: #fff;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dark);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.modal-updated {
    margin-top: 2rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
        max-height: 90vh;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-body h3 {
        font-size: 1.05rem;
    }
}

/* ========================================
   EXPERTS / PARTNERS SECTION
   ======================================== */
.experts {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 50%, #1a4d2e 100%);
    position: relative;
    overflow: hidden;
}

.experts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.experts .container {
    position: relative;
    z-index: 1;
}

.experts .section-header {
    max-width: 900px;
}

.experts .section-tag {
    color: var(--secondary);
}

.experts .section-header h2 {
    color: #fff;
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.experts .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.experts .section-header p::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--secondary);
    opacity: 0.6;
    line-height: 1;
}

.experts .section-header p::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--secondary);
    opacity: 0.6;
    line-height: 1;
}

@media (max-width: 768px) {
    .experts .section-header h2 {
        font-size: 2rem;
    }

    .experts .section-header p {
        font-size: 1.05rem;
        padding: 1.5rem;
    }

    .experts .section-header p::before,
    .experts .section-header p::after {
        font-size: 3rem;
    }
}