:root {
    /* Primary Teal Palette - #035273 (Dominant) */
    --emerald-50: #f0f9fb;
    --emerald-100: #d9f0f5;
    --emerald-200: #b3e1eb;
    --emerald-300: #7ccbd9;
    --emerald-400: #3da3bf;
    --emerald-500: #035273;
    --emerald-600: #02415c;
    --emerald-700: #023249;
    --emerald-800: #012636;
    --emerald-900: #011a24;

    /* Secondary Purple Palette - #631750 (Accent) */
    --gold-400: #d4a8c8;
    --gold-500: #b975a8;
    --gold-600: #631750;
    --gold-700: #4d1240;

    /* Soft Accent Colors */
    --cream-50: #f9fbfc;
    --cream-100: #f3f7f9;
    --cream-200: #e8f0f3;

    /* Neutral Palette */
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;

    --spacing-unit: 8px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--cream-50);
    color: var(--neutral-800);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}

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

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 100%);
    overflow: hidden;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(3, 82, 115, 0.03) 50px, rgba(3, 82, 115, 0.03) 100px),
        repeating-linear-gradient(-45deg, transparent, transparent 50px, rgba(99, 23, 80, 0.02) 50px, rgba(99, 23, 80, 0.02) 100px);
    animation: patternRotate 60s linear infinite;
}

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

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 2px solid var(--emerald-100);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cairo', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--emerald-700);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--emerald-600);
    /* animation: logoFloat 3s ease-in-out infinite; */
}

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-500), var(--gold-500));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--emerald-600);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}


.nav-cta span {
    margin-top: 4px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--emerald-600);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-ornament {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.hero-ornament-top {
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--emerald-500), transparent);
}

.hero-ornament-bottom {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--gold-500), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    border: 2px solid var(--emerald-200);
    border-radius: 50px;
    color: var(--emerald-700);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: var(--gold-600);
}

.hero-title {
    font-family: 'Cairo', serif;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.title-subtitle {
    display: block;
    font-size: 28px;
    color: var(--gold-600);
    font-weight: 600;
    margin-top: 8px;
}

.hero-description {
    font-size: 20px;
    color: var(--neutral-600);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 2px solid var(--emerald-100);
}

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

.stat-value {
    font-family: 'Cairo', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--neutral-600);
    margin-top: 4px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--emerald-300), transparent);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-600);
}

.btn-secondary:hover {
    background: var(--emerald-50);
    transform: translateY(-3px);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-600);
    font-size: 14px;
}

.hero-location svg {
    color: var(--emerald-600);
}

/* Hero Visual */
.hero-visual {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-frame {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.frame-ornament {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--gold-500);
}

.frame-ornament-tl {
    top: -3px;
    right: -3px;
    border-bottom: none;
    border-left: none;
    border-radius: 0 20px 0 0;
}

.frame-ornament-tr {
    top: -3px;
    left: -3px;
    border-bottom: none;
    border-right: none;
    border-radius: 20px 0 0 0;
}

.frame-ornament-bl {
    bottom: -3px;
    right: -3px;
    border-top: none;
    border-left: none;
    border-radius: 0 0 20px 0;
}

.frame-ornament-br {
    bottom: -3px;
    left: -3px;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 20px;
}

.visual-content {
    padding: 20px;
    background: var(--emerald-50);
    border-radius: 12px;
}

.hero-illustration {
    width: 100%;
    height: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    display: block;
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.pulse-group circle {
    animation: pulse 3s ease-in-out infinite;
}

.pulse-group circle:nth-child(1) {
    animation-delay: 0s;
}

.pulse-group circle:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-group circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.star-group path {
    animation: starTwinkle 4s ease-in-out infinite;
}

.star-group path:nth-child(1) { animation-delay: 0s; }
.star-group path:nth-child(2) { animation-delay: 1s; }
.star-group path:nth-child(3) { animation-delay: 2s; }
.star-group path:nth-child(4) { animation-delay: 3s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-ornament {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-title {
    font-family: 'Cairo', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--neutral-600);
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--neutral-700);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius);
    border-right: 4px solid var(--emerald-500);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--emerald-300);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--emerald-600);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: 'Cairo', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--neutral-600);
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
    border-color: var(--gold-500);
}

.service-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--emerald-100);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--emerald-600);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon img {
    filter: brightness(1.1);
}

.service-title {
    font-family: 'Cairo', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 8px;
}

.service-subtitle {
    font-size: 16px;
    color: var(--neutral-600);
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 12px 0;
    padding-right: 28px;
    color: var(--neutral-700);
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: '◆';
    position: absolute;
    right: 0;
    color: var(--emerald-500);
    font-size: 12px;
}

/* Gallery Section */
.gallery {
    background: var(--cream-50);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--emerald-200);
    color: var(--emerald-700);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
}

.filter-btn:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: white;
    border-color: var(--emerald-700);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
    border-color: var(--gold-500);
}

.gallery-image-wrapper {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-100));
    overflow: hidden;
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 82, 115, 0.9);
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay svg {
    width: 60px;
    height: 60px;
    transition: var(--transition);
    fill: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1.1);
}

.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--emerald-300);
    padding: 20px;
}

.gallery-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder svg {
    transform: scale(1.1);
    color: var(--emerald-500);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 8px;
    line-height: 1.4;
}

.gallery-info p {
    font-size: 13px;
    color: var(--neutral-600);
    line-height: 1.5;
}

/* Certificates Section */
.certificates {
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-50));
}

.cert-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.cert-tab {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--emerald-200);
    color: var(--emerald-700);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    position: relative;
}

.cert-tab:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
    transform: translateY(-2px);
}

.cert-tab.active {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: white;
    border-color: var(--emerald-700);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cert-count {
    display: inline-block;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.certificate-card {
    cursor: pointer;
    background: white;
    border-radius: var(--border-radius);
    padding: 0;
    text-align: center;
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.certificate-card.hidden {
    display: none;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold-400), transparent);
    opacity: 0.1;
    border-radius: 0 var(--border-radius) 0 100%;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.2);
    border-color: var(--gold-500);
}

.certificate-image-wrapper {
    margin-bottom: 0;
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-100));
}

.certificate-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.certificate-card:hover .certificate-image-wrapper img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 82, 115, 0.9);
    opacity: 0;
    transition: var(--transition);
}

.cert-overlay svg {
    width: 48px;
    height: 48px;
    transition: var(--transition);
    fill: white;
}

.certificate-card:hover .cert-overlay {
    opacity: 1;
}

.certificate-card:hover .cert-overlay svg {
    transform: scale(1.1);
}

.certificate-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-100));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--emerald-500);
    border: 2px dashed var(--emerald-200);
    transition: var(--transition);
}

.certificate-card:hover .certificate-placeholder {
    background: linear-gradient(135deg, var(--emerald-100), var(--cream-200));
    border-color: var(--gold-400);
}

.certificate-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.certificate-card:hover .certificate-placeholder svg {
    transform: scale(1.1);
    color: var(--gold-600);
}

.certificate-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald-600);
}

.certificate-card h3 {
    font-family: 'Cairo', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 12px;
    line-height: 1.4;
}

.certificate-card p {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.6;
}

.show-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.show-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.show-more-btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.show-more-btn.expanded svg {
    transform: rotate(180deg);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-50));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    background: white;
    padding: 32px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.feature-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Cairo', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--emerald-200);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--emerald-600);
}

.feature-icon-circle svg {
    width: 28px;
    height: 28px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    position: relative;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 100%);
    padding: 120px 0;
    overflow: hidden;
}

.testimonials-bg-ornament {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.testimonials-carousel-wrapper {
    max-width: 1400px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

.testimonials-carousel {
    display: flex;
    gap: 32px;
    padding: 30px 0 40px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    flex: 0 0 auto;
    width: calc((100% - 64px) / 3);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 20px;
    padding: 48px 40px 40px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(16, 185, 129, 0.06),
        0 12px 48px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(16, 185, 129, 0.08);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        0 8px 24px rgba(16, 185, 129, 0.12),
        0 16px 56px rgba(0, 0, 0, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
}

.testimonial-quote-icon {
    position: absolute;
    top: 36px;
    right: 36px;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-500);
    opacity: 0.5;
}

.testimonial-quote-icon svg {
    width: 36px;
    height: 36px;
}

.testimonial-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.testimonial-text {
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    line-height: 2;
    color: var(--neutral-800);
    margin-bottom: auto;
    padding-right: 20px;
    font-weight: 400;
    letter-spacing: 0.01em;
    flex: 1;
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    margin: 32px 0 28px;
    justify-content: flex-end;
}

.testimonial-rating svg {
    width: 22px;
    height: 22px;
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.25));
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 28px;
    border-top: 2px solid rgba(16, 185, 129, 0.08);
    margin-top: auto;
}

.author-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.25),
        0 2px 6px rgba(16, 185, 129, 0.15);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
    text-align: right;
}

.author-name {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.author-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: var(--neutral-500);
    font-weight: 400;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--emerald-300);
    background: white;
    color: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonial-btn:hover {
    background: var(--emerald-600);
    color: white;
    border-color: var(--emerald-600);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

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

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

.testimonial-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--emerald-200);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background: var(--emerald-400);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--emerald-600);
    width: 32px;
    border-radius: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .testimonial-card {
        width: calc((100% - 32px) / 2);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonials-carousel-wrapper {
        padding: 0 20px;
    }

    .testimonials-carousel {
        gap: 20px;
    }

    .testimonial-card {
        width: 100%;
        padding: 36px 28px 32px;
        min-height: 380px;
    }

    .testimonial-quote-icon {
        width: 56px;
        height: 56px;
        top: 28px;
        right: 28px;
    }

    .testimonial-quote-icon svg {
        width: 28px;
        height: 28px;
    }

    .testimonial-text {
        font-size: 16px;
        line-height: 1.9;
        padding-right: 0;
    }

    .testimonial-rating {
        margin: 28px 0 24px;
    }

    .author-avatar {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .author-name {
        font-size: 19px;
    }

    .author-title {
        font-size: 14px;
    }

    .testimonial-btn {
        width: 44px;
        height: 44px;
    }

    .testimonial-controls {
        margin-top: 36px;
    }
}

/* Booking Section */
.booking {
    background: white;
}

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

.booking-form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-100));
    padding: 50px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.booking-form-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.booking-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--emerald-100);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--emerald-100);
}

.form-header svg {
    width: 48px;
    height: 48px;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.form-header h3 {
    font-family: 'Cairo', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: var(--neutral-600);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--emerald-700);
    margin-bottom: 12px;
    font-size: 16px;
}

.form-group label svg {
    width: 20px;
    height: 20px;
    color: var(--emerald-500);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--emerald-200);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    transition: var(--transition);
    background: var(--cream-50);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 20px;
    padding-left: 48px;
}

.form-group select:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: var(--neutral-100);
    color: var(--neutral-400);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--emerald-500);
    background: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder {
    color: var(--neutral-400);
}

.btn-submit {
    width: 100%;
    margin-top: 16px;
    font-size: 18px;
    padding: 18px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.booking-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(-5px);
    border-color: var(--gold-400);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.info-item svg {
    width: 40px;
    height: 40px;
    color: var(--emerald-600);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 16px;
    color: var(--emerald-700);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 13px;
    color: var(--neutral-600);
    line-height: 1.5;
}

.booking-alternative {
    text-align: center;
}

.alternative-divider {
    position: relative;
    text-align: center;
    margin: 40px 0 32px;
}

.alternative-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald-200), transparent);
}

.alternative-divider span {
    position: relative;
    background: white;
    padding: 0 20px;
    color: var(--neutral-600);
    font-weight: 600;
    font-size: 14px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

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

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.phone-btn {
    background: white;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-600);
}

.phone-btn:hover {
    background: var(--emerald-50);
    transform: translateY(-3px);
}

/* Location Section */
.location {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Clinic Tabs */
.clinic-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.clinic-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    background: white;
    border: 3px solid var(--emerald-100);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
}

.clinic-tab::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    transition: width 0.4s ease;
    z-index: 0;
}

.clinic-tab:hover {
    border-color: var(--emerald-400);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
}

.clinic-tab.active {
    border-color: var(--emerald-600);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

.clinic-tab.active::before {
    width: 100%;
}

.clinic-tab.active .tab-number,
.clinic-tab.active .tab-info h3,
.clinic-tab.active .tab-info p {
    color: white;
    position: relative;
    z-index: 1;
}

.tab-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--emerald-700);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.clinic-tab.active .tab-number {
    background: rgba(255, 255, 255, 0.2);
}

.tab-info {
    text-align: right;
    position: relative;
    z-index: 1;
}

.tab-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 4px;
    transition: var(--transition);
}

.tab-info p {
    font-size: 14px;
    color: var(--neutral-600);
    transition: var(--transition);
}

/* Clinic Content */
.clinic-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.clinic-content.active {
    display: block;
}

.clinic-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--emerald-50), var(--cream-100));
    border-radius: var(--border-radius);
    border: 2px solid var(--emerald-200);
}

.clinic-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.3);
}

.clinic-badge svg {
    width: 36px;
    height: 36px;
}

.clinic-header h2 {
    font-family: 'Cairo', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 4px;
}

.clinic-header p {
    font-size: 16px;
    color: var(--neutral-600);
}

.clinic-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.clinic-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--emerald-100);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateX(-5px);
    border-color: var(--gold-400);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.1);
}

.detail-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--emerald-600);
}

.detail-icon svg {
    width: 28px;
    height: 28px;
}

.detail-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 8px;
}

.detail-content p {
    font-size: 15px;
    color: var(--neutral-600);
    line-height: 1.7;
}

.detail-content a {
    color: var(--emerald-600);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.detail-content a:hover {
    color: var(--emerald-700);
}

.clinic-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.btn-map {
    background: white;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-600);
}

.btn-map:hover {
    background: var(--emerald-50);
    transform: translateY(-3px);
}

.clinic-map {
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--emerald-100);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
}

.clinic-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
    filter: grayscale(10%) brightness(1.05);
    transition: filter 0.3s ease;
}

.clinic-map iframe:hover {
    filter: grayscale(0%) brightness(1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-900));
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-ornament {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 255, 255, 0.02) 100px, rgba(255, 255, 255, 0.02) 200px);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cairo', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    color: var(--gold-400);
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gold-600);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.footer-whatsapp:hover {
    background: var(--gold-500);
    transform: translateY(-2px);
}

.footer-title {
    font-family: 'Cairo', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-400);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-400);
    transform: translateX(-5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--gold-400);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    position: relative;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: floatBounce 3s ease-in-out infinite;
}

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

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

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 76px);
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        gap: 16px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .title-line {
        font-size: 42px;
    }

    .title-subtitle {
        font-size: 22px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

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

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

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .booking-form-wrapper {
        grid-template-columns: 1fr;
    }

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

    .info-item {
        flex: 1;
        min-width: 200px;
    }

    .contact-options {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin: 0 auto;
    }

    .clinic-tabs {
        flex-direction: column;
    }

    .clinic-tab {
        width: 100%;
    }

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

    .clinic-map iframe {
        min-height: 350px;
    }

    .hero-image {
        max-height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {

.nav-cta {
    display: none;
 }
    .title-line {
        font-size: 32px;
    }

    .title-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 2px;
    }

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

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .booking-form-wrapper {
        padding: 30px 20px;
    }

    .booking-form {
        padding: 30px 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .clinic-tab {
        padding: 16px 24px;
    }

    .tab-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .tab-info h3 {
        font-size: 16px;
    }

    .tab-info p {
        font-size: 12px;
    }

    .clinic-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .clinic-header h2 {
        font-size: 24px;
    }

    .clinic-actions {
        flex-direction: column;
    }

    .clinic-map iframe {
        min-height: 300px;
    }

    .hero-image {
        max-height: 300px;
    }

    .visual-content {
        padding: 10px;
    }

    .visual-frame {
        padding: 15px;
    }
}

/* Animation delays for staggered effects */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.feature-item:nth-child(1) { animation-delay: 0.05s; }
.feature-item:nth-child(2) { animation-delay: 0.1s; }
.feature-item:nth-child(3) { animation-delay: 0.15s; }
.feature-item:nth-child(4) { animation-delay: 0.2s; }
.feature-item:nth-child(5) { animation-delay: 0.25s; }
.feature-item:nth-child(6) { animation-delay: 0.3s; }
.feature-item:nth-child(7) { animation-delay: 0.35s; }
.feature-item:nth-child(8) { animation-delay: 0.4s; }

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(5) { animation-delay: 0.3s; }

/* ============================================
   LIGHTBOX MODAL
   ============================================ */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 26, 36, 0.96);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(3, 82, 115, 0.3);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--emerald-100);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
    font-family: 'Cairo', sans-serif;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(3, 82, 115, 0.9);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(99, 23, 80, 0.4);
    color: white;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold-600);
    border-color: var(--gold-500);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(99, 23, 80, 0.5);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    font-size: 3rem;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Mobile Lightbox Adjustments */
@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-content img {
        max-height: 80vh;
    }

    .lightbox-caption {
        font-size: 0.95rem;
        margin-top: 15px;
    }
}
