/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #1a5c3a;
    --green-dark: #0f3d26;
    --green-light: #2d7a50;
    --gold: #d4a017;
    --gold-light: #f0c040;
    --bg: #0a0e0c;
    --bg2: #111714;
    --bg3: #161d18;
    --surface: #1a231d;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8f0eb;
    --text-muted: #8fa898;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    --glow: 0 0 40px rgba(26, 92, 58, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

a {
    text-decoration: none;
    color: inherit;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), #fff7cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-tag.center,
h2.center,
p.center {
    text-align: center;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
}

section {
    padding: 100px 0;
}

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(26, 92, 58, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 92, 58, 0.7);
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
}

.btn-ghost {
    display: inline-block;
    color: var(--text);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--green-light);
}

/* ─── NAV ─── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
    background: rgba(10, 14, 12, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

#logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--white);
    background: var(--surface);
}

.btn-nav {
    background: linear-gradient(135deg, var(--green), var(--green-light)) !important;
    color: var(--white) !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── HERO ─── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26, 92, 58, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    background: radial-gradient(circle, rgba(26, 92, 58, 0.6), transparent);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.badge {
    display: inline-block;
    background: rgba(26, 92, 58, 0.25);
    border: 1px solid rgba(26, 92, 58, 0.5);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 20px 0 36px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 32px;
    width: fit-content;
    gap: 0;
}

.stat {
    text-align: center;
    padding: 0 28px;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* ─── TRUST ─── */
#trust {
    padding: 24px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.badges-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.4;
    transition: border-color 0.2s;
}

.trust-badge:hover {
    border-color: var(--green-light);
}

.trust-badge small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ─── ABOUT ─── */
#about {
    background: var(--bg2);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-mission {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission-card {
    display: flex;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: border-color 0.2s, transform 0.2s;
}

.mission-card:hover {
    border-color: var(--green-light);
    transform: translateX(4px);
}

.mission-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.mission-card strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.mission-card p {
    margin: 0;
    font-size: 0.9rem;
}

.info-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--green-light);
}

.info-card.top {
    transform: translateX(0);
}

.info-card.mid {
    transform: translateX(24px);
}

.info-card.bot {
    transform: translateX(0);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-card strong {
    color: var(--white);
    display: block;
    margin-bottom: 6px;
}

.info-card p {
    margin: 0;
    font-size: 0.88rem;
}

/* ─── SERVICES ─── */
#services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), var(--glow);
    border-color: rgba(26, 92, 58, 0.4);
}

.service-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(26, 92, 58, 0.25), rgba(26, 92, 58, 0.08));
    border-color: rgba(26, 92, 58, 0.5);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 24px;
}

.service-card.featured .featured-tag {
    grid-column: 1 / -1;
    display: inline-block;
    background: var(--gold);
    color: var(--bg);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    width: fit-content;
}

.service-card.featured .svc-icon {
    grid-row: 2;
    font-size: 2.5rem;
}

.service-card.featured h3 {
    font-size: 1.4rem;
}

.service-card.featured .svc-list {
    columns: 2;
    gap: 8px;
}

.svc-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.svc-list {
    list-style: none;
    margin-top: 12px;
}

.svc-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.svc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green-light);
    font-size: 0.8rem;
}

/* ─── IMPACT ─── */
#impact {
    background: var(--bg2);
}

.impact-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--surface);
    border: 1px solid rgba(26, 92, 58, 0.4);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 40px;
    box-shadow: var(--glow);
}

.impact-badge {
    display: inline-block;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.impact-left h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.impact-metrics {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    display: flex;
    gap: 20px;
    padding-bottom: 32px;
    position: relative;
}

.tl-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.tl-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    flex-shrink: 0;
    margin-top: 4px;
    transition: background 0.2s, border-color 0.2s;
}

.tl-dot.active {
    background: var(--green);
    border-color: var(--green-light);
    box-shadow: 0 0 12px rgba(26, 92, 58, 0.6);
}

.tl-body strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.tl-body p {
    font-size: 0.88rem;
    margin: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pillar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.pillar:hover {
    transform: translateY(-4px);
    border-color: var(--green-light);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.pillar h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.pillar p {
    font-size: 0.88rem;
    margin: 0;
}

/* ─── TEAM ─── */
#team {
    background: var(--bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(26, 92, 58, 0.5);
}

.team-photo-wrap {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--green);
    box-shadow: 0 0 24px rgba(26, 92, 58, 0.5);
    flex-shrink: 0;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    background: rgba(26, 92, 58, 0.25);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.team-info p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.team-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-badges span {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 500;
}

/* ─── CONTACT ─── */
#contact {
    background: var(--bg2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: border-color 0.2s, transform 0.2s;
}

.contact-item:hover {
    border-color: var(--green-light);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
}

.contact-form h3 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

/* ─── SCROLL REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.2);
}

.form-group select option {
    background: var(--bg3);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gold);
    text-align: center;
    margin-top: 12px;
}

/* ─── FOOTER ─── */
#footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 24px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
}

.footer-brand p {
    font-size: 0.85rem;
    margin: 6px 0 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-certs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-tag {
    background: rgba(26, 92, 58, 0.2);
    border: 1px solid rgba(26, 92, 58, 0.4);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.footer-bottom {
    text-align: center;
    padding: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card.featured {
        grid-column: 1 / -1;
    }

    .impact-hero-card {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 16px;
        padding: 20px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 12, 0.97);
        padding: 20px;
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .impact-metrics {
        gap: 16px;
    }

    .service-card.featured .svc-list {
        columns: 1;
    }
}