/* CSS Variables */
:root {
    --crimson: #A51C30;
    --dark-charcoal: #222222;
    --light-bg: #F8F9F9;
    --gold: #FFC72C;
    --text-main: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --border-color: #dddddd;
    --font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
}

/* Global Responsive Resets */
img,
video,
iframe,
picture {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-left: 5px solid var(--crimson);
    padding-left: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background-color: #8a1526;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

/* Header */
.header {
    background-color: var(--white);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--crimson);
    position: relative;
    z-index: 100;
}

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

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

.logo img {
    height: 75px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 600;
    color: var(--dark-charcoal);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list a:hover {
    color: var(--crimson);
    text-decoration: underline;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.hero-video-wrapper {
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.hero-video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    background-color: #000;
    overflow: hidden;
}

.hero-video-placeholder iframe,
.hero-video-placeholder video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.video-caption {
    padding: 1rem;
    background: #fff;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    border-top: 1px solid #eee;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.hero-media {
    position: relative;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #000;
    overflow: hidden;
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
}

.video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.hero-content-box {
    background-color: var(--white);
    padding: 2rem;
    text-align: left;
}

.program-tag {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark-charcoal);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-dates {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--dark-charcoal);
    font-weight: 600;
}

.hero-cta {
    margin-bottom: 2rem;
}

.deadline {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--crimson);
    font-weight: 500;
}

/* Info Bar (Inside Hero) */
.hero-video-column .info-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    background-color: transparent;
    padding: 0;
    color: inherit;
}

@media (min-width: 992px) {
    .hero-video-column .info-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.info-item {
    background-color: #E8F3F5;
    padding: 1.5rem;
    text-align: center;
    border-radius: 2px;
}

.info-item h4 {
    color: #007C92;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 0.85rem;
    color: var(--text-main);
    text-transform: uppercase;
    font-weight: 600;
}

/* Info Bar */
.info-bar {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 30px 0;
}

.info-bar-grid {
    display: flex;
    justify-content: space-between;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-value {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Sticky Nav (Dark Blue Menu) */
.sticky-nav {
    position: sticky;
    top: 56px;
    background: #313A5E !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
}

.sticky-nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
}

.sticky-links {
    display: flex;
    gap: 40px;
    height: 100%;
    align-items: center;
}

.sticky-links li {
    display: flex;
    align-items: center;
}

.sticky-links a {
    font-weight: 700;
    color: var(--white) !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.sticky-links a:hover {
    color: var(--gold) !important;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

/* Key Concepts */
.section-title-center {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title-center::before,
.section-title-center::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.key-concepts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.concept-item {
    display: flex;
    gap: 15px;
}

.check-icon {
    color: #BBCD3A;
    /* Lime green check */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Tabs */
.tabs-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.tabs-list {
    display: flex;
    flex-direction: column;
}

.tab-btn {
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    border-left: 4px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s;
}

.tab-btn.active {
    border-left-color: var(--crimson);
    color: var(--dark-charcoal);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content {
    background: white;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--crimson);
    margin: 30px 0 10px;
}

cite {
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

/* Syllabus */
.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.course-header {
    flex: 1;
}

.course-duration {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    background-color: var(--light-bg);
    padding: 5px 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.course-body {
    flex: 1.5;
}

.course-body h4 {
    font-size: 0.9rem;
    color: var(--crimson);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.course-body ul {
    list-style: disc;
    padding-left: 20px;
}

/* FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-light);
}

/* Enrollment / Upskill styles */
.bg-gold-section {
    background-color: #FFDE7D;
    /* Lighter gold for background */
    padding-bottom: 80px;
    padding-top: 40px;
}

.ebook-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.btn-ebook {
    border: 1px solid var(--crimson);
    color: var(--crimson);
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    background: white;
}

.upskill-card {
    background: white;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.upskill-image {
    flex: 1;
}

.upskill-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upskill-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upskill-content h3 {
    font-size: 1.8rem;
    color: var(--crimson);
    margin-bottom: 20px;
}

.btn-crimson-outline {
    border: 2px solid var(--crimson);
    color: var(--crimson);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    align-self: flex-start;
    margin-top: 20px;
}

.btn-crimson-outline:hover {
    background: var(--crimson);
    color: white;
}

/* Our Difference styles */
.text-crimson {
    color: var(--crimson);
}

.difference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.diff-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.diff-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.difference-map img {
    width: 100%;
    opacity: 0.8;
}

/* Admissions Section */
.bg-crimson-section {
    background-color: #7A0026;
    /* Deep crimson based on image */
    padding: 80px 0;
    color: white;
    position: relative;
}

.text-white {
    color: white;
}

.admissions-card {
    background: white;
    color: var(--dark-charcoal);
    width: 100%;
    max-width: 300px;
    /* Changed from fixed width to max-width */
    margin: 0 auto 60px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* In the screenshot, the card floats, but simple centering works for now */
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.card-header .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 5px;
}

.card-header .date {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    /* Light weight typically */
    line-height: 1;
}

.card-body {
    padding: 20px;
}

.card-body .duration {
    font-weight: 700;
}

.card-body .price {
    font-weight: 700;
    margin: 5px 0;
}

.card-body .price .small {
    font-size: 0.7rem;
    font-weight: 400;
    display: block;
}

.card-body .deadline {
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: var(--crimson);
}

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

.admissions-info {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.info-cols {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.check-item {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

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

.info-text p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Learner Stories */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.stories-visual {
    position: relative;
}

.stories-visual img {
    width: 100%;
    border-radius: 4px;
}

.stat-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(34, 34, 34, 0.9);
    color: white;
    padding: 10px 20px;
    font-size: 3rem;
    font-weight: 700;
}

.story-card {
    background: white;
    padding: 30px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-card .quote {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.5;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.75rem;
    color: #777;
}

/* Related Program */
.related-card {
    border: 1px solid #eee;
    padding: 30px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.related-image {
    position: relative;
    flex-shrink: 0;
}

.course-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--crimson);
    color: white;
    font-size: 0.7rem;
    padding: 5px 10px;
    font-weight: 700;
}

.related-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.related-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.related-meta {
    font-size: 0.85rem;
}

.related-meta p {
    margin-bottom: 5px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.cred-icon {
    font-size: 0.8rem;
    color: #777;
}

/* Request Form */
.request-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.request-form .form-group {
    margin-bottom: 20px;
}

/* HubSpot Form Styling */
.request-form-container label,
.request-form-container .hs-form-field label,
.request-form-container .hs-form label,
.request-form-container .hs-label,
.request-form-container label.hs-form-boolean-checkbox-display,
.request-form-container label.hs-form-radio-display,
.request-form-container label.hs-form-checkbox-display,
.request-form-container .hs-form-field>label {
    color: #333333 !important;
    font-weight: 500 !important;
}

/* Target span inside label if present */
.request-form-container label span {
    color: #333333 !important;
}

.request-form-container .hs-error-msg {
    color: #ffcccc !important;
}

.bg-crimson-section .request-form label {
    color: white;
}

.request-form .form-control {
    width: 100%;
    padding: 12px;
    border: none;
    background: #f4f4f4;
    /* Light grey inputs as per screenshot */
    border-radius: 2px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    font-weight: 400;
    cursor: pointer;
}

.btn-dark {
    background: #222;
    color: white;
    padding: 10px 30px;
    font-size: 0.9rem;
}

/* Dark FAQ & Footer */
.bg-dark {
    background-color: #222222;
    color: white;
}

.faq-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
}

.faq-header h2 {
    color: white;
    font-size: 1.5rem;
}

.view-all-link {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
}

.dark-accordion .accordion-item {
    border-bottom: 1px solid #444;
}

.dark-accordion .accordion-header {
    color: white;
    /* Important for visibility */
    font-size: 1rem;
    font-weight: 400;
}

.dark-accordion .accordion-content p {
    color: #ccc;
}

/* Updated Footer */
.global-footer {
    background-color: #222;
    color: white;
    padding: 40px 0 80px;
    /* Extended padding */
    border-top: 1px solid #444;
}

.social-row {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.social-row a {
    color: #ccc;
    font-size: 1.2rem;
    text-decoration: none;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {

    /* Global Changes */
    .section-title,
    .section-title-center {
        font-size: 1.5rem;
        text-align: center;
    }

    .section-title {
        border-left: none;
        padding-left: 0;
        /* Center aligned usually doesn't have left border */
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .section-title::before,
    .section-title::after {
        content: "";
        display: block;
        width: 30px;
        height: 2px;
        background-color: var(--gold);
    }

    /* Header */
    /* Header */
    .header .container {
        flex-wrap: wrap;
        padding: 5px 20px;
    }

    .nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        background: #f9f9f9;
        padding: 10px;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-actions {
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: block;
        /* Ensure it's visible, though it was visible before */
        font-size: 1.5rem;
        cursor: pointer;
    }

    .login-btn {
        display: none;
        /* Hide login on mobile to save space if needed, or keep it. Let's keep small icons only if crowded. checking screenshot... keep it for now but maybe icon only */
    }

    /* Hero Section */
    .hero {
        padding: 2rem 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding-bottom: 30px;
        gap: 30px;
    }

    .hero-content-box h1 {
        font-size: 2.5rem;
    }

    .hero-video-column {
        order: 1;
        /* Video below content on mobile */
    }

    .program-meta {
        gap: 20px;
        justify-content: center;
    }

    .info-bar-grid {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Sticky Nav */
    .sticky-links {
        display: flex;
        overflow-x: auto;
        width: 100%;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        /* Hide scrollbar for cleaner look */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sticky-links::-webkit-scrollbar {
        display: none;
    }

    .sticky-nav-container {
        padding: 0;
        justify-content: flex-start;
    }

    .sticky-links li {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sticky-links a {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    /* Key Concepts */
    .key-concepts-grid {
        grid-template-columns: 1fr;
    }

    /* Tabs */
    .tabs-container {
        grid-template-columns: 1fr;
    }

    .tabs-list {
        flex-direction: row;
        overflow-x: auto;
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
    }

    .tab-btn {
        padding: 10px 15px;
        border-left: none;
        border-bottom: 4px solid transparent;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--crimson);
        background: transparent;
        box-shadow: none;
    }

    /* Course List (Syllabus) */
    .course-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    /* Upskill */
    .upskill-card {
        flex-direction: column;
    }

    .upskill-content {
        padding: 30px;
    }

    /* Difference */
    .difference-grid {
        grid-template-columns: 1fr;
    }

    /* Admissions Details */
    .info-cols {
        grid-template-columns: 1fr;
    }

    /* Learner Stories */
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .stories-visual {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .social-row {
        justify-content: center;
    }

    /* Related Program - Mobile */
    .related-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .related-image {
        width: 100%;
    }

    .related-image img {
        width: 100%;
        height: auto;
    }

    /* Flex fixes to prevent overflow */
    .row,
    .grid,
    .flex {
        max-width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
}

.modal-header {
    text-align: center;
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, #2c3e7f 0%, #3d4f8f 100%);
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-logo {
    height: 25px;
    margin-bottom: 15px;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: block;
    margin: 0 auto 15px auto;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
}

.modal-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3d4f8f;
    box-shadow: 0 0 0 3px rgba(61, 79, 143, 0.1);
    background-color: white;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input select {
    flex: 0 0 140px;
}

.phone-input input {
    flex: 1;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .modal-header {
        padding: 30px 20px 15px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-logo {
        height: 50px;
    }

    .modal-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .phone-input {
        flex-direction: column;
    }

    .phone-input select {
        flex: 1;
    }
}

/* Sticky CTA (Mobile & Desktop) */
.mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 10px;
    flex-direction: column;
    gap: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
    visibility: visible;
}

.cta-row-1 {
    display: flex;
    gap: 10px;
}

.cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 5px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background: white;
    white-space: nowrap;
}

/* WhatsApp Button */
.whatsapp-btn {
    border: 1px solid #25D366;
    color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #f0fdf4;
}

/* Apply/Brochure Button */
.apply-btn {
    border: 1px solid #3d4f8f;
    color: #3d4f8f;
}

.apply-btn:hover {
    background-color: #fdf2f4;
}

.cta-row-2 {
    width: 100%;
}

.expert-btn {
    display: block;
    width: 100%;
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.expert-btn:hover {
    background-color: #fa5252;
}

/* Desktop Styling for Sticky CTA */
@media (min-width: 769px) {
    .mobile-sticky-cta {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
        gap: 20px;
    }

    .cta-row-1 {
        width: auto;
        gap: 20px;
    }

    .cta-row-2 {
        width: auto;
    }

    .cta-btn,
    .expert-btn {
        width: auto;
        padding-left: 25px;
        padding-right: 25px;
        font-size: 1rem;
    }
}



/* Responsive Video Container */
.responsive-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Sticky Nav Active State */
.sticky-links a.active {
    color: var(--white) !important;
    border-bottom: 2px solid var(--white) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.video-width-limiter {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}

/* ----------------------------------
   Sticky Countdown Bar Styles
   --------------------------------- */
.sticky-countdown-bar {
    background-color: #2d2b6f;
    color: #ffffff;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.countdown-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.countdown-left {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

@media (min-width: 768px) {
    .countdown-left {
        text-align: left;
    }
}

.countdown-text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.timer-block {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    min-width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timer-block span {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    display: block;
}

.timer-block .label {
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 2px;
}

.countdown-cta {
    background-color: #E2B248;
    /* Gold/Yellow accent */
    color: #222;
    padding: 8px 20px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.countdown-cta:hover {
    background-color: #f0c359;
    color: #000;
}

@media (max-width: 768px) {
    .countdown-container {
        justify-content: center;
        text-align: center;
        padding: 5px 15px;
    }

    .countdown-left {
        width: 100%;
        margin-bottom: 5px;
    }

    .countdown-right {
        width: 100%;
        gap: 10px;
    }
}