:root {
    /* Color System - Orange Brand Theme */
    --primary-hue: 24;
    --primary-sat: 100%;
    --primary-light: 50%;
    /* #ff6702 */

    /* Using a dark neutral for the base to let the orange pop */
    --brand-dark: #111111;
    --brand-main: #ff6702;
    --brand-light: #fff5f0;
    /* Very light orange tint for backgrounds */

    --accent-color: #ff6702;
    /* Unified action color */
    --accent-hover: #e05a00;

    --text-main: #1a1a1a;
    --text-muted: #666;
    --text-light: #fff;

    --bg-body: #ffffff;
    --bg-surface: #f8f9fa;

    /* Spacing */
    --container-max: 1200px;
    --header-height: 72px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-dark);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Top Banner */
.top-banner {
    background-color: #00BFE6;
    /* Cyan Blue matching the image */
    color: #00262b;
    /* Dark text for contrast */
    font-size: 0.9rem;
    padding: 10px 0;
    position: relative;
    width: 100%;
    z-index: 101;
    /* Ensure above header which is z-index 100 */
}

.banner-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.banner-text {
    margin: 0;
    padding-right: 40px;
    /* Space for close button */
    line-height: 1.4;
    font-weight: 500;
}

.banner-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.banner-link:hover {
    text-decoration: none;
    color: inherit;
}

.banner-close {
    position: absolute;
    right: 0;
    /* Aligned with container edge */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.banner-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .banner-text {
        padding-right: 32px;
        font-size: 0.85rem;
        text-align: left;
    }
}

/* Burger Menu Button */
.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn:hover span {
    background: var(--brand-main);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Panel */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #eee;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.sidebar-close:hover {
    color: var(--brand-main);
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 0;
}

.sidebar-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: #006747;
    text-align: left;
    transition: all 0.2s ease;
}

.sidebar-btn:hover {
    background: #f8f9fa;
    padding-left: 24px;
}

.sidebar-btn span {
    flex: 1;
}

.sidebar-btn svg {
    transition: transform 0.3s ease;
}

.sidebar-item:hover .sidebar-btn svg {
    transform: translateX(4px);
}

/* Sidebar Submenu */
.sidebar-submenu {
    position: fixed;
    left: 320px;
    top: 0;
    width: 280px;
    height: 100%;
    background: #f8f9fa;
    padding: 60px 0 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-item:hover .sidebar-submenu,
.sidebar-submenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sidebar-submenu a {
    display: block;
    padding: 14px 24px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-submenu a:hover {
    background: white;
    color: var(--brand-main);
    border-left-color: var(--brand-main);
    padding-left: 28px;
}

/* Header */
header {
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    margin-right: 48px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-right: auto;
}

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-item:hover {
    color: var(--brand-main);
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--brand-main);
    padding-left: 24px;
}

.nav-dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.nav-dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

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

.search-bar {
    display: none;
    /* Hidden on mobile, show on desktop */
    position: relative;
    width: 300px;
    margin-right: 24px;
}

.search-input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f8f9fa;
}

@media (min-width: 900px) {
    .search-bar {
        display: block;
    }
}

/* Hero Section & Slider */
.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 520px;
    /* Specific height */
    background-color: #10312b;
    /* Dark Teal Base */
    color: white;
}

.hero-slider {
    height: 100%;
    position: relative;
    background-color: #10312b;
    /* Ensure background matches */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    /* Vertical Center */
    /* Removed background-image to rely on the solid color or specific gradients if needed */
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
}

/* Left Column: Content */
.slide-content-left {
    z-index: 2;
    padding-right: 20px;
}

.slide-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-badge {
    background-color: #bbf0e7;
    /* Light Mint/Turquoise */
    color: #10312b;
    /* Dark Teal Text */
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
}

.hero-badge i {
    font-size: 0.8rem;
}

.slide-content-left h1 {
    font-family: "Georgia", "Times New Roman", serif;
    /* Serif font for "Become an expert" look */
    font-size: 4rem;
    font-weight: 800;
    /* Extra bold */
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.slide-content-left p {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 90%;
    color: white;
}

.slide-btn {
    background-color: #d23f00;
    /* EdX Orange */
    color: white;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 4px;
    /* Slightly rounded, almost square like ref */
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: var(--font-sans);
}

.slide-btn:hover {
    background-color: #a53200;
    /* Darker Orange */
}

/* Right Column: Quote */
.slide-content-right {
    position: relative;
    z-index: 2;
    padding-left: 40px;
    display: flex;
    align-items: center;
}

.quote-block {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    /* Large quote text */
    line-height: 1.3;
    font-weight: 700;
    color: white;
}

.quote-icon-large {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
    opacity: 1;
    color: white;
    /* White quote icon */
}

.quote-author {
    display: block;
    margin-top: 24px;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Slide 2 - Course Cards Layout */
.slide-container-cards {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.slide-action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.slide-btn-outline {
    background-color: transparent;
    border: 2px solid #d23f00;
    color: #d23f00;
}

.slide-btn-outline:hover {
    background-color: #d23f00;
    color: white;
}

.slide-cards-container {
    display: flex;
    gap: 20px;
    padding-left: 0;
}

.slide-course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
}

.slide-card-header {
    background: #f8f9fa;
    padding: 8px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.slide-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-card-body {
    padding: 20px;
    flex: 1;
}

.slide-card-logo {
    width: 60px;
    height: auto;
    margin-bottom: 12px;
}

.slide-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.slide-card-provider {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

.slide-card-meta {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.slide-card-footer {
    padding: 16px;
    border-top: 1px solid #e0e0e0;
}

.slide-card-btn {
    width: 100%;
    background-color: #1a1a1a;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.slide-card-btn:hover {
    background-color: #333;
}

.slide-card-btn i {
    font-size: 0.9rem;
}

/* Slider Navigation (White Pill) */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
}

.slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 24px;
    height: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    /* Grey inactive */
    cursor: pointer;
}

.slider-dot.active {
    background: #10312b;
    /* Dark Teal active */
    transform: scale(1.1);
}

/* Partner Logos - Infinite Scroll */
.partners {
    padding: 60px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.partners-title {
    margin-bottom: 40px;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
}

.partners-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-scroll {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.partners-scroll:hover {
    animation-play-state: paused;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 30px;
}

.partner-logo {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    /* Remove grayscale - show colors */
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-track {
        gap: 40px;
    }

    .partner-logo {
        height: 45px;
        max-width: 140px;
    }
}

/* Popular Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    /* Responsive grid */
    gap: 24px;
}

.topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8f9fa;
    /* Light background */
    padding: 32px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--brand-dark);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.topic-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: #eee;
    transform: translateY(-4px);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--brand-dark);
    opacity: 0.8;
    /* Support for img tags */
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.topic-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.section-courses {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.course-grid.loading .course-grid-loading,
.course-grid-error {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    color: #666;
}

.course-grid.loading .course-grid-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
}

.course-grid-loader {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: var(--brand-main);
    border-radius: 50%;
    animation: course-grid-spin 0.8s linear infinite;
}

@keyframes course-grid-spin {
    to { transform: rotate(360deg); }
}

.course-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 160px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    position: relative;
}

.card-logo-overlay {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 12px 20px 12px 16px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    max-width: 75%;
}

.card-logo-overlay img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.card-body {
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.card-body-logo {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body-logo img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

.card-body-text {
    flex: 1;
}

.card-partner {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--brand-dark);
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    background: #eee;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-top: 12px;
    font-weight: 600;
}

/* Value Props */
/* Features Section */
.section-features {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #e6f0ff;
    /* Light blue bg for icon */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* If icons are SVGs, we might want to ensure they are colored correctly or use CSS filters if needed */
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Footer */
footer {
    background: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

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

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

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* Filters & Tabs */
.tabs-container {
    margin-bottom: 32px;
    width: 100%;
}

.tabs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #f1f4f3;
    padding: 6px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.tab-btn {
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: #4a5568;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #10312b;
    background-color: rgba(16, 49, 43, 0.05);
}

.tab-btn.active {
    background-color: #ffffff;
    color: #10312b;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* For the pill-style sub-filters */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding-top: 24px;
}

.filter-pill {
    padding: 8px 16px;
    background: #e8ebe9;
    /* Light greenish-grey */
    border: 1px solid #10312b;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #10312b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    background: #d0d6d3;
}

.filter-pill.active {
    background: #10312b;
    /* Dark Teal */
    color: white;
}

/* Program Overview Section */
.section-overview {
    background-color: #fcfcfc;
    /* Cleaner off-white background */
    padding: 80px 0;
}

/* Ignite Banner Section */
.section-ignite {
    background-color: #fcfcfc;
    padding-bottom: 40px;
}

.ignite-banner {
    background-color: #00262b;
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.ignite-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ignite-content p {
    font-size: 0.9rem;
    color: #b3c2c0;
    margin: 0;
}

.ignite-btn {
    background-color: #d23f00;
    border-radius: 4px;
    padding: 10px 20px;
    white-space: nowrap;
    font-weight: 700;
}

.ignite-btn:hover {
    background-color: #a53200;
}

/* Course Details Grid */
.section-details {
    background-color: #fcfcfc;
    padding: 20px 0 60px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.detail-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 8px;
}

.detail-item p {
    font-size: 1rem;
    color: #3e504e;
}

/* Certificate Section */
.section-certificate {
    background-color: #fcfcfc;
    padding: 40px 0 80px;
    border-bottom: 1px solid #e0e0e0;
}

.certificate-card-large {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    /* align-items: stretch; */
}

.cert-content {
    flex: 1;
    padding: 40px;
}

.cert-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 32px;
    font-family: var(--font-sans);
}

.cert-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.cert-icon-box {
    width: 48px;
    height: 48px;
    background-color: #1a403c;
    /* Dark green icon bg */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon-box i {
    color: white;
    font-size: 1.25rem;
}

.cert-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 4px;
}

.cert-text p {
    font-size: 0.95rem;
    color: #3e504e;
    line-height: 1.5;
}

.cert-image {
    flex: 1;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Instructors Section */
.section-instructors {
    background-color: #fcfcfc;
    padding: 60px 0 80px;
}

.instructors-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 32px;
    font-family: var(--font-sans);
}

.instructor-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-width: 500px;
}

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

.instructor-info {
    flex: 1;
}

.instructor-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 4px;
}

.instructor-info p {
    font-size: 0.9rem;
    color: #3e504e;
}

.instructor-uni-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .ignite-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .certificate-card-large {
        flex-direction: column;
    }

    .cert-image {
        height: 200px;
    }

    .instructor-card {
        min-width: 100%;
        flex-direction: column;
        text-align: center;
    }
}

/* Add a subtle texture or pattern if desired, or keep clean */

.breadcrumbs {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--brand-main);
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: #ccc;
}

.topic-title {
    font-family: "Georgia", serif;
    /* Matching the serif headlines */
    font-size: 4rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.topic-lead {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    line-height: 1.6;
    max-width: 750px;
    color: #333;
    margin-bottom: 40px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 4px;
    /* Matching the square look */
}

/* Content Section */
.section-topic-content {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--brand-main);
    /* Orange accent */
}

.content-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    /* Better readability */
    color: #444;
}

/* Course Grid enhancements for this page */
.section-courses .section-title {
    text-align: center;
    margin-bottom: 60px;
}


/* Stats Section */
.section-stats {
    padding: 80px 0;
    background: #ffffff;
    color: var(--brand-dark);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-main);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-main) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.section-testimonials {
    padding: 100px 0;
    background: #f4f5f7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--brand-light);
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    color: #444;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ccc;
    /* Placeholder */
    background-size: cover;
}

.user-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.section-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Course Detail Page Styles */
.course-page-wrapper {
    background-color: white;
    padding-bottom: 80px;
}

.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

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

.course-header {
    margin-bottom: 40px;
}

.course-title {
    font-family: "Georgia", serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.course-short-desc {
    font-size: 1.2rem;
    color: #444;
    font-weight: 400;
    margin-bottom: 24px;
}

.course-partners-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--brand-dark);
}

.partner-logo-small {
    height: 40px;
    width: auto;
}

.course-section {
    margin-bottom: 48px;
}

.course-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 24px;
}

.learning-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.learning-list li {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 1rem;
    color: #333;
}

.learning-list i {
    color: var(--brand-dark);
    margin-top: 4px;
}

/* Syllabus */
.syllabus-item {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

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

.week-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--brand-dark);
}

.week-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Instructors */
.instructor-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.instructor-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--brand-dark);
}

.instructor-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.institution {
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 0.9rem;
}

/* Sidebar */
.course-sidebar {
    position: sticky;
    top: 100px;
}

.sticky-sidebar-card {
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-media {
    height: 200px;
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.media-placeholder {
    color: white;
    text-align: center;
}

.media-placeholder i {
    font-size: 3rem;
    margin-bottom: 8px;
    display: block;
}

.sidebar-content {
    padding: 24px;
}

.sidebar-price {
    margin-bottom: 24px;
}

.price-free {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    display: block;
}

.price-label,
.price-optional {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.enroll-count {
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
}

.stat-row i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* Learning Formats Section */
.section-learning-formats {
    padding: 100px 0;
    background: #f8f9fa;
}

.formats-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.formats-title {
    font-family: "Georgia", serif;
    font-size: 2.75rem;
    font-weight: 700;
    font-style: italic;
    color: var(--brand-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.formats-subtitle {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
}

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

.format-card {
    padding: 32px 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.format-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Card color variants */
.format-beige {
    background-color: #f5f1e8;
}

.format-light {
    background-color: #f8f9fa;
}

.format-teal {
    background-color: #d4e8e5;
}

.format-icon {
    width: 48px;
    height: 48px;
    background-color: var(--brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.format-icon i {
    font-size: 1.5rem;
    color: white;
}

.format-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.format-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.5;
}

.format-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.format-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 12px;
}

.format-features i {
    width: 16px;
    color: var(--brand-dark);
}

.btn-format {
    background-color: var(--brand-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: background-color 0.2s;
    display: inline-block;
}

.btn-format:hover {
    background-color: #000;
}

/* Promo Banner Section */
.promo-banner {
    background-color: hsl(186.98 100% 8.43%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 103, 2, 0.15) 0%, ),
        radial-gradient(circle at 80% 50%, rgba(255, 103, 2, 0.1) 0%, );
    padding: 0;
    overflow: hidden;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.promo-text {
    padding: 60px 80px 60px 60px;
    color: white;
}

.promo-title {
    font-family: "Georgia", serif;
    font-size: 3.5rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.promo-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
}

.promo-description strong {
    color: white;
    font-weight: 700;
}

.btn-promo {
    background-color: var(--brand-main);
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-promo:hover {
    background-color: #e05a00;
}

.promo-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .promo-content {
        grid-template-columns: 1fr;
    }

    .promo-text {
        padding: 40px 24px;
    }

    .promo-title {
        font-size: 2.5rem;
    }

    .promo-image {
        height: 300px;
    }
}

/* Explore Top Subjects Section */
.section-explore-subjects {
    padding: 60px 0;
    background-color: white;
}

.explore-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
}

/* Tabs Navigation */
.explore-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 16px;
}

.explore-tab {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -17px;
    /* Overlap the border-bottom of container */
}

.explore-tab:hover {
    color: var(--brand-main);
}

.explore-tab.active {
    color: var(--brand-main);
    border-bottom-color: var(--brand-main);
}

.explore-tab i {
    font-size: 1rem;
}

/* Content Layout */
.explore-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Left Content */
.explore-info-title {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.explore-info-desc {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 32px;
}

.explore-quote {
    border-left: 4px solid #D90059;
    /* Pinkish accent from partial screenshot */
    padding-left: 20px;
    margin-bottom: 32px;
}

.explore-quote-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 16px;
}

.explore-quote-author {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.explore-btn {
    background-color: #D90059;
    /* Pinkish accent */
    color: white;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.explore-btn:hover {
    background-color: #b00048;
}

/* Right Content - Cards */
.explore-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.explore-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.explore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.explore-card-header {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.explore-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.explore-card-logo-container {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.explore-card-logo {
    height: 20px;
    width: auto;
    display: block;
}

.explore-card-logo-overlay {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    padding: 8px;
}

/* Alternative Card Style based on Screenshot 
   Image top 1/3, curved separation, logo overlapping 
*/

.explore-card-img-top {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Purple/Pink overlay gradient from screenshot */
    background-image: linear-gradient(135deg, #a71d78 0%, #d42e68 100%);
}

.explore-card-img-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-card-img-overlay {
    /* Using mix-blend-mode or opacity to show image through if needed, 
       but screenshot looks like a solid gradient with maybe an image blended? 
       I will stick to a gradient for now as it looks clean */
}

.explore-card-partner-logo {
    position: absolute;
    top: 30px;
    right: 20px;
    background: white;
    padding: 12px;
    border-radius: 4px;
    width: 80px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.explore-card-partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

.explore-card-body {
    padding: 24px;
    padding-top: 32px;
}

.explore-card-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: 3em;
    /* roughly 2 lines */
}

.explore-card-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.explore-card-badge {
    display: inline-block;
    background-color: #f0f0f0;
    color: #444;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .explore-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .explore-info-title {
        text-align: center;
    }

    .explore-btn {
        display: block;
        width: 100%;
        margin-top: 24px;
    }

    .explore-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0;
        margin-bottom: 40px;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .explore-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .explore-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Program Section */
.section-featured-program {
    padding: 80px 0;
    background-color: #f4f8fd;
    /* Very light blue background from screenshot */
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left: Image Container */
.featured-img-container {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: rotate(-2deg);
    /* Slight rotation for jaunty look */
    transition: transform 0.3s ease;
}

.featured-img-container:hover {
    transform: rotate(0deg);
}

.featured-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Right: Content */
.featured-badge {
    background-color: #1a73e8;
    /* Google Blue-ish */
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 24px;
}

.featured-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.featured-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

.featured-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.featured-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background-color: #e8f0fe;
    /* Light blue tint */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    flex-shrink: 0;
}

.feature-icon-box i {
    font-size: 1.25rem;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.featured-btn {
    background-color: #1a1a1a;
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    /* Override any uppercase settings */
}

.featured-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-img-container {
        transform: rotate(0);
        margin-bottom: 20px;
    }

    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .featured-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.section-contact {
    padding: 80px 0;
    background-color: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: flex-start;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 16px;
    background-color: #f3f4f6;
    /* Light grey input bg */
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #333;
    transition: all 0.2s ease;
}

.form-input:focus {
    background-color: white;
    border-color: #2563eb;
    /* Blue border on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.contact-btn {
    width: 100%;
    background-color: #0b0f19;
    /* Almost black */
    color: white;
    padding: 16px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-btn:hover {
    background-color: #2a2e38;
}

/* Contact Info */
.contact-info-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-icon-box {
    width: 56px;
    height: 56px;
    background-color: #e0f2fe;
    /* Light blue */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    /* Blue icon */
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.contact-text a {
    color: inherit;
    text-decoration: none;
}

.contact-text a:hover {
    color: #2563eb;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Our Services Section */
.section-services {
    padding: 80px 0;
    background-color: white;
    /* Clean white bg */
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    padding: 32px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.2s ease;
    height: 100%;
}

.service-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    background-color: #e8f0fe;
    /* Light blue */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    /* Blue icon */
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Mobile Responsive & Accordion Sidebar Overrides */

@media (max-width: 900px) {

    /* Header Adjustments */
    :root {
        --header-height: 60px;
    }

    .logo svg {
        width: 36px;
        height: 36px;
    }

    .logo {
        margin-right: 16px;
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        /* Hide desktop nav */
    }

    .header-actions {
        display: none;
        /* Hide header buttons on mobile if desired, or keep simplified */
    }

    /* Make burger button visible and prominent */
    .burger-btn {
        display: flex;
        margin-right: 12px;
    }

    /* Search bar usually hidden or simplified on mobile header, keeping as is (hidden < 900px) */

    /* Sidebar Accordion Transformation */
    .sidebar {
        width: 85%;
        max-width: 320px;
        left: -100%;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    }

    .sidebar-submenu {
        position: static;
        /* No longer fixed flyout */
        width: 100%;
        height: auto;
        padding: 0;
        background-color: #f8f9fa;
        opacity: 1;
        /* Always visible if height > 0 */
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease;
        border-left: 4px solid transparent;
        /* Viz cue */
    }

    .sidebar-item.open .sidebar-submenu {
        max-height: 500px;
        /* Arbitrary large height */
        padding: 10px 0;
        border-left-color: var(--brand-main);
    }

    .sidebar-btn {
        width: 100%;
        justify-content: space-between;
    }

    .sidebar-btn svg {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    .sidebar-item.open .sidebar-btn svg {
        transform: rotate(90deg);
        /* Rotate arrow when open */
    }

    /* Tweaks for section padding on mobile */
    .section-courses,
    .section-explore-subjects,
    .section-featured-program,
    .section-services,
    .section-contact {
        padding: 40px 0;
    }

    .hero {
        height: auto;
        min-height: 400px;
    }

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

    .slide-content-right {
        padding-left: 0;
    }

    .slide-content-left h1 {
        font-size: 2.5rem;
    }
}

/* Removed specific Tabs Container Responsiveness as scrolling is now universal */

/* Fix Stats Grid Responsiveness */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

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

/* Fix Footer Grid Responsiveness */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-col {
        padding-right: 0 !important;
        /* Override inline style from HTML if any */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Univer Page Styles */
.univer-hero {
    background-color: #00262b;
    /* Dark Teal */
    color: white;
    padding: 60px 0;
}

.overview-title {
    font-size: 2rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 24px;
    font-family: var(--font-sans);
}

.overview-text-container {
    position: relative;
    max-height: 200px;
    /* Initial collapsed height */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.overview-text-container.expanded {
    max-height: 1000px;
    /* Large enough to fit content */
}

.overview-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #3e504e;
    margin-bottom: 16px;
}

.overview-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(252, 252, 252, 0), #fcfcfc);
    pointer-events: none;
    transition: opacity 0.3s;
}

.show-more-link {
    background: none;
    border: none;
    padding: 0;
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3e504e;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.show-more-link:hover {
    color: #00262b;
}

/* Video Card */
.overview-video {
    flex: 1;
    max-width: 500px;
}

.video-card {
    background-color: #012226;
    /* Deep dark teal/green */
    border-radius: 12px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    /* Optional subtle pattern if desired, but sticking to solid per request for 'fix' */
}

.play-btn {
    background: white;
    color: #00262b;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.05);
}

.play-btn i {
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .overview-inner {
        flex-direction: column;
    }

    .overview-video {
        width: 100%;
        max-width: 100%;
        margin-top: 32px;
    }
}



.univer-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.univer-content {
    flex: 1;
    max-width: 800px;
}

.univer-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #b3c2c0;
    margin-bottom: 24px;
}

.univer-breadcrumbs a {
    color: #b3c2c0;
    text-decoration: none;
    transition: color 0.2s;
}

.univer-breadcrumbs a:hover {
    color: white;
    text-decoration: underline;
}

.univer-breadcrumbs i {
    font-size: 0.7rem;
}

.univer-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.univer-logo {
    height: 50px;
    background: white;
    padding: 4px;
    border-radius: 4px;
}

.verified-badge {
    background-color: #e6a8b5;
    /* Pinkish verified badge color */
    color: #4a1a25;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.univer-title {
    font-family: "Georgia", serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
}

.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.course-badge {
    background-color: #bbf0e7;
    color: #00262b;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-stats {
    font-size: 1.2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.stats-separator {
    margin-right: 4px;
}

.email-consent {
    font-size: 0.9rem;
    color: #d0d6d3;
    max-width: 600px;
}

.consent-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.consent-label input {
    margin-top: 4px;
    transform: scale(1.2);
}

/* Univer Right Card */
.univer-card {
    background: #fcfcfc;
    /* Slightly off-white/beige based on image */
    color: #1a1a1a;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    text-align: center;
}

.card-dates {
    margin-bottom: 24px;
}

.date-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.date-subtitle {
    font-size: 1rem;
    color: #3e504e;
    font-weight: 400;
}

.learners-count {
    margin-top: 24px;
    font-size: 1.1rem;
    color: #00262b;
}

.learners-count strong {
    font-weight: 800;
}

.univer-card .btn-block {
    background-color: #d23f00;
    /* Darker orange match */
    border-radius: 50px;
    /* Pill shape button */
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

.univer-card .btn-block:hover {
    background-color: #a53200;
}

.card-pricing {
    display: none;
    /* Hide old pricing if still present in class structure, but HTML replaced */
}

.btn-block {
    width: 100%;
    display: block;
    padding: 14px;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .univer-hero-inner {
        flex-direction: column;
    }

    .univer-card {
        width: 100%;
        position: static;
        margin-top: 40px;
    }
}

/* Backed By Section */
.section-backed {
    background-color: #f2f0ea;
    /* Light beige/grey */
    padding: 80px 0;
    text-align: center;
}

.backed-title {
    font-family: "Georgia", serif;
    /* Or sans-serif if preferred, image looks serif-ish or strong sans */
    font-family: var(--font-sans);
    /* Actually image heading looks like sans-serif, let's stick to sans for now or match requested style */
    color: #00262b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.backed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.backed-card {
    background: white;
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.backed-icon {
    font-size: 2.5rem;
    color: #00262b;
    margin-bottom: 24px;
}

.backed-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 12px;
}

.backed-card p {
    font-size: 0.95rem;
    color: #3e504e;
    line-height: 1.5;
    max-width: 280px;
}

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

/* Skills Section */
.skills-container {
    margin-top: 60px;
    text-align: left;
}

.skills-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 24px;
    font-family: var(--font-sans);
    /* Ensure sans-serif per visual */
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background-color: #1a2b29;
    /* Dark green/black */
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
}

/* Ignite Banner Section */
.section-ignite {
    background-color: #fcfcfc;
    padding-bottom: 40px;
}

.ignite-banner {
    background-color: #00262b;
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.ignite-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ignite-content p {
    font-size: 0.9rem;
    color: #b3c2c0;
    margin: 0;
}

.ignite-btn {
    background-color: #d23f00;
    border-radius: 4px;
    padding: 10px 20px;
    white-space: nowrap;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
}

.ignite-btn:hover {
    background-color: #a53200;
}

/* Course Details Grid */
.section-details {
    background-color: #fcfcfc;
    padding: 20px 0 60px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 40px;
    max-width: 800px;
    /* Limit width to keep it looking aligned */
}

.detail-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}

.detail-item p {
    font-size: 1rem;
    color: #3e504e;
}

/* Certificate Section */
.section-certificate {
    background-color: #fcfcfc;
    padding: 40px 0 80px;
    border-bottom: 1px solid #e0e0e0;
}

.certificate-card-large {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
}

.cert-content {
    flex: 1;
    padding: 40px;
}

.cert-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 32px;
    font-family: var(--font-sans);
}

.cert-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.cert-icon-box {
    width: 48px;
    height: 48px;
    background-color: #1a403c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon-box i {
    color: white;
    font-size: 1.25rem;
}

.cert-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 4px;
}

.cert-text p {
    font-size: 0.95rem;
    color: #3e504e;
    line-height: 1.5;
}

.cert-image {
    flex: 1;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Instructors Section */
.section-instructors {
    background-color: #fcfcfc;
    padding: 60px 0 80px;
}

.instructors-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 32px;
    font-family: var(--font-sans);
}

.instructor-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-width: 500px;
}

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

.instructor-info {
    flex: 1;
}

.instructor-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 4px;
}

.instructor-info p {
    font-size: 0.9rem;
    color: #3e504e;
}

.instructor-uni-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .ignite-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .certificate-card-large {
        flex-direction: column;
    }

    .cert-image {
        height: 200px;
    }

    .instructor-card {
        min-width: 100%;
        flex-direction: column;
        text-align: center;
    }
}

/* Deeper Learning Section */
.section-deeper-learning {
    background-color: #fcfcfc;
    padding: 20px 0 60px;
}

.deeper-learning-card {
    background-color: #e6e4dc;
    /* Beige background */
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
}

.deeper-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}

.deeper-header p {
    font-size: 1rem;
    color: #3e504e;
    margin-bottom: 40px;
}

.program-card-horizontal {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.program-card-header {
    background-color: #1a3c3d;
    /* Dark teal */
    color: white;
    padding: 24px 32px;
}

.micromasters-badge {
    background-color: #ffffff;
    color: #1a3c3d;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.program-card-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-sans);
}

.program-card-body {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-info {
    display: flex;
    gap: 24px;
    color: #3e504e;
    font-size: 0.95rem;
    font-weight: 500;
}

.program-info i {
    margin-right: 8px;
}

.program-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00262b;
}

.original-price {
    font-size: 1rem;
    color: #767676;
    text-decoration: line-through;
}

.btn-dark-teal {
    background-color: #00262b;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-dark-teal:hover {
    background-color: #004d55;
}

/* Testimonials Section */
.section-testimonials {
    background-color: #fcfcfc;
    padding: 60px 0 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 40px;
    font-family: var(--font-sans);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 1.5rem;
    color: #d23f00;
    /* Orange quote */
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #3e504e;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.read-more-link {
    font-size: 0.85rem;
    color: #00262b;
    text-decoration: underline;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.user-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.8rem;
    color: #3e504e;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 1rem;
    color: #3e504e;
    cursor: pointer;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dcdcdc;
}

.nav-dot.active {
    background-color: #d23f00;
    /* Active orange dot */
}

@media (max-width: 900px) {
    .program-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .program-info {
        flex-direction: column;
        gap: 12px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        /* Stack testimonials on mobile */
    }
}

/* Next Course Summary Section */
.section-next-course {
    background-color: #fcfcfc;
    padding: 60px 0;
    text-align: center;
}

.section-title-center {
    font-size: 2rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}

.section-subtitle {
    font-size: 0.95rem;
    color: #3e504e;
    margin-bottom: 16px;
}

.learners-count-center {
    font-size: 1.1rem;
    color: #00262b;
    margin-bottom: 32px;
}

.cta-buttons-center {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary-lg {
    background-color: #d23f00;
    color: white;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

.btn-primary-lg:hover {
    background-color: #a53200;
}

.btn-outline-lg {
    background-color: white;
    color: #d23f00;
    border: 2px solid #d23f00;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
}

.btn-outline-lg:hover {
    background-color: #fff5f0;
}

/* Partnership Section */
.section-partnership {
    background-color: #fcfcfc;
    padding: 40px 0 80px;
}

.partnership-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.partnership-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.partner-logo {
    height: 100px;
    width: auto;
}

.partner-logo-edx {
    height: 40px;
    width: auto;
}

.logo-divider {
    width: 1px;
    height: 50px;
    background-color: #e0e0e0;
}

.partnership-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 16px;
    font-family: var(--font-sans);
}

.partnership-text p {
    font-size: 1rem;
    color: #3e504e;
    line-height: 1.6;
}

/* Share Section */
.section-share {
    background-color: #fcfcfc;
    padding: 20px 0 80px;
    text-align: center;
}

.share-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00262b;
    margin-bottom: 24px;
    font-family: var(--font-sans);
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.share-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #00262b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.share-icon:hover {
    background-color: #004d55;
}

@media (max-width: 768px) {
    .partnership-inner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .partnership-logos {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons-center {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        width: 100%;
        max-width: 300px;
    }
}

/* --- Global Responsive Fixes --- */

@media (max-width: 768px) {

    /* Collapse Grids to 1 Column */
    .course-grid,
    .topics-grid,
    .details-grid,
    .instructors-grid,
    .learning-list,
    .featured-grid,
    .backed-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Stack flex elements vertically */
    .certificate-card-large {
        flex-direction: column;
    }

    .cert-image {
        min-height: 250px;
    }

    /* Slide container and features */
    .slide-container,
    .slide-container-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 30px;
    }

    .slide-cards-container {
        flex-direction: column;
    }

    .slide-course-card {
        max-width: 100%;
    }

    /* Scale down large text */
    .univer-title {
        font-size: 2.2rem !important;
    }

    .slide-content-left h1,
    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .overview-title,
    .section-title,
    .backed-title {
        font-size: 1.8rem !important;
    }

    .course-title {
        font-size: 2rem !important;
        line-height: 1.3;
    }

    .card-img {
        height: 200px;
    }

    /* Adjust padding for inner sections */
    .cert-content {
        padding: 24px;
    }

    .cert-content h2 {
        font-size: 1.5rem !important;
    }

    .instructor-card {
        padding: 16px;
    }

    /* Fix image container */
    .featured-img-container img {
        height: auto;
        min-height: 200px;
    }
}

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

    .course-badges,
    .course-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .univer-content {
        max-width: 100%;
    }

    .btn-block,
    .univer-card .btn-block,
    .ignite-btn {
        width: 100%;
        text-align: center;
    }

    .ignite-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .topic-hero .topic-title {
        font-size: 2.2rem !important;
    }
}


/* Value Props */
.value-props {
    padding: 80px 0;
    background: #fdfbf7;
    color: var(--brand-dark);
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.prop-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--brand-main);
}

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