:root {
    --primary: #0056b3;
    --secondary: #ffab00;
    --dark: #333;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: transparent; /* Make header transparent */
    box-shadow: none; /* Remove shadow */
    position: absolute; /* Overlay on top of hero */
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Make logo white if it's an image, optional but good for dark backgrounds */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--white); /* Change text to white */
}

.nav-links a:hover {
    color: var(--secondary); /* Hover color */
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #004494;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #e69a00;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback background if video doesn't load */
    background: linear-gradient(rgba(0,86,179,0.9), rgba(0,86,179,0.9)), url('assets/images/image-37.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 0; /* Remove padding as we use flex centering */
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the entire container */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker blue gradient for better text contrast */
    background: linear-gradient(135deg, rgba(0, 40, 100, 0.85) 0%, rgba(0, 86, 179, 0.75) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem; /* Slightly larger */
    font-weight: 800; /* Bolder */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Shadow for pop */
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 30px;
    opacity: 1;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.feature-tag {
    background: rgba(0, 0, 0, 0.3); /* Darker background for readability */
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3); /* Subtle border */
    backdrop-filter: blur(5px); /* Modern blur effect */
    transition: transform 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Programs Section */
.programs {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.program-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.program-card h4 {
    color: var(--dark);
    margin: 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Why Us */
.why-us {
    padding: 80px 0;
    background: var(--primary);
    color: var(--white);
}

.why-us h2 {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 8px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    background: var(--light);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
    padding: 20px;
    display: none;
    background: var(--white);
}

/* Footer */
footer {
    background: #222;
    color: #aaa;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
}