/* ==================== */
/* CSS Variables & Reset */
/* ==================== */
:root {
    /* Primary Colors - Ameen Brand Palette (Green to Blue Gradient) */
    --primary-color: #3EB489;
    --primary-dark: #2E9B74;
    --primary-light: #5DC4A0;
    
    /* Secondary Colors - Blue accent from logo */
    --secondary-color: #3B9FD8;
    --secondary-light: #5BB8E8;
    
    /* Brand Gradients */
    --brand-gradient: linear-gradient(135deg, #3EB489 0%, #3B9FD8 100%);
    --brand-gradient-hover: linear-gradient(135deg, #2E9B74 0%, #2A8BC4 100%);
    --bg-gradient: linear-gradient(180deg, #7ABF8A 0%, #50A2AA 33%, #5BA9A2 66%, #4399B4 100%);
    --widget-glow: 0 20px 50px rgba(62, 180, 137, 0.12), 0 8px 20px rgba(59, 159, 216, 0.08);
    
    /* Neutral Colors */
    --text-primary: #1a2e35;
    --text-secondary: #4a6572;
    --text-light: #8fa4ae;
    --bg-primary: #FFFFFF;
    --bg-secondary: #f8fafa;
    --bg-tertiary: #eef3f5;
    
    /* Widget Colors */
    --widget-bg: rgba(255, 255, 255, 1);
    --widget-border: rgba(255, 255, 255, 1);
    --widget-shadow: 0 8px 32px rgba(62, 180, 137, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    --widget-shadow-hover: 0 16px 48px rgba(62, 180, 137, 0.18), 0 4px 16px rgba(59, 159, 216, 0.1);
    
    /* Accent Colors */
    --success-color: #10B981;
    --error-color: #EF4444;
    --accent-orange: #F59E0B;
    --accent-purple: #10B981;
    
    /* Border Radius - Widget style */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-size-xs: clamp(0.75rem, 2vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);
    --font-size-base: clamp(1rem, 3vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 3.5vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 4vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 5vw, 2rem);
    --font-size-3xl: clamp(1.75rem, 6vw, 2.5rem);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: transparent;
}

body {
    font-family: 'Cairo', sans-serif;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Animated background blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

body::before {
    width: 400px;
    height: 400px;
    background: rgba(62, 180, 137, 0.3);
    top: -100px;
    right: -100px;
}

body::after {
    width: 350px;
    height: 350px;
    background: rgba(59, 159, 216, 0.3);
    bottom: -50px;
    left: -50px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@media (max-width: 767px) {
    body::before,
    body::after {
        display: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
}

/* ==================== */
/* Navigation Bar */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1000;
    height: 64px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(62, 180, 137, 0.08);
}

.nav-link.active {
    color: white;
    background: var(--brand-gradient);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 998;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 64px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transition: right var(--transition-normal);
}

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

.mobile-link {
    padding: 16px 20px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary-color);
    background: rgba(62, 180, 137, 0.1);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* ==================== */
/* Main Content */
/* ==================== */
.main-content {
    min-height: 100vh;
    background: linear-gradient(180deg, #7ABF8A 0%, #50A2AA 33%, #5BA9A2 66%, #4399B4 100%);
    background-repeat: no-repeat;
    background-size: 100% auto;
}

/* Pages */
.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    background: transparent !important;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(24px, 6vw, 48px) clamp(16px, 4vw, 24px);
    background: transparent !important;
}

.page-header {
    text-align: center;
    margin-bottom: clamp(32px, 8vw, 48px);
}

.page-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* ==================== */
/* Home Page - Widget Dashboard */
/* ==================== */
.lang-toggle-container {
    display: flex;
    justify-content: flex-start;
    padding: 0 0 8px;
}

.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 20px;
    padding: 8px 14px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5aa0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lang-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-icon {
    width: 18px;
    height: 18px;
}

.home-container {
    max-width: 700px;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 32px) clamp(16px, 4vw, 20px);
    padding-top: calc(64px + clamp(20px, 5vw, 32px));
    background: transparent !important;
}

/* Hero Widget */
.hero-section {
    text-align: center;
    margin-bottom: clamp(12px, 3vw, 16px);
    padding: clamp(16px, 4vw, 20px);
}

.logo-container {
    display: inline-block;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
}

.brand-logo {
    width: clamp(80px, 20vw, 100px);
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(62, 180, 137, 0.25));
    animation: logoFloat 4s ease-in-out infinite;
}

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

.company-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.company-description {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: var(--font-size-xs);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--success-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.status-pill.prominent {
    background: rgba(255, 255, 255, 0.3);
    color: #2a8a62;
    padding: 6px 12px;
    font-size: var(--font-size-xs);
}

/* Widget Grid */
.widget-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 3vw, 16px);
    margin-bottom: clamp(16px, 4vw, 20px);
}

@media (min-width: 480px) {
    .widget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .widget-lg {
        grid-column: span 2;
    }
}

/* Base Widget */
.widget {
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 5vw, 28px);
    box-shadow: var(--widget-shadow);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.widget:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--widget-shadow-hover);
    border-color: rgba(62, 180, 137, 0.3);
}

.widget:active {
    transform: scale(0.98);
}

/* Widget Header */
.widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.widget-icon {
    width: clamp(48px, 12vw, 56px);
    height: clamp(48px, 12vw, 56px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.widget-icon svg {
    width: clamp(24px, 6vw, 28px);
    height: clamp(24px, 6vw, 28px);
    color: white;
}

.widget-icon.green {
    background: linear-gradient(135deg, #3EB489, #2E9B74);
    box-shadow: 0 6px 16px rgba(62, 180, 137, 0.35);
}

.widget-icon.blue {
    background: linear-gradient(135deg, #3B9FD8, #2A8BC4);
    box-shadow: 0 6px 16px rgba(59, 159, 216, 0.35);
}

.widget-icon.purple {
    background: linear-gradient(135deg, #10B981, #10B981);
    box-shadow: 0 6px 16px rgb(16, 185, 129, 0.35);
}

.widget-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.widget-badge {
    padding: 4px 10px;
    background: rgba(62, 180, 137, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.widget-desc {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Widget Arrow */
.widget-arrow {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.widget:hover .widget-arrow {
    background: var(--brand-gradient);
    color: white;
    transform: translateX(-4px);
}

/* Why Ameen Stats Section */
.why-ameen-section {
    background: white;
    border-radius: 20px;
    padding: clamp(24px, 5vw, 36px) clamp(16px, 4vw, 28px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    margin-top: 16px;
    text-align: center;
}

.why-ameen-header {
    margin-bottom: 28px;
}

.why-ameen-title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    font-weight: 800;
    color: #1a2e44;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.why-ameen-subtitle {
    font-size: clamp(0.82rem, 3vw, 0.95rem);
    color: #6b7a8d;
    font-weight: 400;
    margin-bottom: 14px;
}

.why-ameen-underline {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #3EB489, #3B9FD8);
    border-radius: 2px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 3vw, 16px);
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: #f7fbfd;
    border: 1px solid rgba(74, 168, 196, 0.15);
    border-radius: 14px;
    padding: clamp(14px, 3.5vw, 22px) clamp(8px, 2vw, 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 168, 196, 0.15);
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 1px;
    direction: ltr;
}

.stat-prefix {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #3B9FD8, #3EB489);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-number {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #3B9FD8, #3EB489);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: clamp(0.72rem, 2.5vw, 0.82rem);
    color: #5a6a7a;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* Contact & Social Section */
.contact-social-section {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 24px 16px;
}

.contact-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: white;
    text-align: center;
    margin: 0;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-action-btn svg {
    width: 20px;
    height: 20px;
}

.contact-action-btn.whatsapp {
    background: #25D366;
}

.contact-action-btn.whatsapp:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.contact-action-btn.phone {
    background: var(--primary-color);
}

.contact-action-btn.phone:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.phone-link {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: white;
    text-decoration: none;
    direction: ltr;
    transition: opacity var(--transition-fast);
}

.phone-link:hover {
    opacity: 0.8;
}

.copyright {
    font-size: var(--font-size-sm);
    color: white;
    opacity: 0.8;
    text-align: center;
    padding: 0 16px;
    margin-top: 8px;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.whatsapp:hover {
    background: #20bd5a;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ==================== */
/* Customer Reviews Carousel */
/* ==================== */
.reviews-section {
    margin-top: 16px;
    width: 100%;
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px 20px 20px;
}

.reviews-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 6px;
}

.reviews-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 8px auto 20px;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    touch-action: pan-y;
}

.reviews-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab;
}

.reviews-track:active {
    cursor: grabbing;
}

.review-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
}

.review-card-inner {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8f0ec;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 20px 20px;
    overflow: hidden;
    text-align: right;
}

.review-quote-mark {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 80px;
    line-height: 1;
    color: #b8e8d4;
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
    user-select: none;
    opacity: 0.9;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    direction: rtl;
}

.review-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}

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

.review-service {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 3px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3EB489, #3B9FD8);
    color: white;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.88rem;
    line-height: 1.85;
    color: #444;
    text-align: right;
    margin: 0;
}

.reviews-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding: 0 4px;
}

.reviews-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    padding: 0;
}

.reviews-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0faf5;
}

.reviews-nav-btn svg {
    width: 16px;
    height: 16px;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.reviews-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.reviews-dots .dot.active {
    background: var(--primary-color);
    width: 22px;
    border-radius: 4px;
}

.reviews-dots .dot:hover {
    background: rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .reviews-section {
        margin-top: 24px;
        padding: 28px 24px 22px;
    }

    .reviews-title {
        font-size: var(--font-size-xl);
    }

    .review-card-inner {
        padding: 28px 28px 24px;
    }

    .review-text {
        font-size: 0.92rem;
    }
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.social-icon:active {
    transform: scale(0.98);
}

/* ==================== */
/* Services Widget */
/* ==================== */
.services-widget {
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    padding: clamp(16px, 4vw, 24px);
    margin-bottom: clamp(12px, 3vw, 16px);
    box-shadow: var(--widget-shadow);
}

.services-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: clamp(12px, 3vw, 16px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2.5vw, 14px);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: clamp(12px, 3vw, 16px);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.service-card:hover {
    background: linear-gradient(135deg, rgba(62, 180, 137, 0.15), rgba(59, 159, 216, 0.15));
    transform: translateY(-2px);
}

.service-card:active {
    transform: scale(0.98);
}

.service-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.service-icon-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.service-name {
    font-size: clamp(0.78rem, 2.5vw, 0.88rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
}

/* ==================== */
/* Service Detail Pages */
/* ==================== */
.service-page .page-container {
    padding: clamp(20px, 5vw, 32px) clamp(16px, 4vw, 24px);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 20px;
}

.back-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

.service-detail-header {
    text-align: center;
    margin-bottom: clamp(20px, 5vw, 28px);
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    background: var(--brand-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.service-detail-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.service-detail-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-detail-icon.service-detail-icon-photo {
    padding: 0;
    overflow: hidden;
}

.service-detail-icon.service-detail-icon-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.service-detail-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.service-detail-content {
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 5vw, 28px);
    box-shadow: var(--widget-shadow);
}

.service-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.service-section:last-of-type {
    border-bottom: none;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.service-section h3 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-section p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(62, 180, 137, 0.1), rgba(59, 159, 216, 0.1));
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
}

.highlight-icon {
    font-size: 1.5rem;
}

.service-highlight p {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.cta-btn {
    display: block;
    width: 100%;
    background: var(--brand-gradient);
    color: white;
    text-align: center;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(62, 180, 137, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 180, 137, 0.4);
    color: white;
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.cta-btn.secondary:hover {
    background: rgba(62, 180, 137, 0.1);
    box-shadow: none;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: clamp(20px, 5vw, 28px);
}

.page-header h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-header p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Booking Form */
.booking-form {
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 5vw, 28px);
    box-shadow: var(--widget-shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(62, 180, 137, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--brand-gradient);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(62, 180, 137, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 180, 137, 0.4);
}

/* Specialists Grid */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 3vw, 16px);
}

.specialist-card {
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    padding: clamp(16px, 4vw, 20px);
    box-shadow: var(--widget-shadow);
    text-align: center;
}

.specialist-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.specialist-avatar svg {
    width: 30px;
    height: 30px;
    color: var(--text-light);
}

.specialist-card h3 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.specialty {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    font-weight: 600;
}

/* Therapist Cards */
.therapist-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: clamp(24px, 5vw, 32px);
    padding-top: clamp(50px, 8vw, 60px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.therapist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
}

.card-corner.top-right {
    top: 0;
    right: 0;
    background: linear-gradient(-135deg, #4aa8c4 50%, transparent 50%);
    border-top-right-radius: 20px;
}

.card-corner.bottom-left {
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, #4aa8c4 50%, transparent 50%);
    border-bottom-left-radius: 20px;
}

.card-logo {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 50px;
    height: auto;
    z-index: 2;
}

.card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.therapist-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    position: relative;
}

.photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #e8e8e8;
    background: white;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.photo-frame::before,
.photo-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3EB489;
    z-index: 1;
}

.photo-frame::before {
    top: -2px;
    right: -2px;
    border-radius: 0 12px 0 12px;
}

.photo-frame::after {
    bottom: -2px;
    left: -2px;
    border-radius: 12px 0 12px 0;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.25));
}

.therapist-name {
    font-size: clamp(1.2rem, 4.5vw, 1.4rem);
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.therapist-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.rating-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.therapist-info {
    text-align: right;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 16px;
}

.therapist-info .info-row {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
}

.therapist-info .info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.therapist-info .info-row:first-child {
    padding-top: 0;
}

.therapist-info .info-label {
    font-size: var(--font-size-xs);
    color: #4aa8c4;
    font-weight: 700;
}

.therapist-info .info-value {
    font-size: var(--font-size-xs);
    color: var(--text-primary);
    font-weight: 500;
}

.therapist-card:nth-child(1) { animation: fadeInUp 0.5s ease 0.1s forwards; opacity: 0; }
.therapist-card:nth-child(2) { animation: fadeInUp 0.5s ease 0.15s forwards; opacity: 0; }
.therapist-card:nth-child(3) { animation: fadeInUp 0.5s ease 0.2s forwards; opacity: 0; }
.therapist-card:nth-child(4) { animation: fadeInUp 0.5s ease 0.25s forwards; opacity: 0; }
.therapist-card:nth-child(5) { animation: fadeInUp 0.5s ease 0.3s forwards; opacity: 0; }
.therapist-card:nth-child(6) { animation: fadeInUp 0.5s ease 0.35s forwards; opacity: 0; }
.therapist-card:nth-child(7) { animation: fadeInUp 0.5s ease 0.4s forwards; opacity: 0; }
.therapist-card:nth-child(8) { animation: fadeInUp 0.5s ease 0.45s forwards; opacity: 0; }
.therapist-card:nth-child(9) { animation: fadeInUp 0.5s ease 0.5s forwards; opacity: 0; }
.therapist-card:nth-child(10) { animation: fadeInUp 0.5s ease 0.55s forwards; opacity: 0; }

/* ==================== */
/* Specialist Accordion */
/* ==================== */

.therapist-card {
    cursor: pointer;
}

.therapist-card:hover {
    transform: translateY(-4px);
}

.therapist-card.details-expanded:hover {
    transform: none;
}

.therapist-details-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.therapist-card.details-expanded .therapist-details-wrapper {
    max-height: 420px;
}

.therapist-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 10px 0 2px;
    margin-top: 4px;
    background: none;
    border: none;
    border-top: 1px solid rgba(74, 168, 196, 0.18);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4aa8c4;
    direction: rtl;
    transition: color 0.2s;
}

.therapist-toggle-btn:hover {
    color: #3EB489;
}

.toggle-chevron {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.therapist-card.details-expanded .toggle-chevron {
    transform: rotate(180deg);
}

/* Info Widgets Row */
.info-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 3vw, 16px);
}

.info-widget {
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-lg);
    padding: clamp(16px, 4vw, 20px);
    box-shadow: var(--widget-shadow);
    text-align: center;
}

.info-widget-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, rgba(62, 180, 137, 0.1), rgba(59, 159, 216, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-widget-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.info-widget-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.info-widget-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

/* ==================== */
/* Specialists Page */
/* ==================== */
.specialists-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
}

@media (min-width: 640px) {
    .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .specialists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.specialist-card {
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--widget-shadow);
    transition: all var(--transition-normal);
}

.specialist-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--widget-shadow-hover);
}

.specialist-card:active {
    transform: scale(0.98);
}

.specialist-image {
    height: 160px;
    background: linear-gradient(160deg, rgba(62, 180, 137, 0.08) 0%, rgba(59, 159, 216, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(62, 180, 137, 0.3);
}

.image-placeholder svg {
    width: 40px;
    height: 40px;
    color: white;
}

.image-placeholder.large {
    width: 120px;
    height: 120px;
}

.image-placeholder.large svg {
    width: 56px;
    height: 56px;
}

.specialist-info {
    padding: clamp(18px, 4vw, 24px);
    text-align: center;
}

.specialist-info h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.specialty {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(62, 180, 137, 0.1), rgba(59, 159, 216, 0.1));
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: 12px;
}

.bio {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: 16px;
}

.book-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--brand-gradient);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(62, 180, 137, 0.3);
    transition: all var(--transition-fast);
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 180, 137, 0.4);
}

.book-btn:active {
    transform: scale(0.98);
}

/* ==================== */
/* Booking Page */
/* ==================== */
.booking-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.booking-form {
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    padding: clamp(24px, 6vw, 36px);
    border-radius: var(--radius-xl);
    box-shadow: var(--widget-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: var(--font-size-base);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(62, 180, 137, 0.12);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    width: 100%;
    padding: 16px 28px;
    background: var(--brand-gradient);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 700;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(62, 180, 137, 0.3);
    transition: all var(--transition-fast);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(62, 180, 137, 0.4);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn svg {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

/* Success Message */
.success-message {
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    padding: clamp(36px, 8vw, 52px) clamp(24px, 6vw, 36px);
    border-radius: var(--radius-xl);
    box-shadow: var(--widget-shadow);
    text-align: center;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 28px rgba(62, 180, 137, 0.35);
    animation: success-pop 0.5s ease;
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.success-message h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.success-message p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: 28px;
}

.new-booking-btn {
    padding: 14px 32px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.new-booking-btn:hover {
    background: var(--brand-gradient);
    color: white;
    transform: translateY(-2px);
}

/* ==================== */
/* About Page */
/* ==================== */
.about-container {
    max-width: 700px;
    margin: 0 auto;
}

.about-profile {
    text-align: center;
    margin-bottom: 32px;
}

.profile-image {
    margin-bottom: 20px;
}

.profile-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.profile-title {
    display: inline-block;
    padding: 8px 24px;
    background: var(--brand-gradient);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(62, 180, 137, 0.3);
}

.about-card {
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    padding: clamp(22px, 5vw, 32px);
    border-radius: var(--radius-xl);
    box-shadow: var(--widget-shadow);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* Vision Card */
.vision-card {
    background: var(--brand-gradient);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: shimmer 12s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vision-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.vision-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.vision-card h3 {
    color: white;
}

.vision-card p {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    font-size: var(--font-size-lg);
}

/* Values Card */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(62, 180, 137, 0.1), rgba(59, 159, 216, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all var(--transition-normal);
}

.value-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
}

.value-item:hover .value-icon {
    background: var(--brand-gradient);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(62, 180, 137, 0.3);
}

.value-item:hover .value-icon svg {
    color: white;
}

.value-item span {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: transparent;
    padding: 28px 24px;
    text-align: center;
}

.footer p {
    color: var(--text-light);
    font-size: var(--font-size-xs);
}

/* ==================== */
/* Calculator Page */
/* ==================== */
.calculator-card {
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 5vw, 28px);
    box-shadow: var(--widget-shadow);
}

.assessment-info {
    background: linear-gradient(135deg, rgba(62, 180, 137, 0.1) 0%, rgba(59, 159, 216, 0.1) 100%);
    border: 1px solid rgba(62, 180, 137, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.assessment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.assessment-header svg {
    width: 24px;
    height: 24px;
    color: #3EB489;
}

.assessment-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.assessment-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.assessment-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--widget-bg);
    border-radius: var(--radius-md);
}

.price-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.price-value {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: #3EB489;
    direction: ltr;
}

.calc-step {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--widget-border);
}

.calc-step:last-of-type {
    margin-bottom: 20px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.step-header svg {
    width: 24px;
    height: 24px;
    color: #3B9FD8;
}

.step-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.step-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.radio-option:hover {
    background: var(--bg-tertiary);
}

.radio-option:has(input:checked) {
    border-color: #3EB489;
    background: rgba(62, 180, 137, 0.08);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #3EB489;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-label {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.radio-price {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #3EB489;
    direction: ltr;
}

.radio-group.horizontal .radio-option {
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.radio-group.horizontal .radio-label {
    flex: none;
}

.number-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 180px;
}

.number-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-md);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover {
    background: var(--bg-tertiary);
}

.number-btn:active {
    transform: scale(0.95);
}

.number-input-wrapper input[type="number"] {
    width: 60px;
    height: 44px;
    text-align: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    color: var(--text-primary);
    background: var(--widget-bg);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-md);
    -moz-appearance: textfield;
}

.number-input-wrapper input[type="number"]::-webkit-outer-spin-button,
.number-input-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calculate-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--brand-gradient);
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.calculate-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.calculate-btn:active {
    transform: scale(0.98);
}

.calculate-btn svg {
    width: 24px;
    height: 24px;
}

.calc-result {
    margin-top: 24px;
    padding: 20px;
    background: rgba(62, 180, 137, 0.08);
    border: 1px solid rgba(62, 180, 137, 0.3);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.4s ease forwards;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.result-header svg {
    width: 28px;
    height: 28px;
    color: #3EB489;
}

.result-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #3EB489;
    margin: 0;
}

.result-breakdown {
    background: var(--widget-bg);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--widget-border);
}

.result-row:last-child {
    border-bottom: none;
}

.result-row span:first-child {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.result-row span:last-child {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    direction: ltr;
}

.result-row.total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid var(--widget-border);
    border-bottom: none;
}

.result-row.total span:first-child {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.result-row.total span:last-child {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #3EB489;
}

.disclaimer {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: var(--radius-md);
    border-right: 3px solid #ffc107;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #25D366;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.whatsapp-cta:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.whatsapp-cta svg {
    width: 22px;
    height: 22px;
}

/* ==================== */
/* Utility Classes */
/* ==================== */
.hidden {
    display: none !important;
}

/* ==================== */
/* Animations */
/* ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section { animation: fadeInUp 0.5s ease 0.1s forwards; opacity: 0; }
.widget-grid .widget:nth-child(1) { animation: fadeInUp 0.5s ease 0.2s forwards; opacity: 0; }
.widget-grid .widget:nth-child(2) { animation: fadeInUp 0.5s ease 0.25s forwards; opacity: 0; }
.widget-grid .widget:nth-child(3) { animation: fadeInUp 0.5s ease 0.3s forwards; opacity: 0; }
.social-widget { animation: fadeInUp 0.5s ease 0.35s forwards; opacity: 0; }
.info-widgets { animation: fadeInUp 0.5s ease 0.4s forwards; opacity: 0; }

.specialist-card:nth-child(1) { animation: fadeInUp 0.5s ease 0.1s forwards; opacity: 0; }
.specialist-card:nth-child(2) { animation: fadeInUp 0.5s ease 0.15s forwards; opacity: 0; }
.specialist-card:nth-child(3) { animation: fadeInUp 0.5s ease 0.2s forwards; opacity: 0; }
.specialist-card:nth-child(4) { animation: fadeInUp 0.5s ease 0.25s forwards; opacity: 0; }
.specialist-card:nth-child(5) { animation: fadeInUp 0.5s ease 0.3s forwards; opacity: 0; }
.specialist-card:nth-child(6) { animation: fadeInUp 0.5s ease 0.35s forwards; opacity: 0; }

/* ==================== */
/* Responsive Adjustments */
/* ==================== */
@media (min-width: 768px) {
    .home-container {
        padding: 40px 24px;
    }
    
    .page-container {
        padding: 48px 40px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .widget:hover,
    .specialist-card:hover,
    .social-icon:hover {
        transform: none;
        box-shadow: var(--widget-shadow);
    }
    
    .widget:active,
    .specialist-card:active {
        transform: scale(0.98);
    }
    
    .social-icon:active {
        transform: scale(0.95);
    }
}
/* ==================== */
/* Rehab Hero Widget    */
/* ==================== */
.rehab-widgets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 640px) {
    .rehab-widgets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rehab-hero-widget {
    display: block;
    text-decoration: none;
    background: var(--widget-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--widget-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--widget-shadow);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.rehab-hero-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rehab-hero-icon {
    width: 72px;
    height: 72px;
    opacity: 0.95;
}

.rehab-hero-widget:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--widget-shadow-hover);
    border-color: rgba(62, 180, 137, 0.35);
}

.rehab-hero-widget:active {
    transform: scale(0.98);
}

.rehab-hero-img-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.rehab-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.rehab-hero-widget:hover .rehab-hero-img-wrap img {
    transform: scale(1.04);
}

.rehab-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(10,40,80,0.55) 100%);
}

.rehab-hero-body {
    padding: clamp(16px, 4vw, 22px);
    padding-bottom: clamp(20px, 5vw, 28px);
}

.rehab-hero-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0 6px;
    line-height: 1.3;
}

.rehab-hero-desc {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.rehab-hero-cta {
    display: inline-block;
    background: var(--brand-gradient);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-sm);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    transition: opacity 0.2s ease;
}

.rehab-hero-widget:hover .rehab-hero-cta {
    opacity: 0.88;
}

