@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0097b2;
    /* Teal */
    --primary-dark: #007a91;
    --text-dark: #333333;
    --text-light: #555555;
    --white: #ffffff;
    --bg-light: #f4f6f8;
    --header-height: 80px;
    --container-width: 1440px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 60px);
}

body {
    font-family: 'Outfit', sans-serif;
    /* Changed to Outfit to match TT Hoves style */
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: white;
}

/* Common */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease-in-out;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.15rem;
}

.text-primary {
    color: var(--primary);
}

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

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

.section-padding {
    padding: 80px 0;
}

/* Standard spacing */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Main Layout */
.main-layout {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    /* Increased from 10px to 40px for more air */
    padding-bottom: 80px;
    position: relative;
    align-items: stretch;
    /* Force stretch for sticky sidebar support */
}

/* Specific fix for alignment: remove padding from the first section */
.main-content .section:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.top-bar a {
    color: white;
    opacity: 0.95;
}

.top-bar a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Header */
.header {
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1002;
}

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

/* Header Left */
.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.logo-img {
    height: 54px;
    /* Increased from 42px */
    width: auto;
    margin-right: 5px;
}

.btn-explore {
    background: #343a40;
    color: white;
    border: none;
    padding: 0 22px;
    height: 44px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    cursor: pointer;
    font-size: 15px;
}

.btn-explore i {
    font-size: 11px;
    margin-top: 2px;
}

/* Search Bar */
.search-bar {
    display: flex;
    border: 1px solid #ccc;
    padding: 0;
    border-radius: 30px;
    width: 550px;
    background: white;
    height: 48px;
    align-items: center;
    overflow: hidden;
    margin: 0 20px;
    flex-grow: 1;
    max-width: 600px;
}

.search-bar input {
    border: none;
    background: transparent;
    flex: 1;
    outline: none;
    padding: 0 20px;
    color: #555;
    font-size: 15px;
    height: 100%;
}

.search-bar button {
    border: none;
    background: var(--primary);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.search-bar button i {
    font-size: 16px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

.header-link {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
    text-align: left;
}

.header-link i.fa-chevron-down {
    font-size: 12px;
    color: #555;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs a {
    color: #555;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    font-size: 10px;
    color: #ccc;
}

.breadcrumbs .current {
    color: #888;
}

.home-icon {
    font-size: 16px;
    color: #777;
}

/* Hero */
.hero {
    /* Sharp diagonal split: Teal (#0097b2) 55%, Transparent 55% */
    /* Hand-tuned gradient to match the screenshot's angle */
    background: linear-gradient(105deg, var(--primary) 55%, transparent 55.1%),
        url('https://images.unsplash.com/photo-1577106263724-2c8e03bfe9cf?auto=format&fit=crop&q=80') no-repeat center center / cover;
    color: white;
    padding: 130px 0 150px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    width: 52%;
    /* Adjust width to fit within the teal area */
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    max-width: 95%;
    line-height: 1.6;
}

/* Info Row (Icons) */
.hero-info-row {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 15px;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-info-row span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-info-row i {
    font-size: 1.1rem;
}

.price-tag {
    font-size: 1.8rem;
    /* Prominent price */
    font-weight: 700;
    margin-left: 15px;
}

.price-tag i {
    font-size: 1.2rem;
    transform: rotate(90deg) scale(0.8);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 52px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 16px;
    transition: transform 0.1s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn-dark-hero {
    background: #3c424a;
    /* Specific dark grey from image */
    color: white;
}

.hero-disclaimer {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
    margin-top: 10px;
}

/* Hide old elements if any remain */
.link-download,
.rating {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 52px;
    /* Fixed height from design */
    border-radius: 4px;
    /* Small radius */
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
}

.btn-dark-hero {
    background-color: #003B4D;
    /* Dark Teal */
    color: white;
}

.btn-dark-hero:hover {
    background-color: #002a36;
    color: white;
}

.btn-white {
    background-color: white;
    color: #0097b2;
    /* Primary Teal */
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-dark {
    background: #333;
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    height: 52px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-footer {
    background: #ff9900;
    color: white;
    width: 100%;
    height: 60px;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sub Nav */
.sub-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.sub-nav ul {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 0;
    /* Ensure no default margin issues */
}

.sub-nav a {
    display: block;
    padding: 16px 0;
    font-weight: 600;
    /* Slightly lighter weight for cleaner look */
    color: #444;
    font-size: 16px;
    position: relative;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0.2px;
}

.sub-nav a.active {
    color: var(--primary);
}

.sub-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

/* Sections Common */
.section-title {
    font-size: 2.4rem;
    color: #222;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
}

.section-title.center-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Main Layout */
/* Main Layout */
.main-layout {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    /* Increased to 40px as previously requested */
    padding-bottom: 80px;
    position: relative;
    align-items: stretch;
    /* FIX: Changed from flex-start to stretch */
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* Force first title to have no top margin for alignment */
.main-content .section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
    /* Tighten line height */
}

.sidebar-wrapper {
    width: 450px;
    /* Increased to 450px as requested */
    flex-shrink: 0;
    margin-top: 0;
    /* Align perfectly with top */
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
    /* Offset for header + subnav */
    transition: top 0.3s;
}

/* Sub Nav tweaks */
.sub-nav a {
    display: block;
    padding: 30px 0;
    /* MAX AIR */
    font-weight: 500;
    color: #444;
    font-size: 1.25rem;
    /* Even larger */
    position: relative;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0.2px;
}

.status-badge {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge i {
    font-size: 8px;
}

.sidebar-body {
    padding: 25px;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.course-features {
    list-style: none;
    margin: 0 0 25px;
    padding: 0;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #444;
}

.course-features li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.btn-block {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    justify-content: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #ccc;
    font-size: 24px;
    margin-top: 20px;
}

.sidebar-contact {
    margin-top: 20px;
    text-align: center;
    background: #fafafa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.contact-phone {
    display: block;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 18px;
    margin-top: 5px;
}

/* Section divider within main content */
.content-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 50px 0;
}

/* Presentation - Adjusted for new layout */
.content-wrapper {
    /* Legacy wrapper style - kept for safety but overwritten by grid */
    display: block;
}

.text-content {
    flex: 2;
    font-size: 17px;
    color: #444;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 25px;
}

.aside-content {
    flex: 1;
    min-width: 320px;
}

.video-placeholder {
    margin-top: 35px;
    height: 340px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    border: 1px solid #ddd;
}

.play-button {
    font-size: 2rem;
    color: white;
    background: var(--primary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 151, 178, 0.3);
}

.info-card {
    border: 1px solid #e9e9e9;
    padding: 35px;
    border-radius: 6px;
    border-top: 5px solid var(--primary);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.check-list li {
    padding: 8px 0 8px 35px;
    position: relative;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
}

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

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 12px;
}

/* Salidas */
.jobs-wrapper {
    display: flex;
    gap: 70px;
    align-items: center;
}

.jobs-list {
    flex: 1;
}

.jobs-list li {
    margin-bottom: 18px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #444;
}

.jobs-list i {
    color: var(--primary);
    font-size: 1.5rem;
}

.jobs-image {
    flex: 1;
}

.jobs-image img {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Accordion */
.accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

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

.accordion-header {
    width: 100%;
    padding: 30px 40px;
    /* Roomier */
    background: white;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #fcfcfc;
}

.module-number {
    background: var(--primary);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.content-inner {
    padding: 30px 40px 40px 103px;
    color: #555;
    font-size: 16px;
    border-top: 1px dashed #eee;
    line-height: 1.8;
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 50px 0;
    margin: 50px 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 18%;
}

.step-item h4 {
    font-size: 16px;
    margin-top: 20px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 800;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-line {
    position: absolute;
    top: 90px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e0e0e0;
    z-index: 1;
}

.color-1 {
    border-color: #ff9900;
    color: #333;
}

.color-2 {
    border-color: #0097b2;
    color: #333;
}

.color-3 {
    border-color: #8cc63f;
    color: #333;
}

.color-4 {
    border-color: #92278f;
    color: #333;
}

.color-5 {
    border-color: #ed1c24;
    color: #333;
}

/* Grid Cards */
.methods-grid,
.instructors-grid,
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.method-card {
    background: white;
    padding: 40px 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

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

.method-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.method-card h4 {
    font-size: 1.25rem;
}

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

.img-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.diploma-border {
    border: 30px solid #f4f4f4;
    padding: 60px 80px;
    background: white;
}

.student-name {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    margin: 30px 0;
    color: #444;
}

/* Opinions */
.opinions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.opinion-card {
    background: white;
    padding: 40px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.op-stars {
    color: #fdbc00;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.opinion-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
    min-height: 80px;
    line-height: 1.6;
}

.author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
    text-transform: uppercase;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #005666 100%);
    /* Deep gradient */
    color: white;
    padding: 100px 0;
}

.footer-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 70px;
}

.cta-text {
    flex: 1;
    padding-top: 20px;
}

.cta-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.cta-text p {
    font-size: 1.4rem;
    opacity: 0.9;
    font-weight: 300;
}

.cta-form {
    flex: 1;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Deep shadow */
    max-width: 500px;
}

.cta-form form input {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background: #fdfdfd;
}

.cta-form input:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
}

/* Footer Links */
.footer-links {
    background: white;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.footer-col h5 {
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.footer-col li {
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
}

.footer-logo-img {
    height: 50px;
    margin-left: auto;
    margin-bottom: 25px;
}

.brand-col {
    text-align: right;
}

.socials i {
    font-size: 1.6rem;
    color: #ccc;
    margin-left: 25px;
    transition: color 0.2s;
}

.socials i:hover {
    color: var(--primary);
}

.copyright {
    background: #f9f9f9;
    padding: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {

    .header-left .btn-explore,
    .search-bar,
    .header-right {
        display: none;
    }

    .mobile-toggle {
        display: block;
        margin-left: auto;
        color: var(--text-dark);
    }

    .hero-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .content-wrapper,
    .jobs-wrapper,
    .footer-cta-content {
        flex-direction: column;
    }

    .steps-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .step-item {
        width: 45%;
    }

    .methods-grid,
    .instructors-grid,
    .footer-links-grid,
    .opinions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .top-bar-inner {
        justify-content: center;
        font-size: 12px;
    }

    .cta-form {
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .methods-grid,
    .instructors-grid,
    .footer-links-grid,
    .opinions-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }

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

    .cta-text h2 {
        font-size: 2rem;
    }
}

/* Utility Classes to support injected content */
.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

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

.mb-3 {
    margin-bottom: 1rem;
}

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

.mt-5 {
    margin-top: 3rem;
}

.text-muted {
    color: #6c757d;
}

.text-dark {
    color: #343a40;
}

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

.border {
    border: 1px solid #dee2e6;
}

.p-2 {
    padding: 0.5rem;
}

/* Grid System Lite */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

/* Sidebar Form Styles */
.sidebar-form-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.sidebar-form-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: #666;
}

.form-check input {
    margin-top: 3px;
}

/* Sidebar Form Specifics */
.sidebar-form-card {
    background: white;
    padding: 30px 25px;
    /* Matched padding */
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    /* Softer, larger shadow */
    border: 1px solid #f1f1f1;
}

.sidebar-form-card h4 {
    font-weight: 700;
    color: #222;
}

/* Form Controls */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
    /* Darker label */
}

.form-control {
    width: 100%;
    height: 48px;
    /* Taller inputs */
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 151, 178, 0.1);
}

/* Checkboxes */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    /* Smaller text */
    margin-bottom: 12px;
    color: #666;
    line-height: 1.4;
}

.form-check input {
    margin-top: 2px;
    cursor: pointer;
}

/* Custom Submit Button (Light Grey) */
.btn-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background-color: #f2f2f2;
    /* Light grey background */
    color: #111;
    /* Dark details */
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-form-submit:hover {
    background-color: #e6e6e6;
    /* Slightly darker on hover */
}

.btn-form-submit:active {
    transform: scale(0.99);
}

/* Sidebar Form Specifics - Matched to Screenshot */
.sidebar-form-card {
    background: white;
    padding: 0;
    /* Content handles padding */
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    /* More prominent shadow */
    border: none;
    overflow: hidden;
    /* For header radius */
}

/* Header matched to screenshot */
.sidebar-header-brand {
    background-color: #2B95A2;
    /* Teal color matching screenshot/design system */
    padding: 24px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-header-brand img {
    max-height: 48px;
    /* In case we don't have a white logo, filtering might be needed or assuming the image provided is correct. 
       If image881022 is dark, we need a white version. 
       For now, we place it. */
    filter: brightness(0) invert(1);
    /* Force white if it's black */
}

.sidebar-body {
    padding: 30px 25px;
}

.sidebar-body h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.form-control {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    transition: all 0.2s;
    background-color: #fff;
    box-sizing: border-box;
}

/* Dark Button from Screenshot */
.btn-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    background-color: #003B4D;
    /* Dark Blue/Teal */
    color: white;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 20px;
}

.btn-form-submit:hover {
    background-color: #002a36;
}

/* Checkboxes */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /* Screenshot shows specific gap */
    font-size: 13px;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.4;
}

.form-check label a {
    color: #2B95A2;
    text-decoration: underline;
}

/* Flag Input Mock (Simple left padding for visual) */
.input-with-flag {
    position: relative;
}

.input-with-flag .flag-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    /* Add flag background or content */
    background: url('https://flagcdn.com/w40/es.png') no-repeat center/cover;
}

.input-with-flag .form-control {
    padding-left: 45px;
    /* Space for flag */
}

/* New Methodology Section */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.meth-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    background: white;
    transition: transform 0.2s;
}

.meth-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Platform Features (Colored Blocks) */
.platform-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plat-feat {
    padding: 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bg-light-blue {
    background-color: #E0F7FA;
    color: #006064;
}

.bg-light-teal {
    background-color: #E6FFFA;
    color: #004D40;
}

.bg-light-cyan {
    background-color: #E1F5FE;
    color: #01579B;
}

.plat-feat i {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/* Vertical Steps 1-5 Custom Design */
.methodology-steps {
    display: flex;
    flex-direction: column;
    gap: 35px;
    /* Increased gap */
    padding-top: 20px;
}

.step-row {
    display: flex;
    gap: 30px;
    /* Increased spacing between number and text */
    align-items: flex-start;
}

.step-num {
    width: 60px;
    /* Inner white circle size */
    height: 60px;
    border-radius: 50%;
    background: white;
    color: #003B4D;
    /* Dark Brand Blue for number */
    font-size: 2.5rem;
    font-weight: 800;
    /* Extra bold */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    /* The shadow is on the pseudo element mostly, but we add a small one here for the white circle pop */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
    z-index: 2;
    margin: 10px;
    /* Space for the outer ring */
}

/* Thick Gradient Ring & Shadow */
.step-num::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -12px;
    right: -12px;
    /* Thick 12px ring */
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* Prominent shadow behind the color */
}

/* Specific Gradients matching the reference image */
.num-1::before {
    background: linear-gradient(180deg, #FAD961 0%, #F76B1C 100%);
    /* Gold to Orange */
}

.num-2::before {
    background: linear-gradient(180deg, #FF9F43 0%, #FF6B6B 100%);
    /* Orange to Coral */
}

.num-3::before {
    background: linear-gradient(180deg, #48DBFB 0%, #0ABDE3 100%);
    /* Cyan to Teal */
}

.num-4::before {
    background: linear-gradient(180deg, #FF6B6B 0%, #EE5253 100%);
    /* Red to Stronger Red */
}

.num-5::before {
    background: linear-gradient(180deg, #5f27cd 0%, #4834d4 100%);
    /* Purple/Blue */
}

/* Text styles */
.step-text strong {
    display: block;
    font-size: 1.3rem;
    /* Larger title */
    color: #003B4D;
    margin-bottom: 8px;
    line-height: 1.2;
}

.step-text p {
    margin: 0;
    font-size: 1.1rem;
    /* Larger readable text */
    color: #576574;
    line-height: 1.5;
}

/* Related Courses Section */
.related-courses-section {
    padding: 60px 0;
    background-color: white;
}

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

.nav-arrows .btn-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    margin-left: 10px;
}

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

.course-card-related {
    border: 1px solid #eee;
    border-radius: 8px;
    /* Slightly smoother */
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.course-card-related:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.course-img-rel {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.course-body-rel {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-body-rel h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.course-body-rel p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.course-meta-rel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.price-tag {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.course-actions-rel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-outline-rel {
    border: 1px solid #333;
    background: white;
    color: #333;
    font-weight: 600;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.btn-outline-rel:hover {
    background: #f9f9f9;
}

.btn-fill-rel {
    background: #2B95A2;
    /* Muted darker teal */
    color: white;
    font-weight: 600;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    border: none;
    font-size: 0.9rem;
}

.btn-fill-rel:hover {
    background: #227d89;
}

/* Similar Courses Button */
.text-center-btn {
    text-align: center;
    margin-top: 50px;
}

.btn-dark-pill {
    background: #003B4D;
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #003B4D;
    /* Dark Brand Color */
    padding: 80px 0;
    color: white;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

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

.newsletter-text {
    max-width: 600px;
}

.newsletter-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form-group {
    background: white;
    border-radius: 100px;
    padding: 6px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    max-width: 500px;
}

.newsletter-form-group i {
    color: #999;
    margin-right: 10px;
}

.newsletter-input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.btn-subscribe {
    background: #2B95A2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
}

.btn-subscribe:hover {
    background: #227d89;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 15px;
}

.newsletter-disclaimer a {
    color: white;
    text-decoration: underline;
}

.newsletter-graphic {
    font-size: 15rem;
    opacity: 0.1;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
}


/* --- Footer & Newsletter Clone --- */

/* Newsletter adjustments to match exact style */
.newsletter-section {
    background-color: #003B4D;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-graphic-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.15;
    /* This would be the SVG/Image from design, approximating with icon or placeholder if needed */
    font-size: 200px;
    color: #4DB6AC;
}

/* Footer Reset */
.footer {
    background-color: #F8F9FA;
    /* Light grey bg */
    padding-top: 60px;
    padding-bottom: 20px;
    font-size: 14px;
    color: #4a4a4a;
}

.footer a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #0097b2;
}

/* Columns Layout */
.footer-top-logo {
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 40px;
}

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

.footer-col h5 {
    color: #003B4D;
    /* Dark Teal Headers */
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}

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

/* Bottom Info Grid */
.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.footer-info-col h5 {
    color: #333;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.info-item i {
    color: #003B4D;
    margin-top: 4px;
}

.fundae-logo {
    height: 40px;
    margin-bottom: 10px;
}

/* Copyright Bar */
.footer-copyright {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.copyright-links {
    display: flex;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0097b2;
    transition: all 0.2s;
}

.social-icon:hover {
    background: #0097b2;
    color: white;
    border-color: #0097b2;
}

.oca-logo {
    height: 30px;
    margin-left: 20px;
}

/* --- Visual Refinements (Typography, Footer Headers, Icons) --- */

/* 1. Newsletter Typography Boost */
.newsletter-section h2 {
    font-size: 2.8rem !important;
    /* Larger title */
    font-weight: 500;
    /* Medium weight */
}

.newsletter-section p {
    font-size: 1.2rem !important;
    /* Larger text */
    line-height: 1.6;
}

/* 2. Newsletter Envelope Background - Custom Styled using Border/Rotate */
.newsletter-graphic-right {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    width: 400px;
    height: 300px;
    opacity: 1;
    /* Fully visible but colored */
    pointer-events: none;
    z-index: 1;
}

/* Creating the envelope shape using pure CSS (approximate based on design) */
.envelope-shape {
    width: 100%;
    height: 100%;
    border: 8px solid #0D5C6F;
    /* Darker teal/green outline */
    border-radius: 20px;
    position: relative;
    box-sizing: border-box;
}

/* Flap */
.envelope-shape::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 20px;
    width: 200px;
    height: 200px;
    border-bottom: 8px solid #0D5C6F;
    border-right: 8px solid #0D5C6F;
    transform: rotate(45deg);
    border-radius: 10px;
}

/* Star/Sparkle */
.envelope-star {
    position: absolute;
    bottom: -40px;
    right: -20px;
    color: #4DB6AC;
    /* Bright teal */
    font-size: 100px;
    opacity: 0.8;
}

/* 3. Footer Headers Uppercase */
.footer-col h5,
.footer-info-col h5 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #003B4D !important;
}

/* 4. Footer Logo Adjustment */
/* 4. Footer Logo Adjustment */
.footer-top-logo {
    text-align: left !important;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 50px;
    /* Increased from ~35px to 50px */
    width: auto;
    display: block;
}

/* Footer Link Typography Boost */
.footer-col ul li a {
    font-size: 1.05rem;
    /* Increased size */
    color: #555;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 12px;
    /* More breathing room */
}

.newsletter-input::placeholder {
    color: #003B4D;
    opacity: 0.6;
}

/* Career Tags - Custom Styling to match ref */
.career-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.career-tag {
    background-color: #d1f4f9;
    /* Light cyan/teal */
    color: #264e58;
    /* Dark teal slate */
    padding: 8px 16px;
    border-radius: 4px;
    /* Softly rounded but not pill */
    font-size: 1rem;
    font-weight: 500;
}

.career-link-view-all {
    color: #0097b2;
    /* Primary Brand Teal */
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    margin-left: 5px;
}

.career-link-view-all:hover {
    text-decoration: underline;
}

/* Clean Accordion Styles to match Reference */
.accordion-clean {
    border-top: 1px solid #e0e0e0;
}

.accordion-item-clean {
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.accordion-header-clean {
    width: 100%;
    padding: 20px 0;
    /* Minimal vertical padding, no side padding */
    background: white;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 500;
    color: #003B4D;
    /* Dark Slate Blue */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.accordion-header-clean:hover {
    color: #0097b2;
    /* Hover to Teal */
}

.accordion-header-clean i {
    color: #0097b2;
    /* Teal Chevron */
    font-size: 1rem;
    margin-left: 15px;
}

/* Ensure content hidden/shown works with existing JS or CSS logic */
/* Assuming existing JS targets .accordion-header, we might need to update JS or add .accordion-header class back to keeping functionality */
/* For now, let's assume the JS is simple or generic. If it breaks, I will fix. */
/* Wait, the existing JS likely targets '.accordion-header'. I changed the class name. */
/* I should check script.js or add the old class back as a hook. */
/* Certification Features Layout */
.certification-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.cert-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .certification-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* FAQ Icon Rotation */
.accordion-header-clean.active .faq-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.accordion-header-clean .faq-icon {
    transition: transform 0.3s ease;
}

/* Footer Design Refinements */

/* Footer Typography & Colors */
.footer-col h5,
.footer-info-col h5 {
    color: #003B4D !important;
    /* Dark Brand Teal */
    font-size: 1.35rem;
    /* Increased from 1.15rem */
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: none;
    /* Keep Title Case as in design */
}

.footer-col ul,
.footer-info-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a,
.footer-info-col ul li a {
    color: #2c3e50;
    /* Slate Blue-Gray */
    font-size: 1.1rem;
    /* Increased from 0.95rem */
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: #0097b2;
    /* Hover Teal */
    text-decoration: none;
}

/* Footer Layout Adjustment */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

/* Bottom Info Area */
.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 20px;
}

/* Raw Accordion Styles */
.raw-syllabus-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.raw-accordion-header {
    cursor: pointer;
    position: relative;
    padding: 15px 20px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
}

.raw-accordion-header:hover {
    border-color: var(--primary);
    background-color: #f8fbfd;
}

.raw-accordion-header.active {
    border-color: var(--primary);
    background-color: #f0fbfc;
    color: var(--primary-dark);
}

.raw-accordion-header .icon {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* content set via JS or implicit */
    transition: transform 0.3s ease;
    font-size: 0.9em;
    color: var(--primary);
}

.raw-accordion-header .icon::before {
    content: "\f078";
}

.raw-accordion-header.active .icon {
    transform: rotate(180deg);
}

/* Use different styles for nesting levels */
/* Level 1: Module */
.raw-syllabus-content>p>ul>li.raw-accordion-header,
.raw-syllabus-content>ul>li.raw-accordion-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    background-color: #fff;
    border-left: 4px solid var(--primary);
    margin-top: 20px;
    list-style: none;
    /* Hide default bullet */
}

/* Level 2: Unit */
.raw-syllabus-content ul ul .raw-accordion-header {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 15px;
    border-left: 2px solid #ccc;
    background-color: #fafafa;
    list-style: none;
    /* Hide default bullet */
}

/* Ensure no bullets on headers even if specific selectors miss */
li.raw-accordion-header {
    list-style: none;
}

.raw-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 0;
    /* Align with parent margin by default */
}

/* Apply indentation ONLY to the unit content lists (Level 3) */
/* Selector logic: Root > List(Modules) > Content(List of Units) > List(Unit Content) */
/* Because of the sibling structure (LI + UL), we look for a UL (Content) that is nested inside another UL (Content) */
.raw-accordion-content .raw-accordion-content {
    padding-left: 45px;
    /* The requested indentation relative to Unit Header */
}

/* Specific fix for the raw structure where UL is a sibling */
.raw-accordion-content>li {
    padding: 10px 15px 10px 35px;
    /* INCREASED LEFT PADDING per user request */
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
}

.raw-accordion-content>li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
    position: absolute;
    left: 15px;
    /* Position absolute to keep alignment clean */
    top: 10px;
}

.raw-accordion-content>li:last-child {
    border-bottom: none;
}

/* Hide the empty p tag if it interferes */
.raw-syllabus-content>p {
    margin: 0;
}