/* ============================================================
   The Propannex Council (ELT Professionals Board) — Main Stylesheet
   Design: Indigo/violet palette, professional-body feel,
           mega menus, curved sections, card-based layout
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #4338CA;
    --primary-dark: #3730A3;
    --primary-darker: #1E1B4B;
    --primary-light: #E0E7FF;
    --primary-50: #EEF2FF;
    --secondary: #6D28D9;
    --accent: #0EA5A4;
    --accent-dark: #0F766E;
    --accent-light: #ECFEFF;
    --neutral-dark: #1E1B4B;
    --neutral-light: #F5F3FF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --bg: #FFFFFF;
    --surface: #F5F3FF;
    --surface-alt: #F8FAFC;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --header-height: 76px;
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.nav-active { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.text-accent { color: var(--accent); }
.text-primary-c { color: var(--primary); }
.highlight {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
    background-repeat: no-repeat;
    background-size: 100% 35%;
    background-position: 0 85%;
    padding: 0 4px;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--surface); }
.section-dark {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    color: #fff;
}
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark p { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.section-dark .section-header p { color: rgba(255,255,255,0.8); }

/* --- Scroll Progress --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* --- Section Separator --- */
.section-separator {
    height: 80px;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
    margin-top: -1px;
}
.section-separator-reverse {
    height: 80px;
    background: var(--surface);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
    margin-bottom: -1px;
}
.section-curve-top {
    position: relative;
}
.section-curve-top::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-white {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.site-header.header-hidden {
    transform: translateY(-100%);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--neutral-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.logo-img { width: 40px; height: 40px; }
.logo-text { letter-spacing: -0.5px; }

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}
.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

/* Nav Groups & Mega Menu */
.nav-group { position: relative; }
.nav-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    min-width: 580px;
    pointer-events: none;
}
.nav-group.open .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 1.5rem;
}
.mega-menu-grid-2 {
    grid-template-columns: 1fr 1.2fr;
    min-width: 420px;
}
.mega-menu-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.mega-menu-col a {
    display: block;
    padding: 0.4rem 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.mega-menu-col a:hover {
    color: var(--primary);
}
.mega-promo-card {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.mega-promo-card h4 {
    color: var(--primary-dark);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}
.mega-promo-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.mega-promo-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary) 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22,78,99,0.85) 0%, rgba(8,145,178,0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    color: #fff;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    max-width: 700px;
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}
.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.hero-stat {
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 120px;
}
.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: block;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Differentiation Bar (overlaps hero) --- */
.diff-bar {
    position: relative;
    z-index: 2;
    margin-top: -2.5rem;
    padding: 0 1.5rem;
}
.diff-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.25rem 2.5rem;
}
.diff-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}
.diff-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

/* ============================================================
   ACCREDITATION LOGOS
   ============================================================ */
.logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition);
}
.logo-bar:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.logo-bar img {
    height: 48px;
    width: auto;
}

/* ============================================================
   COURSE CARDS
   ============================================================ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.course-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.course-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary);
}
.course-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.course-hours {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.course-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}
.course-features li {
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.course-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 16px;
    height: 16px;
    background: var(--primary-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230891B2' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}
.course-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.course-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.course-duration {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================================
   FEATURE GRID (Why Choose Us)
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.stat-item {
    padding: 1.5rem;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}
.testimonial-track {
    display: flex;
    transition: transform 0.4s ease;
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    margin: 0 0.5rem;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.testimonial-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}
.slider-prev, .slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}
.slider-prev:hover, .slider-next:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

/* ============================================================
   GRADUATE STORIES
   ============================================================ */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.story-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.story-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}
.story-content {
    padding: 1.5rem;
}
.story-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.story-location {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.story-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================================
   TWO-COLUMN LAYOUTS
   ============================================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.two-col-text h2 {
    margin-bottom: 1rem;
}
.two-col-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.two-col-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.two-col-visual.card-style {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-light));
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   COUNTRY CARDS (Teach Abroad)
   ============================================================ */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.country-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}
.country-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--primary);
}
.country-flag {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.country-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.country-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all var(--transition-fast);
}
.faq-question:hover {
    color: var(--primary);
}
.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-light);
}
.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.cta-banner h2 {
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}
.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-banner .btn { position: relative; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    padding: calc(var(--header-height) + 1.5rem) 0 1rem;
    font-size: 0.85rem;
}
.breadcrumbs a {
    color: var(--text-secondary);
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs span {
    color: var(--text-light);
    margin: 0 0.35rem;
}
.breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================================
   PAGE HERO (internal pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    color: #fff;
    text-align: center;
}
.page-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}
.page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}
.blog-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 1.5rem;
}
.blog-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================================
   TABS
   ============================================================ */
.tab-group { margin-bottom: 2rem; }
.tab-nav {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
    overflow-x: auto;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.tab-btn:hover {
    color: var(--primary);
}
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* ============================================================
   CONTENT BODY (for pages like privacy, about)
   ============================================================ */
.content-body {
    max-width: 800px;
    margin: 0 auto;
}
.content-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}
.content-body h3 {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
}
.content-body p, .content-body li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}
.content-body ul, .content-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.content-body li {
    margin-bottom: 0.35rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--primary-darker);
    color: #fff;
    padding: 3.5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.footer-logo:hover { color: #fff; }
.footer-logo-text { letter-spacing: -0.5px; }
.footer-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}
.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.75);
    padding: 0.3rem 0;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}
.footer-col a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}
.footer-legal a:hover { color: #fff; }
.footer-divider {
    color: rgba(255,255,255,0.2);
    margin: 0 0.5rem;
}
.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.job-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.job-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}
.job-location {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.job-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.job-tag {
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
    .hamburger { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-2xl);
        transition: left var(--transition);
        overflow-y: auto;
        z-index: 999;
    }
    .main-nav.nav-open { left: 0; }
    .nav-link { padding: 0.75rem 0; font-size: 1rem; }
    .nav-cta {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        text-align: center;
    }
    .nav-group { position: static; }
    .nav-mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
        pointer-events: auto;
    }
    .nav-group.open .nav-mega-menu {
        transform: none;
        max-height: 500px;
    }
    .mega-menu-grid, .mega-menu-grid-2 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .mega-menu-promo { display: none; }

    .hero-stats { flex-wrap: wrap; }
    .diff-bar-inner {
        flex-direction: column;
        gap: 1rem;
        border-radius: var(--radius-xl);
        padding: 1.5rem;
    }
    .courses-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .stories-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: 1fr; }
    .country-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
    .features-grid { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .testimonial-card { flex: 0 0 calc(100% - 1rem); }
    .hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; }
    .hero-trust { flex-direction: column; gap: 0.75rem; }
    .cta-banner { padding: 2rem 1.5rem; }
    .page-hero { padding: calc(var(--header-height) + 2rem) 0 2rem; }
    .country-grid { grid-template-columns: 1fr 1fr; }
    .post-content { padding: 2rem 1rem; }
    .pagination { gap: 0.5rem; }
    .pagination-numbers { gap: 0.25rem; }
    .pagination-btn { font-size: 0.85rem; padding: 0.5rem 0.75rem; }
}

/* ============================================================
   BLOG POST PAGE
   ============================================================ */
.post-header {
    padding: calc(var(--header-height) + 3rem) 0 2.5rem;
    background: var(--surface);
}
.post-header h1 {
    max-width: 760px;
}
.post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}
.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.blog-tag {
    display: inline-block;
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}
.blog-card-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.post-featured-img {
    width: 100%;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}
.post-content h2 {
    font-size: 1.65rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}
.post-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--primary-dark);
}
.post-content p { margin-bottom: 1.25rem; line-height: 1.85; }
.post-content ul, .post-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.post-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.post-content img {
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}
.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}
.post-content blockquote p { margin-bottom: 0.5rem; }
.post-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--text-secondary);
}

/* Article rich elements (generated by blog generator) */
.post-content .article-figure {
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-content .article-figure img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
}
.post-content .article-figure figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    background: var(--surface);
    margin-top: 0;
}
.post-content .article-figure-float {
    float: right;
    width: 45%;
    margin: 0.5rem 0 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-content .article-figure-float img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
}
.post-content .article-figure-float figcaption {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    background: var(--surface);
}
.post-content .article-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}
.post-content .article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-content .article-table thead {
    background: var(--primary);
    color: #fff;
}
.post-content .article-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}
.post-content .article-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}
.post-content .article-table tbody tr:nth-child(even) {
    background: var(--surface);
}
.post-content .article-table tbody tr:hover {
    background: var(--primary-light);
}
.post-content .article-tip {
    background: #fef9e7;
    border-left: 4px solid #f1c40f;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content .article-tip strong { color: #7d6608; }
.post-content .article-key {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--secondary);
    background: rgba(6,182,212,0.08);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content .article-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}
.post-content .article-stat-card {
    text-align: center;
    padding: 1.25rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
}
.post-content .article-stat-card .stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}
.post-content .article-stat-card .stat-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Author box */
.author-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--surface);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.pagination-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary-dark);
}
.pagination-btn.disabled {
    color: var(--text-light);
    pointer-events: none;
    opacity: 0.5;
}
.pagination-numbers {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}
.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.pagination-num:hover {
    background: var(--primary-50);
    color: var(--primary);
}
.pagination-num.active {
    background: var(--primary);
    color: #fff;
}
.pagination-dots {
    color: var(--text-light);
    padding: 0 0.25rem;
}

/* Responsive article elements */
@media (max-width: 639px) {
    .post-content .article-figure-float {
        float: none;
        width: 100%;
        margin: 1.25rem 0;
    }
    .post-content .article-stats-row {
        grid-template-columns: 1fr;
    }
    .post-content .article-table {
        font-size: 0.85rem;
    }
    .post-content .article-table th,
    .post-content .article-table td {
        padding: 0.5rem 0.6rem;
    }
}

/* ===== Blog sidebar layout & widgets ===== */
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:2.5rem;align-items:start;max-width:1200px;margin:0 auto;padding:3rem 1.5rem;}
.blog-main{min-width:0;}
.blog-main .post-content{padding-top:0;padding-bottom:0;}
.blog-aside{display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:90px;}
.blog-widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;}
.blog-widget-title{font-family:var(--font-heading,inherit);margin:0 0 1rem;font-size:1.15rem;}
.blog-related ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem;}
.blog-related-item a{display:flex;gap:.75rem;align-items:center;text-decoration:none;color:inherit;}
.blog-related-item img{width:80px;height:56px;flex:0 0 80px;object-fit:cover;border-radius:8px;}
.blog-related-title{display:block;font-weight:600;font-size:.9rem;line-height:1.3;color:var(--text-primary,inherit);}
.blog-related-item a:hover .blog-related-title{color:var(--primary);}
.blog-related-date{display:block;font-size:.78rem;color:var(--text-secondary);margin-top:.2rem;}
.prov-also-list{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.5rem;}
.prov-also-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:var(--radius);text-decoration:none;color:var(--text-primary,inherit);transition:background .15s ease;}
.prov-also-item:hover{background:var(--primary-light);}
.prov-also-logo{width:44px;height:44px;flex:0 0 44px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid var(--border);padding:3px;box-sizing:border-box;}
.prov-also-name{font-weight:600;font-size:.9rem;line-height:1.25;}
.prov-also-all{display:inline-block;font-weight:600;font-size:.9rem;color:var(--primary);text-decoration:none;}
.prov-also-all:hover{text-decoration:underline;}
@media(max-width:900px){.blog-layout{grid-template-columns:1fr;}.blog-aside{position:static;}}

/* ===== Providers catalog ===== */
.providers-toolbar{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:2rem;}
.prov-search{flex:1;min-width:220px;padding:.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius);font-family:var(--font-body);font-size:1rem;background:var(--bg);}
.prov-search:focus{outline:2px solid var(--primary);border-color:var(--primary);}
.prov-sort-label{color:var(--text-secondary);font-weight:600;font-size:.9rem;white-space:nowrap;}
.prov-sort{padding:.75rem 2rem .75rem 1rem;border:1px solid var(--border);border-radius:var(--radius);font-family:var(--font-body);font-size:1rem;background:var(--bg);cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .8rem center;}
.prov-sort:focus{outline:2px solid var(--primary);border-color:var(--primary);}
.prov-count{color:var(--text-secondary);font-weight:600;font-size:.9rem;margin-left:auto;}
@media(max-width:560px){.prov-sort,.prov-sort-label{width:100%;}}
.prov-noresults{text-align:center;color:var(--text-secondary);padding:2rem;}

/* --- Catalog grid + cards --- */
.providers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.75rem;}
.prov-card{display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all var(--transition);}
.prov-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:var(--primary);}
.prov-card-link{display:flex;flex-direction:column;flex:1;text-decoration:none;color:inherit;}
.prov-card-media{position:relative;height:140px;display:flex;align-items:center;justify-content:center;background:var(--surface);border-bottom:1px solid var(--border);padding:1rem;}
.prov-card-logo{max-width:75%;max-height:90px;object-fit:contain;}
.prov-card-body{padding:1.25rem 1.25rem .5rem;flex:1;}
.prov-card-name{font-size:1.1rem;margin:0 0 .5rem;font-family:var(--font-heading);}
.prov-card-rating{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-bottom:.6rem;}
.prov-rating-num{font-weight:700;color:var(--neutral-dark);}
.prov-rating-count{color:var(--text-secondary);font-size:.85rem;}
.prov-card-desc{color:var(--text-secondary);font-size:.9rem;line-height:1.5;margin:0;}
.prov-card-foot{padding:1rem 1.25rem 1.25rem;}
.prov-card-foot .btn{width:100%;text-align:center;}

/* --- Stars --- */
.stars{display:inline-flex;letter-spacing:1px;}
.stars .star{color:var(--border);font-size:1rem;line-height:1;}
.stars .star.full{color:var(--accent);}
.stars .star.half{position:relative;color:var(--border);}
.stars .star.half::before{content:"★";position:absolute;left:0;width:50%;overflow:hidden;color:var(--accent);}

/* --- Letter-mark logo placeholder --- */
.prov-logo--letter{display:inline-flex;align-items:center;justify-content:center;width:88px;height:88px;border-radius:12px;font-family:var(--font-heading);font-weight:700;font-size:2rem;color:#fff;background:hsl(var(--h),60%,48%);}
.prov-detail-logo.prov-logo--letter{width:72px;height:72px;font-size:1.6rem;}

/* --- Detail head + badges --- */
.prov-detail-head{padding:calc(var(--header-height) + 2rem) 0 0;}
.prov-badges{display:flex;flex-wrap:wrap;gap:.85rem;margin:1.25rem 0 1.75rem;width:100%;}
.pbadge{flex:1 1 0;min-width:96px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;min-height:104px;padding:1rem .6rem;border-radius:14px;font-size:.9rem;font-weight:700;line-height:1.2;text-align:center;box-shadow:var(--shadow-md);border:1px solid transparent;}
.pbadge svg{width:40px;height:40px;flex-shrink:0;}
/* Active badges: white text on a solid fill, a distinct colour per badge key. */
.pbadge--on{color:#fff;border-color:transparent;}
.pbadge--on svg{color:#fff;}
.pbadge--new{background:#16A34A;}        /* Just Added — green       */
.pbadge--online{background:#2563EB;}     /* Online Course — blue     */
.pbadge--discount{background:#F59E0B;}   /* Discount Available — amber*/
.pbadge--plus{background:#0EA5E9;}       /* Plus — sky               */
.pbadge--verified{background:#059669;}   /* Verified — emerald       */
.pbadge--top{background:#D97706;}        /* Top Provider — orange    */
.pbadge--recommended{background:#7C3AED;}/* We Recommend — violet    */
.pbadge--year{background:#0D9488;}       /* Over 1 Year — teal       */
.pbadge--fiveyears{background:#DB2777;}  /* Over 5 Years — pink      */
.pbadge--offline{background:#475569;}    /* Offline Course — slate   */
/* Inactive badge: faded, clearly "off". */
.pbadge--off{background:#F1F5F9;color:#94A3B8;border-color:#E2E8F0;box-shadow:none;opacity:.75;}
.pbadge--off svg{color:#CBD5E1;}
.prov-detail-title{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;}
.prov-detail-logo{max-width:120px;max-height:72px;object-fit:contain;}
.prov-detail-title h1{margin:0 0 .5rem;font-size:1.7rem;}

/* --- Sections --- */
.prov-section{padding:3rem 0;}
.prov-section h2{font-family:var(--font-heading);font-size:1.5rem;margin-bottom:1.25rem;}

/* --- Slider --- */
.prov-slider{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-md);background:var(--surface);}
.prov-slides{position:relative;height:380px;}
.prov-slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;display:flex;align-items:center;justify-content:center;background:var(--neutral-dark);}
.prov-slide.active{opacity:1;}
.prov-slide img{width:100%;height:100%;object-fit:cover;}
.prov-slider-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.85);border:none;width:44px;height:44px;border-radius:50%;font-size:1.6rem;cursor:pointer;color:var(--neutral-dark);z-index:2;}
.prov-slider-btn.prev{left:12px;}.prov-slider-btn.next{right:12px;}
.prov-slider-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:.5rem;z-index:2;}
.prov-slider-dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;}
.prov-slider-dots span.on{background:#fff;}

/* --- Article --- */
.prov-article{max-width:820px;}
.prov-article h2{margin-top:0;}
.prov-article h3{font-family:var(--font-heading);font-size:1.25rem;margin:1.75rem 0 .75rem;}
.prov-article p{margin-bottom:1.1rem;line-height:1.75;color:var(--text-primary);}
.prov-article ul,.prov-article ol{margin:0 0 1.1rem 1.25rem;line-height:1.7;}
.prov-article li{margin-bottom:.4rem;}

/* --- Pricing table --- */
.prov-table-wrap{overflow-x:auto;}
.prov-table{width:100%;border-collapse:collapse;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;}
.prov-table th,.prov-table td{padding:.9rem 1.1rem;text-align:left;border-bottom:1px solid var(--border);}
.prov-table thead th{background:var(--primary);color:#fff;font-family:var(--font-heading);}
.prov-table tbody tr:nth-child(even){background:var(--surface);}
.prov-table td.price{font-weight:700;color:var(--primary-dark);white-space:nowrap;}
.prov-note{color:var(--text-secondary);font-size:.85rem;margin-top:.75rem;}

/* --- Features --- */
.prov-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;}
.prov-feature{display:flex;align-items:flex-start;gap:.75rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem;}
.prov-feature-ic{flex-shrink:0;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--primary-light);color:var(--primary-dark);}
.prov-feature-ic svg{width:16px;height:16px;}

/* --- Contacts --- */
.prov-contacts{display:flex;flex-wrap:wrap;gap:1.5rem;}
.prov-contact-item{display:flex;flex-direction:column;gap:.3rem;}
.prov-contact-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);font-weight:600;}
.prov-contact-val{font-weight:600;}
.prov-site-btn{background:var(--primary);color:#fff;border:none;padding:.5rem 1.1rem;border-radius:var(--radius);cursor:pointer;font-family:var(--font-body);font-weight:600;}
.prov-site-btn:hover{background:var(--primary-dark);}
.prov-email{color:var(--primary);}

/* --- CTA --- */
.prov-cta-box{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;padding:2rem;border-radius:var(--radius);}
.prov-cta-box h2{color:#fff;margin:0 0 .4rem;}
.prov-cta-text p{margin:0;opacity:.95;}

/* --- Reviews --- */
.prov-reviews{display:flex;flex-direction:column;gap:1rem;margin-bottom:2.5rem;}
.prov-review{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.25rem;}
.prov-review-head{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.5rem;}
.prov-review-date{color:var(--text-secondary);font-size:.82rem;}
.prov-review-country{margin-left:auto;color:var(--text-secondary);font-size:.75rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:.15rem .6rem;white-space:nowrap;}
.prov-no-reviews{color:var(--text-secondary);}
.prov-review-form-wrap{max-width:640px;background:var(--surface);padding:1.5rem;border-radius:var(--radius);border:1px solid var(--border);}
.prov-review-form-wrap h3{font-family:var(--font-heading);margin-top:0;}

/* --- Reviews + "See also" two-column layout --- */
.prov-reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:2rem;align-items:start;}
.prov-reviews-main{min-width:0;}
.prov-reviews-main .prov-review-form-wrap{max-width:none;}
.prov-also{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;position:sticky;top:1.5rem;}
.prov-also-title{font-family:var(--font-heading);margin:0 0 1rem;font-size:1.15rem;}
.prov-also-list{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.5rem;}
.prov-also-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:var(--radius);text-decoration:none;color:var(--text-primary);transition:background .15s ease;}
.prov-also-item:hover{background:var(--bg);}
.prov-also-logo{width:44px;height:44px;flex:0 0 44px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid var(--border);padding:3px;box-sizing:border-box;}
.prov-also-logo.prov-logo--letter{width:44px;height:44px;font-size:1rem;border:none;padding:0;}
.prov-also-name{font-weight:600;font-size:.9rem;line-height:1.25;}
.prov-also-all{display:inline-block;font-weight:600;font-size:.9rem;color:var(--primary);text-decoration:none;}
.prov-also-all:hover{text-decoration:underline;}
@media (max-width:900px){
    .prov-reviews-layout{grid-template-columns:1fr;}
    .prov-also{position:static;}
    .prov-also-list{display:grid;grid-template-columns:repeat(2,1fr);}
}
@media (max-width:520px){
    .prov-also-list{grid-template-columns:1fr;}
}

/* --- Blog pagination --- */
.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:3rem;flex-wrap:wrap;}
.pagination-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.25rem;border-radius:var(--radius);font-size:.9rem;font-weight:600;color:var(--primary);background:#fff;border:1px solid var(--border);text-decoration:none;transition:all .15s ease;}
.pagination-btn:hover{background:var(--primary-light);border-color:var(--primary);color:var(--primary-dark);}
.pagination-btn.disabled{color:var(--text-secondary);pointer-events:none;opacity:.5;}
.pagination-numbers{display:flex;gap:.35rem;align-items:center;}
.pagination-num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;font-size:.9rem;font-weight:600;color:var(--text-secondary);text-decoration:none;transition:all .15s ease;}
.pagination-num:hover{background:var(--primary-light);color:var(--primary);}
.pagination-num.active{background:var(--primary);color:#fff;}
.pagination-dots{color:var(--text-secondary);padding:0 .25rem;}
@media(max-width:600px){.pagination{gap:.5rem;}.pagination-num{width:34px;height:34px;}.pagination-btn{font-size:.85rem;padding:.5rem .75rem;}}

/* --- Blog post 2-col layout + sidebar widgets --- */
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:2.5rem;align-items:start;max-width:1200px;margin:0 auto;padding:3rem 0;}
.blog-main{min-width:0;}
.blog-main .container{padding:0;max-width:none;}
.blog-main .blog-post-content{max-width:none;padding:0;}
.blog-aside{display:flex;flex-direction:column;gap:1.5rem;position:sticky;top:90px;}
.blog-widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;}
.blog-widget-title{font-family:var(--font-heading,inherit);margin:0 0 1rem;font-size:1.15rem;}
.blog-related ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem;}
.blog-related-item a{display:flex;gap:.75rem;align-items:center;text-decoration:none;color:inherit;}
.blog-related-item img{width:80px;height:56px;flex:0 0 80px;object-fit:cover;border-radius:8px;}
.blog-related-title{display:block;font-weight:600;font-size:.9rem;line-height:1.3;color:var(--text-primary,inherit);}
.blog-related-item a:hover .blog-related-title{color:var(--primary);}
.blog-related-date{display:block;font-size:.78rem;color:var(--text-secondary);margin-top:.2rem;}
@media(max-width:900px){.blog-layout{grid-template-columns:1fr;}.blog-aside{position:static;}}

/* --- Forms --- */
.prov-form{display:flex;flex-direction:column;gap:.85rem;}
.prov-form input[type=text],.prov-form input[type=email],.prov-form input[type=number],.prov-form textarea{padding:.7rem .9rem;border:1px solid var(--border);border-radius:var(--radius);font-family:var(--font-body);font-size:.95rem;background:var(--bg);width:100%;box-sizing:border-box;}
.prov-form-row{display:flex;gap:.85rem;flex-wrap:wrap;}
.prov-form-row>*{flex:1;min-width:160px;}
.prov-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0;}
.prov-captcha{font-size:.9rem;color:var(--text-secondary);display:flex;align-items:center;gap:.6rem;}
.prov-captcha input{max-width:90px;}
.prov-stars-input{display:inline-flex;font-size:1.8rem;cursor:pointer;color:var(--border);}
.prov-stars-input .star-pick:hover,.prov-stars-input .star-pick.on{color:var(--accent);}
.prov-form-msg{margin:0;font-size:.9rem;}
.prov-form-msg.ok{color:#15803D;}
.prov-form-msg.err{color:#DC2626;}

/* --- Modal --- */
.prov-modal{position:fixed;inset:0;background:rgba(15,23,42,.6);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;}
.prov-modal[hidden]{display:none;}
.prov-modal-box{background:var(--bg);border-radius:var(--radius);padding:1.75rem;max-width:440px;width:100%;position:relative;box-shadow:var(--shadow-lg);}
.prov-modal-box h3{font-family:var(--font-heading);margin-top:0;}
.prov-modal-close{position:absolute;top:.6rem;right:.8rem;background:none;border:none;font-size:1.6rem;cursor:pointer;color:var(--text-secondary);line-height:1;}

/* --- Responsive --- */
@media (max-width:768px){
  .providers-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem;}
  .prov-slides{height:240px;}
  .prov-detail-title h1{font-size:1.35rem;}
  .prov-section{padding:2.25rem 0;}
  .prov-cta-box{flex-direction:column;text-align:center;align-items:stretch;}
  .prov-cta-box .btn{width:100%;}
  .pbadge{min-width:84px;min-height:90px;font-size:.78rem;padding:.8rem .5rem;gap:.45rem;}
  .pbadge svg{width:32px;height:32px;}
}
@media (max-width:430px){
  .providers-grid{grid-template-columns:1fr;}
  .prov-badges{gap:.5rem;}
  .pbadge{flex:1 1 28%;min-width:0;min-height:78px;}
  .pbadge svg{width:26px;height:26px;}
}

/* Catalog card "Just Added" badge */
.prov-badge{position:absolute;top:.6rem;left:.6rem;font-size:.7rem;font-weight:700;padding:.25rem .6rem;border-radius:999px;letter-spacing:.02em;z-index:2;}
.prov-badge--new{background:#DCFCE7;color:#15803D;}

/* Admin-authored HTML description (article fallback) */
.prov-desc-html{line-height:1.7;color:var(--text-primary);}
.prov-desc-html p{margin-bottom:1rem;}
.prov-desc-html a{color:var(--primary);text-decoration:underline;}
.prov-desc-html ul,.prov-desc-html ol{margin:0 0 1rem 1.25rem;line-height:1.7;}

/* --- Propannex Council additions --- */
.hero--gradient { background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 45%, var(--secondary) 100%); }
.hero--gradient::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.10), transparent 40%),
                radial-gradient(circle at 85% 75%, rgba(14,165,164,0.18), transparent 45%);
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
    font-size: 0.78rem; font-weight: 700; color: var(--accent-light);
    background: rgba(255,255,255,0.12); padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full); margin-bottom: 1.1rem;
}
.footer-legalname { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; }

/* generic page hero for inner pages */
.page-hero {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    color: #fff; padding: calc(var(--header-height) + 2.5rem) 0 3rem;
}
.page-hero .breadcrumb a, .page-hero .breadcrumb span { color: rgba(255,255,255,0.8); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 760px; }
.page-hero .eyebrow {
    display:inline-block; text-transform:uppercase; letter-spacing:0.12em;
    font-size:0.75rem; font-weight:700; color:var(--accent-light);
    background:rgba(255,255,255,0.12); padding:0.3rem 0.8rem; border-radius:var(--radius-full); margin-bottom:0.9rem;
}

/* prose blocks for content pages */
.prose { max-width: 820px; }
.prose h2 { margin: 2rem 0 0.75rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; color: var(--text-primary); line-height: 1.75; }
.prose ul { margin: 0 0 1.25rem 1.25rem; }
.prose ul li { margin-bottom: 0.5rem; }

/* membership pricing-style cards */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.tier-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 2rem 1.75rem; display: flex; flex-direction: column;
}
.tier-card.tier-featured { border-color: var(--primary); box-shadow: var(--shadow-lg); position: relative; }
.tier-card .tier-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.tier-card .tier-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); margin: 0.5rem 0 0.25rem; }
.tier-card .tier-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.tier-card ul { list-style: none; margin: 1.25rem 0; padding: 0; }
.tier-card ul li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; font-size: 0.95rem; }
.tier-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier-card .btn { margin-top: auto; }

/* 4-up card rows: keep all four on one line on desktop, fall back to 2 then 1 */
.features-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1023px) { .features-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .features-grid--4 { grid-template-columns: 1fr; } }

/* --- Review footer: verified/unverified badge + report/share actions --- */
.prov-review.is-verified{border-color:rgba(34,160,90,.45);box-shadow:0 0 0 1px rgba(34,160,90,.22) inset;background:linear-gradient(0deg,rgba(34,160,90,.04),rgba(34,160,90,.04)),var(--bg);}
.prov-review-foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:.85rem;padding-top:.7rem;border-top:1px solid var(--border);}
.prov-review-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;padding:.2rem .55rem;border-radius:999px;line-height:1;}
.prov-review-badge svg{flex:0 0 auto;}
.prov-review-badge--verified{color:#1b7a45;background:rgba(34,160,90,.12);border:1px solid rgba(34,160,90,.4);}
.prov-review-badge--unverified{color:var(--text-secondary);background:var(--surface);border:1px solid var(--border);}
.prov-review-actions{display:inline-flex;align-items:center;gap:.4rem;margin-left:auto;}
.prov-review-act{display:inline-flex;align-items:center;gap:.3rem;font:inherit;font-size:.78rem;color:var(--text-secondary);background:transparent;border:1px solid var(--border);border-radius:6px;padding:.28rem .55rem;cursor:pointer;transition:color .15s,border-color .15s,background .15s;}
.prov-review-act:hover{color:var(--primary,#2b6cb0);border-color:var(--primary,#2b6cb0);background:var(--surface);}
.prov-review-act svg{flex:0 0 auto;}
.prov-review-act.reported{color:#b33;border-color:#b33;cursor:default;}
@media (max-width:520px){.prov-review-act span{display:none;}.prov-review-act{padding:.35rem;}}

/* --- Share popup --- */
.prov-share-pop{position:fixed;inset:0;z-index:1000;}
.prov-share-inner{position:fixed;width:270px;max-width:calc(100vw - 24px);background:var(--bg);color:var(--text-primary);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,.28);padding:1rem;}
.prov-share-close{position:absolute;top:.4rem;right:.55rem;border:none;background:transparent;font-size:1.3rem;line-height:1;color:var(--text-secondary);cursor:pointer;}
.prov-share-title{font-weight:700;font-size:.95rem;margin-bottom:.7rem;padding-right:1rem;}
.prov-share-nets{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.7rem;}
.prov-share-net{display:block;text-align:center;font-size:.82rem;font-weight:600;text-decoration:none;color:var(--text-primary);background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:.45rem .3rem;transition:border-color .15s,color .15s;}
.prov-share-net:hover{color:var(--primary,#2b6cb0);border-color:var(--primary,#2b6cb0);}
.prov-share-copy{display:flex;gap:.4rem;}
.prov-share-copy input{flex:1;min-width:0;font-size:.76rem;padding:.4rem .5rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-primary);}
.prov-share-copybtn{flex:0 0 auto;font-size:.78rem;font-weight:600;padding:.4rem .6rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-primary);cursor:pointer;transition:border-color .15s,color .15s;}
.prov-share-copybtn:hover{color:var(--primary,#2b6cb0);border-color:var(--primary,#2b6cb0);}
