/* ============================================================
   courses.css — Courses Page Specific Styles
   ============================================================ */

/* ---- BREADCRUMB ---- */
.breadcrumb-nav {
    background: var(--white);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-body);
}

.breadcrumb a {
    color: var(--teal);
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb-separator {
    color: var(--text-body);
    opacity: 0.65;
}

.breadcrumb span:last-child {
    color: var(--navy);
    font-weight: 500;
}


/* ---- PAGE HERO ---- */
.courses-page-hero {
    background: var(--white);
    padding: 2.5rem 0 2rem;
    text-align: center;
}

.courses-page-heading {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.courses-page-sub {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}


/* ---- COURSE CARDS SECTION ---- */
.course-cards-section {
    background: var(--light-bg);
    padding: 2.5rem 0 2rem;
}

.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.cc-card {
    background: var(--white);
    border-radius: 16px;
    border: 1.5px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.cc-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.cc-card.cc-coming-soon {
    opacity: 0.78;
}

.cc-badge-row {
    margin-bottom: 0.9rem;
}

/* Badge variants — waitlist & coming-soon */
.badge-waitlist {
    display: inline-flex;
    align-items: center;
    background: rgba(249, 115, 22, 0.09);
    color: #e07016;
    border: 1px solid rgba(249, 115, 22, 0.32);
    border-radius: 50px;
    padding: 0.22rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 50px;
    padding: 0.22rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cc-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.cc-desc {
    font-size: 0.83rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cc-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.cc-bullets li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.81rem;
    color: var(--text-dark);
    font-weight: 500;
}

.cc-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--teal);
}

.cc-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.cc-price {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.cc-price-old {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.3rem;
}

.cc-price.cc-price-soon {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.cc-caption {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cc-caption-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.72rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    border: 2px solid transparent;
}

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

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

.cc-btn-outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

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

.cc-btn-muted {
    background: var(--light-bg);
    color: var(--text-muted);
    border-color: var(--border);
    cursor: default;
}

.cc-btn-muted:hover {
    background: var(--light-bg);
    color: var(--text-muted);
    border-color: var(--border);
    transform: none;
}

/* ---- Button color by card status — outline base, solid when active ---- */

/* Base: outline using badge color */
.cc-card-open .cc-btn {
    background: transparent;
    border-color: var(--teal);
    color: var(--teal);
}

.cc-card-waitlist .cc-btn {
    background: transparent;
    border-color: #f5a623;
    color: #c96f00;
}

.cc-card-coming-soon .cc-btn {
    background: transparent;
    border-color: #7b8494;
    color: #5f6878;
}

/* Active (selected): solid using badge color */
.cc-card-open.active .cc-btn {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
}

.cc-card-waitlist.active .cc-btn {
    background: #f5a623;
    border-color: #f5a623;
    color: #0d1b3e;
}

.cc-card-coming-soon.active .cc-btn {
    background: #7b8494;
    border-color: #7b8494;
    color: #ffffff;
}

/* Hover: inactive outline buttons fill on hover */
.cc-card-open:not(.active) .cc-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
    transform: translateY(-1px);
}

.cc-card-waitlist:not(.active) .cc-btn:hover {
    background: #f5a623;
    border-color: #f5a623;
    color: #0d1b3e;
    transform: translateY(-1px);
}

.cc-card-coming-soon:not(.active) .cc-btn:hover {
    background: #7b8494;
    border-color: #7b8494;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Active buttons: no lift flicker on hover */
.cc-card-open.active .cc-btn:hover,
.cc-card-waitlist.active .cc-btn:hover,
.cc-card-coming-soon.active .cc-btn:hover {
    transform: none;
}

/* Active card state — set by JS when Learn More is clicked */
.cc-card.active {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 181, 163, 0.18), 0 8px 28px rgba(0, 0, 0, 0.09);
}


/* ============================================================
   COURSE DETAIL SECTION
   ============================================================ */
.courses-detail-section {
    background: var(--light-bg);
    padding: 0 0 2.5rem;
}

.courses-detail-section .section-label {
    text-align: left;
}

.course-detail-inner {
    background: var(--navy);
    border-radius: 24px;
    padding: 2rem 2.5rem;
}

/* Top row: header text (left) + laptop visual (right) */
.cd-top-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.75rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.25rem;
}

.cd-header-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-header-laptop {
    width: 100%;
    max-width: 300px;
    max-height: 190px;
    object-fit: contain;
    display: block;
}

/* Detail header (now inside .cd-top-row) */
.cd-header {
    /* no divider needed — handled by .cd-top-row */
}

.cd-header .badge-open {
    margin-bottom: 0.55rem;
}

.cd-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.45rem;
    line-height: 1.2;
}

.cd-subtitle {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 0.85rem;
}

.cd-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cd-meta-badge {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.28rem 0.9rem;
    font-size: 0.77rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

/* Detail body: tabs area + sidebar */
.cd-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: stretch;
}


/* ============================================================
   CSS-ONLY TABS
   ============================================================ */
.ctab-input { display: none; }

.ctab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.ctab-label {
    padding: 0.65rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    user-select: none;
}

.ctab-label:hover { color: rgba(255, 255, 255, 0.78); }

.ctab-panel { display: none; }

/* Active tab label */
#ctab-1:checked ~ .ctab-nav label[for="ctab-1"],
#ctab-2:checked ~ .ctab-nav label[for="ctab-2"],
#ctab-3:checked ~ .ctab-nav label[for="ctab-3"],
#ctab-4:checked ~ .ctab-nav label[for="ctab-4"] {
    color: var(--white);
    border-bottom-color: var(--teal);
}

/* Active panel */
#ctab-1:checked ~ .ctab-panels #cpanel-1,
#ctab-2:checked ~ .ctab-panels #cpanel-2,
#ctab-3:checked ~ .ctab-panels #cpanel-3,
#ctab-4:checked ~ .ctab-panels #cpanel-4 {
    display: block;
}

/* Curriculum panel — compact 3-column grid */
.cd-session {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    column-gap: 1rem;
    align-items: start;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cd-session:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cd-session-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 181, 163, 0.14);
    border: 1px solid rgba(0, 181, 163, 0.35);
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 1px;
}

.cd-session-content {
    min-width: 0;
}

.cd-session-title {
    font-family: var(--font-head);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.42rem;
    line-height: 1.3;
}

.cd-session-week {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.42);
    white-space: nowrap;
    padding-top: 0.2rem;
}

.cd-session-items {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
}

.cd-session-items li {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 0.9rem;
    position: relative;
    line-height: 1.5;
}

.cd-session-items li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(0, 181, 163, 0.65);
}

/* Projects panel */
.cd-projects-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cd-project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cd-project-num {
    width: 28px;
    height: 28px;
    background: rgba(0, 181, 163, 0.14);
    border: 1px solid rgba(0, 181, 163, 0.3);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.cd-project-info strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.cd-project-info span {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}

/* Structured projects layout (foundations / power query — curriculum + capstone) */
.cd-proj-intro {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.cd-proj-main {
    display: flex;
    gap: 1rem;
    background: rgba(0, 181, 163, 0.07);
    border: 1px solid rgba(0, 181, 163, 0.22);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.1rem;
    align-items: flex-start;
}

.cd-proj-main-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 181, 163, 0.14);
    border: 1px solid rgba(0, 181, 163, 0.32);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-proj-main-body { flex: 1; min-width: 0; }

.cd-proj-main-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.cd-proj-main-title {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.cd-proj-main-badge {
    background: rgba(0, 181, 163, 0.14);
    border: 1px solid rgba(0, 181, 163, 0.32);
    color: var(--teal);
    border-radius: 50px;
    padding: 0.17rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.cd-proj-main-desc {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.56);
    line-height: 1.55;
    margin: 0;
}

.cd-proj-capstone-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.4;
}

.cd-proj-capstone-plus {
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.38);
    flex-shrink: 0;
    line-height: 1;
}

.cd-teal-text { color: var(--teal); }

.cd-proj-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0.55rem;
    align-items: start;
    margin-bottom: 1rem;
}

.cd-proj-or-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.32);
    align-self: center;
    flex-shrink: 0;
}

.cd-proj-option {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cd-proj-option-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 181, 163, 0.12);
    border: 1px solid rgba(0, 181, 163, 0.26);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
    flex-shrink: 0;
}

.cd-proj-option strong {
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.cd-proj-option span {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.cd-proj-cert-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.55;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0;
}

.cd-proj-cert-note svg { flex-shrink: 0; margin-top: 1px; }

/* Skills panel */
.cd-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.cd-skill-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.62rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.cd-skill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* Skills card layout (foundations course) */
.cd-skills-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

.cd-skills-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.cd-skill-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cd-skill-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 181, 163, 0.12);
    border: 1px solid rgba(0, 181, 163, 0.26);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
    flex-shrink: 0;
}

.cd-skill-card-title {
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.cd-skill-card-desc {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.cd-skills-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 1rem;
    background: rgba(0, 181, 163, 0.06);
    border: 1px solid rgba(0, 181, 163, 0.17);
    border-radius: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.cd-skills-note-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 181, 163, 0.12);
    border: 1px solid rgba(0, 181, 163, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Who Should Join panel */
.cd-who-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cd-who-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.cd-who-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 181, 163, 0.12);
    border: 1px solid rgba(0, 181, 163, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-who-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.cd-who-text span {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.5;
}


/* ---- RIGHT SIDEBAR ---- */
.cd-sidebar {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cd-sidebar-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.cd-includes-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.cd-includes-list {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    margin-bottom: 0.75rem;
}

.cd-includes-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
}

.cd-includes-item svg { flex-shrink: 0; }

.cd-next-batch {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.cd-next-batch-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--teal);
    text-transform: uppercase;
    margin: 0 0 0.6rem;
}

.cd-next-batch-rows {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cd-next-batch-rows li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
}

.cd-next-batch-rows li svg { flex-shrink: 0; }

.cd-next-batch-rows strong {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.cd-sidebar-price {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.cd-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.cd-price-new {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.cd-price-old {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.32);
    text-decoration: line-through;
}

.cd-price-note {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 1rem;
}

.cd-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(90deg, #00b5a3, #00c9c8);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    margin-bottom: 0.65rem;
}

.cd-register-btn:hover {
    opacity: 0.87;
    transform: translateY(-1px);
}

.cd-seats-note {
    text-align: center;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}


/* ============================================================
   ADD-ON SERVICES
   ============================================================ */
.addons-section {
    background: var(--white);
    padding: 2.5rem 0;
}

.addons-heading {
    font-family: var(--font-head);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1.75rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}

.addon-card {
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.addon-card:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.addon-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 181, 163, 0.1);
    border: 1px solid rgba(0, 181, 163, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.addon-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}

.addon-desc {
    font-size: 0.855rem;
    color: var(--text-body);
    line-height: 1.65;
    flex: 1;
}

.addon-price {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
}

.addon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: 0.25rem;
}

.addon-btn:hover {
    background: var(--teal);
    color: var(--white);
}


/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .course-detail-inner {
        padding: 2.25rem 2rem;
    }

    .cd-top-row {
        grid-template-columns: 1fr 240px;
        gap: 1.25rem;
    }

    .cd-body {
        grid-template-columns: 1fr 270px;
        gap: 1.5rem;
    }

    .cd-skills-grid {
        grid-template-columns: 1fr;
    }

    .cd-skills-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .cd-top-row {
        grid-template-columns: 1fr;
    }

    .cd-header-visual {
        display: none;
    }

    .cd-body {
        grid-template-columns: 1fr;
    }

    .cd-sidebar {
        position: static;
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }

    .cd-skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cd-skills-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    .courses-page-hero {
        padding: 2rem 0 1.5rem;
    }

    .course-cards-section {
        padding: 2rem 0 1.5rem;
    }

    .course-detail-inner {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    .ctab-label {
        padding: 0.55rem 0.85rem;
        font-size: 0.82rem;
    }

    .cd-session {
        grid-template-columns: 32px 1fr auto;
        column-gap: 0.75rem;
    }

    .cd-session-num {
        width: 32px;
        height: 32px;
        font-size: 0.73rem;
    }

    .cd-skills-grid {
        grid-template-columns: 1fr;
    }

    .cd-skills-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .addons-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .addons-section {
        padding: 2rem 0;
    }
}


/* ============================================================
   RESPONSIVE — CAPSTONE GRID STACK (≤680px)
   ============================================================ */
@media (max-width: 680px) {
    .cd-proj-options {
        grid-template-columns: 1fr;
    }
    .cd-proj-or-badge {
        margin: 0.2rem auto;
    }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .course-cards-grid {
        grid-template-columns: 1fr;
    }

    .course-detail-inner {
        padding: 1.5rem 1rem;
        border-radius: 14px;
    }

    .cd-meta-badges {
        gap: 0.4rem;
    }

    .cd-meta-badge {
        font-size: 0.72rem;
        padding: 0.22rem 0.7rem;
    }

    .ctab-label {
        padding: 0.5rem 0.7rem;
        font-size: 0.78rem;
    }
}


/* ============================================================
   5-CARD SKILLS GRID — 3 top + 2 bottom, fills full row width
   Uses a 6-col base: first 3 cards span 2 cols, last 2 span 3 cols
   ============================================================ */
.cd-skills-cards--five {
    grid-template-columns: repeat(6, 1fr);
}
.cd-skills-cards--five .cd-skill-card:nth-child(-n+3) {
    grid-column: span 2;
}
.cd-skills-cards--five .cd-skill-card:nth-child(n+4) {
    grid-column: span 3;
}

@media (max-width: 1024px) {
    /* sidebar present → narrower, reset spans so 2-col flow works */
    .cd-skills-cards--five .cd-skill-card {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    /* sidebar stacks below → full content width, restore 3+2 layout */
    .cd-skills-cards--five {
        grid-template-columns: repeat(6, 1fr);
    }
    .cd-skills-cards--five .cd-skill-card:nth-child(-n+3) {
        grid-column: span 2;
    }
    .cd-skills-cards--five .cd-skill-card:nth-child(n+4) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    /* mobile → reset spans, 2-col from .cd-skills-cards handles columns */
    .cd-skills-cards--five .cd-skill-card {
        grid-column: span 1;
    }
}


/* ============================================================
   MODAL — 1:1 Mentorship Call
   ============================================================ */
.mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.mm-overlay.mm-open {
    opacity: 1;
    pointer-events: auto;
}

.mm-modal {
    display: flex;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.22s ease;
}

.mm-overlay.mm-open .mm-modal {
    transform: translateY(0) scale(1);
}

/* ---- Left panel ---- */
.mm-left {
    width: 42%;
    flex-shrink: 0;
    background: #0B2C4D;
    padding: 2.25rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    position: relative;
}

.mm-left-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 181, 163, 0.15);
    border: 1px solid rgba(0, 181, 163, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mm-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}

.mm-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

.mm-price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mm-price {
    font-family: var(--font-head);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.mm-slots-pill {
    background: rgba(0, 181, 163, 0.15);
    border: 1px solid rgba(0, 181, 163, 0.3);
    color: var(--teal);
    border-radius: 50px;
    padding: 0.22rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.mm-img-wrap {
    flex: 1;
    display: flex;
    align-items: flex-end;
    min-height: 0;
    overflow: hidden;
}

.mm-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.mm-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    background: var(--teal);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mm-cta:hover {
    background: var(--teal-hover);
}

/* ---- Right panel ---- */
.mm-right {
    flex: 1;
    background: var(--white);
    padding: 2.25rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    position: relative;
}

.mm-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: border-color 0.18s, color 0.18s;
    flex-shrink: 0;
}

.mm-close:hover {
    border-color: #fff;
    color: #fff;
}

.mm-right-heading {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    padding-right: 2.5rem;
}

.mm-benefits {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mm-benefit {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.mm-benefit:first-child {
    padding-top: 0;
}

.mm-benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mm-benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(0, 181, 163, 0.09);
    border: 1px solid rgba(0, 181, 163, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.mm-benefit-body {
    flex: 1;
    min-width: 0;
}

.mm-benefit-body strong {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    display: block;
    margin-bottom: 0.25rem;
}

.mm-benefit-body p {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

.mm-note {
    background: rgba(0, 181, 163, 0.06);
    border: 1px solid rgba(0, 181, 163, 0.18);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    flex-shrink: 0;
}

.mm-note strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.mm-note p {
    font-size: 0.8rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 680px) {
    .mm-modal {
        flex-direction: column;
        border-radius: 16px;
        max-height: 90vh;
    }

    .mm-left {
        width: 100%;
        gap: 0.85rem;
    }

    .mm-img-wrap {
        max-height: 160px;
    }

    .mm-right {
        padding: 1.75rem 1.5rem 1.5rem;
    }
}


/* ============================================================
   MODAL: Portfolio Creation & Hosting
   ============================================================ */

.pm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 27, 62, 0.72);
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.pm-overlay.pm-open {
    opacity: 1;
    pointer-events: all;
}

.pm-modal {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(13, 27, 62, 0.22);
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.22s ease;
}

.pm-overlay.pm-open .pm-modal {
    transform: translateY(0) scale(1);
}

/* ---- Header ---- */
.pm-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    padding-right: 2.5rem;
}

.pm-header-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #0B2C4D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-header-text {
    flex: 1;
}

.pm-heading {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.2rem;
    line-height: 1.25;
}

.pm-subheading {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

.pm-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.pm-close:hover {
    background: var(--light-bg);
    color: var(--navy);
}

/* ---- Divider ---- */
.pm-divider {
    border: none;
    border-top: 1.5px solid var(--border);
    margin: 0;
}

/* ---- Plan heading ---- */
.pm-plan-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.4rem;
}

.pm-plan-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    white-space: nowrap;
}

.pm-plan-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* ---- Cards grid ---- */
.pm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.pm-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    overflow: visible;
}

.pm-card--selected {
    border: 2px solid var(--teal);
    background: rgba(0, 181, 163, 0.04);
    box-shadow: 0 4px 18px rgba(0, 181, 163, 0.12);
}

/* ---- Recommended badge ---- */
.pm-recommended-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ---- Card icon ---- */
.pm-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 181, 163, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
}

.pm-card-icon--premium {
    background: rgba(11, 44, 77, 0.08);
    color: var(--navy);
}

/* ---- Card text ---- */
.pm-card-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.pm-card-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.pm-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.pm-price-original {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pm-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pm-price-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--white);
    background: var(--teal);
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.07em;
    white-space: nowrap;
    text-transform: uppercase;
    align-self: center;
}

.pm-card-price {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--teal);
    margin: 0;
    line-height: 1.1;
}

.pm-card-desc {
    font-size: 0.76rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

/* ---- Features intro label (Pro / Premium continuation) ---- */
.pm-features-intro {
    font-size: 0.71rem;
    font-weight: 700;
    color: var(--teal);
    margin: 0.1rem 0 0.05rem;
    letter-spacing: 0.01em;
}

/* ---- Features list ---- */
.pm-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.pm-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.73rem;
    color: var(--text-body);
    line-height: 1.35;
}

.pm-card-features li::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10' fill='%2300b5a3'/%3E%3Cpath d='M8 12l3 3 5-5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- Delivery time ---- */
.pm-delivery {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 181, 163, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.7rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--teal);
    margin-top: auto;
}

.pm-delivery svg {
    flex-shrink: 0;
    color: var(--teal);
}

.pm-delivery--premium {
    background: rgba(11, 44, 77, 0.07);
    color: var(--navy);
}

.pm-delivery--premium svg {
    color: var(--navy);
}

/* ---- Feature strip ---- */
.pm-feature-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
}

.pm-feature-item {
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.3;
}

.pm-feature-item svg {
    color: var(--navy);
    flex-shrink: 0;
}

/* ---- Single CTA ---- */
.pm-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s ease;
    letter-spacing: 0.01em;
}

.pm-cta-btn:hover {
    background: #0d3560;
}

/* ---- Bottom note ---- */
.pm-bottom-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.pm-bottom-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--teal);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .pm-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pm-feature-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .pm-modal {
        padding: 1.25rem 1.25rem 1rem;
    }

    .pm-feature-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pm-heading {
        font-size: 1rem;
    }

    .pm-card-price {
        font-size: 1.35rem;
    }

    .pm-cta-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}

/* ---- COURSES TOAST ---- */
.ctoast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 3rem));
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #ffffff;
    border-left: 4px solid #00b5a3;
    border-radius: 10px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 1rem 1.25rem;
    max-width: min(500px, calc(100vw - 2.5rem));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.ctoast--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ctoast-icon {
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 0;
}

.ctoast-msg {
    font-size: 0.875rem;
    color: #0d1b3e;
    line-height: 1.55;
    font-family: Inter, sans-serif;
}
