/**
 * Training Heights 2027 Nigeria Training Calendar
 * Production Stylesheet
 * Brand Colors: Purple (#AA538C), Green (#AED254), Navy (#102A43), Dark (#17202A)
 */

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
    --th-purple: #AA538C;
    --th-purple-dark: #8C3E71;
    --th-purple-light: #F6EDF3;
    --th-purple-glow: rgba(170, 83, 140, 0.15);

    --th-green: #AED254;
    --th-green-dark: #8FB737;
    --th-green-light: #F5F9E9;
    --th-green-glow: rgba(174, 210, 84, 0.2);

    --th-navy: #102A43;
    --th-navy-light: #1A3E5F;
    --th-dark: #17202A;
    --th-slate: #627D98;
    --th-slate-light: #829AB1;
    --th-slate-ultra-light: #F0F4F8;
    --th-light: #F7F8FA;
    --th-white: #FFFFFF;
    --th-border: #E5E7EB;
    --th-border-focus: #AA538C;

    --th-success: #2E7D32;
    --th-warning: #ED8936;
    --th-danger: #D32F2F;

    --th-radius-sm: 8px;
    --th-radius-md: 12px;
    --th-radius-lg: 18px;
    --th-radius-xl: 24px;
    --th-radius-full: 9999px;

    --th-shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.05);
    --th-shadow: 0 12px 35px rgba(16, 42, 67, 0.08);
    --th-shadow-lg: 0 20px 45px rgba(16, 42, 67, 0.12);
    --th-shadow-hover: 0 18px 40px rgba(170, 83, 140, 0.14);

    --th-font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --th-transition-fast: 0.18s ease-in-out;
    --th-transition-base: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    --th-max-width: 1280px;
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--th-font-main);
    background-color: var(--th-light);
    color: var(--th-dark);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--th-purple);
    text-decoration: none;
    transition: color var(--th-transition-fast);
}

a:hover {
    color: var(--th-purple-dark);
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

:focus-visible {
    outline: 3px solid var(--th-purple);
    outline-offset: 2px;
}

.th-container {
    width: 100%;
    max-width: var(--th-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.th-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   3. Global Site Header
   ========================================================================== */
.th-header {
    background-color: var(--th-white);
    border-bottom: 1px solid var(--th-border);
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--th-shadow-sm);
    transition: all var(--th-transition-base);
}

.th-header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.th-header__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.th-header__logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.th-header__partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--th-slate-ultra-light);
    border: 1px solid var(--th-border);
    padding: 5px 12px;
    border-radius: var(--th-radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--th-navy);
    letter-spacing: 0.02em;
}

.th-header__partner-badge .badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--th-green-dark);
    border-radius: 50%;
}

.th-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.th-header__nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--th-navy);
    padding: 8px 4px;
    position: relative;
}

.th-header__nav-link:hover {
    color: var(--th-purple);
}

.th-header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--th-purple);
    transition: width var(--th-transition-fast);
}

.th-header__nav-link:hover::after {
    width: 100%;
}

.th-header__nav-link--mobile-cta {
    display: none;
}

.th-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.th-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 1001;
}

.th-header__toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--th-navy);
    border-radius: 2px;
    transition: transform var(--th-transition-fast), opacity var(--th-transition-fast);
}

.th-header__toggle.th-header__toggle--open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.th-header__toggle.th-header__toggle--open span:nth-child(2) {
    opacity: 0;
}

.th-header__toggle.th-header__toggle--open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   4. Reusable Buttons & Badges
   ========================================================================== */
.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--th-radius-full);
    transition: all var(--th-transition-base);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.th-btn--primary {
    background-color: var(--th-purple);
    color: var(--th-white);
    box-shadow: 0 4px 14px var(--th-purple-glow);
}

.th-btn--primary:hover {
    background-color: var(--th-purple-dark);
    color: var(--th-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(170, 83, 140, 0.28);
}

.th-btn--secondary {
    background-color: var(--th-green);
    color: var(--th-dark);
    box-shadow: 0 4px 14px var(--th-green-glow);
}

.th-btn--secondary:hover {
    background-color: var(--th-green-dark);
    color: var(--th-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 210, 84, 0.35);
}

.th-btn--outline {
    background-color: transparent;
    color: var(--th-purple);
    border: 2px solid var(--th-purple);
}

.th-btn--outline:hover {
    background-color: var(--th-purple-light);
    color: var(--th-purple-dark);
    border-color: var(--th-purple-dark);
}

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

.th-btn--outline-white:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--th-white);
    border-color: var(--th-white);
}

.th-btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.th-btn--lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.th-btn--block {
    width: 100%;
}

.th-btn:disabled, .th-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.th-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--th-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.th-badge--purple {
    background-color: var(--th-purple-light);
    color: var(--th-purple-dark);
}

.th-badge--green {
    background-color: var(--th-green-light);
    color: #4D6816;
}

.th-badge--navy {
    background-color: var(--th-slate-ultra-light);
    color: var(--th-navy);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.th-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.92) 0%, rgba(26, 62, 95, 0.88) 100%), url('../images/hero-corporate-bg.jpg') center/cover no-repeat;
    color: var(--th-white);
    padding: 70px 0 90px;
    overflow: hidden;
}

.th-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(174, 210, 84, 0.18) 0%, rgba(16, 42, 67, 0) 70%);
    pointer-events: none;
}

.th-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 83, 140, 0.22) 0%, rgba(16, 42, 67, 0) 70%);
    pointer-events: none;
}

.th-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.th-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--th-radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--th-green);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.th-hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--th-white);
}

.th-hero__title-accent {
    color: var(--th-green);
    display: block;
}

.th-hero__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #CBD5E1;
    margin-bottom: 20px;
}

.th-hero__desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #E2E8F0;
    margin-bottom: 36px;
    max-width: 600px;
}

.th-hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.th-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 28px;
}

.th-stat {
    display: flex;
    flex-direction: column;
}

.th-stat__num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--th-green);
    line-height: 1;
    margin-bottom: 6px;
}

.th-stat__label {
    font-size: 0.85rem;
    color: #CBD5E1;
    font-weight: 500;
}

.th-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.th-hero__card-preview {
    background: var(--th-white);
    padding: 12px;
    border-radius: var(--th-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    max-width: 440px;
    width: 100%;
    cursor: pointer;
    transition: transform var(--th-transition-base), box-shadow var(--th-transition-base);
}

.th-hero__card-preview:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.th-hero__flyer-img {
    border-radius: var(--th-radius-md);
    width: 100%;
    height: auto;
    aspect-ratio: 3/4.4;
    object-fit: cover;
    object-position: top center;
}

.th-hero__preview-overlay {
    position: absolute;
    inset: 12px;
    border-radius: var(--th-radius-md);
    background: linear-gradient(to top, rgba(16, 42, 67, 0.85) 0%, rgba(16, 42, 67, 0) 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: var(--th-white);
}

.th-hero__preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--th-white);
    color: var(--th-navy);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--th-radius-full);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.th-hero__partner-ribbon {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--th-radius-md);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--th-white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   6. Trust & Accreditations Marquee Bar
   ========================================================================== */
.th-trust {
    background-color: var(--th-white);
    border-bottom: 1px solid var(--th-border);
    padding: 34px 0 38px;
    overflow: hidden;
}

.th-trust__heading {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--th-slate);
    margin-bottom: 22px;
}

.th-trust__marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 8px 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.th-trust__marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: th-marquee 30s linear infinite;
}

.th-trust__marquee-track:hover {
    animation-play-state: paused;
}

@keyframes th-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.th-trust__logo-item {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: var(--th-slate-ultra-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-md);
    flex-shrink: 0;
    transition: all var(--th-transition-fast);
}

.th-trust__logo-item:hover {
    transform: translateY(-2px);
    border-color: var(--th-purple);
    box-shadow: 0 4px 12px var(--th-purple-glow);
    background: var(--th-white);
}

.th-trust__logo-item--featured {
    border: 2px solid var(--th-green-dark);
    background: var(--th-white);
    box-shadow: 0 4px 14px var(--th-green-glow);
}

.th-trust__logo-img {
    max-height: 38px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   7. Value Proposition (5 Benefit Cards)
   ========================================================================== */
.th-benefits {
    padding: 70px 0;
    background-color: var(--th-light);
}

.th-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.th-section-header__tag {
    display: inline-block;
    color: var(--th-purple);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.th-section-header__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--th-navy);
    line-height: 1.2;
    margin-bottom: 14px;
}

.th-section-header__desc {
    font-size: 1.05rem;
    color: var(--th-slate);
}

.th-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.th-benefit-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--th-shadow-sm);
    transition: transform var(--th-transition-base), box-shadow var(--th-transition-base), border-color var(--th-transition-base);
    position: relative;
    overflow: hidden;
}

.th-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--th-purple);
    opacity: 0;
    transition: opacity var(--th-transition-fast);
}

.th-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--th-shadow);
    border-color: rgba(170, 83, 140, 0.3);
}

.th-benefit-card:hover::before {
    opacity: 1;
}

/* All benefit icons strictly transparent with Training Heights brand colors (#AA538C & #AED254) */
.th-benefit-card__icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    box-shadow: none;
}

.th-benefit-card__icon svg {
    width: 44px;
    height: 44px;
    display: block;
    transition: transform var(--th-transition-base);
}

.th-benefit-card:hover .th-benefit-card__icon svg {
    transform: scale(1.08) translateY(-2px);
}

.th-benefit-card__title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.th-benefit-card__desc {
    font-size: 0.9rem;
    color: var(--th-slate);
    line-height: 1.5;
}

/* ==========================================================================
   8. Interactive Calendar Section
   ========================================================================== */
.th-calendar-section {
    padding: 70px 0 90px;
    background-color: var(--th-white);
    position: relative;
}

/* Month Navigation Tabs */
.th-month-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 4px 18px;
    margin-bottom: 32px;
    scrollbar-width: thin;
    scrollbar-color: var(--th-border) transparent;
}

.th-month-nav::-webkit-scrollbar {
    height: 6px;
}

.th-month-nav::-webkit-scrollbar-thumb {
    background: var(--th-border);
    border-radius: 3px;
}

.th-month-btn {
    flex: 0 0 auto;
    padding: 10px 18px;
    border-radius: var(--th-radius-full);
    background-color: var(--th-slate-ultra-light);
    border: 1px solid var(--th-border);
    color: var(--th-navy);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--th-transition-fast);
}

.th-month-btn:hover {
    background-color: var(--th-purple-light);
    border-color: var(--th-purple);
    color: var(--th-purple-dark);
}

.th-month-btn--active {
    background-color: var(--th-purple) !important;
    border-color: var(--th-purple) !important;
    color: var(--th-white) !important;
    box-shadow: 0 4px 12px var(--th-purple-glow);
}

.th-month-btn__badge {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    padding: 2px 7px;
    border-radius: var(--th-radius-full);
    font-size: 0.72rem;
}

.th-month-btn--active .th-month-btn__badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--th-white);
}

/* Month SVG Calendar Icon styling */
.th-month-icon-svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    transition: all var(--th-transition-fast);
}

.th-month-btn--active .th-month-icon-svg rect,
.th-month-btn--active .th-month-icon-svg path[stroke="#AA538C"] {
    stroke: var(--th-white);
}

.th-month-btn--active .th-month-icon-svg text {
    fill: var(--th-white);
}

/* Filter Controls Toolbar */
.th-toolbar {
    background-color: var(--th-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 18px 24px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.th-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.th-select-wrapper {
    position: relative;
}

.th-select {
    appearance: none;
    background-color: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-full);
    padding: 10px 36px 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--th-navy);
    cursor: pointer;
    transition: border-color var(--th-transition-fast);
}

.th-select:focus {
    border-color: var(--th-purple);
    outline: none;
}

.th-select-wrapper::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--th-slate);
    font-size: 0.85rem;
}

.th-search-box {
    position: relative;
    min-width: 220px;
}

.th-search-input {
    width: 100%;
    background-color: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-full);
    padding: 10px 16px 10px 38px;
    font-size: 0.9rem;
    color: var(--th-navy);
    transition: border-color var(--th-transition-fast);
}

.th-search-input:focus {
    border-color: var(--th-purple);
    outline: none;
}

.th-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.th-search-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.th-req-search-wrapper {
    max-width: 440px;
    margin: 0 auto 28px;
    width: 100%;
}

.th-toolbar__meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.th-counter-pill {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--th-navy);
    background-color: var(--th-white);
    border: 1px solid var(--th-border);
    padding: 6px 14px;
    border-radius: var(--th-radius-full);
}

.th-reset-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--th-purple);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.th-reset-btn:hover {
    color: var(--th-purple-dark);
}

/* Month Grid Container */
.th-month-block {
    margin-bottom: 20px;
    border-radius: var(--th-radius-lg);
    overflow: hidden;
    border: 1px solid var(--th-border);
    box-shadow: var(--th-shadow-sm);
    transition: box-shadow var(--th-transition-base);
}

.th-month-block:hover {
    box-shadow: var(--th-shadow);
}

/* Month Block Accordion Header */

.th-month-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-bottom: 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--th-navy) 0%, #1A3E5F 100%);
    border-radius: var(--th-radius-lg);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--th-transition-base), box-shadow var(--th-transition-base);
    box-shadow: var(--th-shadow-sm);
    position: relative;
    overflow: hidden;
}

.th-month-block__header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--th-green);
    border-radius: 4px 0 0 4px;
}

.th-month-block__header:hover {
    background: linear-gradient(135deg, #1A3E5F 0%, #234D6E 100%);
    box-shadow: var(--th-shadow);
}

.th-month-block[data-expanded="true"] .th-month-block__header {
    border-radius: var(--th-radius-lg) var(--th-radius-lg) 0 0;
    box-shadow: none;
}

.th-month-block__header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.th-month-block__header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}


.th-month-block__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--th-white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.th-month-block__icon {
    display: flex;
    align-items: center;
}

.th-month-block__icon .th-month-icon-svg {
    width: 22px;
    height: 22px;
}

.th-month-block__icon .th-month-icon-svg rect,
.th-month-block__icon .th-month-icon-svg path[stroke="#AA538C"] {
    stroke: var(--th-white);
}

.th-month-block__icon .th-month-icon-svg text {
    fill: var(--th-white);
}

.th-month-block__count {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
    padding: 4px 12px;
    border-radius: var(--th-radius-full);
    border: 1px solid rgba(255,255,255,0.2);
}

.th-month-block__chevron {
    font-size: 1.2rem;
    color: var(--th-green);
    transition: transform var(--th-transition-base);
    display: inline-block;
}

.th-month-block[data-expanded="false"] .th-month-block__chevron {
    transform: rotate(-90deg);
}

/* Accordion Panel */
.th-month-cards-panel {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 20px 16px;
    background-color: var(--th-white);
    border-top: 1px solid var(--th-border);
    box-sizing: border-box;
    width: 100%;
}

.th-month-cards-panel.th-collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
}

/* 4-Card Desktop Grid */
.th-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Course Session Card */
.th-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-top: 4px solid var(--th-green);
    border-left: 3px solid var(--th-green);
    border-radius: var(--th-radius-lg);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--th-shadow-sm);
    transition: transform var(--th-transition-base), box-shadow var(--th-transition-base), border-color var(--th-transition-base);
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.th-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--th-shadow);
    border-color: var(--th-purple-glow);
}

.th-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 12px;
}

.th-card__week {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--th-purple);
    background: var(--th-purple-light);
    padding: 4px 8px;
    border-radius: var(--th-radius-sm);
    white-space: nowrap;
}

.th-card__cert-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #4D6816;
    background: var(--th-green-light);
    padding: 3px 8px;
    border-radius: var(--th-radius-sm);
    white-space: nowrap;
}

.th-card__category {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--th-slate);
    margin-bottom: 6px;
    display: block;
}

.th-card__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--th-navy);
    line-height: 1.35;
    margin-bottom: 14px;
    min-height: 2.7em;
    word-break: normal;
    overflow-wrap: break-word;
}

.th-card__schedule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--th-slate);
    margin-bottom: 16px;
    background: var(--th-slate-ultra-light);
    padding: 6px 8px;
    border-radius: var(--th-radius-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.th-card__schedule-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.th-card__schedule-icon svg {
    display: block;
    width: 15px;
    height: 15px;
}

.th-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
    width: 100%;
}

.th-card__actions .th-btn {
    padding: 8px 6px;
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.th-card--closed {
    opacity: 0.85;
    background-color: #FAFAFA;
}

.th-card--closed .th-btn--primary {
    background-color: var(--th-slate-light);
    cursor: not-allowed;
    box-shadow: none;
}

/* No Results State */
.th-no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--th-slate-ultra-light);
    border-radius: var(--th-radius-lg);
    margin: 20px 0;
}

.th-no-results__icon {
    font-size: 2.5rem;
    color: var(--th-slate);
    margin-bottom: 12px;
}

.th-no-results__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 8px;
}

.th-no-results__text {
    color: var(--th-slate);
    margin-bottom: 16px;
}

/* ==========================================================================
   9. Course Detail Modal
   ========================================================================== */
.th-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 42, 67, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--th-transition-base), visibility var(--th-transition-base);
}

.th-modal-backdrop--open {
    opacity: 1;
    visibility: visible;
}

.th-modal {
    background: var(--th-white);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    border-radius: var(--th-radius-xl);
    box-shadow: var(--th-shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: transform var(--th-transition-base);
    overflow: hidden;
}

.th-modal-backdrop--open .th-modal {
    transform: translateY(0) scale(1);
}

.th-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--th-border);
    background: var(--th-slate-ultra-light);
}

.th-modal__header-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--th-navy);
    line-height: 1.25;
}

.th-modal__close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--th-white);
    border: 1px solid var(--th-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--th-slate);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--th-transition-fast);
}

.th-modal__close-btn:hover {
    background: var(--th-purple-light);
    color: var(--th-purple);
    border-color: var(--th-purple);
}

.th-modal__body {
    padding: 28px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--th-dark);
}

.th-modal__meta-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--th-light);
    border: 1px solid var(--th-border);
    padding: 14px 18px;
    border-radius: var(--th-radius-md);
    margin-bottom: 24px;
}

.th-modal__meta-item {
    display: flex;
    flex-direction: column;
}

.th-modal__meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--th-slate);
}

.th-modal__meta-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--th-navy);
}

.th-modal__section {
    margin-bottom: 24px;
}

.th-modal__section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.th-modal__list {
    list-style: none;
    padding-left: 0;
}

.th-modal__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: #334E68;
}

.th-modal__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--th-green-dark);
    font-weight: 800;
}

.th-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 18px 28px;
    border-top: 1px solid var(--th-border);
    background: var(--th-white);
}

/* ==========================================================================
   10. Registration Modal & Form
   ========================================================================== */
.th-reg-modal {
    max-width: 620px;
}

.th-reg-banner {
    background: linear-gradient(135deg, var(--th-navy) 0%, #1A3E5F 100%);
    color: var(--th-white);
    padding: 18px 24px;
    border-radius: var(--th-radius-md);
    margin-bottom: 24px;
    border-left: 5px solid var(--th-green);
}

.th-reg-banner__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--th-green);
    margin-bottom: 4px;
}

.th-reg-banner__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.th-reg-banner__details {
    font-size: 0.85rem;
    color: #CBD5E1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.th-form-group {
    margin-bottom: 18px;
}

.th-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.th-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 6px;
}

.th-label--required::after {
    content: ' *';
    color: var(--th-danger);
}

.th-input, .th-form-select, .th-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-md);
    font-size: 0.95rem;
    color: var(--th-dark);
    background: var(--th-white);
    transition: border-color var(--th-transition-fast), box-shadow var(--th-transition-fast);
}

.th-input:focus, .th-form-select:focus, .th-textarea:focus {
    border-color: var(--th-purple);
    box-shadow: 0 0 0 3px var(--th-purple-glow);
    outline: none;
}

.th-input--error, .th-form-select--error {
    border-color: var(--th-danger) !important;
    background-color: #FFF5F5;
}

.th-field-error {
    font-size: 0.8rem;
    color: var(--th-danger);
    margin-top: 4px;
    display: none;
}

.th-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
}

.th-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--th-purple);
    flex-shrink: 0;
}

.th-checkbox-label {
    font-size: 0.82rem;
    color: var(--th-slate);
    line-height: 1.4;
}

/* Success Confirmation State */
.th-success-state {
    text-align: center;
    padding: 30px 10px;
}

.th-success-icon {
    width: 72px;
    height: 72px;
    background: var(--th-green-light);
    color: var(--th-green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
}

.th-ref-badge {
    display: inline-block;
    background: var(--th-slate-ultra-light);
    border: 2px dashed var(--th-purple);
    padding: 10px 24px;
    border-radius: var(--th-radius-md);
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--th-purple-dark);
    margin: 16px 0;
    letter-spacing: 0.05em;
}

.th-copy-ref-btn {
    font-size: 0.82rem;
    color: var(--th-purple);
    margin-left: 8px;
    cursor: pointer;
    text-decoration: underline;
}

/* Error Notice Banner */
.th-alert-danger {
    background-color: #FFF5F5;
    border: 1px solid #FED7D7;
    color: #9B2C2C;
    padding: 14px 18px;
    border-radius: var(--th-radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Spinner */
.th-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--th-white);
    animation: th-spin 0.8s linear infinite;
}

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

/* ==========================================================================
   11. On-Request Courses Section (Luxury Dark Gradient)
   ========================================================================== */
.th-on-request {
    padding: 85px 0 95px;
    background: linear-gradient(135deg, #0B192C 0%, #102A43 45%, #17202A 100%);
    color: var(--th-white);
    position: relative;
    overflow: hidden;
}

.th-on-request::before {
    content: '';
    position: absolute;
    top: -120px;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(170, 83, 140, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.th-on-request .th-section-header__tag {
    color: var(--th-green);
    background: rgba(174, 210, 84, 0.12);
    padding: 5px 16px;
    border-radius: var(--th-radius-full);
    border: 1px solid rgba(174, 210, 84, 0.25);
}

.th-on-request .th-section-header__title {
    color: var(--th-white);
}

.th-on-request .th-section-header__desc {
    color: #CBD5E1;
}

.th-on-request .th-search-box .th-search-input {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--th-white);
}

.th-on-request .th-search-box .th-search-input::placeholder {
    color: #94A3B8;
}

.th-on-request .th-search-box .th-search-input:focus {
    border-color: var(--th-green);
    background-color: rgba(255, 255, 255, 0.12);
}

.th-search-box--no-icon .th-search-input {
    padding-left: 18px !important;
}

.th-on-request .th-search-icon {
    color: var(--th-green);
}

.th-on-request__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    position: relative;
    z-index: 2;
}

.th-req-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 4px solid var(--th-green);
    border-radius: var(--th-radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform var(--th-transition-base), box-shadow var(--th-transition-base), border-color var(--th-transition-base), background var(--th-transition-base);
}

.th-req-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--th-purple);
    box-shadow: 0 20px 45px rgba(170, 83, 140, 0.25);
}

.th-req-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.th-req-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.th-req-card__icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.th-req-card__tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--th-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    display: block;
}

.th-req-card__title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--th-white);
    line-height: 1.35;
    margin-bottom: 12px;
}

.th-req-card__desc {
    font-size: 0.9rem;
    color: #E2E8F0;
    line-height: 1.6;
    margin-bottom: 18px;
}

.th-req-card__target {
    font-size: 0.82rem;
    color: #94A3B8;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: var(--th-radius-sm);
    margin-bottom: 20px;
}

.th-req-card__target strong {
    color: var(--th-green);
}

.th-req-card .th-btn {
    border-color: var(--th-green);
    color: var(--th-green);
}

.th-req-card .th-btn:hover {
    background-color: var(--th-green);
    color: var(--th-dark);
}

/* ==========================================================================
   12. Training Delivery Options ("Choose How You Learn")
   ========================================================================== */
.th-delivery {
    padding: 70px 0;
    background-color: var(--th-white);
}

.th-delivery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto;
    justify-content: center;
}

.th-delivery-card {
    background: var(--th-slate-ultra-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: transform var(--th-transition-base), background-color var(--th-transition-base);
}

.th-delivery-card:hover {
    transform: translateY(-4px);
    background-color: var(--th-white);
    box-shadow: var(--th-shadow);
}

.th-delivery-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-delivery-card__icon svg {
    width: 42px;
    height: 42px;
    display: block;
    transition: transform var(--th-transition-base);
}

.th-delivery-card:hover .th-delivery-card__icon svg {
    transform: scale(1.08) translateY(-2px);
}

.th-delivery-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 10px;
}

.th-delivery-card__desc {
    font-size: 0.9rem;
    color: var(--th-slate);
    line-height: 1.5;
}

/* ==========================================================================
   13. Corporate Training Section
   ========================================================================== */
.th-corporate {
    background: linear-gradient(135deg, var(--th-navy) 0%, #17202A 100%);
    color: var(--th-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.th-corporate__box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--th-radius-xl);
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.th-corporate__title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--th-white);
}

.th-corporate__desc {
    font-size: 1.05rem;
    color: #CBD5E1;
    line-height: 1.65;
    margin-bottom: 28px;
}

.th-corporate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.th-corporate__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.th-corporate__feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    padding: 14px 18px;
    border-radius: var(--th-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.th-corporate__feature-icon {
    color: var(--th-green);
    font-size: 1.2rem;
}

/* ==========================================================================
   14. How Registration Works (4-Step Timeline)
   ========================================================================== */
.th-how-it-works {
    padding: 80px 0;
    background-color: var(--th-light);
}

.th-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.th-step-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 30px 22px;
    position: relative;
    box-shadow: var(--th-shadow-sm);
}

.th-step-card__num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--th-purple);
    line-height: 1;
    margin-bottom: 12px;
    opacity: 0.85;
}

.th-step-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 8px;
}

.th-step-card__desc {
    font-size: 0.9rem;
    color: var(--th-slate);
    line-height: 1.5;
}

/* ==========================================================================
   15. FAQ Accordion
   ========================================================================== */
.th-faq {
    padding: 80px 0;
    background-color: var(--th-white);
}

.th-faq__accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.th-faq__item {
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-md);
    overflow: hidden;
    background: var(--th-white);
    transition: border-color var(--th-transition-fast);
}

.th-faq__item--active {
    border-color: var(--th-purple);
    box-shadow: var(--th-shadow-sm);
}

.th-faq__trigger {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--th-navy);
    background: none;
    border: none;
    cursor: pointer;
}

.th-faq__trigger:hover {
    color: var(--th-purple);
}

.th-faq__icon {
    font-size: 1.3rem;
    color: var(--th-purple);
    transition: transform var(--th-transition-fast);
    flex-shrink: 0;
}

.th-faq__item--active .th-faq__icon {
    transform: rotate(45deg);
}

.th-faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--th-transition-base);
    background-color: var(--th-slate-ultra-light);
}

.th-faq__inner {
    padding: 20px 24px 24px;
    font-size: 0.95rem;
    color: #334E68;
    line-height: 1.6;
}

/* ==========================================================================
   16. Final CTA Section
   ========================================================================== */
.th-final-cta {
    background: linear-gradient(135deg, #102A43 0%, var(--th-purple-dark) 100%);
    color: var(--th-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.th-final-cta__motto {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--th-green);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.th-final-cta__title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--th-white);
}

.th-final-cta__desc {
    font-size: 1.15rem;
    color: #E2E8F0;
    max-width: 680px;
    margin: 0 auto 36px;
}

.th-final-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   17. Site Footer
   ========================================================================== */
.th-footer {
    background-color: var(--th-dark);
    color: #94A3B8;
    padding: 60px 0 30px;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.th-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.th-footer__logo-card {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 8px 18px;
    border-radius: var(--th-radius-md);
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.th-footer__logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.th-footer__tagline {
    color: #CBD5E1;
    margin-bottom: 20px;
    line-height: 1.5;
}

.th-footer__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--th-white);
    margin-bottom: 18px;
}

.th-footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.th-footer__link {
    color: #94A3B8;
    transition: color var(--th-transition-fast);
}

.th-footer__link:hover {
    color: var(--th-green);
}

.th-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #CBD5E1;
}

.th-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.th-footer__contact-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.th-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* ==========================================================================
   18. Lightbox / Flyer Modal
   ========================================================================== */
.th-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--th-transition-base), visibility var(--th-transition-base);
}

.th-lightbox--open {
    opacity: 1;
    visibility: visible;
}

.th-lightbox__content {
    position: relative;
    max-width: 900px;
    max-height: 94vh;
}

.th-lightbox__img {
    max-height: 90vh;
    width: auto;
    border-radius: var(--th-radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.th-lightbox__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--th-white);
    color: var(--th-dark);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   19. Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* Large Tablets & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
    .th-benefits__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .th-benefits__grid .th-benefit-card:nth-child(4),
    .th-benefits__grid .th-benefit-card:nth-child(5) {
        grid-column: span 1;
    }
    .th-on-request__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .th-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .th-hero__title {
        font-size: 2.4rem;
    }
    .th-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .th-hero__visual {
        max-width: 480px;
        margin: 0 auto;
    }
    .th-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .th-delivery__grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 960px;
        margin: 0 auto;
        gap: 20px;
    }
    .th-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .th-corporate__box {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }
    .th-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .th-container {
        padding: 0 16px;
    }

    /* Header & Navigation */
    .th-header__wrapper {
        height: 68px;
    }
    .th-header__brand {
        gap: 10px;
    }
    .th-header__logo {
        max-width: 170px;
        height: 38px;
    }
    .th-header__partner-badge {
        padding: 4px 8px;
        font-size: 0.72rem;
    }
    .th-header__nav {
        display: none;
    }
    .th-header__toggle {
        display: flex;
    }
    .th-header__actions .th-btn {
        display: none;
    }
    .th-header__nav.th-header__nav--mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--th-white);
        padding: 24px 20px;
        border-bottom: 2px solid var(--th-border);
        box-shadow: var(--th-shadow-lg);
        gap: 18px;
        z-index: 1000;
        overflow-y: auto;
    }
    .th-header__nav.th-header__nav--mobile-open .th-header__nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--th-border);
        width: 100%;
    }

    /* Hero Section */
    .th-hero {
        padding: 36px 0 48px;
    }
    .th-hero__tag {
        font-size: 0.78rem;
        padding: 5px 12px;
        margin-bottom: 14px;
    }
    .th-hero__title {
        font-size: 2rem;
        line-height: 1.18;
        margin-bottom: 14px;
    }
    .th-hero__subtitle {
        font-size: 1.05rem;
        margin-bottom: 14px;
    }
    .th-hero__desc {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 24px;
    }
    .th-hero__cta-group {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
    }
    .th-hero__cta-group .th-btn {
        width: 100%;
    }
    .th-hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-top: 20px;
    }
    .th-stat__num {
        font-size: 1.6rem;
    }
    .th-stat__label {
        font-size: 0.75rem;
    }
    .th-hero__card-preview {
        max-width: 100%;
        padding: 8px;
    }
    .th-hero__partner-ribbon {
        font-size: 0.78rem;
        padding: 8px 12px;
        flex-wrap: wrap;
    }

    /* Trust Marquee */
    .th-trust {
        padding: 24px 0;
    }
    .th-trust__heading {
        font-size: 0.78rem;
        margin-bottom: 16px;
    }
    .th-trust__marquee-track {
        gap: 20px;
    }
    .th-trust__logo-item {
        height: 44px;
        padding: 6px 12px;
    }
    .th-trust__logo-img {
        max-height: 28px;
        max-width: 95px;
    }

    /* Section Headers */
    .th-section-header {
        margin-bottom: 32px;
    }
    .th-section-header__tag {
        font-size: 0.78rem;
    }
    .th-section-header__title {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }
    .th-section-header__desc {
        font-size: 0.92rem;
    }

    /* Value Props / Benefits */
    .th-benefits {
        padding: 45px 0;
    }
    .th-benefits__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .th-benefit-card {
        padding: 20px 18px;
    }

    /* Interactive Calendar */
    .th-calendar-section {
        padding: 45px 0 60px;
    }
    .th-month-nav {
        gap: 6px;
        padding: 4px 2px 14px;
        margin-bottom: 22px;
        -webkit-overflow-scrolling: touch;
    }
    .th-month-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
        gap: 6px;
    }
    .th-month-icon-svg {
        width: 18px;
        height: 18px;
    }

    /* Toolbar Filters */
    .th-toolbar {
        padding: 16px;
        margin-bottom: 24px;
        gap: 12px;
    }
    .th-toolbar__filters {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .th-select-wrapper {
        width: 100%;
    }
    .th-select {
        width: 100%;
        padding: 12px 36px 12px 16px;
        font-size: 16px;
    }
    .th-search-box {
        width: 100%;
        min-width: 100%;
    }
    .th-search-input {
        width: 100%;
        padding: 12px 16px 12px 38px;
        font-size: 16px;
    }
    .th-search-box--no-icon .th-search-input {
        padding-left: 16px !important;
    }
    .th-toolbar__meta {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }
    .th-counter-pill {
        font-size: 0.82rem;
        padding: 5px 12px;
    }

    /* Month Accordion */
    .th-month-block__header {
        padding: 14px 16px;
        gap: 10px;
    }
    .th-month-block__title {
        font-size: 1.15rem;
    }
    .th-month-block__header-right {
        gap: 10px;
    }
    .th-month-block__count {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    .th-month-cards-panel {
        padding: 14px 12px;
    }
    .th-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .th-card {
        padding: 18px 16px;
    }
    .th-card__title {
        font-size: 1.02rem;
        min-height: auto;
        margin-bottom: 12px;
    }
    .th-card__actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* On-Request Section */
    .th-on-request {
        padding: 45px 0;
    }
    .th-on-request__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
    .th-req-card {
        padding: 22px 18px;
    }
    .th-req-card__title {
        font-size: 1.08rem;
    }

    /* Training Delivery */
    .th-delivery {
        padding: 45px 0;
    }
    .th-delivery__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 560px;
        margin: 0 auto;
    }
    .th-delivery-card {
        padding: 20px 18px;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }
    .th-delivery-card__icon {
        margin: 0;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
    }
    .th-delivery-card__icon svg {
        width: 38px;
        height: 38px;
    }
    .th-delivery-card__title {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }
    .th-delivery-card__desc {
        font-size: 0.88rem;
    }

    /* Corporate Section */
    .th-corporate {
        padding: 45px 0;
    }
    .th-corporate__box {
        padding: 28px 20px;
        gap: 24px;
    }
    .th-corporate__title {
        font-size: 1.7rem;
    }
    .th-corporate__desc {
        font-size: 0.92rem;
        margin-bottom: 20px;
    }
    .th-corporate__actions {
        flex-direction: column;
        gap: 12px;
    }
    .th-corporate__actions .th-btn {
        width: 100%;
    }

    /* How it works & FAQ */
    .th-how-it-works {
        padding: 45px 0;
    }
    .th-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .th-step-card {
        padding: 22px 18px;
    }
    .th-faq {
        padding: 45px 0;
    }
    .th-faq__trigger {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
    .th-faq__inner {
        padding: 16px 18px 20px;
        font-size: 0.9rem;
    }

    /* Final CTA */
    .th-final-cta {
        padding: 50px 0;
    }
    .th-final-cta__title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    .th-final-cta__desc {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .th-final-cta__actions {
        flex-direction: column;
        gap: 12px;
    }
    .th-final-cta__actions .th-btn {
        width: 100%;
    }

    /* Footer */
    .th-footer {
        padding: 45px 0 24px;
    }
    .th-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 36px;
    }
    .th-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Modals */
    .th-modal-backdrop {
        padding: 12px;
        align-items: flex-end;
    }
    .th-modal {
        max-height: 92vh;
        border-radius: var(--th-radius-lg) var(--th-radius-lg) 0 0;
        width: 100%;
    }
    .th-modal__header {
        padding: 16px 18px;
    }
    .th-modal__header-title {
        font-size: 1.15rem;
    }
    .th-modal__body {
        padding: 18px 16px;
        font-size: 0.9rem;
    }
    .th-modal__meta-strip {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 14px;
    }
    .th-modal__footer {
        padding: 14px 16px;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .th-modal__footer .th-btn {
        width: 100%;
    }
    .th-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .th-input, .th-form-select, .th-textarea {
        font-size: 16px;
    }
    .th-reg-banner {
        padding: 14px 16px;
    }
    .th-reg-banner__title {
        font-size: 1.05rem;
    }
    .th-reg-banner__details {
        gap: 8px;
        font-size: 0.8rem;
    }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .th-container {
        padding: 0 14px;
    }
    .th-header__logo {
        max-width: 140px;
        height: 32px;
    }
    .th-header__partner-badge {
        display: none;
    }
    .th-hero__title {
        font-size: 1.65rem;
    }
    .th-section-header__title {
        font-size: 1.5rem;
    }
    .th-hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .th-stat__num {
        font-size: 1.35rem;
    }
    .th-stat__label {
        font-size: 0.68rem;
    }
    .th-month-block__title {
        font-size: 1.05rem;
    }
    .th-month-block__count {
        display: none;
    }
    .th-card__actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .th-card__actions .th-btn {
        width: 100%;
    }
    .th-toolbar__meta {
        flex-direction: column;
        align-items: stretch;
    }
    .th-toolbar__meta .th-btn,
    .th-counter-pill {
        text-align: center;
        width: 100%;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
