  :root {
            --primary: #1a237e;
            --primary-dark: #0d1242;
            --accent: #ffab00;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --nav-size: 0.75rem;
        }

        /* GIGW Accessibility */
        .high-contrast {
            --primary: #ffff00;
            --bg-light: #000000;
            --text-main: #ffffff;
            --white: #111111;
            background-color: #000;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- 1. TOP UTILITY BAR --- */
        .utility-bar {
            background: #f1f5f9;
            border-bottom: 1px solid #e2e8f0;
            padding: 8px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 11px;
            font-weight: 600;
        }

        .gov-id { display: flex; align-items: center; gap: 8px; text-transform: uppercase; color: #475569; }
        .acc-links { display: flex; gap: 15px; align-items: center; }
        .acc-links a, .acc-links span { cursor: pointer; text-decoration: none; color: inherit; }
        .contrast-toggle { background: #334155; color: white !important; padding: 2px 8px; border-radius: 4px; }

        /* --- 2. ENHANCED HEADER --- */
        
           header {
			position: sticky;
			top: 0;
			z-index: 1000; /* High z-index to stay above everything */
			background: var(--white);
			/* ... other existing styles ... */
          }
        .scrolled header { padding: 10px 8%; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

        .logo-container img {
            height: 100px;
            width: auto;
            transition: height 0.3s ease;
        }
        .scrolled .logo-container img { height: 75px; }

        .header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 15px; }

        nav ul { display: flex; list-style: none; gap: 8px; }
        nav a {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 700;
            font-size: var(--nav-size);
            text-transform: uppercase;
            padding: 10px 15px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: 0.3s;
        }
        nav a:hover { background: #f1f5f9; color: var(--primary); }
        nav li.active a { background: var(--primary); color: white; }

        .search-bar { position: relative; width: 220px; }
        .search-bar input {
            width: 100%;
            padding: 8px 15px 8px 35px;
            border-radius: 20px;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            font-size: 12px;
            outline: none;
        }
        .search-bar .material-icons-outlined { position: absolute; left: 10px; top: 7px; font-size: 18px; color: #94a3b8; }

        /* --- 3. WHAT'S NEW TICKER --- */
        .ticker-wrap {
            background: var(--primary-dark);
            color: white;
            padding: 10px 8%;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        .ticker-label {
            background: var(--accent);
            color: var(--primary-dark);
            padding: 4px 12px;
            font-weight: 800;
            font-size: 11px;
            text-transform: uppercase;
            margin-right: 20px;
            border-radius: 4px;
            white-space: nowrap;
        }
        .ticker-text {
            white-space: nowrap;
            animation: marquee 25s linear infinite;
            font-size: 13px;
            font-weight: 400;
        }
        @keyframes marquee { 
            0% { transform: translateX(100%); } 
            100% { transform: translateX(-100%); } 
        }

        /* --- 4. HERO SECTION --- */
		
		
		.hero {
		position: relative;
		z-index: 1; /* Base level for hero section */
		}

		.slider-btn, .slider-dots {
			z-index: 10; /* Ensure controls are clickable above the slides */
		}

		.hero-content {
			position: relative;
			z-index: 5; /* Ensure text is above background gradients */
		}
		
		
		
        .hero {
            height: 400px;
            background: linear-gradient(rgba(26, 35, 126, 0.1), rgba(13, 18, 66, 0.1)),
                        url('../images/hero.jpg');
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }
        .hero h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; }
        .hero p { font-size: 1.2rem; opacity: 0.9; margin-top: 10px; }

        /* --- 5. WELCOME & CONTENT --- */
        .main-grid {
            max-width: 1300px;
            margin: -60px auto 60px;
            display: grid;
            grid-template-columns: 1.8fr 1.2fr;
            gap: 30px;
            padding: 0 5%;
        }

        .welcome-card {
            background: var(--white);
            padding: 50px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        }
        .welcome-card h2 { color: var(--primary); font-size: 2rem; margin-bottom: 20px; }
        .welcome-card p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 25px; }

        .feature-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .feature-box {
            border: 1px solid #e2e8f0;
            padding: 20px;
            border-radius: 8px;
            transition: 0.3s;
        }
        .feature-box:hover { border-color: var(--accent); background: #fdfaf3; }
        .feature-box i { color: var(--primary); font-size: 30px; }
        .feature-box h4 { margin: 10px 0; font-size: 1rem; }

        /* --- 6. NEWS/WHAT'S NEW SECTION --- */
        .news-sidebar {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            height: fit-content;
        }
        .sidebar-header {
            background: var(--primary);
            color: white;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .news-list { padding: 20px; }
        .news-item {
            padding: 15px 0;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            gap: 15px;
        }
        .date-box {
            background: #f1f5f9;
            padding: 8px;
            border-radius: 6px;
            text-align: center;
            min-width: 55px;
            font-size: 11px;
            font-weight: 800;
            color: var(--primary);
        }
        .news-content a { text-decoration: none; color: var(--text-main); font-size: 14px; font-weight: 600; }
        .news-content a:hover { color: var(--primary); }

        /* --- 7. FOOTER --- */
        
        
   .main-grid {
    position: relative;
    z-index: 20; /* Higher than .hero to overlap properly */
    max-width: 1300px;
    margin: -60px auto 60px; /* Pulls content over the hero section */
    padding: 0 5%;
    display: grid;
    /* ... other existing styles ... */
}

.welcome-card {
    background: var(--white);
    position: relative;
    z-index: 25; /* Ensures inner card content is stacked correctly */
    /* ... other existing styles ... */
}

/* Container to align header with main grid */
/* Ensure the container is consistent everywhere */

/* 1. Centralized Container Logic */
.container {
    max-width: 1300px; /* This defines the shared width of your site */
    margin: 0 auto;    /* Centers the content */
    padding: 0 5%;    /* Consistent side gutters */
    width: 100%;
    box-sizing: border-box;
}

/* 2. Utility Bar Alignment */
.utility-bar {
    padding: 8px 0; /* Remove horizontal padding, let container handle it */
}

.utility-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 3. Ticker Bar Alignment */
.ticker-wrap {
    padding: 10px 0; /* Adjust vertical space */
}

.ticker-container {
    display: flex;
    align-items: center;
}

/* 4. Header Alignment */
header {
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ticker Container Alignment */
.ticker-container {
    display: flex;
    align-items: center;
    overflow: hidden; /* Ensures text doesn't spill out of the container margins */
}

.ticker-wrap {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0; /* Vertical padding only */
}

/* Label styling */
.ticker-label {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 12px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    margin-right: 20px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 2; /* Keeps label above the scrolling text */
}

/* Text Wrapper and Animation */
.ticker-text-wrapper {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
}

.ticker-text {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: 13px;
    font-weight: 400;
}

@keyframes marquee { 
    0% { transform: translateX(100%); } 
    100% { transform: translateX(-100%); } 
}

/* Utility Bar Flex logic */
.utility-bar {
    padding: 8px 0; /* Vertical padding only */
}

.utility-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Flex logic (as previously discussed) */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Align Main Grid to the same container logic if needed */
.main-grid {
    max-width: 1300px;
    margin: -60px auto 60px;
    padding: 0 5%;
    display: grid;
    /* ... rest of your grid styles ... */
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header vertical padding */
header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

/* Login Button Styling */
nav a.login-btn {
    background-color: #1a237e; /* Matches your primary color */
    color: white !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 10px;
    transition: 0.3s;
}

nav a.login-btn:hover {
    background-color: #0d1242; /* Darker primary for hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


   /******** Hero Section***********/
.hero {
    height: 450px;
    position: relative;
    overflow: hidden; /* Hides slides off-screen */
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex; /* Lines up slides in a row */
    width: 300%;   /* 100% * number of slides (3) */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    width: 33.333%; /* 100% divided by number of slides */
    height: 100%;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}


/**********Footer****************/
/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #1a1a1a; /* Dark background from image */
    color: #cccccc;
    padding-top: 50px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    border-bottom: 1px dotted #444;
    padding-bottom: 10px;
    display: inline-block;
}

.contact-info h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 400px;
}

.links-grid {
    display: flex;
    gap: 50px;
}

.links-grid ul {
    list-style: none;
    padding: 0;
}

.links-grid ul li {
    margin-bottom: 10px;
}

.links-grid ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.links-grid ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    background-color: #000000;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-bottom a {
    color: #4a90e2;
    text-decoration: none;
}

.footer-stats {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 15px;
}

.visitor-count strong {
    color: #ffffff;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    .links-grid {
        flex-direction: column;
        gap: 10px;
    }
}

/* Modal Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Higher than header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

/* Modal Content Card */
.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

/* Form Styling */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.modal-header .material-icons-outlined {
    font-size: 50px;
    color: #1a237e;
}

.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 25px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn:hover {
    background: #0d1242;
}

/* Additional styles for the About page layout */
        .about-hero {
           background: linear-gradient(rgba(26, 35, 126, 0.85), rgba(13, 18, 66, 0.85)), 
                        url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2011&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 60px 0;
            text-align: center;
        }
        .content-section {
            padding: 50px 0;
            line-height: 1.8;
        }
        .about-grid {
            display: grid;
            
            gap: 40px;
            margin-top: 30px;
        }
        .mission-vision {
            background: #f8f9fa;
            padding: 30px;
            border-left: 5px solid #1a237e;
            margin-bottom: 30px;
        }
        @media (max-width: 768px) {
            .about-grid { grid-template-columns: 1fr; }
        }
		.about-grid p{margin-bottom:20px;}