/* ===========================================================================
   modern-v10.css — v0.1.78 (additive) : FUTURISTIC 3D + MORE IMAGES LAYER.

   Pure cascade addition on top of every earlier layer (main.css → polish →
   modern → v2..v9). Nothing earlier is modified; new rules only override
   colours/borders/shadows/transforms of nodes this release family marked
   (md78-*) and the pre-existing page elements named below, using higher
   specificity so earlier layers lose only where this layer speaks.

   Deep-green palette only — no amber/yellow hex anywhere in this file.
   =========================================================================== */

/* ------------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------------ */
body {
    --md78-ink: #052e16;
    --md78-deep: #14532d;
    --md78-forest: #0b3d20;
    --md78-leaf: #15803d;
    --md78-green: #22c55e;
    --md78-mint: #4ade80;
    --md78-ice: #a7f3d0;
    --md78-mist: #ecfdf5;
    --md78-white: #ffffff;
    --md78-slate: #0f172a;
}

/* ------------------------------------------------------------------
   3D TILT BASE (vars driven by modern-v10.js pointer tracking)
   ------------------------------------------------------------------ */
.md78-tilt {
    transform: perspective(900px) rotateX(var(--md78-rx, 0deg)) rotateY(var(--md78-ry, 0deg));
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}
.md78-tilt:hover {
    box-shadow: 0 24px 60px rgba(5, 46, 22, 0.35);
}
.md78-tilt::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(360px circle at var(--md78-gx, 50%) var(--md78-gy, 50%),
                rgba(209, 250, 229, 0.18), rgba(209, 250, 229, 0) 60%);
}
.md78-tilt:hover::after { opacity: 1; }

/* ------------------------------------------------------------------
   SHARED BAND SHELL (reuses v8's .md76-section / .md76-inner grid so the
   1600px one-grid alignment continues automatically)
   ------------------------------------------------------------------ */
.md78-stats-band,
.md78-about-live-band,
.md78-desk-band {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(34, 197, 94, 0.16), transparent 60%),
        radial-gradient(900px 420px at 88% 100%, rgba(74, 222, 128, 0.12), transparent 60%),
        linear-gradient(160deg, #052e16 0%, #0b3d20 48%, #14532d 100%);
    padding-top: 84px;
    padding-bottom: 84px;
    overflow: hidden;
    position: relative;
}
.md78-stats-band::before,
.md78-about-live-band::before,
.md78-desk-band::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg at 50% 50%,
        rgba(74, 222, 128, 0.05), rgba(34, 197, 94, 0.02),
        rgba(167, 243, 208, 0.05), rgba(34, 197, 94, 0.02), rgba(74, 222, 128, 0.05));
    animation: md78-spin-slow 26s linear infinite;
    pointer-events: none;
    z-index: 0;
}
.md78-stats-band > .md76-inner,
.md78-about-live-band > .md76-inner,
.md78-desk-band > .md76-inner { position: relative; z-index: 1; }
.md78-stats-band h2,
.md78-about-live-band h2,
.md78-desk-band h2 { color: var(--md78-white); }
.md78-stats-band .md76-head p,
.md78-about-live-band .md76-head p,
.md78-desk-band .md76-head p { color: rgba(255, 255, 255, 0.68); }

/* ------------------------------------------------------------------
   THE NETWORK IN NUMBERS — live stat cards
   ------------------------------------------------------------------ */
.md78-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.md78-stat {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 26px 22px 22px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(167, 243, 208, 0.22);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 178px;
}
.md78-stat::before {
    content: '';
    position: absolute;
    inset: -70%;
    background: conic-gradient(from 0deg at 50% 50%,
        rgba(74, 222, 128, 0.14), rgba(34, 197, 94, 0.04),
        rgba(167, 243, 208, 0.14), rgba(34, 197, 94, 0.04), rgba(74, 222, 128, 0.14));
    animation: md78-spin-slow 14s linear infinite;
    z-index: -1;
}
.md78-stat:hover { border-color: rgba(167, 243, 208, 0.55); }
.md78-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #052e16;
    background: linear-gradient(145deg, #a7f3d0, #22c55e);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
    font-size: 18px;
}
.md78-stat-num { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.md78-stat-num b {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--md78-mint);
    text-shadow: 0 0 26px rgba(74, 222, 128, 0.45);
    font-variant-numeric: tabular-nums;
}
.md78-stat-num i {
    font-style: normal;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, 0.72);
}
.md78-stat-sub { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ------------------------------------------------------------------
   TESTIMONIALS — futuristic holographic re-skin (existing DOM, additive
   classes md78-ready / md78-tilt / md78-holo set by modern-v10.js)
   ------------------------------------------------------------------ */
body .testimonials-section.md78-ready {
    position: relative;
    background:
        radial-gradient(1000px 460px at 8% 12%, rgba(34, 197, 94, 0.14), transparent 62%),
        radial-gradient(900px 420px at 94% 86%, rgba(74, 222, 128, 0.11), transparent 60%),
        linear-gradient(165deg, #052e16 0%, #0b3d20 52%, #14532d 100%);
    overflow: hidden;
}
body .testimonials-section.md78-ready::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg at 50% 50%,
        rgba(74, 222, 128, 0.06), rgba(34, 197, 94, 0.02),
        rgba(167, 243, 208, 0.06), rgba(34, 197, 94, 0.02), rgba(74, 222, 128, 0.06));
    animation: md78-spin-slow 30s linear infinite;
    pointer-events: none;
}
body .testimonials-section.md78-ready .testimonials-container { position: relative; z-index: 1; }
body .testimonials-section .sub-badge.md78-badge {
    background: rgba(167, 243, 208, 0.12);
    border: 1px solid rgba(167, 243, 208, 0.35);
    color: var(--md78-ice);
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.28);
}
body .testimonials-section .section-title.md78-title {
    color: var(--md78-white);
    text-shadow: 0 8px 40px rgba(5, 46, 22, 0.6);
}
body .testimonials-section .review-card.md78-holo {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(167, 243, 208, 0.24);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 44px rgba(5, 46, 22, 0.4);
}
body .testimonials-section .review-card.md78-holo::before {
    content: '';
    position: absolute;
    inset: -65%;
    background: conic-gradient(from 0deg at 50% 50%,
        rgba(74, 222, 128, 0.13), rgba(34, 197, 94, 0.03),
        rgba(167, 243, 208, 0.13), rgba(34, 197, 94, 0.03), rgba(74, 222, 128, 0.13));
    animation: md78-spin-slow 16s linear infinite;
    z-index: -1;
}
body .testimonials-section .review-card.md78-holo:hover {
    border-color: rgba(167, 243, 208, 0.55);
    box-shadow: 0 26px 60px rgba(5, 46, 22, 0.5);
}
body .testimonials-section .review-card .rating i {
    color: var(--md78-mint);
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.65));
}
body .testimonials-section .review-card .review-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
    line-height: 1.65;
}
body .testimonials-section .review-card .review-text::before {
    content: '\201C';
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    line-height: 0.6;
    margin-bottom: 10px;
    color: rgba(167, 243, 208, 0.5);
}
body .testimonials-section .review-card .user-name { color: var(--md78-white); }
body .testimonials-section .review-card .user-tag { color: var(--md78-ice); opacity: 0.85; }
body .testimonials-section .review-card .user-initials {
    color: #052e16;
    background: linear-gradient(145deg, #a7f3d0, #22c55e);
    box-shadow: 0 0 0 2px rgba(167, 243, 208, 0.35), 0 8px 20px rgba(34, 197, 94, 0.4);
    border-radius: 50%;
}

/* ------------------------------------------------------------------
   CINEMATIC IMAGE BANNERS (locally generated photographs)
   ------------------------------------------------------------------ */
.md78-banner-band { padding-top: 40px; padding-bottom: 40px; }
.md78-panorama {
    position: relative;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    height: clamp(300px, 36vw, 460px);
    border: 1px solid rgba(20, 83, 45, 0.35);
    box-shadow: 0 30px 70px rgba(5, 46, 22, 0.35);
    background: #052e16;
}
.md78-panorama > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: md78-kenburns 22s ease-in-out infinite alternate;
}
.md78-pano-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(22px, 4vw, 54px);
    background: linear-gradient(92deg, rgba(5, 46, 22, 0.88) 0%, rgba(5, 46, 22, 0.62) 42%, rgba(5, 46, 22, 0.08) 78%);
    max-width: 92%;
}
.md78-pano-copy .md76-eyebrow { align-self: flex-start; }
.md78-pano-copy h2 {
    margin: 0;
    color: var(--md78-white);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.12;
    max-width: 620px;
    text-shadow: 0 10px 40px rgba(5, 46, 22, 0.7);
}
.md78-pano-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    max-width: 540px;
}
.md78-pano-cta {
    margin-top: 8px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: var(--md78-white);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.md78-pano-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(34, 197, 94, 0.5); }
.md78-pano-chips {
    position: absolute;
    right: clamp(16px, 3vw, 40px);
    bottom: clamp(16px, 3vw, 36px);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 46%;
}
.md78-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(5, 46, 22, 0.55);
    border: 1px solid rgba(167, 243, 208, 0.4);
    backdrop-filter: blur(8px);
    color: var(--md78-ice);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(5, 46, 22, 0.45);
}
.md78-chip i { color: var(--md78-mint); }
.md78-float { animation: md78-float 5.5s ease-in-out infinite; }
.md78-f2 { animation-delay: 0.9s; }
.md78-f3 { animation-delay: 1.8s; }
.md78-pano-slim { height: clamp(240px, 26vw, 330px); }

/* ------------------------------------------------------------------
   ABOUT — harvest band + milestone road + live band specifics
   ------------------------------------------------------------------ */
.md78-road {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 18px;
}
.md78-road::before {
    content: '';
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.55), rgba(167, 243, 208, 0.65), rgba(34, 197, 94, 0.55), transparent);
    z-index: 0;
}
.md78-mile {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    padding: 30px 26px 26px;
    background: var(--md78-white);
    border: 1px solid rgba(20, 83, 45, 0.16);
    box-shadow: 0 16px 40px rgba(5, 46, 22, 0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.md78-mile-year {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #052e16, #15803d);
    color: var(--md78-ice);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.35);
}
.md78-mile-icon {
    width: 52px;
    height: 52px;
    margin-top: 8px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #052e16;
    background: linear-gradient(145deg, #dcfce7, #4ade80);
    box-shadow: 0 10px 24px rgba(74, 222, 128, 0.35);
}
.md78-mile h3 { margin: 4px 0 0; color: #052e16; font-size: 1.3rem; }
.md78-mile p { margin: 0; color: #475569; font-size: 0.95rem; line-height: 1.6; }
.md78-road-band { padding-top: 80px; padding-bottom: 60px; }

/* ------------------------------------------------------------------
   CONTACT — priority desk steps
   ------------------------------------------------------------------ */
.md78-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 34px;
}
.md78-step {
    border-radius: 24px;
    padding: 30px 26px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(167, 243, 208, 0.22);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.md78-step:hover { border-color: rgba(167, 243, 208, 0.5); }
.md78-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 19px;
    color: #052e16;
    background: linear-gradient(145deg, #a7f3d0, #22c55e);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}
.md78-step h3 { margin: 2px 0 0; color: var(--md78-white); font-size: 1.2rem; }
.md78-step p { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; line-height: 1.6; }

/* ------------------------------------------------------------------
   THEME MATCH — re-skin the pre-existing orange accents on the about /
   contact pages to the deep-green theme (cascade overrides only; the
   page files themselves are untouched)
   ------------------------------------------------------------------ */
/* about-us */
body .about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 340px at 18% 22%, rgba(34, 197, 94, 0.22), transparent 62%),
        radial-gradient(700px 340px at 84% 78%, rgba(74, 222, 128, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(5, 46, 22, 0.55), rgba(5, 46, 22, 0.82));
    pointer-events: none;
    z-index: 1;
}
body .about-hero .hero-content { z-index: 2; }
body .about-hero .hero-content > div:first-child { color: var(--md78-mint) !important; }
body .section-header span { color: var(--md78-leaf); }
body .feature-card i { color: var(--md78-leaf); }
body .feature-card:hover { border-color: var(--md78-green); }
body .cta-btn {
    background: linear-gradient(135deg, #15803d, #22c55e);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
}
body .cta-btn:hover { background: linear-gradient(135deg, #166534, #16a34a); }
body .values-box {
    background:
        radial-gradient(800px 380px at 10% 10%, rgba(74, 222, 128, 0.18), transparent 60%),
        linear-gradient(155deg, #052e16 0%, #14532d 60%, #166534 100%);
}
body .values-box h4 { color: var(--md78-mint) !important; }
body .stats-strip { border: 1px solid rgba(20, 83, 45, 0.14); }
body .stats-strip .stat-item.md78-glass {
    border-radius: 18px;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
}
body .stats-strip .stat-item.md78-glass:hover { box-shadow: 0 16px 34px rgba(5, 46, 22, 0.16); }
body .stats-strip .stat-number { font-variant-numeric: tabular-nums; }

/* contact-us */
body .contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 320px at 16% 24%, rgba(34, 197, 94, 0.24), transparent 62%),
        radial-gradient(700px 320px at 86% 70%, rgba(74, 222, 128, 0.18), transparent 60%);
    pointer-events: none;
    z-index: 2;
}
body .contact-hero .hero-content { z-index: 3; }
body .contact-hero .hero-content span { color: var(--md78-mint); }
body .info-icon { color: var(--md78-ice); background: rgba(167, 243, 208, 0.14); }
body .info-card:hover { transform: translateX(10px) scale(1.01); }
body .btn-submit {
    background: linear-gradient(135deg, #15803d, #22c55e);
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.35);
}
body .btn-submit:hover { background: linear-gradient(135deg, #166534, #16a34a); box-shadow: 0 16px 34px rgba(34, 197, 94, 0.45); }
body .form-control:focus {
    border-color: var(--md78-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
    background-color: #ffffff;
}
body .map-section { border: 1px solid rgba(20, 83, 45, 0.18); box-shadow: 0 24px 56px rgba(5, 46, 22, 0.18); }

/* ------------------------------------------------------------------
   REVEAL ON SCROLL (md78-reveal / md78-in set by modern-v10.js)
   ------------------------------------------------------------------ */
.md78-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.md78-reveal.md78-in { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------------
   KEYFRAMES
   ------------------------------------------------------------------ */
@keyframes md78-kenburns {
    from { transform: scale(1.02); }
    to   { transform: scale(1.12); }
}
@keyframes md78-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}
@keyframes md78-spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .md78-road { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 900px) {
    .md78-road { grid-template-columns: 1fr; }
    .md78-road::before { display: none; }
    .md78-steps { grid-template-columns: 1fr; }
    .md78-pano-chips { display: none; }
    .md78-pano-copy { max-width: 100%; background: linear-gradient(180deg, rgba(5, 46, 22, 0.82) 0%, rgba(5, 46, 22, 0.66) 60%, rgba(5, 46, 22, 0.82) 100%); }
}
@media (max-width: 600px) {
    .md78-stat { min-height: 0; padding: 20px 18px; }
    .md78-stat-num b { font-size: 2rem; }
    .md78-panorama { height: 340px; }
    .md78-pano-slim { height: 300px; }
    .md78-pano-copy { padding: 20px; }
    .md78-pano-cta { padding: 11px 20px; }
}

/* ------------------------------------------------------------------
   MOTION SAFETY — collapse every animation this layer adds
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .md78-tilt { transform: none !important; transition: none !important; }
    .md78-tilt::after { display: none; }
    .md78-panorama > img,
    .md78-pano-chips .md78-chip,
    .md78-stats-band::before,
    .md78-about-live-band::before,
    .md78-desk-band::before,
    body .testimonials-section.md78-ready::after,
    body .testimonials-section .review-card.md78-holo::before,
    .md78-stat::before { animation: none !important; }
    .md78-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
