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

:root {
    /* DGA Color System - Saudi Flag Colors */
    --saudi-green: #1b8354;
    --saudi-green-light: #25935f;
    --saudi-green-dark: #14573a;
    --saudi-white: #ffffff;
    --saudi-green-50: #f3fcf6;
    --saudi-green-100: #dff6e7;
    --saudi-green-200: #b8eacb;
    --saudi-green-300: #88d8ad;
    --saudi-green-400: #54c08a;
    --saudi-green-500: #25935f;
    --saudi-green-600: #1b8354;
    --saudi-green-700: #166a45;
    --saudi-green-800: #14573a;
    --saudi-green-900: #104631;
    
    --neutral-grey: #6D7C7C;

    /* Text Colors */
    --text-primary: #161616;
    --text-secondary: #6c727e;
    --text-display: #1f2a37;
    --text-oncolor: #ffffff;
    
    /* Background Colors */
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --background-card: #ffffff;
    
    /* Border Colors */
    --border-light: #d2d6db;
    --border-primary: #1b8354;
    
    /* Shadows */
    --shadow-light: 0px 1px 2px 0px rgba(16, 24, 40, .05);
    --shadow-medium: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);
    --shadow-heavy: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);
    
    /* Typography - DGA Font System */
    --font-primary: "IBM Plex Sans Arabic", Roboto, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;
    --font-size-6xl: 60px;
    
    /* DGA Spacing System */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 40px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;
    
    /* DGA Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--saudi-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    /* background: rgba(64, 70, 70, 0.2); */
    background: rgba(98, 94, 157, 0.1);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--bs-secondary) !important;
}

.navbar.scrolled .navbar-other .nav-link {
    color: var(--bs-secondary) !important;
}

.navbar-logo {
    max-height: 41px;
    /* width: 62.09px; */
}
.convert-white {
    filter: brightness(0) invert(1);
}

/* Hero Section - TTS Style */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    isolation: isolate;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    /* background: radial-gradient(
            900px 380px at 85% -20%,
            rgba(49, 184, 137, 0.18),
            transparent 60%
        ),
        radial-gradient(
            700px 320px at 10% -10%,
            rgba(14, 165, 166, 0.18),
            transparent 60%
        ),
        linear-gradient(
            135deg,
            #06252d,
            #0a3a47 35%,
            #0e5c67 65%,
            #158f9b
        ); */
        background: #0c416b
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    mix-blend-mode: screen;
    background-image: url('../images/internationals/doctors.jpeg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: rgba(6, 37, 45, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    text-align: center;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    margin: 14px 0 6px;
    line-height: 1.05;
    color: var(--colors-primary-sa-flag-400);
}

.hero-subtitle {
    max-width: 58ch;
    margin: 16px auto;
    font-size: clamp(1.12rem, 2.7vw, 1.44rem);
    /* font-weight: 800; */
    line-height: 2.15;
    letter-spacing: 0.1px;
    color: #f0fdfb;
}

.hero-buttons {
    margin-top: 24px;
    display: flex;
    flex-direction: column; /* Changed from default row */
    gap: 16px;
    align-items: center; /* Center the buttons */
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.22rem 1.85rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s;
    font-size: 1.06rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero .btn {
    padding: 1.4rem 2.2rem;
    font-size: 1.18rem;
    border-radius: 22px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--colors-primary-sa-flag-400);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(49, 184, 137, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.hero .btn-secondary {
    background: transparent;
    color: #fff;
    border: none;
    box-shadow: none;
}

.btn-secondary:hover {
    /* transform: translateY(-2px);
    border-color: var(--colors-primary-sa-flag-400); */
    color: var(--colors-primary-sa-flag-400);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-xl);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--saudi-white);
    border-bottom: 2px solid var(--saudi-white);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--saudi-green);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Saudi Board Section - Circular Carousel Design */
.why-saudi {
    background: linear-gradient(180deg, var(--background-light) 0%, var(--background-white) 50%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-4xl) 0;
}

.why-saudi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

/* Left Side: Content */
.why-saudi-content {
    max-width: 550px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--saudi-green);
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge .badge-icon {
    font-size: var(--font-size-base);
}

.why-saudi-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-display);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.why-saudi-content .description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.content-features {
    margin-top: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--saudi-green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--saudi-green);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-display);
    margin-bottom: var(--spacing-xs);
}

.feature-text p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Right Side: Circular Carousel */
.circular-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.carousel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    /* background: linear-gradient(135deg, var(--saudi-green) 0%, var(--saudi-green-600) 100%); */
    background: var(--saudi-green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 20px 40px rgba(27, 131, 84, 0.3); */
    z-index: 10;
}

.center-content {
    text-align: center;
    color: var(--saudi-green);
    padding: var(--spacing-lg);
}

.center-number {
    font-size: clamp(56px, 7vw, 72px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.center-label {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.center-description {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.carousel-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.carousel-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    z-index: 0;
}

.carousel-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px dashed var(--saudi-green-200);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.stat-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.stat-orbit[data-stat="0"] {
    transform: rotate(0deg) translateX(200px) rotate(0deg);
}

.stat-orbit[data-stat="1"] {
    transform: rotate(72deg) translateX(200px) rotate(-72deg);
}

.stat-orbit[data-stat="2"] {
    transform: rotate(144deg) translateX(200px) rotate(-144deg);
}

.stat-orbit[data-stat="3"] {
    transform: rotate(216deg) translateX(200px) rotate(-216deg);
}

.stat-orbit[data-stat="4"] {
    transform: rotate(288deg) translateX(200px) rotate(-288deg);
}

.orbit-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 3px solid var(--border-light);
    position: relative;
    overflow: visible;
}

/* SVG Progress Ring */
.progress-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    transform: rotate(-90deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (max-width: 768px) {
    .progress-ring {
        top: -16px;
        left: -16px;
        transform: scale(.77);
    }
}

.progress-ring-circle {
    stroke-dasharray: 314.159; /* 2 * PI * radius (50) */
    stroke-dashoffset: 314.159;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.orbit-card.active .progress-ring {
    opacity: 1;
}

.orbit-card.active .progress-ring-circle {
    animation: progressAnimation 5s linear forwards;
}

@keyframes progressAnimation {
    from {
        stroke-dashoffset: 314.159;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.orbit-card:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(27, 131, 84, 0.2);
}

.orbit-card.active {
    /* background: var(--saudi-green-50); */
    transform: scale(1.15);
}

.orbit-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-display);
    line-height: 1;
    margin-bottom: 4px;
}

.orbit-card.active .orbit-number {
    color: var(--saudi-green);
}

.orbit-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

@media (max-width: 768px) {
    .orbit-label {
        font-size: 10px;
    }
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.dot:hover {
    background: var(--saudi-green-300);
    transform: scale(1.2);
}

.dot.active {
    background: var(--saudi-green);
    width: 28px;
    border-radius: 5px;
}

/* Benefits Section */
.benefits-creative {
    background: linear-gradient(180deg, var(--background-white) 0%, var(--background-light) 100%);
    padding: var(--spacing-4xl) 0;
    position: relative;
    overflow: hidden;
}

.benefits-creative::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 131, 84, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.benefits-creative-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.benefits-creative-header {
    max-width: 600px;
    margin-bottom: var(--spacing-3xl);
}

.benefits-creative-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-display);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.benefits-creative-header .description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.benefits-creative-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.benefit-creative-card {
    background: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.6s ease-out backwards;
    animation-delay: var(--delay, 0s);
}

/* Featured Large Card */
.benefit-creative-card.featured {
    grid-column: span 2;
    grid-row: span 3;
    color: var(--background-white);
    padding: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* background: radial-gradient(
            900px 380px at 85% -20%,
            rgba(49, 184, 137, 0.18),
            transparent 60%
        ),
        radial-gradient(
            700px 320px at 10% -10%,
            rgba(14, 165, 166, 0.18),
            transparent 60%
        ),
        linear-gradient(
            135deg,
            #06252d,
            #0a3a47 35%,
            #0e5c67 65%,
            #158f9b
        ); */
        background: #0c416b;
}

/* Featured card background image - same as hero section */
.benefit-creative-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
    mix-blend-mode: screen;
    background-image: url('../images/internationals/doctors.jpeg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

/* Featured card dark overlay - same as hero section */
.benefit-creative-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(6, 37, 45, 0.4);
    pointer-events: none;
}

/* Hide the card-accent element for featured card */
.benefit-creative-card.featured .card-accent {
    display: none;
}

.benefit-creative-card.featured .card-number {
    color: rgba(255, 255, 255, 0.2);
    font-size: 150px;
    z-index: 2;
}

.benefit-creative-card.featured h3 {
    color: var(--colors-primary-sa-flag-400);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.benefit-creative-card.featured p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-lg);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.benefit-creative-card.featured .card-icon-large {
    width: 80px;
    height: 80px;
    /* background: linear-gradient(135deg, var(--saudi-green), var(--saudi-green-light)); */
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 36px;
    color: var(--background-white);
    position: relative;
    z-index: 2;
}

.card-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Card Number */
.card-number {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 101px;
    font-weight: 900;
    color: var(--background-light);
    line-height: 1;
    z-index: 0;
}

/* Card Icon */
.card-icon-creative {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--saudi-green-50), var(--saudi-green-100));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: var(--saudi-green);
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.benefit-creative-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-display);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.benefit-creative-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--font-size-base);
    position: relative;
    z-index: 1;
}

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

/* CTA Section */
.cta {
    /* background: linear-gradient(135deg, var(--saudi-green) 0%, var(--saudi-green-light) 50%, var(--saudi-green-dark) 100%); */
    background: #0c416b;
    color: var(--saudi-white);
    position: relative;
    overflow: visible;
    padding: var(--spacing-4xl) 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

.cta-image-wrapper {
    flex: 0 0 auto;
    width: 450px;
    position: relative;
    margin-top: -150px; /* Pop out from top */
    margin-bottom: calc(var(--spacing-4xl) * -1); /* Extend to bottom */
    z-index: 2;
    align-self: stretch;
}

.cta-doctors-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: left;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.cta-feature i {
    color: var(--saudi-green-300);
}

.cta-contact {
    margin-top: var(--spacing-lg);
}

.cta-contact p {
    font-size: var(--font-size-base);
    opacity: 0.95;
    margin: 0;
}

.cta-contact a {
    color: var(--saudi-white);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cta-contact a:hover {
    opacity: 0.8;
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .why-saudi-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .why-saudi-content {
        max-width: 100%;
    }
    
    .circular-carousel {
        max-width: 400px;
    }
    
    .carousel-ring::before,
    .carousel-ring::after {
        width: 320px;
        height: 320px;
    }
    
    .stat-orbit {
        width: 80px;
        height: 80px;
        margin: -40px 0 0 -40px;
    }
    
    .stat-orbit[data-stat="0"] {
        transform: rotate(0deg) translateX(160px) rotate(0deg);
    }
    
    .stat-orbit[data-stat="1"] {
        transform: rotate(72deg) translateX(160px) rotate(-72deg);
    }
    
    .stat-orbit[data-stat="2"] {
        transform: rotate(144deg) translateX(160px) rotate(-144deg);
    }
    
    .stat-orbit[data-stat="3"] {
        transform: rotate(216deg) translateX(160px) rotate(-216deg);
    }
    
    .stat-orbit[data-stat="4"] {
        transform: rotate(288deg) translateX(160px) rotate(-288deg);
    }
    
    .carousel-center {
        width: 180px;
        height: 180px;
    }
    
    .center-number {
        font-size: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-creative-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .benefit-creative-card.featured {
        grid-column: span 1;
        grid-row: span 1;
        padding: var(--spacing-2xl);
    }
    
    .benefit-creative-card.featured .card-number {
        font-size: 120px;
    }
    
    .benefit-creative-card.featured .card-icon-large {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .card-number {
        font-size: 80px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .cta-image-wrapper {
        width: 100%;
        max-width: 300px;
        margin-top: -125px;
        margin-bottom: 0;
        height: auto;
        align-self: center;
    }
    
    .cta-doctors-image {
        height: auto;
        object-fit: contain;
        border-bottom: 1px solid #83ba9e;
        box-shadow: 0px 9px 8px -10px #000;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-3xl);
    }
    
    .benefit-card,
    .stat-card {
        padding: var(--spacing-lg);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.contact-item a:focus {
    outline: 2px solid var(--saudi-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .scroll-indicator,
    .btn {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}

/* Footer */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    overflow: hidden;
  }
  
  .footer-logo {
    height: 40px;
    width: auto;
  }
  
  .footer-text {
    color: #9ca8a8;
    font-size: 16px;
  }

  .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .social-links img {
    height: 16px;
    width: auto;
  }

  @media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }
    
    .footer .col-md-6:last-child {
        margin-top: 20px;
    }
  }