/* Core Configurations & Architecture Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0b132b;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Top Bar Styling */
header {
    background-color: #2b1c0b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #4cc9f0;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4cc9f0;
}

.nav-cta {
    background-color: #4cc9f0;
    color: #0b132b !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Premium Hero Element */
.hero {
    background: linear-gradient(135deg, #1c2541 0%, #0b132b 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 6%;
}

.hero-content h1 {
    font-size: 2.4rem;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.1rem;
    color: #4cc9f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.description {
    max-width: 650px;
    margin: 0 auto 35px auto;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.cta-btn {
    display: inline-block;
    background-color: #4cc9f0;
    color: #0b132b;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.2);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.4);
}

/* Typography Helpers */
h2 {
    text-align: center;
    font-size: 1.7rem;
    letter-spacing: 1px;
}

.underline {
    width: 50px;
    height: 4px;
    background-color: #4cc9f0;
    margin: 8px auto 30px auto;
    border-radius: 2px;
}

/* Structural Layouts */
.about, .courses, .founder {
    padding: 60px 6%;
}

.about {
    background-color: #1c2541;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.about p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Interactive Syllabus Accordion Styling */
.instruction-text {
    text-align: center;
    color: #64748b;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.course-container {
    max-width: 750px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #1c2541;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.track-icon {
    color: #4cc9f0;
    margin-right: 12px;
    font-size: 1.25rem;
}

.arrow {
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
}

/* Animated Expansion System */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #141d36;
}

.content-inner {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.content-inner ul {
    list-style: none;
}

.content-inner li {
    margin-bottom: 12px;
    color: #cbd5e1;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.content-inner li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4cc9f0;
    font-weight: bold;
}

.content-inner li:last-child {
    margin-bottom: 0;
}

/* Active Class Modifiers controlled by JS */
.accordion-item.active .arrow {
    transform: rotate(180deg);
    color: #4cc9f0;
}

/* Founder Infrastructure Card */
.founder-card {
    background: #1c2541;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.founder-avatar {
    width: 110px;
    height: 110px;
    background-color: #0b132b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #4cc9f0;
    border: 3px solid #4cc9f0;
    flex-shrink: 0;
}

.founder-details {
    text-align: center;
}

.founder-details h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.founder-title {
    color: #4cc9f0;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-bio {
    color: #cbd5e1;
    text-align: justify;
    font-size: 0.95rem;
}

/* Footer & Global Interactivity Layer */
footer {
    background: linear-gradient(135deg, #1c2541 0%, #0b132b 100%);
    padding: 60px 6% 30px 6%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-sub {
    color: #cbd5e1;
    margin-top: 5px;
    font-size: 0.95rem;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-links {
    margin: 15px 0 25px 0;
}

.social-links a {
    color: #64748b;
    font-size: 1.2rem;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4cc9f0;
}

.email-info {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.legal-text {
    font-size: 0.8rem;
    color: #475569;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Device Optimization Responsiveness (Media Queries) */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #0b132b;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    }
    nav.open {
        display: flex;
    }
    nav a {
        margin: 12px 0;
        text-align: center;
        width: 100%;
        padding: 5px 0;
    }
    .nav-cta {
        display: inline-block;
        width: auto;
        align-self: center;
        margin-top: 5px;
    }
    .hero-content h1 {
        font-size: 1.9rem;
    }
}

@media (min-width: 769px) {
    .hero-content h1 {
        font-size: 3.4rem;
    }
    .founder-card {
        flex-direction: row;
        text-align: left;
    }
    .founder-details {
        text-align: left;
    }
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover; 
}
/* --- ANIMATION ADDITIONS --- */
.bg-animate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #111a36 0%, #0b132b 100%);
}

.circle-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,201,240,0.08) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    animation: floatBackground infinite alternate ease-in-out;
}

.bubble-1 { width: 450px; height: 450px; top: -10%; left: -10%; animation-duration: 25s; }
.bubble-2 { width: 600px; height: 600px; bottom: -20%; right: -10%; animation-duration: 35s; }
.bubble-3 { width: 300px; height: 300px; top: 40%; left: 60%; animation-duration: 20s; }

@keyframes floatBackground {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(50px) scale(1.1) rotate(45deg); }
}

#typing-text {
    color: #4cc9f0;
    text-transform: uppercase;
}

.cursor {
    font-weight: 100;
    color: #4cc9f0;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.reveal {
    position: relative;
    transform: translateY(60px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}

/* --- FOUNDER SCROLL REVEAL EFFECT --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px); /* Starts 50px lower */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Controls the sliding speed */
}

/* The state triggered by JavaScript when the user scrolls to it */
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0); /* Glides back up to its original spot */
}
                                                                                                                               