/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    --primary: #0A192F;       /* Navy Blue */
    --secondary: #00A3FF;     /* Sky Blue */
    --accent: #FF6B00;        /* Orange CTA */
    --accent-hover: #e65c00;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 { font-size: 3.5rem; color: var(--white); }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }

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

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section { padding: 5rem 0; }
.section-desc { max-width: 800px; margin: 0 auto 3rem; font-size: 1.1rem; color: var(--text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: #008be6;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background-color: var(--accent);
    color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    z-index: 1000;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

.nav-cta {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   Floating Buttons
   ========================================================================== */
.floating-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--secondary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}
.floating-call:hover {
    transform: scale(1.1);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: url('hero_bg.png') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(10,25,47,0.95) 0%, rgba(10,25,47,0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.icon-check {
    color: var(--secondary);
    font-weight: bold;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.justify-center { justify-content: center; }

/* Lead Form Glassmorphism */
.hero-form-wrapper {
    flex: 0 0 400px;
}

.form-glass {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-glass h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
}
.form-message.success { background: #d4edda; color: #155724; }
.form-message.error { background: #f8d7da; color: #721c24; }

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--secondary);
}
.stat-card:hover { transform: translateY(-5px); }

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

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.course-header {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.course-header h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.course-header .subtitle {
    color: var(--secondary);
    font-weight: 600;
}

.course-body {
    padding: 30px;
}

.course-body p {
    margin-bottom: 15px;
}

/* ==========================================================================
   Career Section
   ========================================================================== */
.career-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.tag {
    background: var(--white);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.step {
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--secondary);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #112d55 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #050d18;
    color: #888;
    padding: 30px 0;
}

/* ==========================================================================
   Popup Modal
   ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}
.close-popup:hover {
    color: var(--accent);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}
.popup-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.popup-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .badges, .hero-features, .cta-group {
        justify-content: center;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero-form-wrapper { width: 100%; max-width: 500px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    .nav-cta .btn-outline { display: none; } /* Hide Call btn on small mobile nav to save space */
    .courses-grid { grid-template-columns: 1fr; }
    .floating-call { display: flex; }
}
