/* =========================================================
   AGRI VISTA
   PREMIUM CINEMATIC WEBSITE
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --green-950: #07140e;
    --green-900: #0b2116;
    --green-850: #102b1c;
    --green-800: #143a25;
    --green-700: #1d5533;
    --green-600: #2d7044;
    --green-500: #4d8d58;
    --green-400: #78ad6d;

    --cream: #f5f1e7;
    --cream-2: #ebe5d7;
    --white: #ffffff;

    --black: #101410;
    --text: #263128;
    --muted: #6b746d;
    --border: rgba(20, 45, 29, 0.12);

    --shadow-sm:
        0 8px 30px rgba(8, 27, 16, 0.07);

    --shadow-md:
        0 20px 60px rgba(8, 27, 16, 0.12);

    --shadow-lg:
        0 35px 90px rgba(5, 24, 14, 0.18);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1240px;

    --transition:
        0.45s cubic-bezier(0.22, 1, 0.36, 1);

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    background: var(--cream);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

}


body.no-scroll {
    overflow: hidden;
}


img {
    display: block;

    width: 100%;

    max-width: 100%;

    object-fit: cover;
}


a {
    color: inherit;

    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;

    cursor: pointer;
}


::selection {
    background: var(--green-700);

    color: white;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;

}


/* =========================================================
   PAGE LOADER
========================================================= */

.loader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: grid;

    place-items: center;

    background: var(--green-950);

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;

}


.loader.hide {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


.loader-inner {

    text-align: center;

}


.loader-mark {

    width: 70px;

    height: 70px;

    margin: auto;

    display: grid;

    place-items: center;

    border: 1px solid
        rgba(255,255,255,0.35);

    border-radius: 50%;

    color: white;

    font-family:
        "Playfair Display",
        serif;

    font-size: 20px;

    letter-spacing: 3px;

    animation:
        loaderPulse 1.8s ease-in-out infinite;

}


.loader-line {

    width: 120px;

    height: 1px;

    margin: 25px auto 16px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.8),
            transparent
        );

    animation:
        loaderLine 1.4s ease-in-out infinite;

}


.loader p {

    color:
        rgba(255,255,255,0.65);

    font-size: 10px;

    letter-spacing: 4px;

}


@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.65;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

}


@keyframes loaderLine {

    0% {
        transform: scaleX(0.2);
        opacity: 0;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(0.2);
        opacity: 0;
    }

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 20px 0;

    color: white;

    transition:
        padding var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        backdrop-filter var(--transition);

}


.navbar.scrolled {

    padding: 12px 0;

    background:
        rgba(8, 25, 16, 0.92);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 10px 40px
        rgba(0,0,0,0.15);

}


.nav-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.brand {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}


.brand-logo {

    width: 48px;

    height: 48px;

    object-fit: contain;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.05;

}


.brand-name {

    font-family:
        "Playfair Display",
        serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 2px;

}


.brand-tagline {

    margin-top: 5px;

    font-size: 8px;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    opacity: 0.7;

}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 24px;

}


.nav-link {

    position: relative;

    padding: 8px 0;

    color:
        rgba(255,255,255,0.78);

    font-size: 12px;

    font-weight: 500;

    transition:
        color 0.3s ease;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 0;

    height: 1px;

    background: white;

    transition:
        width 0.35s ease;

}


.nav-link:hover,
.nav-link.active {

    color: white;

}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}


.nav-contact {

    padding: 10px 16px;

    border: 1px solid
        rgba(255,255,255,0.35);

    border-radius: 999px;

}


.nav-contact::after {
    display: none;
}


.nav-contact:hover {

    background: white;

    color: var(--green-900);

}


.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    padding: 10px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid
        rgba(255,255,255,0.2);

    border-radius: 50%;

}


.menu-toggle span {

    display: block;

    width: 20px;

    height: 1px;

    margin: 4px auto;

    background: white;

    transition:
        transform 0.3s ease;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--green-950);

    color: white;

}


.hero-background {

    position: absolute;

    inset: -8%;

    background-size: cover;

    background-position: center;

    transform:
        scale(1.08);

    will-change:
        transform;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,17,10,0.92) 0%,
            rgba(5,18,11,0.68) 42%,
            rgba(4,17,10,0.25) 75%,
            rgba(4,17,10,0.55) 100%
        );

}


.hero::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 180px;

    background:
        linear-gradient(
            transparent,
            var(--green-950)
        );

    pointer-events: none;

}


.hero-container {

    position: relative;

    z-index: 2;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 100px;

    padding-bottom: 100px;

}


.hero-content {

    width: min(720px, 100%);

}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color:
        rgba(255,255,255,0.72);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2.5px;

    text-transform: uppercase;

}


.eyebrow.dark {

    color:
        var(--green-700);

}


.eyebrow-line {

    width: 32px;

    height: 1px;

    background: currentColor;

    opacity: 0.7;

}


.hero-title {

    max-width: 760px;

    margin-top: 22px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(64px, 9vw, 126px);

    font-weight: 600;

    line-height: 0.9;

    letter-spacing: -5px;

}


.hero-title span {

    display: block;

    color: var(--green-400);

    font-style: italic;

}


.hero-description {

    max-width: 590px;

    margin-top: 30px;

    color:
        rgba(255,255,255,0.78);

    font-size: 16px;

    line-height: 1.8;

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.3px;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}


.btn i {

    font-size: 11px;

    transition:
        transform 0.3s ease;

}


.btn:hover {

    transform:
        translateY(-3px);

}


.btn:hover i {

    transform:
        translateX(4px);

}


.btn-primary {

    background: white;

    color: var(--green-900);

}


.btn-primary:hover {

    background:
        var(--green-400);

    color: white;

    box-shadow:
        0 15px 35px
        rgba(0,0,0,0.2);

}


.btn-outline {

    border:
        1px solid
        rgba(255,255,255,0.45);

    color: white;

    background:
        rgba(255,255,255,0.05);

    backdrop-filter:
        blur(8px);

}


.btn-outline:hover {

    background: white;

    color: var(--green-900);

}


.btn-dark {

    background:
        var(--green-900);

    color: white;

}


.btn-dark:hover {

    background:
        var(--green-700);

}


.btn-light {

    background: white;

    color: var(--green-900);

}


.hero-side-card {

    width: 220px;

    align-self: flex-end;

    margin-bottom: 70px;

    padding: 24px;

    border-left:
        1px solid
        rgba(255,255,255,0.35);

}


.hero-side-number {

    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-size: 34px;

    color:
        rgba(255,255,255,0.7);

}


.hero-side-line {

    display: block;

    width: 40px;

    height: 1px;

    margin: 12px 0;

    background:
        rgba(255,255,255,0.5);

}


.hero-side-card p {

    color:
        rgba(255,255,255,0.65);

    font-size: 12px;

    line-height: 1.7;

}


.hero-bottom {

    position: absolute;

    z-index: 3;

    left: 0;

    bottom: 28px;

    width: 100%;

}


.hero-bottom-inner {

    display: flex;

    align-items: center;

    gap: 14px;

    color:
        rgba(255,255,255,0.5);

    font-size: 9px;

    letter-spacing: 2px;

}


.dot {

    width: 4px;

    height: 4px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.45);

}


/* =========================================================
   HERO LEAVES
========================================================= */

.hero-leaves {

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    overflow: hidden;

}


.leaf {

    position: absolute;

    top: -50px;

    opacity: 0.3;

    filter:
        blur(0.2px);

    animation:
        leafFall linear infinite;

}


.leaf-1 {
    left: 12%;
    font-size: 18px;
    animation-duration: 12s;
}


.leaf-2 {
    left: 28%;
    font-size: 12px;
    animation-duration: 16s;
    animation-delay: -5s;
}


.leaf-3 {
    left: 52%;
    font-size: 16px;
    animation-duration: 14s;
    animation-delay: -8s;
}


.leaf-4 {
    left: 68%;
    font-size: 10px;
    animation-duration: 18s;
    animation-delay: -3s;
}


.leaf-5 {
    left: 80%;
    font-size: 15px;
    animation-duration: 13s;
    animation-delay: -10s;
}


.leaf-6 {
    left: 92%;
    font-size: 11px;
    animation-duration: 17s;
    animation-delay: -6s;
}


@keyframes leafFall {

    0% {
        transform:
            translate3d(0, -40px, 0)
            rotate(0deg);
    }

    25% {
        transform:
            translate3d(35px, 25vh, 0)
            rotate(90deg);
    }

    50% {
        transform:
            translate3d(-25px, 50vh, 0)
            rotate(180deg);
    }

    75% {
        transform:
            translate3d(45px, 75vh, 0)
            rotate(260deg);
    }

    100% {
        transform:
            translate3d(-15px, 110vh, 0)
            rotate(360deg);
    }

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    position: relative;

    padding:
        120px 0;

}


.section-dark {

    position: relative;

    padding:
        120px 0;

    background:
        var(--green-950);

    color: white;

}


.section-heading {

    max-width: 800px;

    margin-bottom: 65px;

}


.section-heading.centered {

    margin-inline: auto;

    text-align: center;

}


.section-heading.centered .eyebrow {

    justify-content: center;

}


.section-heading h2,
.about-content h3,
.split-content h2,
.schools-content h2,
.why-header h2,
.cta-content h2,
.contact-info h2 {

    margin-top: 18px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(42px, 5vw, 72px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -2px;

}


.section-heading h2 span,
.about-content h3 em,
.split-content h2 span,
.schools-content h2 span,
.why-header h2 span,
.cta-content h2 span,
.contact-info h2 span {

    color:
        var(--green-600);

    font-style: italic;

}


.section-heading p {

    max-width: 680px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.section-heading.centered p {

    margin-inline: auto;

}


/* =========================================================
   ABOUT
========================================================= */

.about {

    background:
        var(--cream);

}


.about-grid {

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 80px;

    align-items: center;

}


.about-image {

    position: relative;

    min-height: 600px;

    overflow: hidden;

    border-radius:
        var(--radius-lg);

}


.about-image img {

    height: 100%;

    transition:
        transform 1.2s
        cubic-bezier(.22,1,.36,1);

}


.about-image:hover img {

    transform:
        scale(1.05);

}


.image-label {

    position: absolute;

    left: 25px;

    bottom: 25px;

    padding: 16px 20px;

    background:
        rgba(8,31,18,0.82);

    color: white;

    backdrop-filter:
        blur(14px);

    border:
        1px solid
        rgba(255,255,255,0.15);

    border-radius: 14px;

}


.image-label span {

    display: block;

    margin-bottom: 5px;

    font-size: 8px;

    letter-spacing: 2px;

    opacity: 0.65;

}


.image-label strong {

    font-family:
        "Playfair Display",
        serif;

    font-size: 18px;

}


.about-content {

    padding-right: 30px;

}


.small-label {

    color:
        var(--green-700);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

}


.about-content h3 {

    margin-bottom: 24px;

    font-size:
        clamp(38px, 4vw, 58px);

}


.about-content p {

    margin-top: 14px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.about-points {

    display: grid;

    gap: 16px;

    margin-top: 32px;

}


.about-point {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border:
        1px solid
        var(--border);

    background:
        rgba(255,255,255,0.35);

    border-radius: 14px;

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.about-point:hover {

    transform:
        translateX(8px);

    box-shadow:
        var(--shadow-sm);

}


.point-icon {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(45,112,68,0.1);

    color:
        var(--green-700);

}


.about-point strong,
.about-point span {

    display: block;

}


.about-point strong {

    font-size: 13px;

}


.about-point div span {

    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   EXPERIENCE INTRO
========================================================= */

.experience-intro {

    background:
        var(--green-900);

}


.experience-intro-grid {

    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 80px;

    align-items: end;

}


.experience-intro h2 {

    max-width: 750px;

    margin-top: 18px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(45px, 6vw, 82px);

    font-weight: 600;

    line-height: 1;

    letter-spacing: -3px;

}


.experience-intro h2 span {

    color:
        var(--green-400);

    font-style: italic;

}


.experience-intro p {

    max-width: 430px;

    color:
        rgba(255,255,255,0.62);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   EXPERIENCES
========================================================= */

.experiences {

    background:
        var(--cream-2);

}


.experience-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;

}


.experience-card {

    position: relative;

    overflow: hidden;

    min-height: 560px;

    background: white;

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);

}


.experience-card.large {

    grid-row: span 2;

}


.experience-card.wide {

    grid-column: 1 / -1;

    min-height: 420px;

}


.experience-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


.experience-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 25%,
            rgba(4,19,10,0.9)
        );

}


.experience-image img {

    height: 100%;

    transition:
        transform 1s
        cubic-bezier(.22,1,.36,1);

}


.experience-card:hover
.experience-image img {

    transform:
        scale(1.06);

}


.experience-card-content {

    position: absolute;

    z-index: 2;

    left: 30px;

    right: 30px;

    bottom: 30px;

    color: white;

}


.card-number {

    display: inline-block;

    margin-bottom: 12px;

    color:
        rgba(255,255,255,0.55);

    font-size: 10px;

    letter-spacing: 2px;

}


.experience-card h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 32px;

    line-height: 1.1;

}


.experience-card p {

    max-width: 540px;

    margin-top: 12px;

    color:
        rgba(255,255,255,0.7);

    font-size: 13px;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.5px;

}


.text-link i {

    transition:
        transform 0.3s ease;

}


.text-link:hover i {

    transform:
        translateX(5px);

}


/* =========================================================
   SPLIT SECTIONS
========================================================= */

.split-section {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    min-height: 700px;

    background:
        var(--cream);

}


.split-section.reverse {

    background:
        var(--cream-2);

}


.split-image {

    min-height: 650px;

    overflow: hidden;

}


.split-image img {

    height: 100%;

    transition:
        transform 1.2s
        cubic-bezier(.22,1,.36,1);

}


.split-section:hover
.split-image img {

    transform:
        scale(1.04);

}


.split-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        80px clamp(40px, 8vw, 120px);

}


.split-content h2 {

    max-width: 560px;

}


.split-content p {

    max-width: 500px;

    margin: 24px 0 30px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.split-content .btn {

    align-self: flex-start;

}


/* =========================================================
   FARMING UNITS
========================================================= */

.farming-units {

    background:
        var(--cream);

}


.unit-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 40px;

}


.filter-btn {

    padding: 11px 17px;

    border:
        1px solid
        rgba(20,45,29,0.15);

    background:
        transparent;

    color:
        var(--text);

    border-radius: 999px;

    font-size: 11px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


.filter-btn:hover {

    transform:
        translateY(-2px);

    border-color:
        var(--green-700);

}


.filter-btn.active {

    background:
        var(--green-900);

    color: white;

    border-color:
        var(--green-900);

}


.unit-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.unit-card {

    overflow: hidden;

    background: white;

    border:
        1px solid
        rgba(20,45,29,0.08);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.unit-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-md);

}


.unit-card.is-hidden {

    display: none;

}


.unit-image {

    position: relative;

    height: 250px;

    overflow: hidden;

    background:
        var(--cream-2);

}


.unit-image img {

    height: 100%;

    transition:
        transform 0.8s
        cubic-bezier(.22,1,.36,1);

}


.unit-card:hover
.unit-image img {

    transform:
        scale(1.08);

}


.unit-icon {

    position: absolute;

    right: 14px;

    bottom: 14px;

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    background:
        rgba(255,255,255,0.9);

    border-radius: 50%;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,0.15);

}


.unit-content {

    padding: 22px;

}


.unit-content > span {

    display: block;

    margin-bottom: 8px;

    color:
        var(--green-600);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.unit-content h3 {

    min-height: 48px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 20px;

    line-height: 1.2;

}


.unit-content p {

    margin-top: 9px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.65;

}


/* =========================================================
   SERVICES
========================================================= */

.services {

    overflow: hidden;

}


.service-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 14px;

}


.service-card {

    position: relative;

    min-height: 300px;

    padding: 28px 22px;

    border:
        1px solid
        rgba(255,255,255,0.1);

    background:
        rgba(255,255,255,0.045);

    border-radius:
        var(--radius-md);

    overflow: hidden;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);

}


.service-card::before {

    content: "";

    position: absolute;

    width: 160px;

    height: 160px;

    right: -80px;

    top: -80px;

    border-radius: 50%;

    background:
        rgba(120,173,109,0.1);

    transition:
        transform 0.8s ease;

}


.service-card:hover {

    transform:
        translateY(-8px);

    background:
        rgba(255,255,255,0.08);

    border-color:
        rgba(120,173,109,0.3);

}


.service-card:hover::before {

    transform:
        scale(2);

}


.service-number {

    color:
        rgba(255,255,255,0.3);

    font-size: 10px;

    letter-spacing: 2px;

}


.service-icon {

    margin-top: 35px;

    font-size: 30px;

}


.service-card h3 {

    margin-top: 22px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 23px;

}


.service-card p {

    margin-top: 10px;

    color:
        rgba(255,255,255,0.55);

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   SCHOOLS
========================================================= */

.schools {

    background:
        var(--cream-2);

}


.schools-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;

}


.schools-image {

    position: relative;

    min-height: 650px;

    overflow: hidden;

    border-radius:
        var(--radius-lg);

}


.schools-image img {

    height: 100%;

    transition:
        transform 1s
        cubic-bezier(.22,1,.36,1);

}


.schools-image:hover img {

    transform:
        scale(1.05);

}


.schools-badge {

    position: absolute;

    right: 24px;

    bottom: 24px;

    width: 180px;

    padding: 22px;

    background:
        rgba(7,24,14,0.85);

    color: white;

    backdrop-filter:
        blur(14px);

    border-radius: 16px;

}


.schools-badge strong {

    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-size: 27px;

}


.schools-badge span {

    display: block;

    margin-top: 4px;

    color:
        rgba(255,255,255,0.6);

    font-size: 10px;

}


.schools-content > p {

    max-width: 560px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.school-features {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin:
        30px 0 35px;

}


.school-features div {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px;

    background:
        rgba(255,255,255,0.45);

    border:
        1px solid
        var(--border);

    border-radius: 12px;

}


.school-features i {

    color:
        var(--green-700);

}


.school-features span {

    font-size: 11px;

}


/* =========================================================
   WHY AGRI VISTA
========================================================= */

.why-section {

    overflow: hidden;

}


.why-header {

    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 65px;

}


.why-header p {

    color:
        rgba(255,255,255,0.58);

    font-size: 14px;

    line-height: 1.8;

}


.why-header h2 span {

    color:
        var(--green-400);

}


.why-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

}


.why-card {

    padding: 32px 24px;

    min-height: 260px;

    border:
        1px solid
        rgba(255,255,255,0.1);

    border-radius:
        var(--radius-md);

    background:
        rgba(255,255,255,0.035);

    transition:
        transform var(--transition),
        background var(--transition);

}


.why-card:hover {

    transform:
        translateY(-8px);

    background:
        rgba(255,255,255,0.07);

}


.why-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(120,173,109,0.13);

    color:
        var(--green-400);

}


.why-card h3 {

    margin-top: 28px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 23px;

}


.why-card p {

    margin-top: 10px;

    color:
        rgba(255,255,255,0.52);

    font-size: 12px;

    line-height: 1.7;

}


.stats {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 70px;

    border-top:
        1px solid
        rgba(255,255,255,0.12);

    border-bottom:
        1px solid
        rgba(255,255,255,0.12);

}


.stat {

    padding: 32px 20px;

    text-align: center;

    border-right:
        1px solid
        rgba(255,255,255,0.12);

}


.stat:last-child {

    border-right: 0;

}


.stat strong {

    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-size: 45px;

    color:
        var(--green-400);

}


.stat span {

    display: block;

    margin-top: 4px;

    color:
        rgba(255,255,255,0.5);

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;

}


/* =========================================================
   GALLERY
========================================================= */

.gallery {

    background:
        var(--cream);

}


.gallery-grid {

    display: grid;

    grid-template-columns:
        1.3fr
        0.7fr
        0.7fr;

    grid-auto-rows:
        280px;

    gap: 14px;

}


.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius:
        var(--radius-md);

    background:
        var(--cream-2);

}


.gallery-item img {

    height: 100%;

    transition:
        transform 1s
        cubic-bezier(.22,1,.36,1);

}


.gallery-item:hover img {

    transform:
        scale(1.07);

}


.gallery-large {

    grid-row:
        span 2;

}


.gallery-wide {

    grid-column:
        2 / -1;

}


.gallery-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 22px;

    background:
        linear-gradient(
            transparent 45%,
            rgba(4,19,10,0.7)
        );

}


.gallery-overlay span {

    color: white;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

    position: relative;

    min-height: 620px;

    display: grid;

    place-items: center;

    overflow: hidden;

    color: white;

}


.cta-background {

    position: absolute;

    inset: -5%;

    background:
        center / cover no-repeat;

    transform:
        scale(1.05);

}


.cta-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(4,18,10,0.7),
            rgba(4,18,10,0.82)
        );

}


.cta-content {

    position: relative;

    z-index: 2;

    max-width: 800px;

    text-align: center;

}


.cta-content .eyebrow {

    justify-content: center;

}


.cta-content h2 {

    color: white;

}


.cta-content h2 span {

    color:
        var(--green-400);

}


.cta-content p {

    max-width: 570px;

    margin: 24px auto 32px;

    color:
        rgba(255,255,255,0.65);

    font-size: 15px;

}


/* =========================================================
   CONTACT
========================================================= */

.contact {

    background:
        var(--cream-2);

}


.contact-grid {

    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 80px;

    align-items: start;

}


.contact-info {

    position: sticky;

    top: 120px;

}


.contact-info > p {

    max-width: 480px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.contact-details {

    display: grid;

    gap: 10px;

    margin-top: 35px;

}


.contact-detail {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px;

    border:
        1px solid
        var(--border);

    background:
        rgba(255,255,255,0.45);

    border-radius: 14px;

    transition:
        transform var(--transition),
        background var(--transition);

}


.contact-detail:hover {

    transform:
        translateX(6px);

    background: white;

}


.contact-detail-icon {

    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(45,112,68,0.1);

    color:
        var(--green-700);

}


.contact-detail small {

    display: block;

    color:
        var(--muted);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.contact-detail strong {

    display: block;

    margin-top: 2px;

    font-size: 13px;

}


.contact-form-wrapper {

    position: relative;

    padding: 40px;

    background: white;

    border:
        1px solid
        rgba(20,45,29,0.08);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-md);

}


.form-header > span {

    color:
        var(--green-700);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

}


.form-header h3 {

    margin-top: 8px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 35px;

}


.enquiry-form {

    margin-top: 30px;

}


.form-row {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

}


.form-group {

    margin-bottom: 17px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color:
        var(--text);

    font-size: 10px;

    font-weight: 600;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 13px 14px;

    border:
        1px solid
        rgba(20,45,29,0.13);

    outline: none;

    background:
        #faf9f5;

    color:
        var(--text);

    border-radius: 10px;

    font-size: 12px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

}


.form-group textarea {

    min-height: 120px;

    resize: vertical;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    background: white;

    border-color:
        var(--green-600);

    box-shadow:
        0 0 0 4px
        rgba(45,112,68,0.08);

}


.form-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 8px;

}


.whatsapp-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 999px;

    background:
        #198754;

    color: white;

    font-size: 12px;

    font-weight: 600;

    transition:
        transform var(--transition),
        background 0.3s ease;

}


.whatsapp-btn:hover {

    transform:
        translateY(-3px);

    background:
        #157347;

}


.form-note {

    margin-top: 15px;

    color:
        var(--muted);

    font-size: 10px;

}


.success-message {

    display: none;

    padding: 50px 20px;

    text-align: center;

}


.success-message.active {

    display: block;

}


.success-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(45,112,68,0.1);

    color:
        var(--green-700);

    font-size: 24px;

}


.success-message h3 {

    margin-top: 20px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 35px;

}


.success-message p {

    max-width: 400px;

    margin: 10px auto 25px;

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding:
        70px 0 25px;

    background:
        var(--green-950);

    color: white;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.7fr
        0.8fr
        0.8fr
        1fr;

    gap: 60px;

    padding-bottom: 55px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.1);

}


.footer-brand {

    max-width: 400px;

}


.footer-brand .brand {

    margin-bottom: 20px;

}


.footer-brand p {

    color:
        rgba(255,255,255,0.5);

    font-size: 12px;

    line-height: 1.8;

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;

}


.footer-column h4 {

    margin-bottom: 8px;

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color:
        rgba(255,255,255,0.7);

}


.footer-column a {

    color:
        rgba(255,255,255,0.48);

    font-size: 11px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;

}


.footer-column a:hover {

    color: white;

    transform:
        translateX(3px);

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    color:
        rgba(255,255,255,0.35);

    font-size: 9px;

}


/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-top {

    position: fixed;

    right: 24px;

    bottom: 24px;

    z-index: 500;

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        var(--green-900);

    color: white;

    box-shadow:
        var(--shadow-md);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;

}


.scroll-top.show {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


.scroll-top:hover {

    background:
        var(--green-700);

    transform:
        translateY(-4px);

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal,
.reveal-left,
.reveal-right {

    opacity: 0;

    transition:
        opacity 0.9s ease,
        transform 1s
        cubic-bezier(.22,1,.36,1);

}


.reveal {

    transform:
        translateY(35px);

}


.reveal-left {

    transform:
        translateX(-45px);

}


.reveal-right {

    transform:
        translateX(45px);

}


.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {

    opacity: 1;

    transform:
        translate3d(0,0,0);

}


/* =========================================================
   STAGGER ANIMATIONS
========================================================= */

.experience-grid .reveal:nth-child(2),
.unit-grid .reveal:nth-child(2),
.service-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2) {

    transition-delay:
        0.08s;

}


.experience-grid .reveal:nth-child(3),
.unit-grid .reveal:nth-child(3),
.service-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3) {

    transition-delay:
        0.16s;

}


.experience-grid .reveal:nth-child(4),
.unit-grid .reveal:nth-child(4),
.service-grid .reveal:nth-child(4),
.why-grid .reveal:nth-child(4) {

    transition-delay:
        0.24s;

}


.unit-grid .reveal:nth-child(5),
.service-grid .reveal:nth-child(5) {

    transition-delay:
        0.32s;

}


/* =========================================================
   IMAGE LOADING
========================================================= */

img {

    opacity: 0;

    animation:
        imageAppear 0.8s ease forwards;

}


@keyframes imageAppear {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1150px) {


    .nav-menu {

        gap: 15px;

    }


    .nav-link {

        font-size: 11px;

    }


    .unit-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .service-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .why-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .hero-title {

        font-size:
            clamp(62px, 9vw, 100px);

    }

}



/* =========================================================
   RESPONSIVE — TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {


    .container {

        width:
            min(
                calc(100% - 32px),
                var(--container)
            );

    }


    .section,
    .section-dark {

        padding:
            90px 0;

    }


    /* NAV */

    .menu-toggle {

        display: block;

    }


    .nav-menu {

        position: fixed;

        top: 78px;

        left: 16px;

        right: 16px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 2px;

        padding: 14px;

        background:
            rgba(8,28,17,0.97);

        border:
            1px solid
            rgba(255,255,255,0.1);

        border-radius: 18px;

        backdrop-filter:
            blur(20px);

        box-shadow:
            0 25px 70px
            rgba(0,0,0,0.3);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

    }


    .nav-menu.active {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

    }


    .nav-link {

        padding: 14px;

        border-radius: 10px;

    }


    .nav-link:hover {

        background:
            rgba(255,255,255,0.06);

    }


    .nav-link::after {

        display: none;

    }


    .nav-contact {

        border: 0;

    }


    /* HERO */

    .hero-container {

        align-items: flex-end;

        padding-top: 130px;

        padding-bottom: 110px;

    }


    .hero-side-card {

        display: none;

    }


    .hero-title {

        font-size:
            clamp(60px, 13vw, 92px);

        letter-spacing:
            -3px;

    }


    /* ABOUT */

    .about-grid,
    .schools-grid,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 50px;

    }


    .about-image,
    .schools-image {

        min-height: 500px;

    }


    .contact-info {

        position: static;

    }


    /* EXPERIENCE */

    .experience-grid {

        grid-template-columns:
            1fr;

    }


    .experience-card.large,
    .experience-card.wide {

        grid-row: auto;

        grid-column: auto;

        min-height: 500px;

    }


    /* SPLIT */

    .split-section {

        grid-template-columns:
            1fr;

    }


    .split-section.reverse .split-image {

        order: 0;

    }


    .split-image {

        min-height: 500px;

    }


    .split-content {

        min-height: 480px;

    }


    /* FARMING */

    .unit-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    /* SERVICES */

    .service-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    /* WHY */

    .why-header {

        grid-template-columns:
            1fr;

        gap: 20px;

    }


    /* GALLERY */

    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

        grid-auto-rows:
            250px;

    }


    .gallery-large {

        grid-row:
            span 2;

    }


    .gallery-wide {

        grid-column:
            1 / -1;

    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }

}



/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {


    .container {

        width:
            calc(100% - 28px);

    }


    .navbar {

        padding:
            14px 0;

    }


    .navbar.scrolled {

        padding:
            10px 0;

    }


    .brand-logo {

        width: 40px;

        height: 40px;

    }


    .brand-name {

        font-size: 15px;

    }


    .brand-tagline {

        font-size: 6px;

        letter-spacing: 1px;

    }


    .hero {

        min-height:
            760px;

    }


    .hero-container {

        min-height:
            760px;

    }


    .hero-title {

        font-size:
            clamp(52px, 18vw, 76px);

        letter-spacing:
            -2.5px;

    }


    .hero-description {

        font-size: 14px;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-actions .btn {

        width: 100%;

    }


    .hero-bottom-inner {

        justify-content: center;

        flex-wrap: wrap;

        font-size: 7px;

        letter-spacing: 1px;

    }


    .section,
    .section-dark {

        padding:
            75px 0;

    }


    .section-heading {

        margin-bottom: 40px;

    }


    .section-heading h2,
    .why-header h2,
    .contact-info h2,
    .cta-content h2 {

        font-size:
            42px;

        letter-spacing:
            -1.5px;

    }


    .experience-intro h2 {

        font-size:
            48px;

    }


    .about-grid,
    .schools-grid,
    .contact-grid {

        gap: 35px;

    }


    .about-image,
    .schools-image {

        min-height:
            400px;

    }


    .about-content {

        padding-right: 0;

    }


    .experience-card,
    .experience-card.large,
    .experience-card.wide {

        min-height:
            440px;

    }


    .split-image {

        min-height:
            360px;

    }


    .split-content {

        min-height:
            430px;

        padding:
            60px 25px;

    }


    .unit-filters {

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;

    }


    .unit-filters::-webkit-scrollbar {

        display: none;

    }


    .filter-btn {

        flex-shrink: 0;

    }


    .unit-grid {

        grid-template-columns:
            1fr;

    }


    .unit-image {

        height:
            240px;

    }


    .service-grid {

        grid-template-columns:
            1fr;

    }


    .service-card {

        min-height:
            260px;

    }


    .school-features {

        grid-template-columns:
            1fr;

    }


    .why-grid {

        grid-template-columns:
            1fr;

    }


    .stats {

        grid-template-columns:
            1fr 1fr;

    }


    .stat {

        border-bottom:
            1px solid
            rgba(255,255,255,0.12);

    }


    .stat:nth-child(2) {

        border-right: 0;

    }


    .stat:nth-child(3),
    .stat:nth-child(4) {

        border-bottom: 0;

    }


    .stat strong {

        font-size:
            36px;

    }


    .gallery-grid {

        grid-template-columns:
            1fr;

        grid-auto-rows:
            280px;

    }


    .gallery-large,
    .gallery-wide {

        grid-row: auto;

        grid-column: auto;

    }


    .gallery-large {

        min-height:
            400px;

    }


    .contact-form-wrapper {

        padding:
            25px 18px;

        border-radius:
            20px;

    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;

    }


    .form-actions {

        align-items:
            stretch;

        flex-direction:
            column;

    }


    .form-actions .btn,
    .whatsapp-btn {

        width: 100%;

    }


    .footer {

        padding-top:
            55px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            40px 25px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }


    .footer-bottom {

        flex-direction:
            column;

        gap: 8px;

    }


    .scroll-top {

        right:
            15px;

        bottom:
            15px;

        width:
            44px;

        height:
            44px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {


    .hero-title {

        font-size:
            50px;

    }


    .brand-tagline {

        display: none;

    }


    .section-heading h2,
    .why-header h2,
    .contact-info h2,
    .cta-content h2 {

        font-size:
            37px;

    }


    .experience-intro h2 {

        font-size:
            42px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

    }


    .footer-brand {

        grid-column:
            auto;

    }

}



/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline:
        2px solid
        var(--green-500);

    outline-offset:
        3px;

}