/* ==========================================
   DESIGN SYSTEM & VARIABLES
========================================== */
:root {
    --primary-color: #0d9488;      /* Healing Teal */
    --primary-hover: #0f766e;      /* Deep Teal */
    --primary-light: #f0fdfa;      /* Soft Ice Blue */
    --secondary-color: #0284c7;    /* Medical Blue */
    --secondary-hover: #0369a1;    /* Deep Blue */
    --secondary-light: #f0f9ff;    /* Light Sky Blue */
    --dark-text: #0f172a;          /* Slate Dark */
    --body-text: #334155;          /* Slate Medium */
    --light-text: #64748b;         /* Slate Light */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;           /* Clean Off-white */
    --bg-accent: #0f172a;          /* Footer/Dark background */
    --border-color: #e2e8f0;       /* Border Gray */
    --success-color: #22c55e;      /* Success Green */
    --error-color: #ef4444;        /* Error Red */
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 16px -8px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 20px -5px rgba(13, 148, 136, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --font-arabic: 'Tajawal', 'Noto Kufi Arabic', 'Cairo', sans-serif;
    --font-english: 'Outfit', sans-serif;
}

/* ==========================================
   BASE STYLES & RESET
========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Dynamic fonts based on HTML lang */
html[lang="ar"] {
    font-family: var(--font-arabic);
}

html[lang="en"] {
    font-family: var(--font-english);
}

body {
    background-color: var(--bg-light);
    color: var(--body-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    outline: none;
}

/* ==========================================
   TOP BAR
========================================== */
.top-bar {
    background-color: var(--bg-accent);
    color: var(--bg-white);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.top-info span,
.top-info a,
.top-info .contact-click-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.top-info i {
    color: var(--primary-color);
}

.top-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-hours i {
    color: var(--primary-color);
}

/* ==========================================
   HEADER & NAVIGATION
========================================== */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark-text);
}

.logo-icon {
    font-size: 2.25rem;
    color: var(--primary-color);
    animation: heartbeat 2s infinite ease-in-out;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

html[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-btn-mobile {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(15, 118, 110, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* Language toggle button */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-light);
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Mobile hamburger menu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-text);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero-section {
    padding: 4.5rem 0 6rem 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--secondary-light) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

html[lang="en"] .hero-title {
    line-height: 1.15;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--body-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

/* Arrow flip for LTR */
html[lang="en"] .arrow-icon {
    transform: rotate(180deg);
}

/* Stats */
.quick-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Hero Visual / Image container */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
    border: 4px solid var(--bg-white);
}

/* Floating badges on hero */
.floating-badge {
    position: absolute;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-normal);
}

.floating-badge:hover {
    transform: scale(1.05);
}

.badge-top-right {
    top: 15%;
    right: -20px;
}

html[dir="ltr"] .badge-top-right {
    right: auto;
    left: -20px;
}

.badge-bottom-left {
    bottom: 15%;
    left: -20px;
}

html[dir="ltr"] .badge-bottom-left {
    left: auto;
    right: -20px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-text);
    line-height: 1.2;
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--light-text);
}

/* Ambient glow */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.glow-1 {
    width: 250px;
    height: 250px;
    background-color: rgba(13, 148, 136, 0.2);
    top: -30px;
    right: -30px;
}

.glow-2 {
    width: 250px;
    height: 250px;
    background-color: rgba(2, 132, 199, 0.2);
    bottom: -30px;
    left: -30px;
}

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

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--light-text);
}

/* ==========================================
   SERVICES SECTION
========================================== */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
    border-color: rgba(13, 148, 136, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.05);
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.service-card-desc {
    color: var(--body-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.link-arrow {
    transition: transform var(--transition-fast);
}

html[lang="en"] .link-arrow {
    transform: rotate(180deg);
}

.service-card:hover .link-arrow {
    transform: translateX(-5px);
}

html[lang="en"] .service-card:hover .link-arrow {
    transform: translateX(5px);
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
    border: 4px solid var(--bg-white);
}

.clinic-interior {
    text-align: center;
    color: var(--bg-white);
    max-width: 320px;
}

.clinic-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: bounce 3s infinite ease-in-out;
}

.clinic-interior h4 {
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6;
}

.experience-year-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--bg-white);
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

html[dir="ltr"] .experience-year-badge {
    right: auto;
    left: -20px;
}

.exp-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-years-exp {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-text);
    text-transform: uppercase;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.05rem;
    color: var(--body-text);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.qualifications-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.qualification-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.q-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.q-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.q-details p {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* ==========================================
   APPOINTMENT BOOKING SECTION
========================================== */
.booking-section {
    padding: 6.5rem 0;
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
    color: var(--bg-white);
    position: relative;
}

.booking-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

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

.section-subtitle.light {
    color: var(--primary-light);
    opacity: 0.9;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.booking-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.b-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.b-feature i {
    font-size: 1.35rem;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Booking Form Wrapper */
.booking-form-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.5rem;
    color: var(--dark-text);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--body-text);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 1.25rem;
    color: var(--light-text);
    font-size: 1rem;
}

html[dir="ltr"] .input-icon {
    right: auto;
    left: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 1.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--dark-text);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    transition: all var(--transition-fast);
}

html[dir="ltr"] .form-input {
    padding: 0.85rem 1.25rem 0.85rem 3rem;
}

.form-input:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1.25rem center;
    background-size: 1.25rem;
}

html[dir="ltr"] select.form-input {
    background-position: right 1.25rem center;
}

.error-message {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--error-color);
    display: none;
    margin-top: 0.25rem;
}

.form-group.invalid .form-input {
    border-color: var(--error-color);
    background-color: rgba(239, 68, 68, 0.02);
}

.form-group.invalid .error-message {
    display: block;
}

.submit-btn-icon {
    transition: transform var(--transition-fast);
}

html[dir="rtl"] .submit-btn-icon {
    transform: scaleX(-1);
}

.btn:hover .submit-btn-icon {
    transform: translate(-3px, -2px);
}

html[dir="ltr"] .btn:hover .submit-btn-icon {
    transform: translate(3px, -2px);
}

/* Success popup overlay */
.booking-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-success.show {
    transform: translateY(0);
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking-success h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.booking-success p {
    color: var(--body-text);
    margin-bottom: 2rem;
    max-width: 360px;
    font-size: 0.95rem;
}

/* ==========================================
   TESTIMONIALS SECTION
========================================== */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

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

.testimonial-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 148, 136, 0.1);
}

.rating-badge-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.rating-badge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-percentage-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-badge-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.rating-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 100px;
    transition: width var(--transition-slow);
}

.testimonial-text {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--body-text);
    font-style: italic;
    margin-bottom: 2rem;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.patient-avatar {
    font-size: 2.5rem;
    color: var(--light-text);
}

.patient-details {
    display: flex;
    flex-direction: column;
}

.patient-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-text);
    font-style: normal;
}

.patient-meta {
    font-size: 0.8rem;
    color: var(--light-text);
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

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

.info-item {
    display: flex;
    gap: 1.25rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* Interactive Mock Map */
.contact-map {
    height: 380px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0f2fe; /* Soft Map Blue */
    position: relative;
    overflow: hidden;
}

.map-inner {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(14, 165, 233, 0.15) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg-icon {
    font-size: 22rem;
    color: rgba(14, 165, 233, 0.08);
    position: absolute;
}

.map-card {
    background-color: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    z-index: 2;
    animation: bounce 4s infinite ease-in-out;
}

.map-marker-icon {
    font-size: 2rem;
    color: var(--error-color);
    margin-bottom: 0.75rem;
}

.map-card-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.map-card-desc {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 1.25rem;
}

/* ==========================================
   FOOTER
========================================== */
.footer {
    background-color: var(--bg-accent);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo {
    color: var(--bg-white);
}

.footer-brand .logo-title {
    color: var(--bg-white);
}

.footer-brand .logo-subtitle {
    color: rgba(255, 255, 255, 0.4);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

html[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

html[dir="ltr"] .footer-links a:hover,
html[dir="ltr"] .footer-services a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright span {
    font-weight: 600;
}

/* ==========================================
   KEYFRAME ANIMATIONS
========================================== */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

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

@keyframes scale-up {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
========================================== */

/* Laptop / Medium Desktops */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-container,
    .about-container,
    .booking-container,
    .contact-grid {
        gap: 3rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Tablets / IPad portrait */
@media (max-width: 768px) {
    /* Top Bar hidden on tiny viewports */
    .top-bar {
        display: none;
    }
    
    .header-container {
        height: 70px;
    }
    
    /* Mobile Menu Drawer style */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 3rem 1.5rem;
        gap: 2rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
        z-index: 99;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .nav-btn-mobile {
        display: inline-flex;
        width: 100%;
        max-width: 250px;
        margin-top: 1rem;
    }
    
    .nav-btn-desktop {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    /* Hamburger Active States */
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Layout stacks */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .quick-stats {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Small Smart Phones */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        width: 100%;
        max-width: 320px;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        height: 320px;
    }
    
    .experience-year-badge {
        padding: 1rem 1.5rem;
    }
    
    .exp-number {
        font-size: 1.85rem;
    }
    
    .qualifications-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .booking-form-wrapper {
        padding: 2rem 1.25rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Adjust badges overlap on tiny screens */
    .badge-top-right {
        right: -5px;
    }
    html[dir="ltr"] .badge-top-right {
        left: -5px;
    }
    .badge-bottom-left {
        left: -5px;
    }
    html[dir="ltr"] .badge-bottom-left {
        right: -5px;
    }
}

/* Clickable Contact Links (Phone & Email) */
.contact-click-link, a[href^="tel:"], a[href^="mailto:"] {
    color: inherit;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
}

.contact-click-link:hover, a[href^="tel:"]:hover, a[href^="mailto:"]:hover {
    color: var(--primary-color, #0284c7) !important;
    opacity: 0.85;
}
