/* ===================================
   Summit APC Academy - Modern Dark Theme
   Sophisticated, Bold & Professional
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --bg-elevated: #16161f;

    /* Primary Accent - Electric Blue */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-glow: rgba(0, 212, 255, 0.3);

    /* Secondary Accent - Vibrant Purple */
    --secondary: #7c3aed;
    --secondary-light: #a78bfa;

    /* Accent Colors */
    --accent-teal: #14b8a6;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --accent-green: #22c55e;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #8a8a93;
    --text-dim: #71717a;

    /* Borders & Lines */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

/* Skip Navigation */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
    color: var(--bg-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-normal);
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Header & Navigation
   =================================== */

header {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-normal);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ===================================
   Buttons
   =================================== */

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    color: var(--bg-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: calc(100vh - 320px);
    display: flex;
    align-items: center;
    padding: 2rem 0 2rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Hero Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: opacity;
    animation: heroFade 12s ease-in-out infinite;
    filter: saturate(0.4) brightness(0.75) contrast(1.1) hue-rotate(180deg);
}

.hero-slide-1 {
    background-image: url('images/dubai-skyline.webp');
    animation-delay: 0s;
}

.hero-slide-2 {
    background-image: url('images/african-skyline.webp');
    animation-delay: 6s;
}

@keyframes heroFade {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    42%  { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 26, 0.7) 0%, rgba(10, 10, 26, 0.45) 35%, rgba(10, 10, 26, 0.8) 100%),
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0, 212, 255, 0.18), transparent),
        radial-gradient(ellipse 70% 50% at 85% 55%, rgba(124, 58, 237, 0.14), transparent),
        radial-gradient(ellipse 50% 40% at 15% 45%, rgba(0, 212, 255, 0.08), transparent);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: normal;
}

/* Grid Pattern Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero > .container > .hero-content > p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat .stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* ===================================
   Services Section
   =================================== */

.services {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 1.25rem;
    display: inline-block;
    color: var(--primary);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card a:hover {
    gap: 0.75rem;
}

/* ===================================
   Our Story Section
   =================================== */

.our-story {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-header h2 {
    margin-bottom: 0.5rem;
}

.story-content {
    max-width: 1100px;
    margin: 0 auto;
}

.story-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.story-text {
    margin-bottom: 0;
}

.story-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.highlight-stat {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.highlight-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary);
    padding: 1.25rem;
    border-left: 3px solid var(--primary);
    background: rgba(0, 212, 255, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    line-height: 1.6;
}

.story-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.story-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.story-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.story-pillar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    border-top: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
    border-image-slice: 1 0 0 0;
    transition: var(--transition-normal);
}

.story-pillar:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.15);
}

.pillar-icon {
    margin-bottom: 1rem;
    color: var(--primary);
}

.pillar-icon svg {
    width: 40px;
    height: 40px;
}

.story-pillar h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.story-pillar p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   CV Writing & Review Service
   =================================== */

.cv-service {
    background: var(--bg-dark);
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.cv-service-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cv-service-text h2 {
    margin-bottom: 1rem;
}

.cv-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.cv-service-text > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cv-features {
    margin-bottom: 2rem;
}

.cv-feature {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cv-feature:last-child {
    border-bottom: none;
}

.cv-feature strong {
    display: inline;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.cv-feature-price {
    display: inline;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 0.5rem;
}

.cv-feature-price::before {
    content: "— ";
    color: var(--text-muted);
    font-weight: 400;
}

.cv-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cv-service-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cv-highlight {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.cv-highlight h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.cv-highlight ul {
    list-style: none;
}

.cv-highlight ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cv-highlight ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

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

/* ===================================
   Pathways Section
   =================================== */

.pathways {
    background: var(--bg-dark);
}

.pathways h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.pathway-card {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    transition: var(--transition-normal);
}

.pathway-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    border-left-color: var(--secondary);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.15);
}

.pathway-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.routes-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.route-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.route-summary-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.15);
}

.route-label {
    display: inline-block;
    background: var(--primary);
    color: #0a0a0f;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.route-label-assoc {
    background: var(--secondary-light);
    color: #0a0a0f;
}

.route-title {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.route-summary-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.pathways-heading {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: var(--bg-dark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */

footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-col p a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-col p a:hover {
    color: var(--primary);
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-legal-heading {
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0 6rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-text h2 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 26, 0.85) 0%, rgba(10, 10, 26, 0.65) 50%, rgba(10, 10, 26, 0.92) 100%),
        url('images/page-header-bg.webp');
    background-size: cover;
    background-position: center;
    filter: hue-rotate(180deg) saturate(0.4) brightness(0.8);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--text-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   About Page
   =================================== */

.about-content {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.benefit-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.benefit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
}

.team-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.15);
}

.team-card picture {
    display: contents;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.team-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.team-linkedin {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

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

/* RICS Badge */
.rics-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.rics-badge img {
    width: 40px;
    height: 40px;
}

.rics-badge span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* RICS Credentials Bar */
.credentials-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.credentials-bar img {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition-normal);
}

.credentials-bar img:hover {
    opacity: 1;
}

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

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-box .stat-box-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box p {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===================================
   Courses Page
   =================================== */

.courses-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.course-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.course-header {
    background: var(--bg-elevated);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.course-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.course-badge {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 2rem;
}

.course-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.course-features {
    list-style: none;
    margin: 1.5rem 0;
}

.course-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features strong {
    color: var(--primary);
}

.course-meta {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

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

/* ===================================
   Mentor Programs
   =================================== */

.mentor-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.mentor-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.mentor-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.tier-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

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

.tier-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
}

.tier-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.tier-header.silver {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.tier-header.gold {
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
}

.tier-header.platinum {
    background: var(--gradient-primary);
}

.tier-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}

.tier-header.gold h3 {
    color: #1a1a25;
}

.tier-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    color: white;
}

.tier-header.gold .tier-subtitle {
    color: #1a1a25;
    opacity: 0.85;
}

.tier-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.tier-period {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.tier-payment-plan {
    font-size: 0.8rem;
    color: white;
    opacity: 0.75;
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-weight: 400;
}

.tier-header.gold .tier-payment-plan {
    color: #1a1a25;
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tier-content {
    padding: 2rem;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tier-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tier-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* ===================================
   Course Notes
   =================================== */

.course-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.course-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===================================
   APC Support Roles Table
   =================================== */

.roles-section {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.roles-section h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.roles-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.roles-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.roles-table thead {
    background: var(--bg-elevated);
}

.roles-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.roles-table td {
    padding: 0.85rem 1.25rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.roles-table tbody tr:last-child td {
    border-bottom: none;
}

.roles-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.role-label {
    color: var(--text-primary) !important;
    font-weight: 600;
    white-space: nowrap;
}

.roles-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .roles-table {
        font-size: 0.82rem;
    }

    .roles-table th,
    .roles-table td {
        padding: 0.65rem 0.75rem;
    }
}

/* ===================================
   Additional Services
   =================================== */

.additional-services {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.additional-services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-card-detail {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.service-card-detail h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-price-note {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.service-card-detail.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.service-card-detail > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-card-detail ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card-detail ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-card-detail ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===================================
   Membership Routes
   =================================== */

.membership-routes {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.route-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-normal);
}

.route-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.route-badge {
    display: inline-block;
    background: var(--primary);
    color: #0a0a0f;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.route-assocrics .route-badge {
    background: var(--secondary-light);
    color: #0a0a0f;
}

.route-card h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.route-subtitle {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.route-assocrics .route-subtitle {
    color: var(--secondary-light);
}

.route-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.route-highlights {
    list-style: none;
    margin-bottom: 2rem;
}

.route-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.route-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.route-assocrics .route-highlights li::before {
    color: var(--secondary-light);
}

/* ===================================
   Pathways Detail Page
   =================================== */

.pathways-detail {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.intro-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.pathway-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.pathway-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pathway-section h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pathway-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.pathway-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-col h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.detail-col ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.detail-col ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===================================
   How It Works
   =================================== */

.how-it-works {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.step-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===================================
   Contact Page
   =================================== */

.contact-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-container h2 {
    margin-bottom: 0.75rem;
}

.contact-form-container > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.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-glow);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.consent-group {
    margin-bottom: 0.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent-label a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.info-item {
    margin-bottom: 1.25rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
}

.info-item p {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.info-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links a {
    color: var(--text-secondary);
    display: block;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.quick-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.social-btn {
    display: block;
    padding: 0.875rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-normal);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===================================
   Location Section
   =================================== */

.location-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.location-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.location-section > p {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.location-placeholder {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.location-placeholder p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   Responsive Design
   =================================== */

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

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

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    #apc-countdown-banner {
        max-height: 0px !important;
        border-bottom: none !important;
    }

    .story-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat .stat-value {
        font-size: 2rem;
    }

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

    .services-grid,
    .pathways-grid,
    .routes-grid,
    .routes-summary,
    .testimonials-grid,
    .benefits-grid,
    .team-grid,
    .mentor-tiers,
    .steps-grid,
    .faq-grid,
    .about-grid,
    .story-pillars {
        grid-template-columns: 1fr;
    }

    .pathway-details {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .credentials-bar {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .credentials-bar img {
        height: 40px;
    }

    .credentials-bar span {
        font-size: 0.75rem;
    }

    .course-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

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

    .stat-box .stat-box-value {
        font-size: 2.5rem;
    }

    .legal-text {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 4rem 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .page-header {
        padding: 7rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .tier-header h3 {
        font-size: 1.25rem;
    }

    .tier-price {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .contact-form {
        padding: 1.25rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

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

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===================================
   Mobile Menu Button
   =================================== */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-normal);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ===================================
   Header Scroll Effects
   =================================== */

header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: var(--border-hover);
}

header.header-hidden {
    transform: translateY(-100%);
}

header {
    transition: transform var(--transition-normal),
                background var(--transition-normal),
                border-color var(--transition-normal);
}

/* ===================================
   Scroll Animations
   =================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.services-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

.pathways-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.pathways-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.pathways-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.pathways-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.25s; }
.pathways-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.3s; }

.testimonials-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.testimonials-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.testimonials-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.story-pillars .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.story-pillars .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.story-pillars .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.team-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.team-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.team-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.team-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* ===================================
   Form Validation Styles
   =================================== */

.form-group {
    position: relative;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.field-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.field-error::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.file-input {
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.file-input:hover {
    border-color: var(--primary);
}

.field-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.form-success h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.form-success p {
    color: var(--text-secondary);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   Modal Styles
   =================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 1;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.modal-content {
    padding: 2.5rem;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

body.modal-open {
    overflow: hidden;
}

/* ===================================
   Loading Spinner
   =================================== */

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Button Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===================================
   Tooltip Styles
   =================================== */

[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
    z-index: 100;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ===================================
   Resources Page
   =================================== */

.resources-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.resources-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

.article-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.article-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    width: fit-content;
}

.article-card h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.article-card > p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    opacity: 0.85;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-meta span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Article Body (Expandable Content) */
.article-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.article-card.expanded .article-body {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-body h4 {
    color: var(--primary);
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem;
    font-weight: 600;
}

.article-body h4:first-child {
    margin-top: 0;
}

.article-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.article-body ul {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0.5rem 0 1rem 1.25rem;
    list-style: disc;
}

.article-body ul li {
    margin-bottom: 0.4rem;
}

.article-card::after {
    content: 'Read Article ↓';
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
    transition: var(--transition-normal);
}

.article-card.expanded::after {
    content: 'Collapse ↑';
}

.article-card.expanded {
    grid-column: 1 / -1;
}

/* Useful Links */
.useful-links {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.useful-links h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
}

.link-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.link-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.link-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Article Filters */
.article-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-color: transparent;
    font-weight: 600;
}

.article-card.filter-hidden {
    display: none;
}

@keyframes filterFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card.filter-enter {
    animation: filterFadeIn 0.3s ease forwards;
}

/* APC Field Smooth Toggle */
.apc-field {
    max-height: 200px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}

.apc-field.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    pointer-events: none;
}

/* Optional Field Label */
.optional-label {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

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

/* ===================================
   Focus Visible for Accessibility
   =================================== */

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-float {
    width: 56px;
    height: 56px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.whatsapp-menu {
    position: absolute;
    bottom: 68px;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-float-wrapper.open .whatsapp-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-menu a {
    display: block;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.whatsapp-menu a:last-child {
    border-bottom: none;
}

.whatsapp-menu a:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.whatsapp-menu a:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.whatsapp-menu a:hover {
    background: var(--bg-card-hover);
}

.whatsapp-menu strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.whatsapp-menu span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 68px;
    right: 0;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float-wrapper:not(.open) .whatsapp-float:hover ~ .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .whatsapp-float-wrapper {
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    .whatsapp-tooltip {
        display: none;
    }
    .whatsapp-menu {
        bottom: 60px;
        min-width: 220px;
    }
}

/* ===================================
   404 Error Page
   =================================== */

.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 0 6rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.error-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-links {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.error-links > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.error-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.error-links ul li a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.error-links ul li a:hover {
    color: var(--text-primary);
}

/* ===================================
   Newsletter Section
   =================================== */

.newsletter-section {
    background: var(--bg-darker);
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    margin-bottom: 0.75rem;
}

.newsletter-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.newsletter-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.newsletter-input-group input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.newsletter-input-group input[type="email"].error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.newsletter-input-group button {
    padding: 0.875rem 1.75rem;
    white-space: nowrap;
}

.newsletter-consent {
    text-align: left;
    margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group button {
        width: 100%;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ===================================
   Honeypot Spam Protection
   =================================== */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* ===================================
   Reduced Motion Preferences
   =================================== */
@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;
    }
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-banner-content p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.cookie-btn-accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.cookie-btn-reject:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn-accept,
    .cookie-btn-reject {
        width: 100%;
    }
}

/* ===================================
   Breadcrumb Navigation
   =================================== */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ===================================
   Utility Classes
   =================================== */
.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;
}

/* Content Visibility — skip rendering below-fold sections */
.services,
.testimonials,
.team-section,
.cta-section,
.newsletter-section,
.pathways-detail,
.faq-section,
footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    /* White background, black text */
    *, *::before, *::after {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-text-fill-color: #000 !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Hide non-content elements */
    header,
    footer,
    .cookie-banner,
    .whatsapp-float-wrapper,
    .back-to-top,
    .mobile-menu-btn,
    .hero-slideshow,
    .hero-overlay,
    .cta-section,
    .newsletter-section,
    .skip-link,
    .breadcrumb {
        display: none !important;
    }

    /* Remove dark backgrounds and gradients */
    .page-header,
    .page-header::before,
    .hero,
    .hero::after,
    section,
    .error-page,
    .error-page::before,
    .cta-section::before {
        background: #fff !important;
        padding: 1rem 0 !important;
    }

    .page-header {
        padding-top: 0 !important;
    }

    /* Ensure readable text */
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
        page-break-after: avoid;
    }

    p, li, span, td, th {
        color: #333 !important;
    }

    /* Show link URLs */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555 !important;
        font-weight: normal;
    }

    /* Don't show URLs for nav links, buttons, or anchor links */
    .nav-menu a[href]::after,
    .btn-primary::after,
    .btn-secondary::after,
    .btn-outline::after,
    a[href^="#"]::after,
    .social-icons a::after,
    .social-btn::after,
    .logo a::after {
        content: none;
    }

    /* Remove border and card styling */
    .about-card,
    .benefit-item,
    .team-card,
    .tier-card,
    .course-detail,
    .pathway-section,
    .faq-item,
    .service-card,
    .service-card-detail,
    .article-card,
    .link-card,
    .info-card,
    .contact-form,
    .route-card,
    .step-card,
    .cv-highlight,
    .story-pillar,
    .stat-box,
    .error-links {
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }

    .pathway-section,
    .course-detail,
    .article-card,
    .route-card,
    .team-card {
        page-break-inside: avoid;
    }

    /* Layout adjustments for print */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .contact-grid,
    .footer-grid,
    .cv-service-grid,
    .routes-grid {
        grid-template-columns: 1fr !important;
    }

    img {
        max-width: 100% !important;
    }

    /* Page breaks */
    section {
        page-break-inside: avoid;
    }
}

/* ===================================
   Booking System — Process Steps
   =================================== */

.booking-process {
    padding: 3rem 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    flex: 1;
}

.process-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.process-step h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    flex-shrink: 0;
    margin-bottom: 2.5rem;
}

/* ===================================
   Booking Form Layout
   =================================== */

.booking-section {
    padding: 4rem 0 6rem;
    background: var(--bg-dark);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-form-container h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* ===================================
   Booking Progress Bar
   =================================== */

.booking-progress {
    margin-bottom: 2rem;
}

.progress-track {
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
    transition: color var(--transition-normal);
}

.progress-label.active {
    color: var(--primary);
}

/* ===================================
   Multi-Step Form
   =================================== */

.booking-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.form-step-nav .btn-secondary,
.form-step-nav .btn-primary {
    min-width: 160px;
}

/* ===================================
   Radio Card Group
   =================================== */

.radio-card-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-card {
    cursor: pointer;
    display: block;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.radio-card-content strong {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.radio-card-content span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 0 1px var(--primary);
}

.radio-card input[type="radio"]:focus-visible + .radio-card-content {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.radio-card:hover .radio-card-content {
    border-color: var(--border-hover);
}

/* ===================================
   Review Card
   =================================== */

.review-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.review-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.review-section:last-child {
    border-bottom: none;
}

.review-section h4 {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-item-full {
    margin-top: 1rem;
}

.review-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.review-value {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ===================================
   Deposit Info Box (Sidebar)
   =================================== */

.deposit-info-box {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.deposit-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.deposit-info-box h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.deposit-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.deposit-amount span {
    font-size: 1rem;
    font-weight: 600;
}

.deposit-info-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.deposit-info-box ul {
    list-style: none;
}

.deposit-info-box ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.deposit-info-box ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* ===================================
   Booking Sidebar
   =================================== */

.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===================================
   Confirmation Page
   =================================== */

.confirmation-section {
    padding: 10rem 0 6rem;
    background: var(--bg-dark);
    min-height: 70vh;
}

.confirmation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.confirmation-content h1 {
    margin-bottom: 1rem;
}

.confirmation-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.confirmation-steps {
    text-align: left;
    margin-bottom: 2.5rem;
}

.confirmation-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.confirmation-step:last-child {
    border-bottom: none;
}

.confirmation-step-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.confirmation-step.completed .confirmation-step-icon {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.confirmation-step.pending .confirmation-step-icon {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-dim);
}

.confirmation-step-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.confirmation-step-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.refund-notice {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: left;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.confirmation-contact {
    margin-bottom: 2.5rem;
}

.confirmation-contact > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.confirmation-contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirmation-cta {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.confirmation-cta > p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ===================================
   Booking Callout (contact.html)
   =================================== */

.booking-callout {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.booking-callout p {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

/* ===================================
   Booking Responsive
   =================================== */

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

    .booking-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .booking-sidebar > * {
        flex: 1 1 280px;
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 0;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        margin-bottom: 0;
    }

    .process-step {
        margin-bottom: 0.5rem;
    }

    .radio-card-group {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        flex-direction: column;
    }

    .form-step-nav {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .form-step-nav .btn-secondary,
    .form-step-nav .btn-primary {
        width: 100%;
    }

    .confirmation-contact-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .booking-form {
        padding: 1.25rem;
    }

    .review-section {
        padding: 1rem;
    }
}

/* ===================================
   How It Works — Journey Section
   =================================== */

.how-it-works {
    padding: 5rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.how-it-works .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

/* Journey layout */
.journey-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}

/* Journey cards */
.journey-step {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.journey-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.15);
}

.journey-step:hover::before {
    opacity: 1;
}

/* Icon wrapper (positions badge relative to icon) */
.journey-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Gradient circle icon */
.journey-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.journey-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bg-dark);
}

.journey-step:hover .journey-icon {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
}

/* Step number badge */
.journey-step-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.journey-step h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.journey-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Gradient animated connectors */
.journey-connector {
    width: 48px;
    min-width: 48px;
    height: 2px;
    flex-shrink: 0;
    align-self: center;
    margin-top: -1rem;
    position: relative;
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0px,
        var(--primary) 6px,
        transparent 6px,
        transparent 12px
    );
    opacity: 0.5;
    overflow: hidden;
}

.journey-connector::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Staggered scroll animations for journey steps */
.journey-steps .journey-step.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.journey-steps .journey-step.animate-on-scroll:nth-child(3) { transition-delay: 0.1s; }
.journey-steps .journey-step.animate-on-scroll:nth-child(5) { transition-delay: 0.2s; }
.journey-steps .journey-step.animate-on-scroll:nth-child(7) { transition-delay: 0.3s; }
.journey-steps .journey-step.animate-on-scroll:nth-child(9) { transition-delay: 0.4s; }

/* Journey responsive */
@media (max-width: 768px) {
    .journey-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .journey-step {
        width: 100%;
        max-width: 300px;
    }

    .journey-connector {
        width: 2px;
        min-width: 2px;
        height: 32px;
        margin-top: 0;
        align-self: center;
        background: repeating-linear-gradient(
            180deg,
            var(--primary) 0px,
            var(--primary) 6px,
            transparent 6px,
            transparent 12px
        );
    }

    .journey-connector::after {
        top: -100%;
        left: -1px;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.6), transparent);
        animation: shimmer-vertical 3s ease-in-out infinite;
    }

    @keyframes shimmer-vertical {
        0% { top: -100%; }
        100% { top: 200%; }
    }
}

/* ===================================
   Homepage FAQ Accordion
   =================================== */

.homepage-faq {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-accordion-item:hover {
    border-color: var(--border-hover);
}

.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.faq-accordion-header:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    border-radius: var(--radius-md);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-accordion-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-accordion-item.active .faq-accordion-body {
    max-height: 300px;
}

.faq-accordion-body p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   Featured Articles — Homepage
   =================================== */

.featured-articles {
    padding: 5rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.featured-article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.featured-article-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.featured-article-card .article-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    width: fit-content;
}

.featured-article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.featured-article-card .article-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-article-card .article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.featured-article-card .read-more {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.75rem;
}

.featured-article-card .read-more:hover {
    text-decoration: underline;
}

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

/* ===================================
   Nav CTA Button
   =================================== */

.nav-cta {
    background: var(--gradient-primary);
    color: var(--bg-dark) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-cta {
        margin-top: 1rem;
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* ===================================
   Pain Points Section
   =================================== */

.pain-points-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.pain-points-section h2 {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.pain-points-section .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pain-point-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.pain-point-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.pain-point-card .pain-icon {
    margin-bottom: 1.25rem;
    display: block;
    color: var(--primary);
}

.pain-point-card .pain-icon svg {
    width: 40px;
    height: 40px;
}

.pain-point-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pain-point-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* ===================================
   Urgency Banner
   =================================== */

.urgency-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    text-align: center;
}

.urgency-banner p {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0;
}

.urgency-banner strong {
    color: var(--primary);
}

.urgency-banner a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}

.urgency-banner a:hover {
    text-decoration: underline;
}

/* ===================================
   Service Card Pricing
   =================================== */

.service-card .service-price {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ===================================
   Pathways Mid-Page CTA
   =================================== */

.pathways-mid-cta {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 2rem 0;
}

.pathways-mid-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pathways-mid-cta .btn-primary {
    font-size: 1rem;
}
