/* ======================== GLOBAL STYLES ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* ======================== HEADER ======================== */
header {
    padding: 0;
    background-color: white;
    border-bottom: 1px solid #eee;
    height: 80px;
    
    /* Stick to top */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures it stays above all other content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    width: calc(100% - 100px);
    max-width: 1265px;
    height: 100%;
    margin: 0 auto;
    padding-right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    
}

.logo-icon {
    height: 100px;
    width: auto;
    display: block;
    padding: 10px 0;
}



/* ======================== NAVIGATION ======================== */
h2 {
    font-size: 25px;
    color: #1e3a8a;
    font-weight: 800;
    margin-right: 20px;
    margin-left: 0px;
    font-family: 'Poppins', sans-serif;
      
}

nav {
    display: flex;
    gap: 29px;
    align-items: center;
    white-space: nowrap;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;

    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #fbbf24;
}

.login-btn {
    color: #333;
}

.login-btn:hover {
    color: #fbbf24;
}

.login-btn::after {
    display: block;
}

/* ======================== HERO SECTION ======================== */
.hero {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    

    width: 100%;
    aspect-ratio: 1365 / 370; /* adjust using your banner's actual dimensions */

    padding: 0;
    min-height: 0;

    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="grad1" x1="0%25" y1="0%25" x2="0%25" y2="100%25"><stop offset="0%25" style="stop-color:rgba(255,255,255,0.4);stop-opacity:1" /><stop offset="100%25" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></linearGradient></defs><path d="M0,40 Q300,70 600,40 T1200,40 L1200,120 L0,120 Z" fill="url(%23grad1)"/><path d="M0,60 Q300,85 600,60 T1200,60 L1200,120 L0,120 Z" fill="white" opacity="0.3"/></svg>') repeat-x;
    background-size: 600px 120px;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    color: white;
}

.hero-subheading {
    font-size: 14px;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 {
    font-size: 64px;
    color: white;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    padding: 16px 42px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(251, 191, 36, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: white;
    color: #1e3a8a;
    padding: 16px 42px;
    border: 2.5px solid white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: #f0f9ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* ======================== FEATURES SECTION ======================== */
.features {
    background: white;
    padding: 80px 30px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 60px;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid #22c55e;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:nth-child(2) {
    border-left-color: #3b82f6;
}

.feature-card:nth-child(3) {
    border-left-color: #f59e0b;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
}

/* ======================== PROGRAMS SECTION ======================== */
.programs-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 30px;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.program-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #2c5282;
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-item h4 {
    font-size: 16px;
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 700;
}

.program-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* ======================== CTA SECTION ======================== */
.cta-section {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a8a 100%);
    padding: 80px 30px;
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.7;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    font-weight: 700;
}

.cta-section .btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ======================== FOOTER ======================== */
footer {
 
    color: white;
    padding: 60px 30px 25px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-links a:hover {
    background-color: #fbbf24;
    color: #1e3a8a;
}

/* ======================== RESPONSIVE DESIGN ======================== */
@media (max-width: 1024px) {
    .header-container {
        width: calc(100% - 48px);
        padding-right: 0;
        gap: 30px;
    }
    
    nav {
        gap: 20px;
    }
    
    nav a {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
    }

    .header-container {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 12px 20px;
    }
    
    .logo-icon {
        height: 50px;
        width: auto;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        text-align: center;
        width: 100%;
    }
    
    .login-btn {
        width: auto;
    }
    
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .hero-subheading {
        font-size: 12px;
    }
    
    .hero h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        gap: 12px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 28px;
        font-size: 12px;
    }
    
    .features {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        gap: 25px;
    }
    
    .programs-section {
        padding: 60px 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 12px;
    }
    
    .logo-icon {
        height: 44px;
        width: auto;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        font-size: 36px;
    }
    
    .feature-card h3 {
        font-size: 16px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
}
.about-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 800px;
}

.about-logo {
    width: 200px;
    margin-bottom: 40px;
}

.tagline {
    color: #00004d; /* Navy blue from logo */
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
}

.description {
    color: #444;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-motto {
    color: #00004d;
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
}

footer {
    background-color: #fff;
    padding: 60px 50px 30px;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
}

/* Branding Column */
.footer-logo { height: 50px; display: block; margin-bottom: 10px; }
.footer-logo-sub { height: 60px; display: block; margin-bottom: 30px; }
.copyright { font-size: 14px; color: #666; margin-top: 20px; }

/* Quick Links */
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { 
    text-decoration: none; 
    color: #444; 
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: #ffcc00; }

/* Contact Column */
.footer-col p { 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 15px; 
    color: #444;
}
.footer-col a { text-decoration: none; color: #00004d; border-bottom: 1px solid #00004d; }
.schedule { font-weight: 600; }

/* Slideshow Animation for Logos */
.logo-slider { overflow: hidden; padding: 40px 0; }
.logo-track {
    display: flex;
    width: calc(250px * 6);
    animation: scroll 20s linear infinite;
}
.logo-track img { width: 120px; margin: 0 40px; filter: grayscale(1); opacity: 0.6; transition: 0.3s; }
.logo-track img:hover { filter: grayscale(0); opacity: 1; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 3)); }
}


/* Contact Page Specific Layout */
.contact-page {
    background-color: #fff;
    min-height: 100vh;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    position: relative;
    z-index: 2;
}

.contact-info-section {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a4b;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-detail {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

/* ======================== MAIN PAGE CONTENT ======================== */
.content-section { padding: 80px 30px; scroll-margin-top: 80px; }
.content-section.alternate { background: #eef6ff; }
.content-container { max-width: 1200px; margin: 0 auto; }
.content-container.narrow { max-width: 900px; }

.about-card { max-width: 850px; margin: 0 auto; text-align: left; }
.about-card p + p { margin-top: 16px; }
.about-card h4 { color: #1e3a8a; font-size: 18px; margin: 25px 0 8px; }

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.info-card,
.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 35px;
    border-top: 4px solid #1e3a8a;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.09);
}

.info-card h3,
.contact-card h3,
.program-item h3 { color: #1e3a8a; margin-bottom: 15px; }
.info-card h4 { color: #475569; margin: 4px 0 12px; }
.info-card ul { padding-left: 22px; color: #475569; }
.info-card li { margin-bottom: 9px; }
.note { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e2e8f0; font-weight: 600; }

.achievements-section { background: linear-gradient(135deg, #1e3a8a, #2c5282); }
.achievements-section .section-title,
.achievements-section .section-subtitle { color: #fff; }
.achievement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.achievement-grid div {
    padding: 28px 15px;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.achievement-grid strong,
.achievement-grid span { display: block; }
.achievement-grid strong { color: #fbbf24; font-size: 40px; line-height: 1.2; }

.contact-section { background: #f8fafc; }
.contact-card dl div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #e2e8f0;
}
.contact-card dl div:last-child { border-bottom: 0; }
.contact-card dt { color: #1e3a8a; font-weight: 700; }
.contact-card dd { margin: 0; }
.contact-card a { color: #1e3a8a; }

footer { padding: 28px 20px; color: #64748b; text-align: center; background: #fff; }

@media (max-width: 768px) {
    .two-column-grid,
    .achievement-grid { grid-template-columns: 1fr; }
    .content-section { padding: 60px 20px; scroll-margin-top: 140px; }
    .contact-card dl div { grid-template-columns: 1fr; gap: 3px; }
}
