/* ============================================================================
   YOURDOC MODERN DESIGN SYSTEM
   A clean, accessible, and premium UI overhaul.
   ============================================================================ */

/* ============================================================================
   MOBILE OVERFLOW PREVENTION
   Prevent horizontal and vertical scrolling on mobile devices
   ============================================================================ */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

/* Prevent horizontal scroll on all containers */
.container-fluid,
.row,
[class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure images and media don't overflow */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Prevent table overflow */
table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
}

/* Mobile-specific overflow prevention */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    * {
        max-width: 100%;
    }

    .container-fluid {
        width: 100%;
        max-width: 100vw;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Prevent fixed width elements from causing overflow */
    [style*="width"] {
        max-width: 100% !important;
    }

    /* Ensure modals don't cause overflow */
    .modal {
        overflow-x: hidden;
    }

    .modal-dialog {
        max-width: calc(100vw - 2rem);
        margin: 1rem auto;
    }

    /* Prevent navigation overflow */
    nav,
    .navbar,
    .navbar-modern,
    .navbar-container {
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    /* Ensure all flex containers don't overflow */
    .navbar-actions,
    .navbar-nav-links {
        flex-wrap: wrap;
        max-width: 100%;
    }

    /* Prevent buttons from causing overflow */
    .btn-nav,
    .btn-specialist {
        white-space: nowrap;
        font-size: 0.875rem;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container,
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }
}

:root {
    /* Brand Colors - New Turquoise Palette #00AFA3 */
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-300: #5eead4;
    --primary-400: #2dd4bf;
    --primary-500: #00AFA3;
    /* New Brand Color */
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;

    /* Brand Primary Color - Main Button Color */
    --primary-brand: #00AFA3;
    --primary-brand-hover: #029E93;

    --primary: var(--primary-500);
    --primary-hover: var(--primary-600);

    /* Neutral Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Functional Colors */
    --white: #ffffff;
    --bg-body: #f8fcfc;
    /* Soft off-white/turquoise tint */
    --bg-subtle: var(--slate-50);
    --border-color: var(--slate-200);
    --text-main: var(--slate-800);
    --text-muted: var(--slate-500);

    /* Spacing & Layout */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Typography */
    --font-sans: 'Geologica', 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --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);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ============================================================================
   ICON FONT FIXES - Ensure icons always use proper font families
   ============================================================================ */
.fa,
[class^="fa-"],
[class*=" fa-"],
.flaticon,
[class^="flaticon-"],
[class*=" flaticon-"],
.icon,
[class^="icon-"],
[class*=" icon-"],
.glyphicon,
i.fa,
i[class^="fa-"],
i[class*=" fa-"],
i.flaticon,
i[class^="icon-"],
i[class*=" icon-"] {
    font-family: inherit;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    speak: none;
}

/* Specific font families for different icon sets */
.fa,
[class^="fa-"],
[class*=" fa-"],
i.fa,
i[class^="fa-"],
i[class*=" fa-"] {
    font-family: 'FontAwesome' !important;
}

.flaticon,
[class^="flaticon-"],
[class*=" flaticon-"],
i.flaticon {
    font-family: 'flaticon' !important;
}

.glyphicon {
    font-family: 'Glyphicons Halflings' !important;
}

/* ============================================================================
   GLOBAL UTILITIES (Scoped to avoid breaking header/footer)
   ============================================================================ */
.text-center {
    text-align: center;
}

.d-none {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* ============================================================================
   BRAND UTILITIES (Tailwind Compat)
   ============================================================================ */
.bg-primary-50 {
    background-color: var(--primary-50) !important;
}

.bg-primary-100 {
    background-color: var(--primary-100) !important;
}

.bg-primary-200 {
    background-color: var(--primary-200) !important;
}

.bg-primary-500 {
    background-color: var(--primary-500) !important;
}

.bg-primary-600 {
    background-color: var(--primary-600) !important;
}

.bg-primary-700 {
    background-color: var(--primary-700) !important;
}

.text-primary-400 {
    color: var(--primary-400) !important;
}

.text-primary-500 {
    color: var(--primary-500) !important;
}

.text-primary-600 {
    color: var(--primary-600) !important;
}

.text-primary-700 {
    color: var(--primary-700) !important;
}

.border-primary-100 {
    border-color: var(--primary-100) !important;
}

.border-primary-200 {
    border-color: var(--primary-200) !important;
}

.border-primary-500 {
    border-color: var(--primary-500) !important;
}

/* Gradient Utilities */
.from-primary-50 {
    --tw-gradient-from: var(--primary-50) !important;
}

.to-primary-50 {
    --tw-gradient-to: var(--primary-50) !important;
}

.from-primary-100 {
    --tw-gradient-from: var(--primary-100) !important;
}

.to-primary-100 {
    --tw-gradient-to: var(--primary-100) !important;
}

.from-primary-500 {
    --tw-gradient-from: var(--primary-500) !important;
}

.to-primary-600 {
    --tw-gradient-to: var(--primary-600) !important;
}

.to-primary-700 {
    --tw-gradient-to: var(--primary-700) !important;
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)) !important;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)) !important;
}

/* Remove global container override to prevent header/footer breakage */
/* Only apply font family to main content to be safe, or global if desired */
body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    background: var(--bg-body) !important;
    position: relative;
}

/* Green Corner Decoration */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, transparent 50%, rgba(3, 199, 184, 0.1) 100%);
    z-index: -1;
    border-bottom-left-radius: 100%;
    pointer-events: none;
}


main {
    background: var(--bg-body) !important;
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-top: 56px;
    }
}

/* ============================================================================
   MODERN NAVBAR - COMPLETELY NEW DESIGN
   ============================================================================ */

/* Hide old header */
.header_sticky {
    display: none !important;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}


/* New Modern Navbar */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100000;
    background: #fff;
    border-bottom: 1px solid #e6e9ec;
    overflow: visible !important;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 100000;
    overflow: visible !important;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo img {
    height: 42px !important;
    width: auto;
}

/* Navigation Links */
.navbar-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-600);
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.25s ease;
    border-bottom: 2px solid transparent;
}

.nav-link-item:hover:not(.active) {
    color: var(--primary-600);
    background: rgba(2, 158, 147, 0.08);
    text-decoration: none;
}

/* Active/Selected Nav Item - Bubbly Solid Primary Color */
.nav-link-item.active {
    color: #ffffff;
    background: var(--primary-brand);
    font-weight: 700;
    border-bottom-color: transparent;
    box-shadow: none;
}

/* Right Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 100000;
    overflow: visible !important;
}

/* Buttons */
/* Remove default focus outline from all buttons */
button:focus,
button:active,
a:focus,
a:active,
.btn-nav:focus,
.btn-nav:active,
.btn-nav-outline:focus,
.btn-nav-outline:active,
.btn-nav-primary:focus,
.btn-nav-primary:active,
.btn-specialist:focus,
.btn-specialist:active,
.join-us-button:focus,
.join-us-button:active,
.footer-join-us-btn:focus,
.footer-join-us-btn:active,
.btn-search-modern:focus,
.btn-search-modern:active,
.action-card-modern:focus,
.action-card-modern:active,
.action-card-btn:focus,
.action-card-btn:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-shadow: none;
    outline: none;
    position: relative;
}

.btn-nav:active {
    transform: translateY(1px);
    box-shadow: none;
}

.btn-nav-outline {
    background: var(--primary-brand);
    color: #ffffff;
    border: none;
    box-shadow: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav-outline:hover {
    background: var(--primary-brand-hover);
    color: #ffffff;
    text-decoration: none;
    box-shadow: none;
}

.btn-nav-primary {
    background: var(--primary-brand);
    color: #ffffff;
    border: none;
    box-shadow: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav-primary:hover {
    background: var(--primary-brand-hover);
    color: #ffffff;
    text-decoration: none;
    box-shadow: none;
}

/* Specialist Button */
.btn-specialist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    background: var(--primary-brand);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: none;
}

.btn-specialist:hover {
    background: var(--primary-brand-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-specialist i {
    font-size: 16px;
}

/* Specialist Link in Navigation - Highlighted */
.nav-link-specialist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    gap: 8px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-600);
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.2s ease;
    background: var(--primary-100);
    border: 1px solid var(--primary-300);
    margin-left: 12px;
}

.nav-link-specialist:hover {
    background: var(--primary-200);
    color: var(--primary-700);
    border-color: var(--primary-400);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-link-specialist i {
    font-size: 14px;
}

/* Mobile Auth Buttons - Hidden on desktop */
.mobile-auth-buttons {
    display: none;
}

/* Profile Dropdown */
.navbar-profile-dropdown {
    position: relative;
    z-index: 10000;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.profile-trigger:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e8eff3;
}

.profile-trigger i {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.navbar-profile-dropdown:hover .profile-trigger i {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 10001;
}

.navbar-profile-dropdown:hover .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s;
}

.profile-menu a:hover {
    background: #f0fdfa;
    color: #0d9488;
}

/* Language Dropdown */
.navbar-lang-dropdown {
    position: relative;
    z-index: 10000;
}

.lang-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--slate-600);
    height: 38px;
}

.lang-trigger:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-600);
}

.lang-trigger i {
    font-size: 14px;
    display: inline-block;
    font-family: 'FontAwesome' !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    color: inherit;
}

.lang-flag {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
}

.lang-flag img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-code {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    opacity: 0;
    visibility: hidden;
    margin-top: 10px;
    transition: all 0.2s ease;
    z-index: 99999;
}

.navbar-lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
    position: relative;
}

.lang-menu a:hover {
    background: #f8fafc;
    color: #0d9488;
}

.lang-menu a.lang-selected {
    background: var(--primary-50);
    color: var(--primary-600);
    font-weight: 600;
}

.lang-menu a.lang-selected::after {
    content: '✓';
    color: var(--primary-600);
    font-weight: 700;
    font-size: 16px;
    margin-left: auto;
}

.lang-menu .lang-flag {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.lang-menu .lang-flag img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-menu .lang-name {
    flex: 1;
    display: inline-flex;
    align-items: center;
}

.lang-name {
    font-weight: 500;
}

/* Mobile Toggle - Icon Only */
.navbar-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #475569;
    transition: color 0.15s ease;
}

.navbar-mobile-toggle:hover {
    color: #0f172a;
}

.navbar-mobile-toggle i {
    font-size: 22px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .navbar-container {
        padding: 0 16px;
        height: 64px;
    }

    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }

    /* Hide desktop nav links on mobile */
    .navbar-nav-desktop {
        display: none !important;
    }

    /* Hide login and register buttons on mobile */
    .btn-nav-outline,
    .btn-nav-primary {
        display: none !important;
    }

    /* Show mobile menu toggle */
    .navbar-mobile-toggle {
        display: flex;
    }
}

/* ============================================
   MOBILE NAV DRAWER - MODERN REDESIGN
   ============================================ */

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

@media (max-width: 992px) {
    .mobile-nav-drawer {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 320px;
        max-width: 88vw;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        background: #ffffff;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
        z-index: 100001;
        overflow: hidden;
    }

    .mobile-nav-drawer.active {
        transform: translateX(0);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
    }

    /* ===== Floating Close Button ===== */
    .drawer-close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 50%;
        cursor: pointer;
        color: #64748b;
        transition: all 0.2s ease;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .drawer-close-btn:hover {
        background: #ffffff;
        color: #0f172a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

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

    /* ===== Drawer Content ===== */
    .mobile-drawer-content {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 56px;
        padding-bottom: 20px;
    }

    /* ===== Profile Section ===== */
    .mobile-profile-section {
        padding: 20px;
        padding-top: 40px;
        background: linear-gradient(135deg, rgba(13, 148, 136, 0.03) 0%, rgba(13, 148, 136, 0.06) 100%);
        margin: 0;
    }

    .mobile-profile-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .mobile-profile-avatar-wrapper {
        position: relative;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        overflow: hidden;
    }

    .mobile-profile-avatar {
        width: 100%;
        height: 100%;
        min-width: 52px;
        min-height: 52px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
        aspect-ratio: 1 / 1;
        border: 2px solid #e2e8f0;
        display: block;
    }

    .mobile-profile-status {
        position: absolute;
        bottom: 2px;
        right: 2px;
        width: 12px;
        height: 12px;
        background: #22c55e;
        border: 2px solid #ffffff;
        border-radius: 50%;
    }

    .mobile-profile-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-profile-name {
        font-size: 16px;
        font-weight: 600;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    .mobile-profile-email {
        font-size: 13px;
        font-weight: 400;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    /* Profile Actions */
    .mobile-profile-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .mobile-profile-action-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 500;
        color: #475569;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-profile-action-btn:hover {
        background: var(--primary-50);
        border-color: var(--primary-200);
        color: var(--primary-700);
    }

    .mobile-profile-action-btn .action-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-600);
    }

    /* ===== Navigation Section ===== */
    .mobile-nav-section {
        padding: 20px 20px 8px;
    }

    .mobile-nav-section-label {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #94a3b8;
    }

    /* Navigation Items */
    .mobile-nav-items {
        padding: 0 12px;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        margin: 4px 0;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.2s ease;
        position: relative;
    }

    .mobile-nav-link .nav-link-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f1f5f9;
        border-radius: 10px;
        color: #64748b;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .mobile-nav-link .nav-link-text {
        flex: 1;
        font-size: 15px;
        font-weight: 500;
        color: #334155;
        transition: color 0.2s ease;
    }

    .mobile-nav-link .nav-link-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #cbd5e1;
        transition: all 0.2s ease;
    }

    .mobile-nav-link:hover {
        background: #f8fafc;
    }

    .mobile-nav-link:hover .nav-link-icon {
        background: var(--primary-100);
        color: var(--primary-600);
    }

    .mobile-nav-link:hover .nav-link-text {
        color: #0f172a;
    }

    .mobile-nav-link:hover .nav-link-arrow {
        color: var(--primary-500);
        transform: translateX(2px);
    }

    /* Active State */
    .mobile-nav-link.active {
        background: linear-gradient(135deg, var(--primary-50) 0%, rgba(13, 148, 136, 0.08) 100%);
    }

    .mobile-nav-link.active .nav-link-icon {
        background: var(--primary-500);
        color: #ffffff;
    }

    .mobile-nav-link.active .nav-link-text {
        color: var(--primary-700);
        font-weight: 600;
    }

    .mobile-nav-link.active .nav-link-arrow {
        color: var(--primary-500);
    }

    /* ===== Specialist CTA ===== */
    .mobile-specialist-cta {
        margin: 20px;
        padding: 20px;
        background: linear-gradient(135deg, var(--primary-50) 0%, rgba(13, 148, 136, 0.12) 100%);
        border: 1px solid var(--primary-100);
        border-radius: 16px;
    }

    .specialist-cta-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .specialist-cta-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--primary-500);
        border-radius: 12px;
        color: #ffffff;
        flex-shrink: 0;
    }

    .specialist-cta-text {
        font-size: 15px;
        font-weight: 600;
        color: #0f172a;
        line-height: 1.4;
        padding-top: 8px;
    }

    .specialist-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 20px;
        background: #ffffff;
        border: 1px solid var(--primary-500);
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: var(--primary-600);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .specialist-cta-btn:hover {
        background: var(--primary-500);
        color: #ffffff;
    }

    .specialist-cta-btn svg {
        transition: transform 0.2s ease;
    }

    .specialist-cta-btn:hover svg {
        transform: translateX(4px);
    }

    /* ===== Drawer Footer ===== */
    .mobile-drawer-footer {
        padding: 20px;
        background: #fafbfc;
        border-top: 1px solid rgba(0, 0, 0, 0.04);
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex-shrink: 0;
    }

    .mobile-auth-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-auth-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .mobile-auth-btn-outline {
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        color: #475569;
    }

    .mobile-auth-btn-outline:hover {
        border-color: var(--primary-300);
        color: var(--primary-600);
        background: var(--primary-50);
    }

    .mobile-auth-btn-primary {
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
        border: none;
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    }

    .mobile-auth-btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
        box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
        transform: translateY(-1px);
        color: #ffffff;
    }

    .mobile-auth-btn-logout {
        background: #fef2f2;
        border: 1px solid #fecaca;
        color: #dc2626;
    }

    .mobile-auth-btn-logout:hover {
        background: #fee2e2;
        border-color: #f87171;
        color: #b91c1c;
    }

    /* Mobile Auth Buttons Container (Login/Register for guests) */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .mobile-auth-btn-login {
        background: #ffffff;
        border: 1.5px solid #e2e8f0;
        color: #475569;
    }

    .mobile-auth-btn-login:hover {
        border-color: var(--primary-300);
        color: var(--primary-600);
        background: var(--primary-50);
    }

    .mobile-auth-btn-register {
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
        border: none;
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    }

    .mobile-auth-btn-register:hover {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
        box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
        transform: translateY(-1px);
        color: #ffffff;
    }

    /* Hide old styles */
    .nav-link-item,
    .nav-link-specialist,
    .mobile-profile-header,
    .mobile-profile-item,
    .mobile-profile-divider,
    .mobile-nav-icon {
        display: none !important;
    }
}

/* Mobile Menu Overlay - Between navbar and drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100000;
    pointer-events: none;
}

body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Desktop: Hide mobile-only elements */
@media (min-width: 993px) {
    .drawer-close-btn {
        display: none !important;
    }

    .mobile-profile-section {
        display: none !important;
    }

    .mobile-nav-icon {
        display: none !important;
    }

    .nav-link-specialist span {
        display: inline;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .mobile-drawer-footer,
    .mobile-drawer-content,
    .mobile-specialist-cta,
    .mobile-nav-section,
    .mobile-nav-items {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link-specialist {
        padding: 6px 12px;
        font-size: 13px;
    }

    .nav-link-specialist span {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
        gap: 12px;
    }

    .navbar-logo img {
        height: 32px !important;
    }

    .navbar-actions {
        gap: 8px;
    }

    .navbar-lang-dropdown .lang-trigger {
        padding: 8px;
    }

    .lang-flag {
        width: 28px;
        height: 28px;
    }

    .profile-trigger {
        padding: 2px 4px;
        border-width: 1.5px;
    }

    .profile-avatar {
        width: 24px;
        height: 24px;
    }

    /* Mobile Drawer - Tablet adjustments */
    .mobile-nav-drawer {
        width: 300px;
    }

    .drawer-close-btn {
        top: 14px;
        right: 14px;
    }

    .mobile-profile-section {
        padding: 16px;
        padding-top: 36px;
    }

    .mobile-profile-card {
        padding: 14px;
    }

    .mobile-nav-section {
        padding: 16px 16px 6px;
    }

    .mobile-nav-items {
        padding: 0 8px;
    }

    .mobile-nav-link {
        padding: 12px 14px;
    }

    .mobile-nav-link .nav-link-icon {
        width: 36px;
        height: 36px;
    }

    .mobile-specialist-cta {
        margin: 16px;
        padding: 16px;
    }

    .mobile-drawer-footer {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        height: 56px;
        padding: 0 12px;
    }

    .navbar-logo img {
        height: 32px !important;
    }

    .navbar-mobile-toggle {
        width: 36px;
        height: 36px;
    }

    .navbar-mobile-toggle i {
        font-size: 20px;
    }

    /* Mobile Drawer - Phone adjustments */
    .mobile-nav-drawer {
        width: 280px;
    }

    .mobile-drawer-header {
        padding: 12px 14px;
    }

    .mobile-drawer-logo img {
        height: 26px;
    }

    .drawer-close-btn {
        width: 32px;
        height: 32px;
    }

    .mobile-profile-section {
        padding: 14px;
    }

    .mobile-profile-card {
        padding: 12px;
        gap: 12px;
    }

    .mobile-profile-avatar {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .mobile-profile-name {
        font-size: 15px;
    }

    .mobile-profile-email {
        font-size: 12px;
    }

    .mobile-profile-action-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .mobile-nav-section {
        padding: 14px 14px 6px;
    }

    .mobile-nav-section-label {
        font-size: 10px;
    }

    .mobile-nav-items {
        padding: 0 6px;
    }

    .mobile-nav-link {
        padding: 11px 12px;
        gap: 12px;
    }

    .mobile-nav-link .nav-link-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .mobile-nav-link .nav-link-icon svg {
        width: 18px;
        height: 18px;
    }

    .mobile-nav-link .nav-link-text {
        font-size: 14px;
    }

    .mobile-specialist-cta {
        margin: 14px;
        padding: 14px;
        border-radius: 14px;
    }

    .specialist-cta-icon {
        width: 40px;
        height: 40px;
    }

    .specialist-cta-text {
        font-size: 14px;
    }

    .specialist-cta-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .mobile-drawer-footer {
        padding: 14px;
        gap: 8px;
    }

    .mobile-auth-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .mobile-profile-item {
        padding: 12px 14px !important;
    }
}


.container-v2,
.container-v2-full {
    --gutter-size: 16px;
    display: flow-root;
    margin: 0 auto;
    max-width: calc(1024px + 16px * 2);
    padding: 0 var(--gutter-size);
    width: 100%;
}

/* ============================================================================
   HERO SECTION REDESIGN
   ============================================================================ */
.hero-modern-section {
    position: relative;
    padding: 4rem 0 4rem 0;
    background: white;
    box-shadow: none;
    overflow: visible;
    z-index: 0;
}

.hero-modern-section>div {
    padding-bottom: 2rem;
    overflow: visible !important;
}

/* Background Decorative Elements - Visible */
.hero-bg-pattern {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: radial-gradient(#0d9488 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.05;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.hero-blob {
    display: block;
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--primary-200);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -2;
    animation: blob-float 10s infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20px, 20px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-200);
    border-radius: 9999px;
    color: var(--primary-800);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-500);
    border-radius: 50%;
    position: relative;
}

.hero-badge-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background-color: var(--primary-500);
    border-radius: 50%;
    opacity: 0.25;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Typography */
.hero-title {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 900;
    color: #0D9488;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    text-align: left !important;
}

.hero-subtitle {
    font-size: 40px;
    line-height: 58px;
    font-weight: 700;
    color: #616f86;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* ============================================================================
   CLEAN MODERN SEARCH CARD (WHITE SURFACE)
   ============================================================================ */

/* Search Header Section - Match Navbar Width and Padding */
.bg-white.border.sticky.top-0.z-30>div[class*="max-w"],
.bg-white.border.sticky.top-0.z-30>div {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 12px 24px !important;
}

.modern-search-wrapper {
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Main Card */
.modern-search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px;
    margin: 0 auto;
    border: 1px solid var(--primary-500);

    transition: all 0.25s ease;
}

.modern-search-card:focus-within {
    border-color: var(--primary-400);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.10);
}

/* Inputs Container */
.search-inputs-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Input Groups */
.search-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 14px;
    background: transparent;
    border-radius: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
}

/* Borders for search inputs (search_doctor page) */
.search-group:not(.custom-dropdown-wrapper) {
    border: 1px solid #e5e7eb;
}

/* Remove borders from home page search */
.centered-search .search-group:not(.custom-dropdown-wrapper) {
    border: none;
}

.search-group:hover {
    background: #f8fafc;
}

.search-group:not(.custom-dropdown-wrapper):hover {
    border-color: #cbd5e1;
}

.centered-search .search-group:not(.custom-dropdown-wrapper):hover {
    border-color: transparent;
}

.search-group:not(.custom-dropdown-wrapper):focus-within {
    border-color: var(--primary-500);
}

.centered-search .search-group:not(.custom-dropdown-wrapper):focus-within {
    border-color: transparent;
}

/* Divider */
.search-divider {
    width: 1px;
    height: 28px;
    background: #e5e7eb;
}

/* Icons */
.search-icon {
    color: #64748b;
    font-size: 1.1rem;
    pointer-events: none;
}

/* Text Field */
.search-field {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
}

.search-field::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Custom Select Styling */
select.search-field {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 1.5rem;
}

/* ============================================================================
   CUSTOM DROPDOWN
   ============================================================================ */

.custom-dropdown-wrapper {
    position: relative;
}

.custom-dropdown {
    width: 100%;
    position: relative;
}

.custom-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    cursor: pointer;
    user-select: none;
    border-radius: 14px;
    padding: 0 14px;
    background: transparent;
    transition: border-color 0.2s ease;
    border: 1px solid #e5e7eb;
}

/* Remove borders from home page search */
.centered-search .custom-dropdown-trigger {
    border: none;
}

.custom-dropdown-trigger:hover {
    border-color: #cbd5e1;
}

.centered-search .custom-dropdown-trigger:hover {
    border-color: transparent;
}

.custom-dropdown.open .custom-dropdown-trigger,
.custom-dropdown-trigger:focus {
    border-color: var(--primary-500);
    outline: none;
}

.centered-search .custom-dropdown.open .custom-dropdown-trigger,
.centered-search .custom-dropdown-trigger:focus {
    border-color: transparent;
}

.dropdown-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.custom-dropdown-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    order: 2;
}

.dropdown-arrow {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    order: 3;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 999;
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Item */
.custom-dropdown-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.custom-dropdown-item:hover {
    background: #f1f5f9;
}

/* Dropdown Icon */
.dropdown-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.dropdown-icon.indigo {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--white);
}

.dropdown-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
}

.dropdown-icon.green {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--white);
}

.dropdown-icon.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: var(--white);
}

.dropdown-icon.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: var(--white);
}

.dropdown-icon.medical {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--white);
}

/* Dropdown Text */
.dropdown-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f172a;
}

/* Scrollbar */
.custom-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5f5;
    border-radius: 10px;
}

/* ============================================================================
   SEARCH BUTTON
   ============================================================================ */

.btn-search-modern {
    height: 52px;
    width: 52px;
    border-radius: 14px;
    background: var(--primary-brand);
    color: #ffffff;
    border: none;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-search-modern:hover {
    background: var(--primary-brand-hover);
    color: #ffffff;
}

/* Location Options styling */
.location-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    z-index: 20;
    border: 1px solid var(--slate-100);
    display: none;
    overflow: hidden;
}

/* ============================================================================
   ERROR TEXT & CLEAR BUTTON
   ============================================================================ */

.error-msg {
    position: absolute;
    bottom: -1.4rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #ef4444;
}

.cross-btn {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.cross-btn:hover {
    color: #475569;
}

/* Quick Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4px;
    opacity: 0.8;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 12px;
}

.stat-icon {
    color: var(--slate-400);
    font-size: 1rem;
    opacity: 0.7;
}

/* ============================================================================
   QUICK ACTIONS (Categories)
   ============================================================================ */
/* Quick Actions Section V2 - Matching Specialities Section */
.quick-actions-section-v2 {
    padding: 5rem 0;
    position: relative;
    overflow: visible;
    background: white;
}

.quick-actions-wrapper {
    position: relative;
    z-index: 2;
}

.actions-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-card-modern {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: none;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.action-card-modern:hover {
    text-decoration: none;
}


.action-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}


/* Icon Colors */
/* Icon Colors - Unifying to Turquoise/Green Theme */
.bg-blue {
    background: var(--primary-100);
    color: var(--primary-600);
}

.bg-emerald {
    background: #ccfbf1;
    color: #059669;
}

.bg-purple {
    background: var(--primary-100);
    color: var(--primary-600);
}

.bg-orange {
    background: #99f6e4;
    /* Teal tint */
    color: #0d9488;
}

.bg-red {
    background: #fee2e2;
    color: #ef4444;
}

/* Action Card Button */
.action-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    background: var(--primary-brand);
    color: #ffffff;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.action-card-btn:hover {
    background: var(--primary-brand-hover);
    color: #ffffff;
    text-decoration: none;
    box-shadow: none;
}

.action-title-modern {
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.action-desc-modern {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* ============================================================================
   JOIN US SECTION - FOR DOCTORS
   ============================================================================ */
#join-us {
    padding: 5rem 0;
    background: var(--white);
}

/* Hide deprecated brand-pill badges */
#join-us .brand-pill {
    display: none;
}

@media (max-width: 768px) {
    #join-us {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    #join-us {
        padding: 5rem 0;
    }

    .join-us-section {
        margin-top: 1.5rem;
    }

    .join-us-main-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }

    .join-us-title {
        font-size: 1.25rem;
    }

    .join-us-description {
        font-size: 0.9375rem;
    }

    .join-us-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .join-us-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Even smaller badge on very small screens */
    .badge-specialists {
        padding: 0.5rem 0.75rem !important;
        bottom: 8px !important;
    }

    .badge-specialists .badge-number {
        font-size: 0.9375rem !important;
    }

    .badge-specialists .badge-text {
        font-size: 0.6875rem !important;
        line-height: 1.3 !important;
    }
}

.join-us-section {
    margin-top: 0;
}

/* Use consistent section title styling - join-us-main-title is deprecated */
.join-us-main-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Override for join-us section header */
#join-us .section-header-v2 {
    margin-bottom: 2.5rem;
}

/* Container wrapper to accommodate floating badges and shadows */
#join-us>div {
    padding-bottom: 1rem;
    overflow: visible;
}

/* Image wrapper with badges */
.join-us-image-wrapper {
    position: static;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    overflow: visible;
    padding: 0 0 1rem 0;
}

/* Desktop: Image wrapper keeps original styling with overflow visible for floating badges */
/* Mobile: Image wrapper adjustments */
@media (max-width: 768px) {
    .join-us-image-wrapper {
        align-items: center;
        margin-bottom: 1rem;
        min-height: 300px;
        position: relative;
        overflow: visible;
        padding-top: 1rem;
    }

    /* Mobile: Badges positioned relative to image wrapper */
    .badge-specialists {
        top: 0 !important;
        left: 10px !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* Hide testimonial badge on mobile only */
    .badge-testimonial {
        display: none !important;
    }
}

.join-us-img {
    align-items: center;
    background-color: #fafbfc;
    background-repeat: no-repeat;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: inline-flex;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Desktop: Set fixed dimensions */
@media (min-width: 992px) {
    .join-us-img {
        width: 516px;
        height: 460px;
        max-width: 100%;
    }

    [dir="rtl"] .join-us-img {
        width: 516px;
        height: 460px;
        max-width: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 12px;
    }
}

[dir="rtl"] .join-us-img {
    border-top-left-radius: 0;
    border-top-right-radius: 12px;
}

/* Mobile: Responsive image that maintains aspect ratio */
@media (max-width: 991px) {
    .join-us-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain;
    }
}

.join-us-card {
    --tw-shadow: 0px 0px 5px 0 rgba(0, 0, 0, .1);
    --tw-shadow-colored: 0px 0px 5px 0 0 0 #0000;
    background-color: #fafbfc;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    display: flex;
    flex-direction: column;
    /* overflow: hidden; Removed to allow floating badges to be visible */
    position: relative;
}

@media (min-width: 1024px) {
    .join-us-card {
        flex-direction: row;
        height: 460px;
        margin-left: 150px;
        position: relative;
        overflow: visible;
    }
}



.join-badge {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: 260px;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .join-badge {
        padding: 0.875rem 1rem;
        gap: 0.625rem;
    }

    .badge-number {
        font-size: 1.25rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .join-badge {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .badge-number {
        font-size: 1.125rem;
    }

    .badge-text {
        font-size: 0.6875rem;
        line-height: 1.4;
    }

    .badge-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.75rem;
    }
}

#mobile-app-banner {
    --tw-bg-opacity: 1;
    background-color: rgb(248 250 255 / var(--tw-bg-opacity, 1));
    height: auto;
    width: 100%;
}

/* Mobile Positioning (Default) */
.badge-specialists {
    top: 24px;
    left: 24px;
    transform: none;
}

.badge-testimonial {
    top: auto;
    bottom: 24px;
    left: 24px;
    right: auto;
    transform: none;
}

/* Desktop Positioning (Floating Left) */
@media (min-width: 1024px) {
    .badge-specialists {
        top: 25%;
        left: -120px;
        transform: translateY(-50%);
    }

    .badge-testimonial {
        top: 75%;
        left: -120px;
        bottom: auto;
        display: block;
        transform: translateY(-50%);
    }
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1;
    white-space: nowrap;
}

.badge-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

.badge-text {
    font-size: 0.8125rem;
    color: var(--slate-600);
    line-height: 1.5;
}

/* Content section */
.join-us-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    padding: 24px;
    width: 100%;
}

@media (min-width: 1024px) {
    .join-us-content {
        height: 460px;
        padding: 52px 48px;
        width: 370px;
    }
}

.join-us-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-us-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
}

.join-us-description {
    font-size: 1.25rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.join-us-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary-brand);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.join-us-button:hover {
    background: var(--primary-brand-hover);
    color: var(--white);
    text-decoration: none;
}

.join-us-button i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.join-us-button:hover i {
    transform: translateX(3px);
}

[dir="rtl"] .join-us-button:hover i {
    transform: translateX(-3px);
}

/* ============================================================================
   SPECIALITIES SECTION (OLD - KEPT FOR REFERENCE)
   ============================================================================ */
/* Note: The new specialities section uses .specialities-section-v2 class */
.specialities-section {
    padding: 4rem 0 !important;
    background: var(--white) !important;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Ensure container allows shadows to show */
.specialities-section .container,
.specialities-section .container-fluid {
    overflow: visible;
    position: relative;
}

/* Ensure carousel container allows proper centering - Desktop */
@media (min-width: 769px) {
    #reccomended.owl-carousel {
        width: 100%;
        position: relative;
        padding: 0 20px;
        /* Horizontal padding for shadows */
    }

    #reccomended .owl-stage-outer {
        position: relative;
        overflow: visible !important;
        padding: 10px 0;
        /* Vertical padding for shadows */
        margin: 0 -20px;
        /* Compensate for carousel padding */
    }

    #reccomended .owl-stage {
        position: relative;
        padding-bottom: 15px;
        /* Space for shadows */
        padding-top: 5px;
        /* Space for hover shadows */
        padding-left: 20px;
        /* Space for side scaling */
        padding-right: 20px;
        /* Space for side scaling */
    }
}

@media (max-width: 768px) {
    .specialities-section {
        padding: 2rem 0 !important;
        overflow: visible;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1rem;
    color: var(--slate-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.speciality-card {
    background: var(--white);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    margin: 0 5px;
    /* Carousel spacing */
    box-shadow: none;
}

.speciality-card:hover {
    border-color: var(--primary-200);
    transform: translateY(-2px);
    box-shadow: none;
}

.owl-item.active.center .speciality-card {
    box-shadow: none !important;
    border-color: var(--primary-300);
    transform: scale(1.02);
}

.speciality-img-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.speciality-card:hover .speciality-img-wrapper {
    background: var(--primary-100);
}

.speciality-img-wrapper img {
    width: 36px;
    height: 36px;
    opacity: 0.9;
}

.speciality-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.speciality-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.speciality-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
    text-decoration: none;
}

.speciality-btn:hover {
    color: var(--primary-800);
    text-decoration: none;
}

/* Owl Carousel Customization */
.owl-carousel {
    position: relative;
}

.owl-carousel .owl-stage {
    padding-bottom: 15px;
    /* Space for shadows */
    padding-top: 5px;
    padding-left: 20px;
    /* Space for side scaling */
    padding-right: 20px;
    /* Space for side scaling */
}

.owl-carousel .owl-stage-outer {
    overflow: visible;
    padding: 10px 0;
    /* More vertical padding for shadows */
    margin: 0 -20px;
    /* Negative margin to compensate for stage padding */
    position: relative;
}

/* Center active card styling - Desktop */
.owl-item.active.center {
    z-index: 10;
}

.owl-item.active.center .speciality-card {
    box-shadow: none !important;
    border-color: var(--primary-300);
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .owl-carousel .owl-stage {
        padding-bottom: 20px;
        /* Space for shadows */
        padding-top: 10px;
        /* Space for hover shadows */
        padding-left: 15px;
        /* Space for side shadows */
        padding-right: 15px;
        /* Space for side shadows */
    }

    .owl-carousel .owl-stage-outer {
        overflow: hidden;
        padding: 10px 0;
        /* Vertical padding for shadows */
        margin: 0 -15px;
        /* Compensate for stage padding */
    }

    .owl-carousel {
        padding: 0 15px;
        /* Horizontal padding for shadows */
    }
}

/* Desktop: Ensure carousel works properly with center mode */
@media (min-width: 993px) {
    #reccomended .owl-stage-outer {
        overflow: visible !important;
    }
}

@media (max-width: 768px) {

    /* Reset desktop carousel styles for mobile */
    #reccomended.owl-carousel {
        width: 100% !important;
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        position: relative;
    }

    #reccomended .owl-stage-outer {
        width: 100% !important;
        max-height: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        height: auto !important;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 0 !important;
        margin: 0 !important;
    }

    #reccomended .owl-stage-outer::-webkit-scrollbar {
        height: 4px;
    }

    #reccomended .owl-stage-outer::-webkit-scrollbar-thumb {
        background: var(--primary-300);
        border-radius: 2px;
    }

    #reccomended .owl-stage-outer::-webkit-scrollbar-track {
        background: var(--slate-100);
        border-radius: 2px;
    }

    #reccomended .owl-stage {
        padding: 10px 0 !important;
        height: auto !important;
        display: flex !important;
        width: auto !important;
        transform: none !important;
        transition: none !important;
    }

    #reccomended .owl-item {
        min-height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        flex-shrink: 0;
        width: 280px !important;
        margin-right: 1rem !important;
        padding: 0 !important;
        float: none !important;
        transform: none !important;
    }

    #reccomended .owl-item.cloned {
        display: none !important;
    }

    #reccomended .owl-item .item {
        width: 100% !important;
        height: 100%;
        display: block;
    }

    #reccomended .speciality-card {
        padding: 1.5rem 1rem !important;
        min-height: 180px !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: var(--white) !important;
        border: 1px solid var(--slate-200) !important;
        margin: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    #reccomended .owl-item.active.center .speciality-card,
    #reccomended .owl-item.active .speciality-card {
        box-shadow: none !important;
        border-color: var(--primary-300) !important;
        transform: none !important;
    }

    #reccomended .speciality-img-wrapper {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 1rem !important;
    }

    #reccomended .speciality-img-wrapper img {
        width: 30px !important;
        height: 30px !important;
        display: block;
    }

    #reccomended .speciality-body {
        display: block !important;
    }

    #reccomended .speciality-title {
        font-size: 0.9375rem !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
        color: var(--slate-800) !important;
    }

    #reccomended .speciality-btn {
        font-size: 0.8125rem !important;
        padding: 0.5rem 0.75rem !important;
        display: inline-flex !important;
        color: var(--primary-600) !important;
    }
}

@media (max-width: 480px) {
    #reccomended .owl-stage-outer {
        max-height: none !important;
        height: auto !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    #reccomended .owl-stage {
        height: auto !important;
        display: flex !important;
        padding: 10px 0 !important;
    }

    #reccomended .owl-item {
        width: 240px !important;
        flex-shrink: 0;
        margin-right: 1rem !important;
        padding: 0 !important;
    }

    #reccomended .speciality-card {
        padding: 1.25rem 0.875rem !important;
        min-height: 160px !important;
    }

    #reccomended .speciality-title {
        font-size: 0.875rem !important;
    }

    #reccomended .speciality-btn {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }

    #reccomended .speciality-img-wrapper {
        width: 56px !important;
        height: 56px !important;
        margin: 0 auto 0.875rem !important;
    }

    #reccomended .speciality-img-wrapper img {
        width: 28px !important;
        height: 28px !important;
        display: block;
    }
}

.owl-theme .owl-nav {
    margin-top: 2rem;
}

.owl-theme .owl-dots .owl-dot span {
    background: var(--slate-300) !important;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: var(--primary-500) !important;
    width: 20px;
    transition: width 0.2s;
}

/* ============================================================================
   APP SECTION - GRADIENT WITH PHONE MOCKUPS
   ============================================================================ */
.app-section-gradient {
    background-color: rgb(34 197 94 / var(1, 1));
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

.app-section-gradient>div {
    overflow: visible;
}

/* Subtle light green pattern overlay */
.app-section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(204, 251, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(204, 251, 241, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.app-grid-layout {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.app-grid-layout>* {
    flex: 1;
}

/* Phones mockup */
.phones-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    padding: 20px 0 40px;
}

/* Glow shapes */
.glow-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.6;
}

.glow-top {
    top: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.4) 0%, transparent 70%);
}

.glow-bottom {
    bottom: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, transparent 70%);
}

.phones-flex {
    position: relative;
    display: flex;
    gap: 16px;
    overflow: visible;
}

/* Phone mockup styling - Samsung Galaxy S23 Style */
.phone-mock {
    width: 170px;
    height: 360px;
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 32px;
    padding: 6px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        0 15px 30px -10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}


/* No camera cutout */

/* Screen container */
.phone-mock::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: #000;
    border-radius: 28px;
    z-index: 1;
}

.phone-2 {
    transform: translateY(40px);
    display: block;
    visibility: visible;
    opacity: 1;
}


/* Ensure Phone 2 is visible on desktop */
@media (min-width: 769px) {
    .phone-2 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.phone-screen-img {
    margin-right: 0;
    margin-top: 47px;
    width: 160px;
    display: block;
}

/* Text content */
.app-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.app-text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-label-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-700);
}

.app-section-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 58px;
    margin-left: 0;
    color: var(--slate-900);
}

.app-section-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-600);
    max-width: 450px;
}

/* Download buttons */
.app-buttons-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.app-download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 12px 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
}

.app-store-button {
    background: var(--slate-900);
}

.app-store-button:hover {
    background: var(--slate-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.google-play-button {
    background: var(--white);
    border: 1px solid var(--slate-200);
}

.google-play-button:hover {
    background: var(--slate-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.button-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.app-store-button .button-icon-box {
    background: rgba(255, 255, 255, 0.1);
}

.google-play-button .button-icon-box {
    background: var(--primary-50);
}

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

.app-store-button .icon-svg {
    color: var(--white);
}

.google-play-button .icon-svg {
    color: var(--primary-600);
}

.button-text-box {
    line-height: 1.2;
}

.button-label {
    font-size: 10px;
    text-transform: uppercase;
}

.app-store-button .button-label {
    color: rgba(226, 232, 240, 0.8);
}

.google-play-button .button-label {
    color: var(--slate-500);
}

.button-store-name {
    font-size: 15px;
    font-weight: 600;
}

.app-store-button .button-store-name {
    color: var(--white);
}

.google-play-button .button-store-name {
    color: var(--slate-900);
}

/* ============================================================================
   MODAL STYLES
   ============================================================================ */
.home-modal-popup .modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-login-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-800);
    text-align: center;
    padding: 2rem;
}

.click-here-link-new {
    color: var(--primary-600);
    text-decoration: underline;
}

.click-here-link-new:hover {
    color: var(--primary-800);
}

.modal-close-button {
    background: transparent;
    border: none;
    cursor: pointer;
}

.modal-close-icon {
    color: var(--slate-400);
}

/* ============================================================================
   MODERN LOGIN REQUIRED MODAL
   ============================================================================ */
.login-modal-dialog {
    max-width: 420px;
    margin: 1.75rem auto;
}

.login-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #ffffff;
}

.login-modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    opacity: 0.7;
}

.login-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: rotate(90deg);
}

.login-modal-close span {
    font-size: 20px;
    color: #64748b;
    line-height: 1;
    font-weight: 300;
}

.login-modal-body {
    padding: 2rem 2.5rem 2.5rem;
    text-align: center;
}

.login-modal-icon-wrapper {
    margin-bottom: 1.5rem;
}

.login-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.login-modal-icon i {
    font-size: 36px;
    color: #ffffff;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.login-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.login-modal-message {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-modal-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.login-modal-btn {
    min-width: 180px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    background: var(--primary-brand);
    border: none;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.login-modal-btn:hover,
.login-modal-btn:focus {
    background: var(--primary-brand-hover);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(3, 199, 184, 0.5), 0 8px 10px -6px rgba(3, 199, 184, 0.4);
}

.login-modal-btn:active {
    transform: translateY(0);
}

.login-modal-btn i {
    font-size: 1rem;
}

/* Mobile Responsive Styles */
@media (max-width: 576px) {
    .login-modal-dialog {
        max-width: calc(100% - 2rem);
        margin: 1rem auto;
    }

    .login-modal-content {
        border-radius: 12px;
    }

    .login-modal-header {
        padding: 1rem 1rem 0;
    }

    .login-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 28px;
        height: 28px;
    }

    .login-modal-close span {
        font-size: 18px;
    }

    .login-modal-body {
        padding: 1.5rem 1.5rem 2rem;
    }

    .login-modal-icon {
        width: 70px;
        height: 70px;
    }

    .login-modal-icon i {
        font-size: 32px;
    }

    .login-modal-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .login-modal-message {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .login-modal-btn {
        min-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .login-modal-dialog {
        max-width: calc(100% - 1rem);
    }

    .login-modal-body {
        padding: 1.25rem 1.25rem 1.75rem;
    }

    .login-modal-icon {
        width: 60px;
        height: 60px;
    }

    .login-modal-icon i {
        font-size: 28px;
    }

    .login-modal-title {
        font-size: 1.125rem;
    }

    .login-modal-message {
        font-size: 0.875rem;
    }
}

/* RTL Support */
[dir="rtl"] .login-modal-close {
    right: auto;
    left: 1rem;
}

[dir="rtl"] .login-modal-close:hover {
    transform: rotate(-90deg);
}

@media (max-width: 576px) {
    [dir="rtl"] .login-modal-close {
        left: 0.75rem;
    }
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
        text-align: center !important;
    }

    .phone-mock {
        width: 150px;
        height: 320px;
    }
}


@media (max-width: 768px) {
    .hero-modern-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.75rem;
        font-weight: 900;
        margin-bottom: 0.5rem;
        text-align: center;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: center;
        line-height: 1.3;
    }

    /* Center the text column content */
    .hero-modern-section .flex.flex-col.items-start {
        align-items: center;
    }

    /* Reduce bottom margin of the text container */
    .hero-modern-section .flex.flex-col.items-start.mb-12 {
        margin-bottom: 1rem !important;
    }

    .search-inputs-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-divider {
        display: none;
    }

    .search-group {
        width: 100%;
        background: transparent;
        border: 1px solid var(--primary-100);
        padding: 0.5rem 12px;
        border-radius: 9999px;
    }

    .custom-dropdown-trigger {
        height: 48px;
        padding: 0 12px;
    }

    .dropdown-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .dropdown-text {
        font-size: 0.875rem;
    }

    .custom-dropdown-menu {
        max-height: 240px;
    }

    .btn-search-modern {
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 9999px;
        padding: 0.875rem 1.5rem;
        justify-content: center;
        font-size: 1rem;
    }

    .btn-search-modern i {
        margin-right: 0.5rem;
    }

    .btn-search-modern::after {
        content: "Find";
        margin-left: 0.5rem;
    }

    .modern-search-card {
        border-radius: 1.5rem;
        padding: 0.75rem;
    }

    .search-field {
        border-radius: 9999px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 0rem;
    }

    .quick-actions-wrapper {
        margin-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    #join-us {
        padding: 5rem 0;
    }

    #join-us>div {
        overflow: hidden;
    }

    .join-us-section {
        margin-top: 2rem;
    }

    .join-us-main-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }


    .join-us-image-wrapper {
        order: -1;
        width: 100%;
        margin-bottom: 0;
    }

    .join-badge {
        position: absolute !important;
        max-width: 100%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
        z-index: 3;
    }

    .badge-specialists {
        top: auto !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: calc(100% - 20px);
    }

    .badge-specialists .badge-number {
        font-size: 1rem !important;
    }

    .badge-specialists .badge-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    /* Hide testimonial badge on mobile */
    .badge-testimonial {
        display: none !important;
    }

    .join-us-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .join-us-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .join-us-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }


    .app-section-gradient {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .app-grid-layout {
        flex-direction: column;
        gap: 40px;
        overflow: visible;
    }

    .phones-mockup-wrapper {
        overflow: visible;
    }

    /* Show Phone 2 on mobile/tablet - was previously hidden */
    .phone-2 {
        display: block;
    }

    .app-text-wrapper {
        text-align: center;
        align-items: center;
    }

    .app-section-description {
        margin: 0 auto;
    }

    .app-buttons-flex {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
        font-weight: 900;
        text-align: center;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        text-align: center;
        line-height: 1.3;
    }

    .actions-grid-modern {
        grid-template-columns: 1fr;
    }

    .badge-ticker-item {
        padding: 0.625rem 1.25rem;
    }

    .badge-ticker-item .badge-number-new {
        font-size: 16px;
    }

    .badge-ticker-item .badge-text-new {
        font-size: 14px;
    }

    .modern-search-card {
        padding: 0.75rem;
    }
}

/* ============================================================================
   BOOTSTRAP RESPONSIVE UTILITIES SUPPORT
   ============================================================================ */
/* ============================================================================
   FOOTER - BASED ON IMAGE
   ============================================================================ */
.footer-modern {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-width: 180px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: var(--white);
}

/* Footer Banner */
.footer-banner {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.footer-banner-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-banner-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    align-items: center;
    justify-content: center;
}

.footer-banner-countries span {
    white-space: nowrap;
    padding: 4px 0;
}

.footer-join-us-cta {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.footer-join-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary-800);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.footer-join-us-btn:hover {
    background: var(--primary-brand-hover);
    color: var(--white);
    text-decoration: none;
}

.footer-join-us-btn i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.footer-join-us-btn:hover i {
    transform: translateX(3px);
}

[dir="rtl"] .footer-join-us-btn:hover i {
    transform: translateX(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-icon:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-app-download {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-app-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.footer-app-buttons {
    display: flex;
    gap: 10px;
}

.footer-app-button {
    display: block;
    transition: opacity 0.3s ease;
}


.footer-app-button:hover {
    opacity: 0.8;
}

/* Footer Legal Section */
.footer-legal-section {
    padding: 25px 0;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .d-md-flex {
        display: flex !important;
    }

    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-banner-countries {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-app-download {
        flex-direction: column;
        text-align: center;
    }

    .footer-app-buttons {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* ============================================================================
   MAP SIDEBAR - SEARCH DOCTOR PAGE
   ============================================================================ */
#sidebar {
    width: 40% !important;
    flex-shrink: 0;
    min-width: 300px;
    display: block;
}

#sidebar .sticky {
    position: sticky;
    top: 70px;
    width: 100%;
    z-index: 10;
}

/* Ensure parent container has rounded corners and overflow hidden */
#sidebar>div {
    border-radius: 12px;
    overflow: hidden;
}

#sidebar .bg-white {
    border-radius: 12px;
    overflow: hidden;
}

/* Make map respect parent border radius */
#sidebar #map_listing {
    width: 100% !important;
    height: 100% !important;
    min-height: 297px;
    border-radius: 12px;
    overflow: hidden;
}

#sidebar .normal_list {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Ensure Google Maps canvas respects border radius */
#sidebar #map_listing>div,
#sidebar #map_listing canvas,
#sidebar .normal_list>div,
#sidebar .normal_list canvas {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* ============================================================================
   TIME SLOTS STYLING
   ============================================================================ */
/* Make all time slots darker than primary with no border and fully rounded */
.time-slot-btn,
.timeClass,
.available_slot,
.slots-class.select-slot,
input[type="radio"]:checked+label.timeClass,
input[type="radio"]:checked+label[class^="radio_aft"],
input[type="radio"]:checked+label {
    background: #02B3A8 !important;
    color: white !important;
    border: none !important;
    border-radius: 9999px !important;
}

/* Darker background on hover */
.time-slot-btn:hover,
.timeClass:hover,
.available_slot:hover {
    background: #019A8F !important;
    color: white !important;
}

/* Ensure peer-checked slots are also darker and fully rounded */
.peer:checked~span,
.peer-checked {
    background: #02B3A8 !important;
    color: white !important;
    border: none !important;
    border-radius: 9999px !important;
}

/* More slots button - match darker slot color */
.more-slots-btn {
    color: #02B3A8 !important;
    border-color: #02B3A8 !important;
}

.more-slots-btn:hover {
    color: #029E93 !important;
    border-color: #029E93 !important;
    background: rgba(2, 179, 168, 0.1) !important;
}

/* ============================================================================
   RTL (Right-to-Left) SUPPORT FOR ARABIC
   ============================================================================ */

[dir="rtl"] {
    text-align: right;
    font-family: 'Noto Sans Arabic', 'Geologica', 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    direction: rtl;
}

[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Geologica', 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    direction: rtl;
}

/* Don't apply Arabic font to icons - they need their own icon fonts */
[dir="rtl"] *:not(.fa):not([class*="fa-"]):not(.flaticon):not(.icon):not([class*="icon-"]):not(.glyphicon) {
    font-family: 'Noto Sans Arabic', 'Geologica', 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Ensure all icon fonts maintain their proper font families in RTL */
[dir="rtl"] .fa,
[dir="rtl"] [class*="fa-"],
[dir="rtl"] .flaticon,
[dir="rtl"] .icon,
[dir="rtl"] [class*="icon-"],
[dir="rtl"] .glyphicon,
[dir="rtl"] i[class*="fa"],
[dir="rtl"] i[class*="icon"],
[dir="rtl"] i.flaticon {
    font-family: 'FontAwesome', 'flaticon', inherit !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[dir="rtl"] body,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .section-title,
[dir="rtl"] .section-description {
    text-align: right;
}

/* Override text-center for hero content in RTL - keep hero centered but adjust inner elements */
[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .hero-content.text-center {
    text-align: center;
}

/* Most text-center elements should be right-aligned in RTL, except hero */
[dir="rtl"] .text-center:not(.hero-content) {
    text-align: right;
}

/* Search inputs container */
[dir="rtl"] .search-inputs-container {
    direction: rtl;
}

[dir="rtl"] .search-icon {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .search-field {
    padding-right: 15px;
    padding-left: 40px;
    text-align: right;
}

/* Custom Dropdown RTL */
[dir="rtl"] .custom-dropdown-trigger {
    flex-direction: row-reverse;
}

[dir="rtl"] .custom-dropdown-text {
    order: 2;
}

[dir="rtl"] .dropdown-icon-wrapper {
    order: 3;
}

[dir="rtl"] .dropdown-arrow {
    order: 1;
    margin-right: 0;
    margin-left: 0;
}

/* RTL: Icon on right (before text), Text on left (flows RTL) */
[dir="rtl"] .custom-dropdown-item {
    flex-direction: row-reverse !important;
}

[dir="rtl"] .dropdown-text {
    direction: rtl;
    text-align: right;
    flex: 1;
}

[dir="rtl"] .dropdown-icon {
    flex-shrink: 0;
}

[dir="rtl"] .custom-dropdown-text {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .custom-dropdown-menu {
    left: auto;
    right: 0;
    direction: rtl;
}

[dir="rtl"] .custom-dropdown-menu .custom-dropdown-item {
    flex-direction: row-reverse !important;
}

/* Cross button for location clear */
[dir="rtl"] .cross-btn {
    right: auto !important;
    left: 10px !important;
}

/* Section headers alignment - keep centered for better visual balance */
[dir="rtl"] .section-header {
    text-align: center;
}

/* But ensure individual text elements within sections follow RTL */
[dir="rtl"] .section-header .brand-pill {
    direction: rtl;
}

[dir="rtl"] .navbar-nav-links {
    direction: rtl;
}

/* Keep language selector at the end (right side) even in RTL */
[dir="rtl"] .navbar-actions {
    flex-direction: row;
    /* Keep row direction, don't reverse */
}

[dir="rtl"] .navbar-actions .navbar-lang-dropdown {
    order: 999;
    /* High order value to keep it at the end */
    margin-left: auto;
    /* Push to the right side */
}

[dir="rtl"] .navbar-actions .btn-nav-outline {
    order: 0;
}

[dir="rtl"] .navbar-actions .btn-nav-primary {
    order: 1;
}

[dir="rtl"] .navbar-actions .navbar-profile-dropdown {
    order: 2;
}

[dir="rtl"] .navbar-actions .navbar-mobile-toggle {
    order: 3;
}

[dir="rtl"] .nav-link-specialist {
    flex-direction: row-reverse;
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .nav-link-specialist i {
    margin-right: 0;
    margin-left: 6px;
}

/* RTL Mobile Drawer - Slides from left */
@media (max-width: 992px) {
    [dir="rtl"] .mobile-nav-drawer {
        left: 0;
        right: auto;
        transform: translateX(-100%);
    }

    [dir="rtl"] .mobile-nav-drawer.active {
        transform: translateX(0);
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.12);
    }

    /* Drawer header */
    [dir="rtl"] .mobile-drawer-header {
        flex-direction: row-reverse;
    }

    /* Profile section */
    [dir="rtl"] .mobile-profile-card {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .mobile-profile-info {
        align-items: flex-end;
        text-align: right;
    }

    [dir="rtl"] .mobile-profile-status {
        left: 2px;
        right: auto;
    }

    [dir="rtl"] .mobile-profile-actions {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .mobile-profile-action-btn {
        flex-direction: row-reverse;
    }

    /* Navigation links */
    [dir="rtl"] .mobile-nav-link {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .mobile-nav-link .nav-link-arrow {
        transform: scaleX(-1);
    }

    [dir="rtl"] .mobile-nav-link:hover .nav-link-arrow {
        transform: scaleX(-1) translateX(2px);
    }

    /* Specialist CTA */
    [dir="rtl"] .specialist-cta-content {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .specialist-cta-btn {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .specialist-cta-btn:hover svg {
        transform: translateX(-4px);
    }

    /* Auth buttons */
    [dir="rtl"] .mobile-auth-btn {
        flex-direction: row-reverse;
    }
}

[dir="rtl"] .btn-specialist {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-flag {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .footer-content {
    direction: rtl;
}

/* Quick actions cards */
[dir="rtl"] .actions-grid-modern {
    direction: rtl;
}

[dir="rtl"] .action-card-modern {
    text-align: right;
}

[dir="rtl"] .action-title-modern,
[dir="rtl"] .action-desc-modern {
    text-align: right;
}

[dir="rtl"] .action-icon-box {
    margin-left: 0;
    margin-right: 0;
}

/* Speciality cards */
[dir="rtl"] .speciality-card {
    text-align: right;
}

[dir="rtl"] .speciality-title {
    text-align: right;
}

[dir="rtl"] .speciality-body {
    text-align: right;
}

[dir="rtl"] .speciality-btn {
    text-align: right;
}

/* Join us section */
[dir="rtl"] .join-us-section {
    text-align: right;
}

[dir="rtl"] .join-us-text {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .join-us-title {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .join-us-description {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .join-us-main-title {
    text-align: right;
}

[dir="rtl"] .join-us-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    padding-left: 2rem;
    height: 460px;
    direction: rtl;
    width: 100%;
}

[dir="rtl"] .join-us-image-wrapper {
    direction: ltr;
}

/* RTL container padding adjustments for badges on right side */
/* RTL styles for join-us section now handled by Tailwind */

/* App section */
[dir="rtl"] .app-text-content {
    text-align: right;
}

[dir="rtl"] .app-section-title,
[dir="rtl"] .app-section-description,
[dir="rtl"] .app-label-text {
    text-align: right;
}

[dir="rtl"] .app-buttons-flex {
    justify-content: flex-start;
}

[dir="rtl"] .app-grid-layout {
    flex-direction: row-reverse;
}

/* Hero stats */
[dir="rtl"] .hero-stats {
    direction: rtl;
    justify-content: center;
}

[dir="rtl"] .stat-item {
    direction: rtl;
    flex-direction: row-reverse;
}

[dir="rtl"] .stat-icon {
    margin-left: 8px;
    margin-right: 0;
}

/* Footer */
[dir="rtl"] .footer-links {
    text-align: right;
}

[dir="rtl"] .footer-bottom-content {
    direction: rtl;
}

[dir="rtl"] .footer-legal {
    direction: rtl;
}

[dir="rtl"] .footer-legal-links {
    direction: rtl;
}

[dir="rtl"] .profile-menu {
    right: auto;
    left: 0;
}

/* Keep lang-menu on the right side even in RTL */
[dir="rtl"] .navbar-actions .navbar-lang-dropdown .lang-menu {
    right: 0;
    left: auto;
}

/* RTL Mobile menu toggle positioning - Keep language selector at end */
@media (max-width: 992px) {
    [dir="rtl"] .navbar-mobile-toggle {
        order: 3;
    }

    [dir="rtl"] .navbar-actions .navbar-lang-dropdown {
        order: 999;
    }

    [dir="rtl"] .navbar-profile-dropdown {
        order: 1;
    }

    [dir="rtl"] .mobile-nav-icon {
        margin-right: 0;
        margin-left: 12px;
    }

    [dir="rtl"] .nav-link-item {
        text-align: right;
    }
}

/* RTL adjustments for buttons and icons */
[dir="rtl"] .btn-search-modern {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-search-modern i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .join-us-button {
    flex-direction: row-reverse;
    direction: rtl;
}

[dir="rtl"] .join-us-button i {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .join-us-button span {
    direction: rtl;
}

[dir="rtl"] .speciality-btn::after {
    content: '←';
}

/* Ensure proper alignment for RTL text - but exclude hero sections which should stay centered */
[dir="rtl"] h1:not(.hero-title):not(.page-hero-title),
[dir="rtl"] h2:not(.hero-title):not(.page-hero-title),
[dir="rtl"] h3:not(.hero-title):not(.page-hero-title),
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

[dir="rtl"] p:not(.hero-subtitle):not(.page-hero-subtitle) {
    text-align: right;
}

/* Homepage Hero - Keep centered in RTL */
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-content h1,
[dir="rtl"] .hero-content p,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle {
    text-align: center !important;
}

/* Page Hero (About, Terms, Contact pages) - Keep centered in RTL */
[dir="rtl"] .page-hero,
[dir="rtl"] .page-hero-content,
[dir="rtl"] .page-hero-title,
[dir="rtl"] .page-hero-subtitle {
    text-align: center !important;
}

[dir="rtl"] .page-hero-badge {
    justify-content: center;
}

/* RTL support for form inputs */
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
    text-align: right;
    direction: rtl;
}

/* Error messages */
[dir="rtl"] .error-msg {
    left: auto;
    right: 0.5rem;
}

/* Fix for modal content */
[dir="rtl"] .modal-content {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .modal-login-text {
    text-align: right;
}

/* RTL adjustments for badges and pills */
[dir="rtl"] .hero-badge,
[dir="rtl"] .brand-pill {
    direction: rtl;
}

[dir="rtl"] .hero-badge-dot {
    margin-right: 0;
    margin-left: 8px;
}

/* Badge positioning in join-us section - Flip to right side in RTL */
[dir="rtl"] .badge-specialists {
    left: auto;
    right: -120px;
    direction: rtl;
}

[dir="rtl"] .badge-testimonial {
    left: auto;
    right: -120px;
    direction: rtl;
}

[dir="rtl"] .badge-text {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .badge-number {
    direction: rtl;
}

/* RTL mobile adjustments for badges - Flip to right side */
@media (max-width: 1024px) {
    [dir="rtl"] .badge-specialists {
        left: auto !important;
        right: 10px !important;
    }

    [dir="rtl"] .badge-testimonial {
        left: auto !important;
        right: 10px !important;
    }

}

@media (max-width: 768px) {
    [dir="rtl"] .badge-specialists {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    [dir="rtl"] .badge-testimonial {
        display: none !important;
    }

}

/* Owl carousel RTL */
[dir="rtl"] .owl-carousel {
    direction: rtl;
}

[dir="rtl"] .owl-carousel .owl-item {
    text-align: right;
}

/* Download buttons */
[dir="rtl"] .app-download-button {
    flex-direction: row-reverse;
}

[dir="rtl"] .button-icon-box {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .button-text-box {
    text-align: right;
}

/* ============================================================================
   CONSISTENT SECTION HEADER STYLES
   ============================================================================ */
.section-header-v2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-title-v2 {
    font-size: 32px;
    font-weight: 600;
    color: #223354;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    line-height: 38px;
    text-transform: uppercase;
}

.section-desc-v2 {
    font-size: 1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================================
   SPECIALITIES SECTION V2 - CLEAN MODERN DESIGN
   ============================================================================ */
.specialities-section-v2 {
    padding: 5rem 0;
    position: relative;
    overflow: visible;
    background: white;
}

.homepage-section-title {
    color: #223354;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
}

/* Slider Container */
.specialities-slider-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 80px;
    overflow: hidden;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--white);
    transform: translateY(-50%) scale(1);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

/* Slider Track */
.specialities-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 16px 12px;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Specialty Cards */
.spec-card {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 240px;
    background: var(--white);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: 1px solid var(--slate-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(13, 148, 136, 0.1);
    border-color: var(--primary-200);
    background: var(--white);
}

.spec-card:hover::before {
    background: var(--primary-500);
}

/* Card Icon - Using Primary Color Only */
.spec-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    color: var(--primary-600);
    border: 1px solid var(--primary-100);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.08);
}

.spec-card:hover .spec-card-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-color: var(--primary-200);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.spec-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.spec-card-icon i {
    font-size: 1.75rem;
}

/* Card Content */
.spec-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.spec-card-desc {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.spec-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

.spec-card-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.spec-card-link:hover {
    color: var(--primary-700);
    text-decoration: none;
}

.spec-card-link:hover i {
    transform: translateX(4px);
}

/* Dots Pagination */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slate-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: var(--slate-400);
}

.slider-dot.active {
    background: var(--primary-500);
    width: 24px;
    border-radius: 4px;
}

/* View All Link */
.specialities-view-all {
    text-align: center;
    margin-top: 2.5rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-600);
    background: var(--white);
    border: 2px solid var(--primary-200);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--white);
    text-decoration: none;
}

.view-all-link i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .spec-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 992px) {
    .specialities-slider-container {
        padding: 0 50px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
    }

    .spec-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .specialities-section-v2 {
        padding: 5rem 0;
        overflow: visible;
    }

    .section-title-v2 {
        font-size: 1.75rem;
    }

    .section-desc-v2 {
        font-size: 0.9375rem;
    }

    .specialities-slider-container {
        padding: 0;
        margin: 0 -1rem;
        overflow: visible;
    }

    .slider-arrow {
        display: none;
    }

    .specialities-slider {
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 1rem 0 2rem 0;
        margin: 0;
        width: 100%;
        scroll-behavior: smooth;
    }

    .specialities-slider::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        background: transparent;
    }

    .slider-track {
        transition: none;
        padding: 0 1rem;
        display: flex;
        gap: 1rem;
        width: fit-content;
    }

    .spec-card {
        flex: 0 0 calc(100vw - 2rem);
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .spec-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(13, 148, 136, 0.1);
        border-color: var(--primary-200);
    }

    .slider-dots {
        display: flex;
        margin-top: 1.5rem;
        gap: 0.375rem;
    }

    /* Mobile-specific dot styling */
    .slider-dot {
        width: 6px;
        height: 6px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slider-dot.active {
        width: 20px;
        height: 6px;
        border-radius: 3px;
        background: var(--primary-600);
    }

    .specialities-view-all {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .specialities-section-v2 {
        padding: 2rem 0 1.5rem;
        overflow: visible;
    }

    .section-header-v2 {
        margin-bottom: 1.5rem;
    }

    .section-title-v2 {
        font-size: 1.5rem;
    }

    .section-desc-v2 {
        font-size: 0.875rem;
    }

    .specialities-slider-container {
        overflow: visible;
        margin: 0 -0.75rem;
    }

    .specialities-slider {
        padding: 1rem 0 2rem 0;
    }

    .slider-track {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }

    .spec-card {
        flex: 0 0 calc(100vw - 4rem);
        min-width: calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
        padding: 1.5rem 1.25rem;
        scroll-snap-align: center;
    }

    .spec-card-icon {
        width: 64px;
        height: 64px;
    }

    .spec-card-icon img {
        width: 32px;
        height: 32px;
    }

    .spec-card-icon i {
        font-size: 1.5rem;
    }

    .spec-card-title {
        font-size: 1rem;
    }

    .slider-dots {
        margin-top: 1.25rem;
        gap: 0.375rem;
    }

    /* Smaller dots for very small screens */
    .slider-dot {
        width: 5px;
        height: 5px;
    }

    .slider-dot.active {
        width: 18px;
        height: 5px;
    }

    .specialities-view-all {
        margin-top: 1.25rem;
    }

    .view-all-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* RTL Support for Section Headers */
[dir="rtl"] .section-header-v2 {
    text-align: center;
}

[dir="rtl"] .section-title-v2,
[dir="rtl"] .section-desc-v2 {
    text-align: center;
}

/* RTL Support for Specialities V2 */
[dir="rtl"] .specialities-slider-container {
    direction: rtl;
}

[dir="rtl"] .specialities-slider {
    direction: rtl;
}

[dir="rtl"] .slider-track {
    /* Keep the same flex direction - browser handles RTL layout */
    direction: rtl;
}

[dir="rtl"] .slider-arrow-left {
    left: auto;
    right: 0;
}

[dir="rtl"] .slider-arrow-right {
    right: auto;
    left: 0;
}

[dir="rtl"] .slider-arrow-left i {
    transform: rotate(180deg);
}

[dir="rtl"] .slider-arrow-right i {
    transform: rotate(180deg);
}

[dir="rtl"] .spec-card-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .spec-card-link:hover i {
    transform: rotate(180deg) translateX(4px);
}

[dir="rtl"] .view-all-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .view-all-link:hover i {
    transform: rotate(180deg) translateX(4px);
}

/* ============================================================================
   STATIC PAGES - About Us, Terms & Conditions, Contact Us
   Modern, clean, mobile-friendly design
   ============================================================================ */

/* --- Page Hero Section --- */
.page-hero {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-50) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px -10px rgba(3, 199, 184, 0.5);
}

.page-hero-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.page-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-hero-title span {
    color: var(--primary-600);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-500);
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

/* Page Hero Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0 2rem;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.25rem;
    }

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

@media (max-width: 480px) {
    .page-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .page-hero-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

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

    .page-hero-title {
        font-size: 1.75rem;
    }

    .page-hero-subtitle {
        font-size: 0.9375rem;
    }
}

/* --- Page Content Container --- */
.page-content-section {
    padding: 3rem 0 4rem;
    background: var(--white);
}

.page-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- About Us Page Styles --- */
.about-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
}

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

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, transparent 50%);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text-wrapper p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin: 0;
}

.about-text-wrapper p:first-of-type {
    font-size: 1.0625rem;
    color: var(--slate-700);
}

/* About Features Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-100);
    transition: all 0.2s ease;
}

.about-feature-item:hover {
    background: var(--white);
    border-color: var(--primary-200);
    transform: translateY(-2px);
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    margin-bottom: 0.75rem;
}

.about-feature-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.about-feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-800);
    margin: 0;
}

/* About Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-card {
        padding: 1.5rem;
    }

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

    .about-feature-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem 1.25rem;
    }

    .about-feature-icon {
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }
}

/* --- Terms & Conditions Page Styles --- */
.terms-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.terms-toc {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.terms-toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-toc-title i {
    color: var(--primary-500);
}

.terms-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.terms-toc-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.terms-toc-list li a:hover {
    background: var(--white);
    color: var(--primary-600);
}

.terms-toc-list li a i {
    font-size: 0.75rem;
    color: var(--primary-400);
}

.terms-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--slate-100);
}

.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.terms-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.terms-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-500) 0%, var(--primary-300) 100%);
    border-radius: 2px;
}

.terms-content p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 0.75rem;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.terms-list li {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--slate-600);
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--primary-400);
    border-radius: 50%;
}

/* Terms Responsive */
@media (max-width: 768px) {
    .terms-card {
        padding: 1.5rem;
    }

    .terms-toc-list {
        grid-template-columns: 1fr;
    }

    .terms-section-title {
        font-size: 1.125rem;
    }
}

/* --- Contact Us Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1rem;
    color: var(--white);
}

.contact-info-text {
    flex: 1;
}

.contact-info-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.contact-info-text a:hover {
    color: var(--white);
}

.contact-info-text small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 0.25rem;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1.5rem;
}

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

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

.contact-form-group.full-width {
    grid-column: span 2;
}

.contact-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.contact-form-input,
.contact-form-textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    color: var(--slate-700);
    background: var(--slate-50);
    transition: all 0.2s ease;
    font-family: var(--font-sans);
    outline: none;
}

.contact-form-input:hover,
.contact-form-textarea:hover {
    background: var(--white);
    border-color: var(--slate-300);
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    background: var(--white);
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: var(--slate-400);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-brand);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    box-shadow: none;
}

.contact-submit-btn:hover {
    background: var(--primary-brand-hover) !important;
    color: var(--white) !important;
    box-shadow: none !important;
    transform: none !important;
}

.contact-submit-btn:active {
    transform: none;
}

.contact-submit-btn i {
    font-size: 1rem;
}

.contact-form-error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.contact-form-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form-success i {
    color: #22c55e;
}

/* Contact Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        order: 2;
    }

    .contact-form-card {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-group.full-width {
        grid-column: span 1;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* --- RTL Support for Static Pages --- */
[dir="rtl"] .page-hero-content {
    text-align: center;
}

[dir="rtl"] .about-feature-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-feature-icon {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .terms-section-title::before {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .terms-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .terms-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-info-icon {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .contact-info-text {
    text-align: right;
}


/* Hero Section Redesign 2025 */
@media (min-width: 992px) {
    .hero-content {
        align-items: flex-start;
        text-align: left;
        margin: 0;
        max-width: 100%;
    }

    .hero-title br {
        display: block;
    }
}

/* Custom Width Constraint - Now handled by Tailwind max-w-7xl */

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    padding: 0 4rem 1rem 0;
    /* Add right padding to make room for badges without overflowing container */
    width: 100%;
    /* Reset to full width for alignment */
    margin: 0;
    display: flex;
    justify-content: flex-end;
    /* Align image to right edge */
}

/* New Hero Image Wrapper - Fixed size, positioned at end */
.hero-image-wrapper-new {
    width: 420px;
    height: 294px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Image Clipper to ensure rounding works perfectly while allowing badges to overflow */
.hero-image-clipper {
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform: translateZ(0);
    /* Fix for Safari border-radius overflow */
    -webkit-transform: translateZ(0);
}

.hero-image-wrapper-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* Reset border radius on img as parent handles it */
    display: block;
}

/* New Floating Badges - Half in image, half out */
.floating-badge-new {
    position: absolute;
    background: #c0eae5;
    padding: 0.5rem 0.875rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.badge-number-new {
    font-weight: 900;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-600);
}

.badge-text-new {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--slate-600);
}

/* 2 badges on the left (start) - half in, half out */
.badge-specialties-new {
    top: 20%;
    left: 0;
    transform: translateX(-70%);
}

.badge-municipalities-new {
    top: 70%;
    left: 0;
    transform: translateX(-70%);
}

/* 1 badge on the right (end) - half in, half out */
.badge-practitioners-new {
    top: 50%;
    right: 0;
    transform: translateX(20%);
}

/* RTL: Floating Badges on the right of image for Arabic */
[dir="rtl"] .badge-specialties-new {
    left: auto;
    right: 0;
    transform: translateX(70%);
}

[dir="rtl"] .badge-municipalities-new {
    left: auto;
    right: 0;
    transform: translateX(80%);
}

[dir="rtl"] .badge-practitioners-new {
    right: auto;
    left: 0;
    transform: translateX(-20%);
}

@media (max-width: 1200px) {
    .badge-specialties-new {
        transform: translateX(-45%);
    }

    .badge-municipalities-new {
        transform: translateX(-45%);
    }

    .badge-practitioners-new {
        transform: translateX(45%);
    }

    /* RTL adjustments for smaller screens */
    [dir="rtl"] .badge-specialties-new {
        transform: translateX(45%);
    }

    [dir="rtl"] .badge-municipalities-new {
        transform: translateX(45%);
    }

    [dir="rtl"] .badge-practitioners-new {
        transform: translateX(-45%);
    }
}

@media (max-width: 991px) {
    .hero-image-wrapper-new {
        display: none;
    }

    .floating-badge-new {
        display: none;
    }
}

.hero-main-img {
    /* Ensure image fits well */
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
    position: relative;
    z-index: 1;
    /* Optional shadow for depth */
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--primary-50);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    min-width: 160px;
}

.badge-specialties {
    top: 10%;
    left: -20px;
    transform: none;
}

.badge-municipalities {
    bottom: 25%;
    left: -10px;
    animation-delay: 1s;
}

.badge-practitioners {
    top: 30%;
    right: -25px;
    animation-delay: 2s;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Ensure we use primary color as requested */
.badge-municipalities .badge-icon {
    background: var(--white);
    color: var(--primary-600);
}

.badge-practitioners .badge-icon {
    background: var(--white);
    color: var(--primary-600);
}

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

.badge-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--slate-900);
    line-height: 1.2;
}

.badge-subtitle {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 500;
}

.floating-stars {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 0;
}

.floating-stars .fa-star {
    position: absolute;
    color: #fbbf24;
    /* Warning color for stars usually */
    font-size: 2rem;
    animation: twinkle 3s infinite;
}

.star-1 {
    top: 0;
    right: 0;
}

.star-2 {
    top: 30px;
    right: 40px;
    font-size: 1.25rem !important;
    animation-delay: 1.5s;
    opacity: 0.7;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8) rotate(15deg);
    }
}

/* Adjustments for smaller screens */
@media (max-width: 1200px) {
    .badge-specialties {
        left: -10px;
    }

    .badge-practitioners {
        right: -10px;
    }
}

@media (max-width: 991px) {
    .hero-image-wrapper {
        display: none;
        /* Hide on mobile as per common pattern or stack it */
    }
}

/* Mobile adjustment correction */
@media (max-width: 991px) {
    .hero-image-wrapper {
        display: block;
        padding: 0;
        margin-top: 2rem;
        text-align: center;
    }

    .floating-badge,
    .floating-stars {
        display: none;
    }

    .hero-main-img {
        max-width: 100%;
        height: auto;
    }
}

/* ============================================================================
   MOBILE BADGE TICKER - Visible only on small screens
   ============================================================================ */
.mobile-badge-ticker {
    display: none;
    width: 100%;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    position: relative;
    height: 60px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .mobile-badge-ticker {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.badge-ticker-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #c0eae5;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.badge-ticker-item.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 2;
}

.badge-ticker-item .badge-number-new {
    font-weight: 900;
    font-size: 18px;
    line-height: 24px;
    color: var(--primary-600);
}

.badge-ticker-item .badge-text-new {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--slate-600);
}

/* ============================================================================
   RESPONSIVE SEARCH CARD - Additional mobile adjustments for larger phones
   ============================================================================ */
@media (max-width: 991px) and (min-width: 769px) {
    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    /* Center the text column content */
    .hero-modern-section .flex.flex-col.items-start {
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .join-us-img {
        border-top-right-radius: 0;
        display: flex;
        object-fit: cover;
    }
}

/* ============================================================================
   APP DOWNLOAD SECTION REDESIGN
   ============================================================================ */

.app-section-gradient {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.app-section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.app-content-container {
    position: relative;
    z-index: 2;
    padding: 5rem 1rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.app-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Text Side */
.app-text-content {
    max-width: 560px;
}

.app-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.app-section-title span {
    color: var(--primary-100);
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

.app-store-btn img {
    height: 50px;
    width: auto;
}

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

/* Image Side - Creative Composition */
.app-image-composition {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-phone-mockup {
    position: absolute;
    /* Removed mockup styles as requested */
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

.phone-1 {
    width: 260px;
    height: auto;
    z-index: 2;
    transform: translateX(-20px);
    top: 50%;
    margin-top: -260px;
}

.phone-2 {
    width: 240px;
    height: auto;
    z-index: 1;
    transform: translateX(140px) translateY(40px);
    opacity: 1;
    top: 50%;
    margin-top: -230px;
}

/* Responsive */
@media (max-width: 992px) {
    .app-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .app-text-content {
        margin: 0 auto;
        padding: 0 1rem;
    }

    .app-content-container {
        padding: 2.5rem 1rem;
    }

    .app-image-composition {
        height: 460px;
    }

    .phone-1 {
        transform: translateX(-40px);
        width: 220px;
        margin-top: -220px;
        /* Half of approx height */
    }

    .phone-2 {
        transform: translateX(60px) translateY(20px);
        width: 200px;
        margin-top: -200px;
        /* Half of approx height */
    }
}

@media (max-width: 480px) {
    .app-content-container {
        padding: 2rem 0.75rem;
    }

    .app-section-title {
        font-size: 2rem;
    }

    .app-image-composition {
        height: 380px;
        overflow: visible;
        /* Allow slight overlap if needed */
    }

    .phone-1 {
        width: 180px;
        transform: translateX(-30px);
        margin-top: -180px;
    }

    .phone-2 {
        width: 160px;
        transform: translateX(40px) translateY(10px);
        margin-top: -160px;
    }
}

/* ============================================================================
   BOOK APPOINTMENT BUTTON - Match Edit Profile Button Style
   ============================================================================ */
.book-appointment-btn {
    background: var(--primary-brand);
    color: #ffffff;
    border-radius: 9999px;
    /* Fully rounded */
    box-shadow: none;
    border: none;
}

.book-appointment-btn:hover {
    background: var(--primary-brand-hover);
    box-shadow: none;
}

/* ============================================================================
   EMPTY SLOT PLACEHOLDER - Dashed line for empty time slots
   ============================================================================ */
.empty-slot {
    width: 100%;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem;
}

.dash-line {
    width: 75%;
    height: 0;
    border-top: 1px dashed #d1d5db;
}