/* ===================================
   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: #71717a;
    --text-dim: #52525b;

    /* 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: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    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;
    animation: heroFade 12s ease-in-out infinite;
}

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

.hero-slide-2 {
    background-image: url('images/african-skyline.jpg');
    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, 15, 0.7) 0%, rgba(10, 10, 15, 0.5) 40%, rgba(10, 10, 15, 0.8) 100%),
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.08), transparent);
    z-index: 1;
    pointer-events: none;
}

/* 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: 1.5rem;
    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: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    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: 2.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 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.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-text {
    margin-bottom: 3rem;
}

.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);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.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: block;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.social-icons a {
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

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

.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, 15, 0.75) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(10, 10, 15, 0.9) 100%),
        url('images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    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 {
    border-color: var(--border-hover);
}

.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;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    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 h3 {
    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-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    color: white;
}

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

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

/* ===================================
   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: 1rem;
}

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

/* ===================================
   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-dim);
}

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

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

    .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 h3 {
        font-size: 2rem;
    }

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

    .services-grid,
    .pathways-grid,
    .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 h3 {
        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; }

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

/* 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-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

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

@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 {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    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-tooltip {
    position: fixed;
    bottom: 88px;
    right: 24px;
    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);
    z-index: 9999;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover + .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

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

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