/* ===== Navin's Farm — Professional 3D Premium Theme ===== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ── 1. Design Tokens ─────────────────────────────────── */
:root {
    --green:          #1f6b3c;
    --green-dark:     #174f2d;
    --green-deeper:   #0d3320;
    --green-light:    #eef6f1;
    --green-accent:   #9bd1ad;
    --green-medium:   #2d7a49;
    --green-glow:     rgba(31,107,60,0.28);
    --whatsapp:       #22c55e;
    --whatsapp-dark:  #16a34a;

    --ink-900: #0a1a10;
    --ink-700: #1e3028;
    --ink-500: #52695e;
    --ink-300: #8fa698;

    --surface-0:   #ffffff;
    --surface-100: #f5f9f6;
    --surface-200: #ebf2ed;

    /* 3-layer shadow system */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.04), 0 6px 16px rgba(18,42,27,.07);
    --shadow-md:  0 2px 8px rgba(0,0,0,.05), 0 12px 28px rgba(18,42,27,.10);
    --shadow-lg:  0 4px 18px rgba(0,0,0,.07), 0 22px 48px rgba(18,42,27,.13);
    --shadow-xl:  0 8px 30px rgba(0,0,0,.09), 0 40px 80px rgba(18,42,27,.16);

    --shadow-green-sm: 0 6px 22px rgba(31,107,60,.18), 0 2px 8px rgba(31,107,60,.10);
    --shadow-green-md: 0 10px 36px rgba(31,107,60,.24), 0 4px 14px rgba(31,107,60,.14);
    --shadow-green-lg: 0 18px 56px rgba(31,107,60,.30), 0 8px 24px rgba(31,107,60,.18);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --perspective: 1200px;

    --glass-bg:     rgba(255,255,255,0.80);
    --glass-border: rgba(255,255,255,0.50);
    --glass-blur:   blur(18px);
    --glass-dark:   rgba(15,40,24,0.55);
}

/* ── 2. Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink-700);
    background: #f4f8f5;
    line-height: 1.68;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ── 3. Utilities ─────────────────────────────────────── */
.text-green       { color: var(--green) !important; }
.text-green-light { color: #b4e1bc !important; }
.text-green-accent{ color: var(--green-accent) !important; }
.bg-green         { background-color: var(--green) !important; }
.bg-dark-green    { background: linear-gradient(150deg, #0d3320 0%, #1a5232 60%, #22693e 100%) !important; }
.bg-light-green   { background-color: var(--green-light) !important; }
.bg-green-accent  { background-color: var(--green-accent) !important; }

/* ── 4. Navigation ────────────────────────────────────── */
#mainNavbar {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) saturate(1.6);
    -webkit-backdrop-filter: var(--glass-blur) saturate(1.6);
    border-bottom: 1px solid rgba(31,107,60,0.12) !important;
    box-shadow: 0 2px 20px rgba(10,30,18,0.08), 0 1px 0 rgba(255,255,255,0.6) inset;
    padding: 0.25rem 0 !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    animation: navbarDrop 650ms ease-out;
}

#mainNavbar.scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 4px 28px rgba(10,30,18,0.12) !important;
}

#mainNavbar .navbar-brand { display: flex; align-items: center; }

#mainNavbar .navbar-logo {
    height: 62px !important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

#mainNavbar .nav-link {
    color: var(--ink-700) !important;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.58rem 0.88rem;
    border-radius: 10px;
    transition: all 0.22s ease;
    position: relative;
}

#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--green) !important;
    background: rgba(31,107,60,0.06);
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.navbar-toggler { box-shadow: none !important; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f6b3c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── 5. Buttons ───────────────────────────────────────── */
.btn {
    border-radius: var(--radius-md);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, filter 0.22s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s ease;
    border-radius: inherit;
}

.btn:hover { transform: translateY(-3px) scale(1.015); filter: saturate(1.08); }
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-green {
    background: linear-gradient(145deg, #2e8a50 0%, #1f6b3c 50%, #195c32 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 0 rgba(14,56,30,0.35), 0 10px 24px rgba(31,107,60,0.28);
}
.btn-green:hover, .btn-green:focus {
    background: linear-gradient(145deg, #27784a 0%, #1a5c34 50%, #144d2a 100%);
    color: #fff;
    box-shadow: 0 8px 0 rgba(14,56,30,0.3), 0 16px 36px rgba(31,107,60,0.32);
}
.btn-green:active {
    box-shadow: 0 2px 0 rgba(14,56,30,0.35), 0 4px 12px rgba(31,107,60,0.2);
}

.btn-outline-green {
    border: 1.5px solid rgba(31,107,60,0.4);
    color: var(--green);
    background: rgba(238,246,241,0.6);
    backdrop-filter: blur(4px);
}
.btn-outline-green:hover, .btn-outline-green:focus {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
    box-shadow: var(--shadow-green-sm);
}

.btn-whatsapp {
    background: linear-gradient(145deg, #28d464 0%, #22c55e 50%, #1aac51 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 0 rgba(15,100,45,0.3), 0 10px 24px rgba(34,197,94,0.28);
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
    color: #fff;
    background: linear-gradient(145deg, #22b856 0%, #1da84f 50%, #168c41 100%);
    box-shadow: 0 8px 0 rgba(15,100,45,0.28), 0 16px 36px rgba(34,197,94,0.32);
}
.btn-whatsapp:active {
    box-shadow: 0 2px 0 rgba(15,100,45,0.3), 0 4px 12px rgba(34,197,94,0.2);
}

/* ── 6. Hero Section ──────────────────────────────────── */
.hero-section {
    min-height: 88vh;
    background-color: var(--green-deeper);
    background-image:
        linear-gradient(125deg, rgba(8,30,16,0.90) 0%, rgba(20,80,45,0.76) 55%, rgba(31,107,60,0.60) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 7rem 0 6rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Perspective grid floor */
.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20%;
    right: -20%;
    height: 55%;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(70deg);
    transform-origin: bottom center;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
}

/* Animated light orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(112,191,136,0.22) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: floatBlobA 10s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(84,168,109,0.18) 0%, transparent 70%);
    bottom: -120px;
    left: -80px;
    animation: floatBlobB 12s ease-in-out infinite;
}

.hero-orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(155,209,173,0.14) 0%, transparent 70%);
    top: 40%;
    left: 55%;
    animation: floatBlobA 8s ease-in-out infinite reverse;
}

/* Hero floating geometric shapes */
.hero-geo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}

.hero-geo-1 {
    width: 120px; height: 120px;
    border: 2px solid rgba(155,209,173,0.8);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 15%;
    right: 12%;
    animation: morphShape 9s ease-in-out infinite, heroGeoFloat1 7s ease-in-out infinite;
}

.hero-geo-2 {
    width: 80px; height: 80px;
    border: 1.5px solid rgba(155,209,173,0.6);
    border-radius: 50%;
    top: 55%;
    right: 20%;
    animation: heroGeoFloat2 6s ease-in-out infinite;
}

.hero-geo-3 {
    width: 60px; height: 60px;
    border: 1.5px solid rgba(155,209,173,0.6);
    transform: rotate(45deg);
    bottom: 25%;
    right: 8%;
    animation: heroGeoFloat3 8s ease-in-out infinite;
}

/* Particle dots */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: particleDrift 25s linear infinite;
    opacity: 0.7;
}

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

.hero-section h1 {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3), 0 0 60px rgba(31,107,60,0.2);
    animation: fadeUp 800ms ease-out both;
}

.hero-section .lead {
    max-width: 620px;
    color: rgba(240,255,245,0.88);
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    animation: fadeUp 950ms 100ms ease-out both;
}

.hero-cta-wrap {
    animation: fadeUp 1000ms 200ms ease-out both;
}

/* ── 7. Hero Badge ────────────────────────────────────── */
.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    color: var(--green-dark);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.9) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.4rem;
    animation: fadeUp 600ms ease-out both;
}

.badge-hero .dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ── 8. Page Header ───────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, #0d3320 0%, #1a5232 50%, #266040 100%);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(155,209,173,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(155,209,173,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155,209,173,0.4), transparent);
}

.page-header h1 {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(220,245,230,0.85);
    position: relative;
    z-index: 1;
}

/* ── 9. Section Decorators ────────────────────────────── */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.7rem;
}

.section-kicker::before,
.section-kicker::after {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.4;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--ink-500);
    font-size: 1.05rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── 10. 3D Card System ───────────────────────────────── */
.card-3d-wrap {
    perspective: var(--perspective);
    perspective-origin: center 80%;
}

.card-3d {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

.card-3d.tilt-reset {
    transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), box-shadow 0.55s cubic-bezier(0.23,1,0.32,1) !important;
}

/* ── 11. Trust Badges ─────────────────────────────────── */
.trust-section {
    background: var(--surface-0);
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(31,107,60,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.trust-badge {
    padding: 2.2rem 1.4rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--surface-0);
    border: 1px solid rgba(31,107,60,0.08);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.6) 0%, rgba(238,246,241,0.4) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(31,107,60,0.12);
    border-color: rgba(31,107,60,0.15);
}

.trust-badge:hover::before { opacity: 1; }
.trust-badge:hover::after  { opacity: 1; }

.trust-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #eef6f1 0%, #dff0e6 100%);
    border: 1px solid rgba(31,107,60,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: var(--green);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(31,107,60,0.08);
    position: relative;
    z-index: 1;
}

.trust-badge:hover .trust-icon {
    background: linear-gradient(135deg, var(--green) 0%, #1a5c34 100%);
    border-color: transparent;
    color: #fff;
    transform: scale(1.12) rotate(-5deg) translateY(-2px);
    box-shadow: 0 8px 24px rgba(31,107,60,0.3);
}

.trust-badge strong {
    position: relative;
    z-index: 1;
    font-size: 0.97rem;
}

.trust-badge small {
    position: relative;
    z-index: 1;
}

/* ── 12. Stats Section ────────────────────────────────── */
.stats-section {
    background: linear-gradient(135deg, #0a1e12 0%, #112a1a 30%, #1a5232 70%, #1e6038 100%);
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(168,228,187,0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 50%, rgba(168,228,187,0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 0%,  rgba(255,255,255,0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%,rgba(255,255,255,0.03) 0%, transparent 55%);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,228,187,0.3), transparent);
}

.stat-card {
    background: rgba(255,255,255,0.065);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem 2.2rem;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,228,187,0.55), transparent);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.stat-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(168,228,187,0.2);
}

.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(168,228,187,0.12);
    border: 1px solid rgba(168,228,187,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: #a8e4bb;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon {
    background: rgba(168,228,187,0.22);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(168,228,187,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.stat-accent {
    color: #a8e4bb;
    font-size: 2.2rem;
    vertical-align: super;
    line-height: 0;
}

.stat-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* ── 13. Product & Ram Cards ──────────────────────────── */
.ram-card, .product-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31,107,60,0.08);
    overflow: hidden;
    background: var(--surface-0);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.ram-card::before, .product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.6) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ram-card:hover::before, .product-card:hover::before { opacity: 1; }

.ram-img-wrapper, .product-img-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #f0f8f2 0%, #e5f3e8 100%);
}

.ram-img-wrapper    { height: 270px; }
.product-img-wrapper{ height: 230px; }

.ram-card-img, .product-img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.ram-card-img  { object-fit: contain; object-position: center; padding: 8px; }
.product-img   { object-fit: contain; object-position: center; padding: 8px; }

.ram-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
}

/* Image overlay shine on hover */
.ram-img-wrapper::after, .product-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ram-card:hover .ram-img-wrapper::after,
.product-card:hover .product-img-wrapper::after { opacity: 1; }

.ram-info-box {
    background: var(--surface-100);
    border: 1px solid rgba(31,107,60,0.08);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.7rem;
    text-align: center;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.02em;
}

/* ── 14. Farm Photos & Gallery ────────────────────────── */
.farm-photo, .farm-photo-sm {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31,107,60,0.1);
}

.farm-photo {
    height: 370px;
    box-shadow: var(--shadow-md);
}

.farm-photo-sm {
    height: 186px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.farm-photo-sm:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.farm-photo-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.farm-photo-wrap .farm-photo {
    border-radius: 0;
    border: none;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-md);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,30,16,0);
    transition: background 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay { background: rgba(10,30,16,0.5); }

.gallery-label {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

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

.gallery-item.span-2 {
    grid-column: span 2;
    aspect-ratio: 16 / 7;
}

/* ── 15. Glass Panels ─────────────────────────────────── */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.glass-panel-dark {
    background: var(--glass-dark);
    border: 1px solid rgba(155,209,173,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ── 16. Bulk Banner ──────────────────────────────────── */
.bulk-banner {
    background: linear-gradient(135deg, #1f6b3c 0%, #145e31 40%, #0f4826 100%);
    position: relative;
    overflow: hidden;
}

.bulk-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(155,209,173,0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 10% 50%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.bulk-banner::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: -60px;
    width: 300px;
    background: rgba(255,255,255,0.03);
    transform: skewX(-8deg);
    border-left: 1px solid rgba(255,255,255,0.06);
}

/* ── 17. About / Info Cards ───────────────────────────── */
.practice-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31,107,60,0.08);
    background: var(--surface-0);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.practice-card:hover::before { opacity: 1; }

.practice-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #eef6f1, #dff0e6);
    border: 1px solid rgba(31,107,60,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    font-size: 1.8rem;
    color: var(--green);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(31,107,60,0.1);
}

.practice-card:hover .practice-icon {
    background: linear-gradient(135deg, var(--green) 0%, #1a5c34 100%);
    color: #fff;
    transform: scale(1.1) rotate(-4deg);
    box-shadow: var(--shadow-green-sm);
}

/* Feeding section */
.feeding-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Owner card */
.owner-card {
    background: linear-gradient(135deg, var(--surface-100) 0%, rgba(238,246,241,0.8) 100%);
    border: 1px solid rgba(31,107,60,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.owner-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    color: rgba(31,107,60,0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.owner-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface-0), #dff0e6);
    border: 3px solid rgba(31,107,60,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm), 0 0 0 6px rgba(238,246,241,0.8);
}

/* Stats mini cards (about page) */
.mini-stat-card {
    border-radius: var(--radius-lg);
    background: var(--surface-0);
    border: 1px solid rgba(31,107,60,0.1);
    padding: 2rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.mini-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

/* ── 18. Contact ──────────────────────────────────────── */
.contact-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(45,127,67,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-icon-box:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-green-sm);
}

/* ── 19. Forms ────────────────────────────────────────── */
.form-control,
.form-select,
textarea.form-control {
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(31,107,60,0.15);
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
    background: rgba(247,250,248,0.8);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: var(--green);
    background: var(--surface-0);
    box-shadow: 0 0 0 3px rgba(31,107,60,0.10), 0 2px 12px rgba(31,107,60,0.08);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-700);
    margin-bottom: 0.45rem;
}

.alert-green {
    background: rgba(240,250,242,0.9);
    border: 1px solid rgba(31,107,60,0.2);
    border-radius: var(--radius-md);
    color: #1f5f31;
    backdrop-filter: blur(4px);
}

/* ── 20. Footer ───────────────────────────────────────── */
.footer {
    font-size: 0.92rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155,209,173,0.3), transparent);
}

.footer-link {
    color: rgba(183,221,190,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}

/* ── 21. Reveal Animations ────────────────────────────── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── 22. Divider ──────────────────────────────────────── */
section {
    position: relative;
}

/* ── 23. Responsive ───────────────────────────────────── */
@media (max-width: 991px) {
    #mainNavbar .nav-link {
        margin-bottom: 0.15rem;
    }
    #mainNavbar .navbar-logo {
        height: 52px !important;
    }
    .hero-geo { display: none; }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.span-2 { grid-column: span 2; }

    .hero-section {
        min-height: 72vh;
        padding: 5.5rem 0 4.5rem;
    }

    .stats-section { padding: 4rem 0; }
    .stat-number  { font-size: 2.4rem; }
    .stat-accent  { font-size: 1.7rem; }
    .stat-card    { padding: 2rem 1rem 1.8rem; }
    .stat-icon    { width: 50px; height: 50px; font-size: 1.25rem; }

    .hero-orb-1, .hero-orb-2, .hero-orb-3 { width: 250px; height: 250px; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 2rem; }
    .price-tag      { font-size: 1.1rem; }
    .product-img-wrapper { height: 200px; }
    .badge-hero     { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
    .stat-number    { font-size: 2rem; }
}

@media (max-width: 480px) {
    .gallery-grid   { grid-template-columns: 1fr; }
    .gallery-item.span-2 { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ── 24. Keyframes ────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes floatBlobA {
    0%, 100% { transform: translate(0, 0)     scale(1); }
    50%       { transform: translate(-14px,12px) scale(1.06); }
}

@keyframes floatBlobB {
    0%, 100% { transform: translate(0, 0)     scale(1); }
    50%       { transform: translate(12px,-10px) scale(1.08); }
}

@keyframes navbarDrop {
    from { opacity: 0.3; transform: translateY(-16px); }
    to   { opacity: 1;   transform: translateY(0);    }
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    33%       { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    66%       { border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%; }
}

@keyframes heroGeoFloat1 {
    0%, 100% { transform: translateY(0)   rotate(0deg);   }
    50%       { transform: translateY(-16px) rotate(15deg); }
}

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

@keyframes heroGeoFloat3 {
    0%, 100% { transform: rotate(45deg) translateY(0);    }
    50%       { transform: rotate(60deg) translateY(-8px); }
}

@keyframes particleDrift {
    from { transform: translateY(0); }
    to   { transform: translateY(-40px); }
}

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

@keyframes shimmer {
    from { background-position: -200% center; }
    to   { background-position:  200% center; }
}
