:root {
    --brand-blue: #0A3C85;
    --brand-cyan: #009FE3;
    --canvas-dark: #030f26; 
    --card-glass: rgba(10, 60, 133, 0.25);
    --glass-border: rgba(0, 159, 227, 0.4);
    --text-light: #F8F9FA;
    --text-muted: #8AA4C4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--canvas-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .nav-brand { font-family: 'Space Grotesk', sans-serif; }

/* Floating Glass Navbar (White Version) */
nav {
    position: fixed; top: 25px; left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 1400px; display: flex; justify-content: space-between; align-items: center;
    padding: 10px 25px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 159, 227, 0.1);
    z-index: 1000;
}

.nav-brand img { display: block; object-fit: contain; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links > a, .dropdown-trigger {
    color: var(--brand-blue); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s;
}
.nav-links > a:hover, .nav-links > a.active, .dropdown:hover .dropdown-trigger { color: var(--brand-cyan); }

/* Dropdown & Mega-Menu Styles */
.dropdown { position: relative; padding: 10px 0; }
.dropdown-menu {
    position: absolute; top: 100%; left: -20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px; min-width: 230px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid rgba(10, 60, 133, 0.08);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.25s ease; padding: 12px 0;
    display: flex; flex-direction: column;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-menu.align-right { left: auto; right: 0; }

.dropdown-menu.mega-menu {
    flex-direction: row; min-width: 440px; padding: 20px; gap: 30px;
}
.mega-col { display: flex; flex-direction: column; flex: 1; }
.mega-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--brand-cyan); font-weight: 700;
    padding: 0 12px 8px; margin-bottom: 6px;
    border-bottom: 1px solid rgba(10, 60, 133, 0.1);
}

.dropdown-menu a {
    padding: 9px 20px; font-size: 0.9rem; color: var(--brand-blue); font-weight: 500; text-decoration: none; border-radius: 8px; transition: all 0.2s;
}
.mega-menu a { padding: 9px 12px; }
.dropdown-menu a:hover { background: rgba(0, 159, 227, 0.08); color: var(--brand-cyan); }

/* Right Nav Container */
.nav-actions { display: flex; align-items: center; gap: 15px; }
.register-dropdown { padding: 0; }
.register-dropdown .dropdown-menu { top: calc(100% + 12px); }

/* CTA Register Button with Rocket Icon */
.cta-btn {
    background-color: var(--brand-cyan); color: #fff; padding: 6px 6px 6px 20px;
    border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    display: flex; align-items: center; gap: 12px;
    transition: all 0.3s ease; border: 1px solid transparent;
}
.cta-btn:hover { background-color: var(--brand-blue); border-color: var(--brand-blue); box-shadow: 0 0 15px rgba(0, 159, 227, 0.3); }

.icon-circle {
    background: white; color: var(--brand-cyan);
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.cta-btn:hover .icon-circle { color: var(--brand-blue); transform: scale(1.05); }

/* Mobile Burger & Drawer */
.burger-menu {
    display: none; cursor: pointer; color: var(--brand-blue);
    background: rgba(10, 60, 133, 0.05); padding: 8px; border-radius: 50%;
}

.mobile-drawer {
    position: fixed; top: 0; right: -100%; width: 85%; max-width: 340px; height: 100vh;
    background: rgba(3, 15, 38, 0.98); backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border); z-index: 2000;
    padding: 25px; transition: right 0.35s ease; overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px;
}
.mobile-drawer-header img { filter: brightness(0) invert(1); object-fit: contain; }
.close-drawer {
    background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
}
.mobile-links { display: flex; flex-direction: column; gap: 8px; }
.mobile-links a {
    color: var(--text-light); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 8px 0;
}
.mobile-links a.sub-link { padding-left: 15px; color: var(--text-muted); font-size: 0.95rem; }
.mobile-links a:hover { color: var(--brand-cyan); }
.mobile-group-title {
    font-family: 'Space Grotesk', sans-serif; color: var(--brand-cyan);
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 15px;
}

/* Hero Section (Home) */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px; position: relative;
    background: linear-gradient(to bottom, rgba(3, 15, 38, 0.7), var(--canvas-dark)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') center/cover;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; margin-top: 60px; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.1; margin-bottom: 25px; font-weight: 700; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; font-weight: 300; }

/* Inner Page Hero (For About, Training, Staffing, etc.) */
.page-hero {
    padding: 180px 5% 80px; text-align: center;
    background: radial-gradient(circle at top, rgba(10, 60, 133, 0.45), var(--canvas-dark) 70%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-hero span {
    color: var(--brand-cyan); font-size: 0.95rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 15px; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 700px; margin: 0 auto; }

/* Trust Bar */
.trust-bar {
    background: var(--card-glass); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
    padding: 40px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-item h3 { color: var(--brand-cyan); font-size: 2.8rem; margin-bottom: 5px; line-height: 1; }
.stat-item p { color: var(--text-light); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Global Layout Wrappers */
.section-wrapper { padding: 120px 5%; max-width: 1400px; margin: 0 auto; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; color: var(--text-light); margin-bottom: 15px; }
.section-header p { color: var(--brand-cyan); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Bento Grid Architecture */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 380px; gap: 24px; }
.bento-card {
    background: var(--card-glass); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.bento-card:hover { transform: translateY(-5px); border-color: var(--brand-cyan); }
.bento-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(3, 15, 38, 0.95) 0%, rgba(3, 15, 38, 0.2) 100%); z-index: 1;
}
.bento-card img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.5; transition: opacity 0.4s ease;
}
.bento-card:hover img { opacity: 0.7; }
.bento-content { position: relative; z-index: 2; }
.bento-card h3 { font-size: 2rem; margin-bottom: 10px; color: var(--text-light); }
.bento-card p { color: var(--text-muted); font-size: 1rem; max-width: 90%; }

.span-8 { grid-column: span 8; } 
.span-4 { grid-column: span 4; } 
.span-6 { grid-column: span 6; } 
.span-12 { grid-column: 1 / -1 !important; width: 100%; }

/* Architect / K.P. Rao Section */
.architect-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    background: var(--brand-blue); border-radius: 30px; padding: 0; overflow: hidden; margin-top: 100px;
}
.architect-img { height: 100%; min-height: 500px; position: relative; }
.architect-img img { width: 100%; height: 100%; object-fit: cover; }
.architect-content { padding: 60px; }

.architect-name-block {
    margin-bottom: 30px; padding-left: 20px; border-left: 4px solid var(--brand-cyan);
}
.architect-name-block span {
    display: block; font-size: 1.1rem; color: var(--brand-cyan);
    font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px;
}
.architect-name-block h4 { font-size: 3rem; color: #FFFFFF; line-height: 1.1; letter-spacing: 1px; }
.architect-content p { color: #D1E0F0; margin-bottom: 20px; font-size: 1.1rem; }

/* LMS Call to Action */
.lms-cta {
    background: linear-gradient(135deg, rgba(10, 60, 133, 0.4), rgba(0, 159, 227, 0.1));
    border: 1px solid var(--brand-cyan); border-radius: 30px; padding: 80px 5%;
    text-align: center; margin: 120px auto; max-width: 1400px;
}
.lms-cta h2 { font-size: 3.5rem; margin-bottom: 20px; }

/* Footer */
footer { background-color: #010814; padding: 80px 5% 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(6, 1fr); gap: 12px; max-width: 1400px; margin: 0 auto 60px; }
.footer-col h3 { color: var(--text-light); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: 12px; font-size: 0.95rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--brand-cyan); }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.3); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 350px; }
    .span-8, .span-4, .span-6, .span-12 { grid-column: span 1; }
    .architect-section { grid-template-columns: 1fr; }
    .architect-img { min-height: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links, .register-dropdown { display: none; }
    .burger-menu { display: flex; }
}

/* Secondary Footer (Pre-Footer Prominent CTA Strip) */
.secondary-footer {
    background: linear-gradient(135deg, rgba(10, 60, 133, 0.38), rgba(3, 15, 38, 0.96));
    border-top: 1px solid var(--glass-border);
    padding: 48px 5%;
}

.secondary-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.sec-footer-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 26px 24px;
    border-radius: 18px;
    background: rgba(3, 15, 38, 0.78);
    border: 1px solid rgba(0, 159, 227, 0.35);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sec-footer-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-cyan);
    background: rgba(10, 60, 133, 0.45);
    box-shadow: 0 12px 28px rgba(0, 159, 227, 0.22);
}

.sec-footer-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--brand-cyan);
}

.sec-footer-card h4 {
    font-size: 1.18rem;
    line-height: 1.3;
    color: var(--text-light);
    font-weight: 700;
}

.sec-footer-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-cyan);
    margin-top: 4px;
}

.sec-footer-card:hover .sec-footer-cta {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .secondary-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .secondary-footer-grid {
        grid-template-columns: 1fr;
    }
}