:root {
            --dark-navy: #031B33;
            --header-blue: #0A2E50;
            --royal-blue: #0C3E68;
            --crimson-red: #C61A09;
            --gold-yellow: #FFC107;
            --bg-light: #F4F6F9;
            --text-dark: #1F2937;
            --text-muted: #4B5563;
            --white: #FFFFFF;
            --border-color: #E5E7EB;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Arial, sans-serif;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            padding-bottom: 65px; /* Space reserved for mobile bottom nav */
        }

        @media (min-width: 769px) {
            body { padding-bottom: 0; }
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* 1. TOP UTILITY BAR */
        .top-bar {
            background-color: var(--dark-navy);
            color: var(--white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 4%;
            font-size: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
      .leftlink{
        position: relative;
    display: flex;
    background-color: #c61a09;
    /* color: beige; */
    font-size: 20px;
      }
        .top-bar-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .top-bar-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .top-bar-right a { color: var(--white); }

        .social-icons-top {
            display: flex;
            gap: 10px;
            margin-left: 10px;
        }

        /* 2. MAIN HEADER */
        .main-header {
            background-color: var(--white);
            padding: 12px 4%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-seal {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: radial-gradient(circle, #fff 40%, var(--crimson-red) 100%);
            border: 3px solid var(--gold-yellow);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-navy);
            font-weight: 900;
            font-size: 10px;
            text-align: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            flex-shrink: 0;
        }
        .logo-seal img{
           width: 75px;
            height: 75px;
            border-radius: 50%;  
        }

        .brand-title h1 {
            color: var(--header-blue);
            font-size: 28px;
            font-weight: 900;
            letter-spacing: 0.5px;
            line-height: 1;
        }

        .brand-title h2 {
            color: var(--crimson-red);
            font-size: 20px;
            font-weight: 800;
            letter-spacing: 1px;
            margin-top: 2px;
        }

        .brand-title p {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 600;
            margin-top: 2px;
        }

        .helpline-container {
            display: flex;
            align-items: center;
            gap: 12px;
            border: 1px solid var(--border-color);
            padding: 6px 15px;
            border-radius: 30px;
            background: #FAFAFA;
        }

        .helpline-icon {
            width: 40px;
            height: 40px;
            background-color: var(--royal-blue);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .helpline-info small {
            display: block;
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 600;
        }

        .helpline-info strong {
            font-size: 20px;
            color: var(--crimson-red);
            font-weight: 900;
            line-height: 1.1;
        }

        .mobile-toggle {
            display: none;
            font-size: 24px;
            color: var(--dark-navy);
            cursor: pointer;
        }

        /* 3. FIXED DESKTOP NAVBAR */
        .navbar {
            background-color: var(--dark-navy);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-menu {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            list-style: none;
            padding: 0 4%;
            margin: 0;
            width: 100%;
            overflow-x: auto; /* Handles minor overflow on medium screens */
            white-space: nowrap;
        }

        .nav-menu li {
            display: inline-block;
            flex-shrink: 0;
        }

        .nav-menu li a {
            display: block;
            color: var(--white);
            padding: 14px 18px;
            font-size: 13px;
            font-weight: 700;
            transition: 0.2s;
            text-transform: uppercase;
        }

        .nav-menu li a.active,
        .nav-menu li a:hover {
            background-color: var(--crimson-red);
        }

        /* 4. HERO SLIDER SECTION */
        .hero-slider {
            position: relative;
            overflow: hidden;
            width: 100%;
            min-height: 480px;
        }

        .slider-container {
            display: flex;
            transition: transform 0.6s ease-in-out;
            height: 100%;
            width: 100%;
        }

        .slide {
            min-width: 100%;
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            align-items: center;
            padding: 50px 5% 60px;
            color: var(--white);
        }

        .slide-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(90deg, rgba(3,27,51,0.92) 0%, rgba(12,62,104,0.75) 100%);
            z-index: 1;
        }

        .slide-content-wrapper {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .hero-content {
            max-width: 55%;
        }

        .hero-content h1 {
            font-size: 38px;
            font-weight: 900;
            color: var(--white);
            line-height: 1.2;
        }

        .hero-content h2 {
            font-size: 38px;
            font-weight: 900;
            color: var(--gold-yellow);
            line-height: 1.2;
        }

        .hero-content h3 {
            font-size: 24px;
            font-weight: 600;
            margin-top: 5px;
        }

        .hero-action-cards {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .hero-card {
            background: rgba(12, 62, 104, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 10px 15px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 150px;
        }

        .hero-card.highlight {
            background: var(--crimson-red);
            border-color: var(--crimson-red);
        }

        .hero-card i {
            font-size: 22px;
            color: var(--white);
        }

        .hero-card div strong {
            display: block;
            font-size: 12px;
            text-transform: uppercase;
        }

        .hero-card div span {
            font-size: 11px;
            opacity: 0.9;
        }

        .hero-badge-seal {
            text-align: center;
        }

        .large-seal {
            width: 190px;
            height: 190px;
            border-radius: 50%;
            border: 4px dashed var(--gold-yellow);
            background: rgba(3, 27, 51, 0.8);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            padding: 10px;
        }

        .badge-footer-title {
            background: var(--gold-yellow);
            color: var(--dark-navy);
            font-weight: 900;
            font-size: 16px;
            padding: 4px 12px;
            border-radius: 3px;
            letter-spacing: 0.5px;
        }

        /* Slider Controls */
        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(3, 27, 51, 0.7);
            color: #FFF;
            border: none;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: 18px;
            transition: 0.3s;
        }

        .slider-btn:hover {
            background: var(--crimson-red);
        }

        .prev-btn { left: 15px; }
        .next-btn { right: 15px; }

        .slider-dots {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .dot {
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: 0.3s;
        }

        .dot.active {
            background: var(--gold-yellow);
            width: 25px;
            border-radius: 6px;
        }

        /* 5. SECTION HEADINGS */
        .section-header {
            text-align: center;
            margin: 25px 0 15px;
            font-size: 18px;
            font-weight: 800;
            color: var(--dark-navy);
            position: relative;
        }

        .section-header::before,
        .section-header::after {
            content: "—";
            color: var(--crimson-red);
            margin: 0 8px;
            font-weight: bold;
        }

        /* 6. ABOUT US & MISSION SECTION */
        .about-mission-wrapper {
            background: var(--white);
            padding: 25px 4% 35px;
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 30px;
        }

        .about-box p {
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-muted);
            margin-bottom: 15px;
        }

        .btn-read-more {
            background: var(--crimson-red);
            color: var(--white);
            padding: 6px 14px;
            font-size: 12px;
            font-weight: 700;
            border-radius: 3px;
            display: inline-block;
        }

        .mission-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
        }

        .mission-card {
            border: 1px solid var(--border-color);
            padding: 15px 5px;
            text-align: center;
            border-radius: 4px;
            background: #FAFAFA;
        }

        .mission-card i {
            font-size: 26px;
            color: var(--royal-blue);
            margin-bottom: 8px;
        }

        .mission-card p {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-dark);
        }

        /* 7. COUNTERS STRIP */
        .counter-strip {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            background: var(--royal-blue);
            color: var(--white);
        }

        .counter-item {
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            border-right: 1px solid rgba(255, 255, 255, 0.15);
        }

        .counter-item:nth-child(2),
        .counter-item:nth-child(4) {
            background: var(--crimson-red);
        }

        .counter-item i { font-size: 32px; }
        .counter-item h3 { font-size: 24px; font-weight: 900; }
        .counter-item p { font-size: 12px; }

        /* 8. FORMS SECTION & ID CARD */
       .forms-section {
    padding: 30px 4%;
    display: grid;
    /* 4 equal columns on desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px;
    align-items: stretch;
}

.id-card-preview {
    border: 2px solid var(--royal-blue);
    border-radius: 4px;
    background: #FFF;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.callout-box {
    background: var(--royal-blue);
    color: var(--white);
    border-radius: 4px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Responsive adjust for smaller screens */
@media (max-width: 1024px) {
    .forms-section {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
}

@media (max-width: 600px) {
    .forms-section {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}
        .form-header.blue { background: var(--royal-blue); }
        .form-body { padding: 15px; }
        .form-group { margin-bottom: 10px; }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 8px 10px;
            border: 1px solid #D1D5DB;
            border-radius: 3px;
            font-size: 12px;
            outline: none;
        }

        .form-row {
            display: flex;
            gap: 10px;
        }

        .btn-form-submit {
            width: 100%;
            padding: 8px;
            background: var(--crimson-red);
            color: var(--white);
            border: none;
            font-weight: 800;
            font-size: 13px;
            border-radius: 3px;
            cursor: pointer;
        }

        .btn-form-submit.blue { background: var(--royal-blue); }

        /* ID Card Mockup */
        .id-card-preview {
            border: 2px solid var(--royal-blue);
            border-radius: 6px;
            margin-top: 15px;
            background: #FFF;
            overflow: hidden;
            text-align: center;
        }

        .id-card-top {
            background: var(--royal-blue);
            color: var(--white);
            font-size: 9px;
            font-weight: 800;
            padding: 4px;
        }

        .id-card-sub {
            background: var(--crimson-red);
            color: var(--white);
            font-size: 10px;
            font-weight: 800;
            padding: 2px;
            letter-spacing: 0.5px;
        }

        .id-card-content {
            display: flex;
            padding: 10px;
            align-items: center;
            gap: 10px;
        }

        .id-photo {
            width: 50px;
            height: 60px;
            background: #E5E7EB;
            border: 1px solid #CCC;
        }

        .id-details {
            text-align: left;
            font-size: 10px;
            line-height: 1.4;
        }

        .id-details strong {
            font-size: 11px;
            color: var(--dark-navy);
        }

        .id-qr {
            width: 35px;
            height: 35px;
            margin-left: auto;
        }

        .id-card-bottom {
            background: var(--royal-blue);
            color: var(--white);
            font-size: 8px;
            padding: 2px;
            font-weight: bold;
        }

        /* Callout Box */
        .callout-box {
            background: var(--royal-blue);
            color: var(--white);
            border-radius: 4px;
            padding: 25px 15px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .callout-box h2 {
            color: var(--gold-yellow);
            font-size: 22px;
            font-weight: 900;
            margin: 10px 0;
        }

        .callout-box p {
            font-size: 13px;
            margin-bottom: 20px;
            line-height: 1.4;
        }

        /* 9. GALLERY SECTION */
        .gallery-wrapper {
            background: var(--white);
            padding: 10px 4% 30px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
        }

        .gallery-card { text-align: center; }

        .gallery-card img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 4px;
            border: 1px solid var(--border-color);
        }

        .gallery-card p {
            font-size: 11px;
            font-weight: 700;
            margin-top: 6px;
        }

        /* 10. UPDATES GRID */
        .updates-container {
            padding: 20px 4% 40px;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 20px;
        }

        .update-block {
            background: var(--white);
            padding: 15px;
            border-radius: 4px;
            border: 1px solid var(--border-color);
        }

        .news-item, .event-item {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px dashed var(--border-color);
        }

        .date-box {
            background: var(--royal-blue);
            color: var(--white);
            min-width: 42px;
            height: 42px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 3px;
            font-weight: 800;
            font-size: 10px;
            line-height: 1.1;
        }

        .date-box span { font-size: 14px; }

        .item-text h4 {
            font-size: 11px;
            color: var(--text-dark);
            line-height: 1.3;
        }

        .item-text a {
            font-size: 10px;
            color: var(--crimson-red);
            font-weight: 800;
        }

        .president-card { text-align: center; }

        .president-quote {
            font-size: 12px;
            font-style: italic;
            color: var(--text-muted);
            line-height: 1.4;
            margin-bottom: 10px;
        }

        /* 11. FOOTER */
        footer {
            background-color: var(--dark-navy);
            color: var(--white);
            padding: 40px 4% 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-col h4 {
            font-size: 14px;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--white);
        }

        .footer-col p, .footer-col li {
            font-size: 12px;
            color: #D1D5DB;
            line-height: 1.8;
            list-style: none;
        }

        .footer-col i {
            margin-right: 6px;
            color: var(--gold-yellow);
        }

        .copyright-bar {
               justify-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 11px;
    color: #9CA3AF;
        }

        /* 12. MOBILE BOTTOM NAVIGATION MENU BAR */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--dark-navy);
            border-top: 3px solid var(--crimson-red);
            z-index: 9999;
            justify-content: space-around;
            padding: 8px 0;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        }

        .mobile-bottom-nav a {
            color: var(--white);
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 10px;
            gap: 3px;
        }

        .mobile-bottom-nav a i {
            font-size: 18px;
        }

        .mobile-bottom-nav a.active {
            color: var(--gold-yellow);
        }

        /* RESPONSIVE MEDIA QUERIES */

        /* Laptops & Tablets (1024px and down) */
        @media (max-width: 1024px) {
            .slide-content-wrapper { flex-direction: column; text-align: center; }
            .hero-content { max-width: 100%; margin-bottom: 30px; }
            .hero-action-cards { justify-content: center; }
            .about-mission-wrapper, .forms-section, .updates-container, .footer-grid { grid-template-columns: 1fr; }
            .mission-grid { grid-template-columns: repeat(3, 1fr); }
            .gallery-grid { grid-template-columns: repeat(3, 1fr); }
            .counter-strip { grid-template-columns: repeat(2, 1fr); }
        }

        /* Mobile Devices (768px and down) */
        @media (max-width: 768px) {
            .top-bar-left { display: none; }
            .top-bar { justify-content: center; }
            
            /* MOBILE HEADER ALIGNMENT: Toggle Left, Logo Right */
            .main-header { 
                flex-direction: row-reverse; 
                justify-content: space-between; 
                align-items: center; 
                padding: 10px 4%;
            }

            .logo-group { 
                flex-direction: row-reverse; 
                text-align: right;
                gap: 10px;
            }

            .logo-seal {
                width: 55px;
                height: 55px;
                font-size: 8px;
            }

            .brand-title h1 { font-size: 20px; }
            .brand-title h2 { font-size: 14px; }
            .brand-title p { font-size: 10px; }

            /* Hide Helpline on small mobile screens to keep layout clean */
            .helpline-container { display: none; }

            /* Mobile menu icon displayed on the left side */
            .mobile-toggle { 
                display: block; 
                font-size: 26px;
                position: sticky;
                top: 0;
               z-index: 100;
            }
            
            /* Dropdown Mobile Navigation Menu */
            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                background-color: var(--dark-navy);
                padding: 0;

            }

            .nav-menu.active {
                display: flex;
            }

            .nav-menu li {
                display: block;
                width: 100%;
            }

            .nav-menu li a {
                border-bottom: 1px solid rgba(255,255,255,0.1);
                text-align: center;
                padding: 12px;
            }

            .hero-slider { min-height: 420px; }
            .hero-content h1, .hero-content h2 { font-size: 26px; }
            .hero-content h3 { font-size: 18px; }
            .mission-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
            .counter-strip { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            
            /* Display mobile bottom menu bar */
            .mobile-bottom-nav { 
                display: flex;
                
             }
            .copyright-bar { flex-direction: column; text-align: center; gap: 8px; }
        }
        
        
             /* ============================================================
   FOOTER POLICY LINKS
============================================================ */
.footer-policy-links {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
    text-align: center;
}

.policy-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.policy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.policy-btn i {
    font-size: 16px;
    color: #f1c40f;
}

.policy-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .policy-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .policy-divider {
        display: none;
    }
    
    .policy-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }
}