:root {
    /* Colors - HSL */
    --primary-h: 180;
    --primary-s: 100%;
    --primary-l: 25%;
    /* Dark Teal for Text */

    --secondary-h: 228;
    --secondary-s: 60%;
    --secondary-l: 35%;
    /* Dark Blue/Purple for Buttons */

    --accent-h: 180;
    --accent-s: 60%;
    --accent-l: 85%;
    /* Light Teal for backgrounds */

    /* Elite Design Colors */
    --primary-navy: #1a365d;
    --accent-teal: #00b4d8;
    --text-grey: #666;
    --bg-light: #f8fdff;

    --bg-light-old: #F0FDFA;
    /* renaming old var to keep conflict away if needed */

    --bg-white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;

    /* Light Mode Variables */
    --color-primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --color-secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
    --color-accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));

    --body-bg: var(--bg-light);
    --card-bg: var(--bg-white);
    --text-main: var(--text-dark);
    --text-muted: var(--text-light);
    --border-color: #E5E7EB;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

[data-theme="dark"] {
    /* Base Dark Mode Variables */
    --body-bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #374151;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);

    /* ===== DARK MODE THEME VARIABLES ===== */
    /* Hero Section */
    --hero-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --hero-title-color: #00d4ff;
    --hero-text-color: #e2e8f0;

    /* Navigation Links */
    --nav-link-color: #FFFFFF;
    --nav-link-hover: #00d4ff;

    /* Outline Button (View Services) */
    --btn-outline-border: #FFFFFF;
    --btn-outline-text: #FFFFFF;
    --btn-outline-hover-bg: #FFFFFF;
    --btn-outline-hover-text: #0f172a;

    /* Floating Icons */
    --float-icon-bg: rgba(30, 41, 59, 0.95);
    --float-icon-color: #00d4ff;
    --float-icon-border: rgba(0, 212, 255, 0.3);
    --float-icon-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);

    /* Blob/Image Container */
    --blob-border-color: rgba(255, 255, 255, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--body-bg);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

/* Arabic Font Support */
[lang="ar"] body {
    font-family: 'Cairo', sans-serif;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4 {
    font-family: 'Cairo', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white !important;
}

.bg-light {
    background-color: #F3F4F6;
}

[data-theme="dark"] .bg-light {
    background-color: #111827;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--color-secondary);
    /* Dark Blue */
    color: white;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(58, 77, 150, 0.2);
}

.btn-primary:hover {
    background-color: hsl(var(--secondary-h), var(--secondary-s), 25%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(58, 77, 150, 0.3);
}

.btn-outline {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    background: transparent;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

[data-theme="dark"] .btn-outline {
    border: 2px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 10px 20px rgba(58, 77, 150, 0.1);
}

[data-theme="dark"] .btn-outline:hover {
    background-color: var(--btn-outline-hover-bg);
    color: var(--btn-outline-hover-text);
    border-color: var(--btn-outline-hover-bg);
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Top Bar */
.top-bar {
    background-color: var(--color-secondary);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 2rem;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    /* Changed from fixed to sticky to sit below top-bar */
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

/* Adjust sticky behavior */
body {
    padding-top: 0;
    /* Remove padding since navbar is now sticky */
}


[data-theme="dark"] .navbar {
    background-color: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .logo,
.dark .logo {
    color: white;
}

[data-theme="dark"] .logo span,
.dark .logo span,
[data-theme="dark"] .logo i,
.dark .logo i {
    color: var(--hero-title-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    transition: color 0.3s ease;
}

[data-theme="dark"] .nav-links a,
.dark .nav-links a {
    color: var(--nav-link-color);
}

.nav-links a:hover {
    color: var(--color-secondary);
}

[data-theme="dark"] .nav-links a:hover,
.dark .nav-links a:hover {
    color: var(--nav-link-hover);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Hero - Reference Design Style (Elite Update) */
.hero-ref-design {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-ref-design,
.dark .hero-ref-design {
    background: var(--hero-bg);
}

.hero-ref-design::before {
    display: none;
    /* Removing old gradient blob */
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
    opacity: 1;
    /* Ensure visible */
    /* text-align: right; handled by RTL dir */
}

.hero-content h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 3.8rem;
    color: var(--accent-teal);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-content h1,
.dark .hero-content h1 {
    color: var(--hero-title-color);
}

.hero-content .highlight {
    color: var(--accent-teal);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-content p,
.dark .hero-content p {
    color: var(--hero-text-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

/* Updated Buttons for Elite Design */
.btn-primary {
    background-color: var(--primary-navy);
    color: white;
    border: 2px solid var(--primary-navy);
    border-radius: 50px;
    padding: 14px 35px;
    font-size: 1.1rem;
    box-shadow: none;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 50px;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 700;
}

[data-theme="dark"] .btn-outline,
.dark .btn-outline {
    border: 2px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: none;
}

[data-theme="dark"] .btn-outline:hover,
.dark .btn-outline:hover {
    background-color: var(--btn-outline-hover-bg);
    color: var(--btn-outline-hover-text);
    border-color: var(--btn-outline-hover-bg);
}

/* Blob Image Style (Elite Update) */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-mask {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    background: transparent;
    animation: none;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .blob-mask,
.dark .blob-mask {
    border-color: var(--blob-border-color);
}

.hero-img-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

@keyframes blobFloat {

    /* Kept for reference or removed if unused, but tool requires exact match to remove */
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translateY(0);
    }

    100% {
        border-radius: 58% 42% 30% 70% / 55% 55% 45% 45%;
        transform: translateY(-20px);
    }
}

/* Floating Icons */
.float-icon {
    position: absolute;
    background: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 6;
    animation: floating 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

[data-theme="dark"] .float-icon,
.dark .float-icon {
    background: var(--float-icon-bg);
    color: var(--float-icon-color);
    border: 1px solid var(--float-icon-border);
    box-shadow: var(--float-icon-shadow);
}

.icon-1 {
    top: 10%;
    right: 5%;
    left: auto;
    animation-delay: 0s;
    color: var(--accent-teal);
}

.icon-2 {
    bottom: 10%;
    left: 5%;
    right: auto;
    animation-delay: 1.5s;
    color: var(--accent-teal);
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hide old floating text */
.hero-floating-text {
    display: none;
}

/* RTL Adjustment */

/* Clean end of Hero Section */

/* Original Floating Card (keeping for compatibility) */
.floating-card {
    position: absolute;
    bottom: 10%;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 280px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

[dir="rtl"] .floating-card {
    left: auto;
    right: 0;
}

[data-theme="dark"] .floating-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.floating-card .icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card .content {
    flex: 1;
}

.floating-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    color: var(--text-main);
}

.floating-card p {
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Animations using Keyframes */
.moving-y {
    animation: moveY 4s ease-in-out infinite;
}

@keyframes moveY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* About Section */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item-box {
    text-align: center;
}

.stat-item-box h3 {
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: 800;
}

.stat-item-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.image-placeholder.rect {
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    animation: none;
}

/* Services */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(79, 209, 197, 0.1);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 37, 64, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

[data-theme="dark"] .icon-box {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-secondary);
}

.service-card:hover .icon-box {
    background-color: var(--color-primary);
    color: white;
}

/* Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    transition: 0.3s;
}

.step-item:hover .step-icon {
    background: var(--color-secondary);
    color: white;
}

[data-theme="dark"] .step-icon {
    background: var(--card-bg);
}

.step-line {
    height: 2px;
    background: var(--border-color);
    flex: 1;
    margin-bottom: 2rem;
}

.step-item h4 {
    font-size: 1.1rem;
}

/* Why Us */
.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list li i {
    color: var(--color-secondary);
}

/* Specialists */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialist-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doc-image {
    height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--color-primary);
}

.doc-info {
    padding: 1.5rem;
    text-align: center;
}

.doc-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.doc-info .specialty {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.doc-info .exp {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.doc-social i {
    color: var(--text-muted);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.doc-social i:hover {
    color: var(--color-primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testi-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--accent-h);
    color: #FCD34D;
    margin-bottom: 1rem;
}

.testi-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.testi-card h4 {
    text-align: right;
    color: var(--color-primary);
}

[data-theme="dark"] .testi-card h4 {
    color: white;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    transition: 0.3s;
}

.gallery-item:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

/* Booking */
.booking-wrapper {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a8a 100%);
    border-radius: 2rem;
    padding: 4rem;
    color: white;
    position: relative;
    /* overflow: hidden; Removed to allow date picker to overflow */
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header h2 {
    margin-bottom: 1.5rem;
}

.booking-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    background: #FFFFFF;
    color: #333333;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Ensure Dropdown Options are readable */
.form-group select option {
    background: #FFFFFF;
    color: #333333;
}

.full-width {
    grid-column: span 2;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
}

.social-icons a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Custom Date Picker */
.date-picker-container {
    position: relative;
}

.custom-date-input {
    position: relative;
    cursor: pointer;
}

.custom-date-input i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    pointer-events: none;
}

[dir="rtl"] .custom-date-input i {
    right: auto;
    left: 1rem;
}

.custom-date-input input {
    cursor: pointer;
    caret-color: transparent;
    color: var(--primary-navy);
    font-weight: 600;
}

.custom-date-input input::placeholder {
    color: #4b5563;
    /* Darker grey for placeholder */
    opacity: 1;
}

.custom-picker {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 320px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 1.5rem;
    display: none;
    animation: fadeInDown 0.3s ease-out;
    border: 1px solid var(--border-color);
}

[dir="rtl"] .custom-picker {
    left: auto;
    right: 0;
}

[data-theme="dark"] .custom-picker {
    background: var(--card-bg);
}

.custom-picker.show {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.picker-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
}

[data-theme="dark"] .picker-header h4 {
    color: var(--hero-title-color);
}

.picker-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.picker-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

[data-theme="dark"] .picker-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.5rem;
}

.picker-weekdays div {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-transform: uppercase;
}

.picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.picker-day {
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.2s;
    font-weight: 600;
    color: var(--text-dark);
}

.picker-day:hover:not(.disabled) {
    background: var(--color-accent);
    color: var(--color-primary);
}

.picker-day.today {
    color: var(--color-secondary);
    font-weight: 900;
    text-decoration: underline;
}

.picker-day.selected {
    background: var(--color-primary) !important;
    color: white !important;
}

.picker-day.disabled {
    color: #94a3b8;
    /* Darker grey (Slate-400) for better visibility */
    cursor: not-allowed;
    font-weight: 400;
}

[data-theme="dark"] .picker-day.disabled {
    color: #475569;
}

.picker-day.prev-month,
.picker-day.next-month {
    color: #cbd5e1;
}

[data-theme="dark"] .picker-day.prev-month,
[data-theme="dark"] .picker-day.next-month {
    color: #475569;
}

@media (max-width: 480px) {
    .custom-picker {
        width: 280px;
        padding: 1rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .floating-info-card {
        width: 320px;
        padding: 1.5rem;
    }

    .floating-info-card {
        right: 40px;
    }

    [dir="rtl"] .floating-info-card {
        right: auto;
        left: 40px;
    }

    .organic-shape {
        width: 400px;
        height: 500px;
    }

    .info-card-headline {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container,
    .two-col-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Fixed Floating Card - Move to bottom on mobile */
    .floating-info-card {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 20px !important;
        right: 20px !important;
        transform: none;
        width: auto;
        max-width: none;
        padding: 1.25rem;
        animation: cardSlideUp 1s ease-out 0.5s forwards !important;
    }

    @keyframes cardSlideUp {
        0% {
            opacity: 0;
            transform: translateY(40px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Adjust hero padding for bottom card */
    .hero-premium {
        padding-bottom: 220px;
    }

    /* Organic shape adjustments for mobile */
    .organic-shape {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 100%;
        height: 300px;
    }

    .info-card-headline {
        font-size: 1.2rem;
    }

    .info-card-description {
        font-size: 0.9rem;
    }

    .info-card-badge {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .info-card-badge i {
        font-size: 1.25rem;
    }

    .process-steps {
        flex-direction: column;
        gap: 0;
    }

    .step-line {
        width: 2px;
        height: 30px;
        margin: 0 auto 1rem auto;
        flex: none;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        padding-bottom: 240px;
    }

    .floating-info-card {
        bottom: 15px;
        left: 15px !important;
        right: 15px !important;
        padding: 1rem;
    }

    .info-card-headline {
        font-size: 1.1rem;
    }

    .info-card-divider {
        margin: 0.75rem 0 0.75rem auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* RTL */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] #phone::placeholder {
    text-align: right;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo i {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}



[dir="rtl"] .testi-card h4 {
    text-align: left;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    [dir="rtl"] .hero-container {
        flex-direction: column-reverse;
    }

    .hero-content {
        text-align: center;
    }

    [dir="rtl"] .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .blob-mask {
        width: 320px;
        height: 320px;
    }
}