/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #0d9488;
    --secondary-dark: #0f766e;
    --secondary-light: #14b8a6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

section.alternate {
    background-color: var(--gray-50);
}

.booking-header,
.training-header,
.contact-header,
.about-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.booking-header h1,
.training-header h1,
.contact-header h1,
.about-header h1 {
    color: white;
    font-size: 42px;
}

.booking-header p,
.training-header p,
.contact-header p,
.about-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* ===== GRIDS ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.course-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

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

.course-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.course-desc {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== COURSES DETAILED ===== */
.courses-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-detail {
    background: white;
    border-left: 4px solid var(--secondary);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.course-detail h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.course-detail p {
    margin-bottom: 15px;
    font-size: 14px;
}

.syllabus {
    list-style: none;
    text-align: left;
}

.syllabus li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--gray-200);
}

.syllabus li:last-child {
    border-bottom: none;
}

.syllabus li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 8px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

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

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(32, 201, 51, 0.05));
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 22px;
    margin-top: 10px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0;
}

.total {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.pricing-card li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 8px;
}

/* ===== FORMS ===== */
.booking-form,
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

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

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow);
}

.quote {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.author {
    font-weight: 600;
    color: var(--secondary);
    font-size: 14px;
}

/* ===== ABOUT SECTIONS ===== */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--secondary);
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.mission-card ul {
    list-style: none;
    text-align: left;
}

.mission-card li {
    padding: 8px 0;
    font-size: 14px;
}

.mission-card li:before {
    content: "• ";
    color: var(--secondary);
    font-weight: bold;
    margin-right: 8px;
}

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

.reason {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow);
}

.reason h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.reason p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== STATS ===== */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 42px;
    color: white;
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ===== SUPPORT SERVICES ===== */
.support-services {
    background: var(--gray-50);
}

.commitment-list {
    list-style: none;
    max-width: 700px;
    margin: 30px auto 0;
    text-align: left;
}

.commitment-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: var(--text-secondary);
}

.commitment-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.info-card p {
    font-size: 16px;
}

.info-card a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

/* ===== SUBJECT CARDS ===== */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.subject-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subject-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.subject-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 8px;
}

.subject-card p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 14px;
    }

    section {
        padding: 40px 0;
    }

    .courses-grid,
    .features-grid,
    .pricing-grid,
    .faq-grid,
    .testimonials-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .booking-form,
    .contact-form {
        padding: 20px;
    }

    .stat h3 {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 10px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    h2 {
        font-size: 22px;
    }

    .course-card {
        padding: 20px;
    }
}

/* ===== HERO EXTRAS ===== */
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.eyebrow.dark {
    display: block;
    width: fit-content;
    margin: 0 auto 12px;
    background: rgba(13, 148, 136, 0.12);
    color: var(--secondary-dark);
}

.hero p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: -1rem auto 2rem;
}

.features-grid.four {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===== COURSE TABS ===== */
.course-tabs-section .container {
    max-width: 1100px;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
    overflow-x: auto;
    overflow-y: hidden;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    color: var(--gray-500);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn:focus-visible,
.course-tile:focus-visible,
.start-card:focus-visible {
    outline: 3px solid var(--secondary-light);
    outline-offset: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    text-align: left;
    margin-bottom: 6px;
}

.tab-intro {
    max-width: 700px;
    margin-bottom: 24px;
}

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

.course-tile {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.course-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.tile-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.course-tile h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
}

.course-tile p {
    font-size: 14px;
    flex: 1;
}

.tile-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-dark);
}

/* ===== COURSE DETAIL ===== */
.course-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.course-hero h1 {
    color: white;
    font-size: 42px;
}

.course-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 28px;
}

.course-hero-icon {
    display: block;
    font-size: 52px;
    margin: 16px 0 8px;
}

.crumb {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.crumb:hover {
    color: white;
    text-decoration: underline;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

h2.left {
    text-align: left;
    font-size: 26px;
    margin: 0 0 1rem;
}

.detail-main .syllabus {
    margin-bottom: 2rem;
}

.detail-main .syllabus li {
    font-size: 16px;
}

.detail-side {
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 90px;
}

.detail-side h3 {
    font-size: 20px;
}

.detail-side dt {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-top: 14px;
}

.detail-side dd {
    font-weight: 600;
    color: var(--text-primary);
}

.detail-side .btn {
    width: 100%;
    text-align: center;
    margin-top: 24px;
}

.narrow {
    max-width: 640px;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

/* ===== HOW IT WORKS / GET STARTED ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 10px 20px;
}

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

.step h3 {
    font-size: 20px;
    color: var(--primary);
}

.start-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.start-card {
    display: block;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.start-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.start-card h3 {
    color: var(--primary);
    font-size: 22px;
}

.course-banner {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 14px 20px;
    border-radius: 8px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid var(--secondary);
    text-align: center;
    color: var(--text-primary);
}

.course-banner a {
    margin-left: 10px;
    color: var(--secondary-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }

    .course-hero h1 {
        font-size: 30px;
    }

    .tile-grid {
        grid-template-columns: 1fr;
    }
}

a.course-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== JOBS PAGE ===== */
.eyebrow.dark.green {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.role-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: white;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.chip:hover,
.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.chip:focus-visible {
    outline: 3px solid var(--secondary-light);
    outline-offset: 2px;
}

.roles-list {
    display: grid;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto 30px;
}

.role-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.role-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.role-meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 8px;
}

.role-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.role-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.role-tags span {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
}

@media (max-width: 600px) {
    .role-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== LIVE THEME: teal and blue shades, glow, CSS-only motion ===== */
:root {
    --blue-950: #0a1a44;
    --blue-800: #1e3a8a;
    --blue-600: #2563eb;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --teal-900: #134e4a;
    --teal-700: #0f766e;
    --teal-500: #14b8a6;
    --teal-300: #5eead4;
    --teal-50: #f0fdfa;
    --glow-teal: rgba(45, 212, 191, 0.55);
    --glow-blue: rgba(59, 130, 246, 0.5);
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--blue-950), var(--blue-800) 45%, var(--teal-700));
    box-shadow: 0 6px 24px -6px var(--glow-teal);
    border-bottom: 1px solid rgba(94, 234, 212, 0.35);
}

.navbar .container {
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    text-shadow: 0 0 14px var(--glow-teal);
}

.nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px 18px;
}

.nav-links a {
    font-size: 15px;
    padding: 6px 2px;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    text-shadow: 0 0 12px var(--teal-300);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal-300), var(--blue-400));
    box-shadow: 0 0 10px var(--teal-300);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-tab a {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.3);
    transition: background 0.25s, box-shadow 0.25s;
}

.nav-tab a::after {
    display: none;
}

.nav-tab a:hover {
    background: rgba(20, 184, 166, 0.35);
    box-shadow: 0 0 16px var(--glow-teal);
}

/* Animated gradient banners with floating glow orbs */
.hero,
.training-header,
.booking-header,
.contact-header,
.about-header,
.course-hero,
.stats,
.cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(120deg, var(--blue-950), var(--blue-600), var(--teal-700), var(--teal-500), var(--blue-600), var(--blue-950));
    background-size: 300% 300%;
    animation: gradient-flow 20s ease-in-out infinite;
}

.hero::before,
.training-header::before,
.booking-header::before,
.contact-header::before,
.about-header::before,
.course-hero::before,
.stats::before,
.cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    right: -80px;
    top: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-teal), transparent 68%);
    filter: blur(20px);
    animation: orb-float 11s ease-in-out infinite;
}

.hero::after,
.training-header::after,
.booking-header::after,
.contact-header::after,
.about-header::after,
.course-hero::after,
.stats::after,
.cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 380px;
    height: 380px;
    left: -100px;
    bottom: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-blue), transparent 68%);
    filter: blur(24px);
    animation: orb-float 14s ease-in-out infinite reverse;
}

.hero h1,
.training-header h1,
.course-hero h1,
.cta h2 {
    text-shadow: 0 0 28px rgba(94, 234, 212, 0.45);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--teal-500), #10b981);
    box-shadow: 0 0 0 0 var(--glow-teal);
    animation: glow-pulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
    color: var(--blue-950);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
    box-shadow: 0 0 18px var(--glow-blue);
}

/* Cards: glow on hover */
.course-card:hover,
.course-tile:hover,
.start-card:hover,
.pricing-card:hover,
.role-card:hover,
.faq-item:hover,
.reason:hover,
.mission-card:hover,
.testimonial:hover,
.course-detail:hover {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 1px var(--teal-500), 0 14px 34px -8px var(--glow-teal);
}

.course-card,
.course-tile,
.role-card,
.faq-item,
.reason,
.mission-card,
.testimonial {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card.featured {
    background: linear-gradient(160deg, var(--teal-50), var(--blue-100));
    animation: glow-ring 3.2s ease-in-out infinite;
}

.popular-badge {
    background: linear-gradient(90deg, var(--teal-700), var(--blue-600));
    box-shadow: 0 0 14px var(--glow-teal);
}

/* Floating icons */
.course-icon,
.feature-icon,
.tile-icon {
    display: inline-block;
    animation: bob 4s ease-in-out infinite;
}

.features-grid .feature:nth-child(even) .feature-icon,
.courses-grid .course-card:nth-child(even) .course-icon {
    animation-delay: -2s;
}

/* Tabs */
.tab-btn:hover,
.tab-btn.active {
    color: var(--blue-600);
    border-bottom-color: var(--teal-500);
    text-shadow: 0 0 14px rgba(20, 184, 166, 0.5);
}

.tab-buttons {
    border-bottom-color: var(--blue-100);
}

/* Soft tinted sections */
section.alternate,
.support-services {
    background: linear-gradient(180deg, var(--teal-50), #eff6ff);
}

.step-num {
    background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
    box-shadow: 0 0 18px var(--glow-teal);
}

.syllabus li::before {
    color: var(--teal-500);
}

.eyebrow {
    box-shadow: 0 0 16px rgba(94, 234, 212, 0.35);
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--blue-950), #06122e);
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-300), var(--blue-400), transparent);
    box-shadow: 0 0 16px var(--teal-300);
}

/* Keyframes */
@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.12); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
    50% { box-shadow: 0 0 22px 6px rgba(45, 212, 191, 0.35); }
}

@keyframes glow-ring {
    0%, 100% { box-shadow: 0 0 0 1px var(--teal-500), 0 8px 24px -8px var(--glow-teal); }
    50% { box-shadow: 0 0 0 1px var(--teal-500), 0 12px 38px -4px var(--glow-teal); }
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .nav-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

.courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ===== JOBS PAGE (Zunappo-style layout) ===== */
.subnav {
    background: white;
    border-bottom: 1px solid var(--border);
}

.subnav .container {
    display: flex;
    gap: 6px 26px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.subnav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.subnav a:hover {
    color: var(--blue-600);
    border-bottom-color: var(--teal-500);
}

.jobs-page section {
    scroll-margin-top: 70px;
}

.left-h {
    text-align: left;
    max-width: 720px;
}

.jobs-page .eyebrow.dark {
    margin-left: 0;
}

.jobs-page #candidates .eyebrow.dark,
.jobs-page #roles .eyebrow.dark,
.jobs-page #contact .eyebrow.dark {
    margin-left: auto;
}

.fact-strip {
    background: white;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.fact h3 {
    font-size: 40px;
    margin-bottom: 4px;
}

.fact p {
    font-size: 14px;
    margin: 0;
}

.fact.blue h3 { color: var(--blue-600); }
.fact.teal h3 { color: var(--teal-500); }
.fact.amber h3 { color: var(--warning); }
.fact.green h3 { color: var(--success); }

.job-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.job-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.job-card:hover {
    transform: translateY(-4px);
    border-color: var(--teal-500);
    box-shadow: 0 0 0 1px var(--teal-500), 0 14px 34px -8px var(--glow-teal);
}

.job-card h3 {
    font-size: 19px;
    margin: 16px 0 8px;
}

.job-card p {
    font-size: 14px;
    margin: 0;
}

.job-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
}

.i-blue { background: #dbeafe; }
.i-amber { background: #fef3c7; }
.i-rose { background: #ffe4e6; }
.i-green { background: #d1fae5; }

.jobs-page .steps-grid {
    position: relative;
    text-align: left;
}

.jobs-page .step {
    text-align: left;
    padding: 10px 24px 10px 0;
    position: relative;
}

.jobs-page .step-num {
    margin: 0 0 16px;
}

.jobs-page .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 62px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-100), transparent);
}

.step-num.s1 { background: #f43f5e; box-shadow: 0 0 18px rgba(244, 63, 94, 0.4); }
.step-num.s2 { background: var(--blue-600); box-shadow: 0 0 18px var(--glow-blue); }
.step-num.s3 { background: #f59e0b; box-shadow: 0 0 18px rgba(245, 158, 11, 0.4); }

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.story {
    margin: 0;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story.rose { background: #fff5f6; border-color: #fecdd3; }
.story.sky { background: #f2f8ff; border-color: #bfdbfe; }
.story.sun { background: #fffbeb; border-color: #fde68a; }

.story-mark {
    font-size: 54px;
    line-height: 0.6;
    font-family: Georgia, serif;
}

.story.rose .story-mark { color: #f43f5e; }
.story.sky .story-mark { color: var(--blue-400); }
.story.sun .story-mark { color: #f59e0b; }

.story blockquote {
    font-size: 15px;
    color: var(--text-primary);
    flex: 1;
}

.story figcaption {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.story figcaption span {
    color: var(--gray-500);
    font-size: 12px;
}

.signin-box {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--teal-50), #eff6ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.signin-btn {
    font: inherit;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: white;
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: not-allowed;
}

.soon {
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--gray-100);
    color: var(--gray-500);
    padding: 3px 8px;
    border-radius: 999px;
}

.signin-note {
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .jobs-page .step:not(:last-child)::after {
        display: none;
    }
}

.course-select {
    max-width: 600px;
    margin: 0 auto 30px;
}

.course-select label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.course-select select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
}

.course-select select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== HOMEPAGE HERO: side cards ===== */
.hero-split {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    gap: 32px;
    align-items: center;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.glass-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    border-radius: 16px;
    text-align: left;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.glass-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 22px var(--glow-teal);
}

.glass-card:focus-visible {
    outline: 3px solid var(--teal-300);
    outline-offset: 2px;
}

.glass-icon {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
}

.glass-card strong {
    font-size: 18px;
}

.glass-card small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.glass-card em {
    margin-top: 8px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: var(--teal-300);
}

.glass-jobs {
    padding: 22px;
    border-color: rgba(94, 234, 212, 0.6);
    animation: glow-ring-light 3.2s ease-in-out infinite;
}

.hero-center .hero-subtitle {
    margin-bottom: 30px;
}

@keyframes glow-ring-light {
    0%, 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.4); }
    50% { box-shadow: 0 0 26px 4px rgba(94, 234, 212, 0.35); }
}

@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-center { order: -1; }

    .hero-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-side .glass-card {
        flex: 1 1 200px;
    }
}
