  /* ----- MILITARY/PARAMILITARY COLOR PALETTE ----- */
  :root {
    --primary: #1A3B2E;        /* deep forest green – authority, discipline */
    --secondary: #B48B4A;      /* burnished gold / khaki – honour, excellence */
    --accent: #8B3A3A;         /* deep crimson – valour, sacrifice */
    --success: #2A6F4B;
    --light: #F5F2E9;          /* sand/off-white */
    --dark: #0F261E;           /* almost black-green */
    --gray: #6C757D;
    --gradient-hero: linear-gradient(135deg, rgba(15,38,30,0.92) 0%, rgba(42,77,62,0.85) 70%, rgba(180,139,74,0.75) 100%);
    --shadow-sm: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-hover: 0 25px 45px rgba(26,59,46,0.18);
    --border-radius: 20px;
    --border-radius-card: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: #2D3E40;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { text-decoration: none; }

/* ----- NAVIGATION (dark, authoritative) ----- */
.navbar {
    background: rgba(15, 38, 30, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--secondary);
}
.navbar.scrolled {
    background: var(--dark) !important;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-bottom: 3px solid var(--secondary);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.9rem;
    color: white !important;
    letter-spacing: -0.5px;
}

.ls{
    width: 100px;
    height: 100px;
    border-radius: 10px;
}
.navbar-brand i {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-right: 8px;
    transition: transform 0.2s;
}
.navbar-brand:hover i { transform: rotate(-5deg) scale(1.05); }

.nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 500;
    margin: 0 6px;
    padding: 8px 18px !important;
    border-radius: 40px;
    transition: 0.25s;
    font-size: 1.05rem;
}
.nav-link:hover {
    background: var(--secondary);
    color: var(--dark) !important;
    transform: translateY(-2px);
}
.nav-link.active {
    background: var(--secondary);
    color: var(--dark) !important;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(180,139,74,0.35);
}
.navbar-toggler { border: none; color: white; }
.navbar-toggler-icon { filter: brightness(0) invert(1); }

/* ----- HERO – NIGERIAN MILITARY ACADEMY STYLE ----- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
    color: white;
    background-image: url('../images/002.png');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}
/* strong overlay with green/gold tones */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}
.hero-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.03"/></svg>');
    background-size: cover;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #FFE7B6; /* light khaki */
}
.hero-motto {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 30px;
    background: rgba(180,139,74,0.2);
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    border: 2px solid var(--secondary);
    color: #fff;
    text-transform: uppercase;
}
.btn-hero {
    padding: 16px 42px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}
.btn-hero-primary {
    background: var(--secondary);
    color: var(--dark) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
.btn-hero-primary:hover {
    background: #c99e5c;
    color: var(--dark) !important;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 35px rgba(180,139,74,0.4);
}
.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: scale(1.05) translateY(-5px);
}

/* ----- SECTION TITLES (with military stripe) ----- */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}
.section-title h2 {
    color: var(--primary);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}
.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 10px;
}
.section-title p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ----- FEATURE CARDS – DISCIPLINE, LEADERSHIP, FITNESS ----- */
.features-section {
    padding: 100px 0;
    background: var(--light);
}
.feature-card {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 45px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
    border-bottom: 5px solid var(--secondary);
}
.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}
.feature-icon {
    font-size: 3.8rem;
    color: var(--secondary);
    margin-bottom: 25px;
    transition: 0.2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); color: var(--primary); }
.feature-card h3 { font-weight: 700; margin-bottom: 18px; color: var(--primary); }

/* ----- STATS SECTION (camouflage touch) ----- */
.stats-section {
    padding: 90px 0;
    background: linear-gradient(145deg, var(--primary), #0F2A21);
    color: white;
}
.stat-item { padding: 15px; }
.stat-number {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    color: #FFE7B6;
}
.stat-label { font-size: 1.25rem; font-weight: 400; opacity: 0.9; }

/* ----- PROGRAM CARDS – SECURITY AGENCIES & YOUTH EMPOWERMENT ----- */
.programs-section { padding: 100px 0; background: white; }
.program-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f0f3f8;
    border-bottom: 5px solid var(--secondary);
}
.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 55px rgba(26,59,46,0.14);
    border-bottom-color: var(--primary);
}
.program-img {
    height: 210px;
    background: linear-gradient(145deg, var(--primary), #2A4D3E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    transition: 0.3s;
}
.program-card:hover .program-img { transform: scale(1.02); background: var(--secondary); color: var(--dark); }
.program-content { padding: 30px 25px 35px; }
.program-content h3 { color: var(--primary); font-weight: 700; margin-bottom: 15px; }
.btn-primary {
    background: var(--secondary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.25s;
    color: var(--dark);
    box-shadow: 0 6px 18px rgba(180,139,74,0.2);
}
.btn-primary:hover { background: #c99e5c; color: var(--dark); transform: translateY(-3px); box-shadow: 0 12px 22px rgba(180,139,74,0.35); }

/* ----- TESTIMONIALS – CADETS & GRADUATES IN UNIFORM ----- */
.testimonials-section {
    padding: 100px 0;
    background: #F5F2E9;
}
.testimonial-card {
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #edf2f9;
    transition: 0.2s;
    height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); border-left: 6px solid var(--secondary); }
.testimonial-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--secondary);
}
.testimonial-name { font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.testimonial-role { color: var(--secondary); font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; }
.testimonial-text { font-style: italic; color: #4a5b6c; }

/* ----- PARTNERS – NIGERIAN SECURITY AGENCIES (text badges) ----- */
.partners-section {
    padding: 70px 0;
    background: white;
}
.partner-badge {
    background: #F0F3F5;
    border-radius: 60px;
    padding: 12px 30px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    border: 2px solid var(--secondary);
    transition: 0.2s;
}
.partner-badge i { color: var(--secondary); margin-right: 8px; }
.partner-badge:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
}
.partner-badge:hover i { color: white; }

/* ----- CTA SECTION – "SERVE YOUR NATION" ----- */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(rgba(15,38,30,0.9), rgba(26,59,46,0.95)), 
                url('https://images.unsplash.com/photo-1579165466991-3b7a66b142f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
}
.cta-title { font-size: 3.1rem; font-weight: 900; margin-bottom: 25px; }
.cta-description { font-size: 1.3rem; max-width: 800px; margin: 0 auto 45px; opacity: 0.9; }

/* ----- FOOTER (regimental) ----- */
.footer {
    background: var(--dark);
    color: #d0dbe8;
    padding: 80px 0 30px;
    border-top: 5px solid var(--secondary);
}
.footer-logo { font-size: 2.2rem; font-weight: 800; color: white; }
.footer-logo i { color: var(--secondary); margin-right: 10px; }
.footer-links h5 { color: white; margin-bottom: 25px; font-weight: 700; letter-spacing: 1.5px; border-left: 5px solid var(--secondary); padding-left: 15px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 14px; }
.footer-links ul li a { color: #a6c1d9; transition: 0.2s; }
.footer-links ul li a:hover { color: var(--secondary); padding-left: 6px; }
.contact-info i { color: var(--secondary); width: 28px; }
.social-links {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: white;
    transition: 0.25s;
    font-size: 1.3rem;
}
.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-6px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 60px;
    padding-top: 35px;
    text-align: center;
    color: #a0b8cc;
}

/* ----- BACK TO TOP BUTTON ----- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(180,139,74,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    z-index: 99;
    border: 2px solid white;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    animation: fadeInUp 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@media (max-width: 992px) {
    .hero-title { font-size: 3.2rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .navbar-brand { font-size: 1.7rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .hero-motto { font-size: 1.1rem; padding: 10px 20px; }
    .btn-hero { padding: 14px 30px; width: 100%; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .section-title h2 { font-size: 2rem; }
}