:root {
    --primary: #0f7b6c;
    --primary-soft: rgba(15, 123, 108, 0.08);
    --primary-hover: #0b5c51;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
}

/* Section title */
.recommended-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.right-10 {
    right: 10px;
}

/* Card container */
.recommended-card {
    width: 260px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    transition: all 0.25s ease-in-out;
    display: inline-block;
    vertical-align: top;
}

/* Hover effect */
.recommended-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image holder with fixed aspect ratio */
.card-image {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content styling */
.card-content {
    padding: 15px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title a {
    color: #333;
    text-decoration: none;
}

.card-title .verified {
    color: #06c167;
    /* Fresha green alternative */
    font-size: 1rem;
}

/* Meta info */
.card-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-meta i {
    margin-right: 6px;
    color: #888;
}

/* Force all cards to have the same size */
.recommended-card {
    width: 280px;
    /* FIXED consistent width */
    height: 330px;
    /* FIXED consistent height */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Image area always same height */
.recommended-card .card-image {
    width: 100%;
    height: 160px;
    /* This is the key */
    overflow: hidden;
    display: block;
}

/* Image handling — perfect crop without distortion */
.recommended-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop cleanly */
    object-position: center;
    /* crop center instead of top */
    border-bottom: 1px solid #eee;
}

/* Content area */
.recommended-card .card-content {
    padding: 15px;
    flex: 1;
    /* makes text area stable */
}

/* Title styling */
.recommended-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
    height: 45px;
    /* locks text area height */
    overflow: hidden;
    /* prevents resize */
}

/* Meta info height is fixed */
.recommended-card .card-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* Section title */
.latest-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Card shell */
.latest-card {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.latest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 123, 108, 0.08);
    border-color: rgba(15, 123, 108, 0.2);
}

/* Image */
.latest-card .card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: block;
}

.latest-card .card-image img.card-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.latest-card:hover .card-image img.card-img-zoom {
    transform: scale(1.08);
    /* Hover zoom effect */
}

/* Category Badge Overlay */
.card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--brand-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Content */
.latest-card .card-content {
    padding: 15px;
    flex: 1;
}

/* Title */
.latest-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 3.08rem;
    /* exactly 2 lines height */
}

.latest-card .card-title a {
    color: #333;
    text-decoration: none;
}

/* Verified icon */
.latest-card .verified {
    color: #06c167;
    font-size: 1rem;
}

/* Meta info */
.latest-card .card-meta {
    margin-top: 10px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
}

.latest-card .badge-soft {
    background-color: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    color: #4b5563;
    font-weight: 500;
}

.latest-card .card-meta i {
    width: 16px;
    text-align: center;
}

.view-profile-link {
    transition: all 0.2s ease;
}

.view-profile-link:hover {
    color: var(--brand-dark) !important;
    padding-left: 5px;
}


/* Section Style */
.fresha-steps {
    background: linear-gradient(180deg, #faf8ff 0%, #ffffff 80%);
    padding: 60px 0;
}

.steps-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2D2A41;
    margin-bottom: 10px;
}

.steps-subtitle {
    color: #6d6b7a;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Layout */
.steps-wrapper {
    display: flex;
    justify-content: center;
    /*gap: 20px;*/
}

/* Step Card */
.step-card {
    margin-bottom: 20px;
}

.step-inner {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    min-height: 330px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    overflow: hidden;
}

.step-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(15, 123, 108, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 123, 108, 0.08);
    border-color: rgba(15, 123, 108, 0.2);
}

.step-inner:hover::before {
    opacity: 1;
}

/* Icon Container */
.step-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

/* Fresha Inspired Color Palettes */
.fresha-color-1 {
    background: linear-gradient(135deg, #F0E5FF, #DCCAFF);
}

.fresha-color-2 {
    background: linear-gradient(135deg, #FFDCEB, #FFCAE2);
}

.fresha-color-3 {
    background: linear-gradient(135deg, #D3FFF5, #C0FFF0);
}

.step-icon img {
    width: 55%;
    height: auto;
}

/* Text Styling */
.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2D2A41;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.95rem;
    color: #6c6a76;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .steps-wrapper {
        flex-direction: column;
        gap: 25px;
    }
}




/* Section background and spacing */
.footer-links-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 30px 0;
}

.footer-links-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Grid styling */
/* Wrapper */
.footer-links-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */

}

/* City card */


/* ========================================= */
/* BROWSE BY STATES SECTION */
/* ========================================= */

/* Section container */
.footer-scroll-container {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
    padding: 60px 0;
    margin-bottom: 0 !important;
}

.footer-scroll-container .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-scroll-container .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #101828;
    position: relative;
    display: inline-block;
}

.footer-scroll-container .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 2px;
}

/* Wrapper */
/* Wrapper */
.footer-links-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */

}

/* City card */
.footer-city-card {
    padding: 0;
    min-width: 26vw;
    max-width: 26vw;
    flex-shrink: 0;
}


/* City card */


.city-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 130px;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 123, 108, 0.1);
    position: relative;
    overflow: hidden;
}

.city-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.city-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(15, 123, 108, 0.15);
    border-color: var(--brand-primary);
}

.city-card-inner:hover::before {
    opacity: 1;
}

/* Header button (for mobile expand/collapse) */
.city-card-header {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 4px;
}

.city-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #101828;
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-name::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--brand-primary);
    font-size: 1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-card-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

/* Links list */
.city-links-list {
    list-style: none;
    margin-top: 16px;
    padding-left: 0;
    display: block;
}

.city-links-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.city-links-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.city-links-list li:hover::before {
    opacity: 1;
}

.city-links-list a {
    font-size: 0.95rem;
    color: #475467;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-weight: 500;
}

.city-links-list a:hover {
    color: var(--brand-primary);
    transform: translateX(4px);
    font-weight: 600;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.footer-links-wrapper::-webkit-scrollbar {
    display: none;

}

.footer-links-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.footer-links-wrapper::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 10px;
}

.footer-links-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--brand-dark);
}














/* ================= Hero Section ================= */

html,
body {
    overflow-x: hidden;
    width: 100%;
}

.healthier-hero {
    margin-top: 75px;
    position: relative;
    padding: 40px 0 120px;
    background: radial-gradient(circle at 10% 20%, rgba(15, 123, 108, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
    overflow: hidden;
}

.container-hero {
    position: relative;
    z-index: 10;
    overflow: hidden;
    /* Prevent internal row bleeds from causing overflow */
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatShape 20s infinite alternate ease-in-out;
}

.shape.s1 {
    width: 300px;
    height: 300px;
    background: var(--brand-primary);
    top: -100px;
    left: -100px;
}

.shape.s2 {
    width: 250px;
    height: 250px;
    background: #38bdf8;
    top: 20%;
    right: -50px;
    animation-delay: -5s;
}

.shape.s3 {
    width: 350px;
    height: 350px;
    background: var(--brand-primary);
    bottom: -150px;
    left: 10%;
    animation-delay: -10s;
}

.shape.s4 {
    width: 200px;
    height: 200px;
    background: #38bdf8;
    bottom: 10%;
    right: 15%;
    animation-delay: -15s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Left Column */
.trust-badge-mini {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 123, 108, 0.1);
    color: var(--brand-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .text-teal {
    color: var(--brand-primary);
}

.hero-sub {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

/* Search Card - Premium Glassmorphism */
.hero-search-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.hero-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hero-select {
    width: 100%;
    padding: 14px 15px 14px 42px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.hero-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(15, 123, 108, 0.1);
}

.hero-btn-main {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-btn-main:hover {
    background: #178a85;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 123, 108, 0.2);
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-item span {
    font-size: 13px;
    color: #777;
}

.proof-item strong {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 700;
}

.proof-divider {
    width: 1px;
    height: 30px;
    background: #eee;
}

/* Right Column: Hero Image wrapper */
.hero-img-col {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-main-img {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    /* animation: floatImage 6s infinite ease-in-out; */
    display: block;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    animation: floatingBadge 4s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.badge-top-right {
    top: 10%;
    right: -20px;
    background: linear-gradient(135deg, var(--brand-primary, #0F7B6C) 0%, #17A589 100%);
}

.badge-bottom-left {
    bottom: 10%;
    left: -20px;
    animation-delay: -2s;
    background: linear-gradient(135deg, #02c782 0%, #019a64 100%);
}

.badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}


.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    /* White text for contrast */
}

.badge-text span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    /* Slightly translucent white for readability */
    margin-top: 2px;
}

@keyframes floatingBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .healthier-hero {
        padding: 60px 15px 80px;
        /* Added 15px side padding to contain internal rows */
        text-align: center;
        margin-top: 93px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-sub {
        margin: 0 auto 30px;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .hero-search-card {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    #topnav .logo img {
        height: auto !important;
        /* Smaller logo for very small screens */
    }

    #topnav .header-layout {
        padding: 10px 8px;
        /* Even tighter padding for small screens */
    }

    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .hero-search-card {
        padding: 16px;
        margin-top: 10px;
    }

    .hero-btn-main {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {



    .hero-stats li strong {
        font-size: 10px;
        color: #2c204f;
    }

    .hero-stats li {
        font-size: 10px;
        color: #6e6a83;
    }

}

/* Make Select2 box align with icon */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    padding-left: 36px !important;
    /* space for icon */
    border-radius: 10px !important;
    border: 1px solid #d9d5f2 !important;
}

/* Ensure selected text doesn’t overlap icon */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 8px !important;
    padding-right: 30px !important;
    /* Space for arrow and clear button */
    color: #3a3a4a !important;
    font-size: 15px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

/* Dropdown arrow alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 8px !important;
    top: 1px !important;
    /* Proper vertical alignment */
}

/* Clear selection x mark alignment */
.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 46px !important;
    line-height: 46px !important;
    margin-right: 15px !important;
    /* Space away from arrow */
    float: right;
}

/* Position icon ABOVE Select2 */
.field-group .field-icon {
    z-index: 50;
    /* so it stays visible */
    font-size: 17px;
    left: 12px;
}

/* Fix Select2 dropdown height and width */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 48px !important;
}

/* When Select2 is opened */
.select2-dropdown {
    border-radius: 10px !important;
    border: 1px solid #d9d5f2 !important;
}

/* Adjust hero-select container so icons align nicely */
.field-group {
    position: relative;
    min-width: 0;
    /* Prevents CSS grid blowout from intrinsic Select2 width */
}


.hsp-profile-hero {
    position: relative;
    background: linear-gradient(135deg, #e6f4f8, #f9fcfe);
    padding: 70px 0;
    overflow: hidden;
}

.hsp-profile-overlay {
    position: absolute;
    inset: 0;
    background-image: url('/assets/patterns/medical-pattern.svg');
    opacity: 0.04;
}

.hsp-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-logo img {
    width: 400px;
    height: auto;
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hero-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-meta span {
    display: inline-block;
    margin-right: 18px;
    color: #555;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn---primary {
    background: #000;
    color: #fff;
}

.btn---primary:hover {
    background: #111;
}

.btn-outline {
    border: 1.5px solid #0f7b6c;
    color: #0f7b6c;
    background: transparent;
}

.btn-outline:hover {
    background: #0f7b6c;
    color: #fff;
}

.hero-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-meta {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hsp-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-info h1 {
        font-size: 26px;
    }
}

.hospital-gallery-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 420px;
}

.gallery-main img,
.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65));
}

.gallery-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
}

.gallery-brand {
    display: flex;
    gap: 16px;
    align-items: center;
}

.gallery-brand img {
    width: 72px;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
}

.gallery-actions a {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        height: 260px;
    }

    .gallery-side {
        display: none;
    }

    .gallery-content {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}



/*====homepage changes */


/* Section */
.home-services {
    padding: 60px 0;
    background: #ffffff;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-header p {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 15px;
}

/* Grid */
/* Image-Based Speciality Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    height: 240px;
    /* Increased height for better background aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    /* Text at the bottom */
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
    /* Fallback */
    background-size: cover;
    background-position: center;
}

/* Gradient Overlay */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* New Hover Overlay for Icons */
.service-card .hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 123, 108, 0.85);
    /* Brand color tint */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
    backdrop-filter: blur(2px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 0;
    /* Hide initial gradient on hover */
}

.service-card:hover .hover-overlay {
    opacity: 1;
    /* Show brand color overlay */
}

.service-card span {
    position: relative;
    z-index: 3;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    transition: transform 0.4s ease;
}

.service-card:hover span {
    transform: translateY(-10px);
    /* Slight lift for text on hover to make room */
}

/* Hover Icon Styling */
.hover-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Makes the icon pure white */
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.service-card:hover .hover-icon {
    transform: scale(1) translateY(-10px);
    /* Bounce up into place */
    opacity: 1;
}

/* Hover */
.service-card:hover {
    background: #ffffff;
    border-color: rgba(15, 123, 108, 0.2);
    box-shadow: 0 15px 35px rgba(15, 123, 108, 0.08);
    transform: translateY(-6px);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover .service-icon {
    filter: brightness(0) saturate(100%) invert(43%) sepia(85%) saturate(480%) hue-rotate(135deg) brightness(95%) contrast(90%);
    transform: scale(1.15) translateY(-5px);
}

/* Active (mobile tap) */
.service-card:active {
    transform: scale(0.97);
}

/* Skeleton */
.service-skeleton {
    height: 120px;
    border-radius: 16px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e6e6e6 37%,
            #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Footer */
.services-footer {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    padding: 12px 28px;
    border-radius: 30px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Utilities */
.d-none {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Refinements */
@media (max-width: 991px) {
    #topnav .header-layout {
        justify-content: space-between !important;
        padding: 10px 15px !important;
    }

    #topnav .navbar-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        position: relative !important;
    }

    #topnav .navbar-toggle .lines {
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        height: 18px !important;
        width: 25px !important;
    }

    #topnav .navbar-toggle span {
        background-color: var(--brand-primary) !important;
        margin-bottom: 4px !important;
    }

    #topnav .navbar-toggle span:last-child {
        margin-bottom: 0 !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 5px !important;
    }

    .service-card {
        padding: 18px 8px !important;
        min-height: 110px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .service-card span {
        font-size: 13px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        max-width: 100% !important;
    }

    .service-icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 8px !important;
    }

    .home-services {
        padding: 20px 0 !important;
    }

    .section-header h2 {
        font-size: 20px !important;
    }
}

.top-treatments {
    background: #ffffff;
}

.top-treatments .section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

.top-treatments .section-header p {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 6px;
}

.treatment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-chip {
    padding: 16px 20px;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.treatment-chip::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #cbd5e1;
    transition: transform 0.3s, color 0.3s;
}

.treatment-chip:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(15, 123, 108, 0.1);
    transform: translateY(-3px);
}

.treatment-chip:hover::after {
    color: var(--primary);
    transform: translateX(4px);
}

.treatment-chip.view-all {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 20px;
    padding: 14px 32px;
    border-radius: 50px;
    background: rgba(15, 123, 108, 0.08);
    color: var(--primary);
    border: 1px solid transparent;
    display: inline-flex;
    width: auto;
    font-weight: 600;
}

.treatment-chip.view-all::after {
    display: none;
}

.treatment-chip.view-all:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 123, 108, 0.2);
}

@media (max-width: 640px) {
    .treatment-chip {
        font-size: 14px;
        padding: 14px 16px;
    }

    .treatment-list {
        grid-template-columns: 1fr;
    }
}

/* Full-Screen Mobile Search Modal */
#mobile_search_modal_for_inner .modal-content,
#mobile_search_modal_for_dct_call .modal-content {
    border-radius: 0;
    min-height: 100vh;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.15) 0%, rgba(56, 189, 248, 0.15) 50%, #fff 100%);
    border: none;
    /*padding: 20px;*/
}

#mobile_search_modal_for_inner .modal-header,
#mobile_search_modal_for_dct_call .modal-header {
    border-bottom: none;
    background: transparent;
    padding: 1rem 1.5rem;
}

#mobile_search_modal_for_inner .modal-body,
#mobile_search_modal_for_dct_call .modal-body {
    padding: 0;
}

/* Inputs & Dropdown */
.mobile_search_container input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #0f766e;
    border-radius: 12px;
    color: #2c204f;
    font-size: 15px;
}

.mobile_search_container .dropdown_list li:hover {
    background-color: rgba(15, 118, 110, 0.1);
}

.mobile_search_container .speciality_div i,
.mobile_search_container .speciality_div span {
    color: #0f766e;
}

.mobile_search_container .fa-times-circle {
    color: var(--primary);
    cursor: pointer;
}

/* Modal animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

.modal-content {
    border-radius: 0;
    min-height: 100vh;
    /*padding: 20px;*/
    background: radial-gradient(circle, #f3f0ff 0%, #d6d4ff 50%, #fff 100%);
}

.modal-header {
    border-bottom: none;
    background: transparent;
    padding: 1rem 1.5rem;
}

.mobile_search_container input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #0f766e;
    border-radius: 12px;
    color: #2c204f;
    font-size: 15px;
}

.dropdown_list li:hover {
    background-color: rgba(15, 118, 110, 0.1);
    cursor: pointer;
}

.speciality_div i,
.speciality_div span {
    color: #0f766e;
}

.btn-healthier {
    background-color: #0f766e;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 0;
}

#mb_search_countries,
#inner_mb_search_categories {
    padding: 0;
}

.selected_spl_container,
.selected_locat_container,
.selected_spl,
.selected_locat {
    background: white;
    border-radius: 0 !important;
}

.mobile_search_container ul {
    padding: 0 !important;
}

/*==listing tool bar */
.listing-toolbar {
    position: sticky;
    top: 85px;
    z-index: 99;
    background: #fff;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.toolbar-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}

.toolbar-btn:hover {
    background: #f9fafb;
}

.hidden-map {
    display: none;
}

@media (min-width: 1024px) {
    .listing-wrapper {
        grid-template-columns: 1fr 520px;
    }
}

.filter-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: none;
    z-index: 9999;
}

.filter-content {
    background: #fff;
    max-width: 420px;
    margin: 80px auto;
    padding: 20px;
    border-radius: 16px;
}

/*===seha footer */
/*===seha footer */
.seha-footer {
    background: var(--brand-footer-bg);
    color: #98A2B3;
    padding: 80px 0 0;
    font-size: 15px;
    background-image: radial-gradient(circle at 10% 20%, rgba(15, 123, 108, 0.03) 0%, transparent 20%);
}

.seha-footer a {
    color: #98A2B3;
    text-decoration: none;
    transition: all .3s ease;
    display: inline-block;
}

.seha-footer a:hover {
    color: var(--brand-primary);
    transform: translateX(4px);
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-desc {
    max-width: 380px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--brand-primary);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.footer-contact a {
    color: #fff;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(15, 123, 108, 0.3);
}

.footer-bottom {
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: #667085;
}

.footer-bottom-links a {
    margin-left: 24px;
    font-size: 14px;
    color: #98A2B3;
}

.footer-bottom-links a:hover {
    color: #fff;
    transform: none;
}

.footer-city-links {
    columns: 2;
    column-gap: 30px;
}

.footer-city-links li {
    break-inside: avoid;
}

.listing-seo-block {
    margin: 60px 0;
}

.seo-box {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px;
    max-width: 1200px;
}

.seo-box h2 {
    font-size: 22px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
}

.seo-box p {
    font-size: 15px;
    color: #475467;
    line-height: 1.7;
    margin: 0;
}

.latest-listings {
    padding: 60px 0;
    background: #f8f9fb;
}

.section-head {
    display: block;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 24px;
    font-weight: 600;
}

.section-head .view-all {
    font-size: 14px;
    color: var(--primary-color);
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.listing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
}

.card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 14px;
}

.card-body h3 {
    font-size: 16px;
    margin: 0 0 6px;
}

.card-body p {
    font-size: 13px;
    color: #777;
}

/*== mobile header*/
/* =========================================================
   MOBILE NAV — SAFE & SCOPED
   ========================================================= */

/* NEVER show on desktop */
@media (min-width: 992px) {
    #mobileNav {
        display: none !important;
    }
}

/* Mobile base */
@media (max-width: 991px) {

    #mobileNav {
        position: fixed;
        inset: 0;
        background: #ffffff;
        z-index: 99999;
        top: 68px;
        /*transform: translateX(100%);*/
        transition: transform 0.35s ease;

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #mobileNav.active {
        /*transform: translateX(0);*/
    }

    /* Header */
    .mobile-nav-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-nav-top img {
        height: 28px;
    }

    .close-nav {
        font-size: 30px;
        background: none;
        border: none;
        color: var(--text-dark);
        cursor: pointer;
    }

    /* Quick actions */
    .mobile-quick-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px 20px;
    }

    .quick-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        border-radius: 10px;
        background: var(--primary);
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

    .quick-btn.outline {
        background: var(--primary-soft);
        color: var(--primary);
    }

    /* Menu groups */
    .mobile-menu-group {
        padding: 10px 0;
    }

    .menu-heading {
        padding: 10px 20px;
        font-size: 13px;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .nav-menu-item {
        display: flex;
        gap: 14px;
        padding: 14px 20px;
        text-decoration: none;
        color: var(--text-dark);
        border-top: 1px solid var(--border);
    }

    .nav-menu-item.active {
        background: var(--primary-soft);
        border-left: 3px solid var(--primary);
    }

    .nav-menu-item.active strong {
        color: var(--primary);
    }

    .nav-menu-item i {
        font-size: 22px;
        color: var(--primary);
        margin-top: 2px;
    }

    .nav-menu-item span {
        display: block;
        font-size: 13px;
        color: var(--text-light);
    }

    .nav-menu-item.highlight {
        background: var(--primary-soft);
    }

    /* Footer links */
    .mobile-menu-footer {
        display: flex;
        justify-content: space-around;
        padding: 14px;
        border-top: 1px solid var(--border);
    }

    .mobile-menu-footer a {
        color: var(--text-dark);
        font-weight: 500;
        text-decoration: none;
    }
}

/* Desktop only */
.desktop-only {
    position: relative;
    cursor: pointer;
}

/* Dropdown menu */
.dropdown-menu-custom {
    position: absolute;
    top: 33px;
    right: -27px;
    background: #fff;
    min-width: 180px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
}

.dropdown-menu-custom li {
    list-style: none;
}

.dropdown-menu-custom li a {
    display: block;
    padding: 8px 16px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu-custom li a:hover {
    background-color: #f2f2f2;
}

/* Show dropdown on hover (desktop only) */
.desktop-only:hover .dropdown-menu-custom {
    display: block;
}

/* Hide entire menu on mobile */
@media (max-width: 991px) {
    .desktop-only {
        display: none;
    }
}

/* ========================================= */
/* GLOBAL REBRANDING OVERRIDES - FORCE TEAL */
/* ========================================= */

:root {
    --brand-teal: #0f7b6c;
    --brand-teal-dark: #0A5F59;
    --brand-teal-light: #e8f7f6;
}

/* 1. Selection Color */
::selection {
    background: var(--brand-teal);
    color: #fff;
}

/* 2. Bootstrap Primary Overrides */
.text-primary {
    color: var(--brand-teal) !important;
}

.bg-primary {
    background-color: var(--brand-teal) !important;
}

.btn-primary {
    background-color: var(--brand-teal) !important;
    border-color: var(--brand-teal) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--brand-teal-dark) !important;
    border-color: var(--brand-teal-dark) !important;
}

.btn-outline-primary {
    color: var(--brand-teal) !important;
    border-color: var(--brand-teal) !important;
}

.btn-outline-primary:hover {
    background-color: var(--brand-teal) !important;
    color: #fff !important;
}

.badge-primary {
    background-color: var(--brand-teal) !important;
}

.badge-soft-primary {
    background-color: rgba(15, 123, 108, 0.1) !important;
    color: var(--brand-teal) !important;
}

/* 3. General Links */
a {
    color: var(--brand-teal);
}

a:hover {
    color: var(--brand-teal-dark);
}

.text-muted a:hover {
    color: var(--brand-teal) !important;
}

/* 4. Form Elements */
.form-control:focus {
    border-color: var(--brand-teal) !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 123, 108, 0.25) !important;
}

/* 5. Specific Template Overrides (Legacy Blues) */
.section-inner-header h6 {
    color: var(--brand-teal) !important;
}

/* Was #1E90BB */
.contact-icon {
    color: var(--brand-teal) !important;
}

/* Was #1E90BB */
.forgot-link {
    color: var(--brand-teal) !important;
}

/* Was #1E90BB */
.booking-doctor-right a {
    color: var(--brand-teal) !important;
}

.hp-profile-doctor-search svg {
    color: var(--brand-teal) !important;
}

/* Was #2B59E0 */

/* 6. Footer & Navigation */
.footer-links a:hover,
.footer-city-links a:hover,
.footer-contact a:hover {
    color: var(--brand-teal) !important;
}

.dropdown-selected {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 12px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: 44px;
    min-width: 9vw !important;
}

.header-right-navigation span {
    /* border-color: var(--brand-teal-light) !important; */
    border: none;
}

.header-right-navigation span:hover {
    /* border-color: var(--brand-teal) !important; */
    border: none;
}

/* 7. Pagination */
.page-item.active .page-link {
    background-color: var(--brand-teal) !important;
    border-color: var(--brand-teal) !important;
}

.page-link {
    color: var(--brand-teal) !important;
}

/* 8. Tabs & Pills */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--brand-teal) !important;
}

/* 9. Miscellaneous */
.login-header h3 a {
    color: var(--brand-teal) !important;
}

/* Login link */
.check-mark {
    background: var(--brand-teal);
}

/* Custom checkboxes */

/* ========================================= */
/* NEW FOOTER REDESIGN */
/* ========================================= */

/* --- CTA Section (Pre-Footer) --- */
.footer-cta-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #e6f7f6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Curve decorative element (optional/simulated) */
.footer-cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0d5f5c;
    border-radius: 50% 50% 0 0;
    transform: scaleX(1.5);
    opacity: 1;
    display: none;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #101828;
}

.text-brand {
    color: var(--brand-primary);
}

.cta-phone-wrapper {
    position: relative;
    text-align: center;
}

.phone-mockup {
    max-height: 450px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    border: 8px solid #101828;
    background: #eee;
    /* Placeholder bg */
}

.cta-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 123, 108, 0.08);
    border-color: rgba(15, 123, 108, 0.2);
}

.cta-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

/* Premium Brand Context Colors */
.bg-jade-light {
    background: rgba(15, 123, 108, 0.1);
}

.text-jade {
    color: var(--brand-primary);
}

.bg-cyan-light {
    background: rgba(29, 166, 160, 0.1);
}

.text-cyan {
    color: var(--brand-secondary);
}

.bg-lime-light {
    background: rgba(132, 204, 22, 0.1);
}

.text-lime {
    color: #84cc16;
}

.text-blue {
    color: #0ea5e9;
}

.text-green {
    color: #22c55e;
}

.cta-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 6px;
}

.cta-content p {
    font-size: 13px;
    color: #667085;
    margin: 0;
    line-height: 1.5;
}

/* --- Main Footer --- */
.seha-footer-new {
    background: #0d5f5c;
    /* Deep Teal matching design */
    background: linear-gradient(135deg, #0d5f5c 0%, #042b29 100%);
    color: #ffffff;
    padding: 80px 0 30px;
    font-size: 15px;
    position: relative;
}

/* Overriding old footer styles if needed */
.seha-footer-new a {
    text-decoration: none;
}

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-nav,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 14px;
}

.footer-nav a {
    color: #e0e0e0;
    /* Light gray text */
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-weight: 400;
}

.footer-nav a:hover {
    color: #ffffff;
    transform: translateX(5px);
    text-decoration: none;
    font-weight: 500;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #e0e0e0;
    line-height: 1.6;
}

.contact-list i {
    color: #fff;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #fff;
    color: #0d5f5c;
    transform: translateY(-3px);
}

/* --- Trust Bar --- */
.footer-trust-bar {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: #0f7b6c;
    /* Brand Teal */
    border-radius: 50%;
    /* or rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 18px;
}

.badge-text {
    line-height: 1.3;
}

.badge-text strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.badge-text span {
    font-size: 13px;
    color: #d0d0d0;
}

.btn-join-us {
    background: #0f7b6c;
    color: #fff;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 123, 108, 0.4);
    display: inline-block;
    text-decoration: none;
}

.btn-join-us:hover {
    background: #179690;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 25px rgba(15, 123, 108, 0.5);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* subtle separator if needed */
    padding-top: 20px;
    margin-top: 30px;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .footer-cta-section {
        padding: 50px 0;
    }

    .cta-phone-wrapper {
        margin-bottom: 30px;
    }

    .seha-footer-new {
        text-align: center;
    }

    .footer-nav,
    .contact-list {
        margin-bottom: 30px;
    }

    .footer-nav a:hover {
        transform: none;
    }

    .contact-list li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* ========================================= */
/* CSS PHONE MOCKUP STYLES */
/* ========================================= */
.css-phone {
    width: 280px;
    height: 560px;
    background: #101828;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    border: 4px solid #2d3748;
    position: relative;
}

/* Notch */
.css-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #101828;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #101828;
}

.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.app-logo {
    font-weight: 800;
    color: var(--brand-primary);
    font-size: 16px;
}

.menu-icon,
.profile-icon {
    font-size: 16px;
    color: #64748b;
}

.app-hero {
    padding: 20px;
    margin-bottom: 10px;
}

.app-hero h6 {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.app-hero h4 {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    margin: 4px 0 16px;
}

.app-search {
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 0 15px;
}

.app-card {
    background: #fff;
    padding: 12px 5px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    aspect-ratio: 1;
}

.app-card i {
    font-size: 18px;
    margin-bottom: 2px;
}

.app-card span {
    font-size: 11px;
    font-weight: 600;
    color: #475467;
}

.app-card.app-jade i {
    color: var(--brand-primary);
    background: rgba(15, 123, 108, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.app-card.app-cyan i {
    color: var(--brand-secondary);
    background: rgba(29, 166, 160, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.app-card.app-lime i {
    color: #84cc16;
    background: rgba(132, 204, 22, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.app-banner {
    margin: 20px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    padding: 16px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-banner span {
    font-size: 12px;
    font-weight: 600;
}

.app-banner button {
    background: #fff;
    color: var(--brand-primary);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

/* =========================
   Header refresh (desktop)
   ========================= */
#topnav {
    background: radial-gradient(circle at 50% 0%,
            rgba(15, 118, 110, 0.16) 0%,
            rgba(56, 189, 248, 0.14) 45%,
            #ffffff 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

#topnav .header-layout {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0px 0px;
    min-height: 76px;
}

#topnav .header-left {
    display: flex;
    align-items: center;
}

#topnav .header-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    flex: 1;
}

#topnav .header-tab-link {
    position: relative;
    font-size: 17px;
    font-weight: 700;
    color: #263238;
    text-decoration: none;
    padding: 10px 4px;
    transition: color 0.2s ease;
}

#topnav .header-tab-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 5px;
    border-radius: 999px;
    background: #0f7b6c;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

#topnav .header-tab-link:hover,
#topnav .header-tab-link.active {
    color: #0f766e;
}

#topnav .header-tab-link:hover::after,
#topnav .header-tab-link.active::after {
    transform: scaleX(1);
}

#topnav .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
}

#topnav .header-actions li {
    margin: 0 !important;
}

#topnav .header-login {
    color: #263238;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
}

#topnav .header-login:hover {
    color: #0f7b6c;
}

#topnav .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 14px;
    background: linear-gradient(180deg, #1ea999 0%, #0f8c7f 100%);
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(12, 120, 110, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#topnav .header-cta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

#topnav .header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(13, 124, 117, 0.32);
}

#topnav .header-right-navigation span,
#topnav .header-right-navigation .header-menu-toggle {
    /* background: #ffffff; */
    /* border: 1px solid #e6eaee; */
    /* padding: 10px 18px; */
    /* border-radius: 999px; */
    font-weight: 700;
    /* color: #344054; */
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

#topnav .header-right-navigation {
    right: 0;
}

@media (max-width: 991px) {
    #topnav .header-layout {
        padding: 12px 10px;
        /* Reduced side padding for mobile */
    }

    #topnav .header-tabs {
        display: none;
    }

    #topnav .header-actions {
        margin-left: auto;
        gap: 8px;
    }
}

/* Mega menu */
.header-mega {
    padding: 0 0 20px;
    background: linear-gradient(180deg,
            rgba(241, 247, 250, 0.95) 0%,
            rgba(255, 255, 255, 0.98) 45%,
            rgba(255, 255, 255, 0.9) 100%);
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    z-index: 9999;
}

.header-mega.is-open {
    display: block;
}

.header-mega .mega-card {
    position: relative;
    background: linear-gradient(90deg,
            rgba(230, 247, 250, 0.9) 0%,
            rgba(242, 246, 250, 0.95) 45%,
            rgba(246, 248, 252, 0.98) 100%);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    border: 1px solid #e8eef3;
    padding: 20px 24px 26px;
}

.header-mega .mega-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 160px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-left: 1px solid #eef2f6;
    border-top: 1px solid #eef2f6;
    transform: rotate(45deg);
}

.header-mega .mega-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    background: #f7f9fb;
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 22px;
}

.header-mega .mega-tab {
    border: 0;
    background: transparent;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #344054;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.header-mega .mega-tab i {
    color: #37b5af;
    font-size: 18px;
}

.header-mega .mega-tab.active {
    background: #e9f7f6;
    color: #0f766e;
    box-shadow: inset 0 0 0 1px rgba(13, 124, 117, 0.1);
}

.header-mega .mega-panel {
    display: none;
}

.header-mega .mega-panel.active {
    display: block;
}

.header-mega .mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.header-mega .mega-col h6 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.header-mega .mega-col h6 i {
    color: #0f7b6c;
}

.header-mega .mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    color: #475467;
    font-weight: 600;
}

.header-mega .mega-col li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-mega .mega-col li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfeeed;
    box-shadow: inset 0 0 0 2px #0f7b6c;
}

@media (max-width: 991px) {
    .header-mega {
        display: none !important;
    }
}





/* Section header with centered title and right-aligned buttons */
.footer-scroll-container .section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Navigation buttons positioned on the right */
.states-nav-buttons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.scroll-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 123, 108, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-nav-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(15, 123, 108, 0.25);
}

@media (max-width: 768px) {
    .states-nav-buttons {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 15px;
    }
}

/* Section header with centered title and right-aligned buttons */
.footer-scroll-container .section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* Navigation buttons positioned on the right */
.states-nav-buttons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.scroll-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 123, 108, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-nav-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(15, 123, 108, 0.25);
}

@media (max-width: 768px) {
    .states-nav-buttons {
        position: static;
        justify-content: center;
        margin-top: 15px;
    }
}

.aos {
    position: relative;
}

/* Improved Mobile Navigation Styles */
.mobile_header {
    background: #ffffff;
    padding-bottom: 40px;
}

.mobile-nav-top {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.mobile-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-btn.outline {
    background: #ffffff;
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
}

.quick-btn:not(.outline) {
    background: var(--brand-primary);
    color: #fff;
}

.mobile-menu-group {
    padding: 20px;
}

.menu-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Accordion Specifics */
.mobile-nav-accordion {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.accordion-trigger i:first-child {
    font-size: 20px;
    color: var(--brand-primary);
    width: 32px;
}

.trigger-content {
    flex: 1;
    margin-left: 10px;
}

.trigger-content strong {
    display: block;
    font-size: 15px;
    color: #1e293b;
}

.trigger-content span {
    font-size: 12px;
    color: #64748b;
}

.accordion-trigger .arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s;
}

.mobile-nav-accordion.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    background: #f8fafc;
    padding: 5px 15px 15px 42px;
}

.accordion-content a {
    display: block;
    padding: 10px 0;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}

.accordion-content a:last-child {
    border-bottom: none;
}

.accordion-content a.view-all {
    color: var(--brand-primary);
    font-weight: 600;
}

/* Nav Menu Item */
.nav-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.nav-menu-item i {
    font-size: 20px;
    color: var(--brand-primary);
    width: 32px;
}

.nav-menu-item div strong {
    display: block;
    font-size: 15px;
    color: #1e293b;
}

.nav-menu-item div span {
    font-size: 12px;
    color: #64748b;
}

.nav-menu-item.highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.nav-menu-item.highlight i {
    color: #2563eb;
}

.mobile-menu-footer {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-top: 1px solid #f1f5f9;
}

.mobile-menu-footer a {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

/* Top Rated Centers Cards */
.top-rated-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.top-rated-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(15, 123, 108, 0.15);
    border-color: rgba(15, 123, 108, 0.3);
}

.top-rated-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.top-rated-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.top-rated-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.top-rated-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
}

.top-rated-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-rated-rating span {
    color: #475569;
    font-weight: 600;
    margin-left: 5px;
}

.top-rated-action {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--brand-primary, #0f7b6c);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.top-rated-action:hover {
    background: var(--brand-dark, #0f766e);
    color: white;
}

/* Gulf Country Cards - New Design */
.gulf-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gulf-card-img {
    height: 140px;
    width: 100%;
    background-color: var(--brand-primary, #0f7b6c);
    background-size: cover;
    background-position: center;
    position: relative;
}

.gulf-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary, #0f7b6c) 0%, #17A589 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gulf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 123, 108, 0.08);
    border-color: rgba(15, 123, 108, 0.2);
}

.gulf-card:hover::after {
    opacity: 1;
}

.gulf-card-bottom {
    padding: 20px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
}

.gulf-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #101828;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gulf-card-title img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.gulf-card-cities {
    font-size: 0.9rem;
    font-weight: 500;
    color: #667085;
    margin-top: 8px;
}

/* Custom Header Logo Fixes for the generated logo */
#topnav .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    overflow: hidden;
    /* Crop extra padding */
    padding: 0;
    margin-right: 20px;
}

/* Region Tabs (Browse By States) */
.custom-region-tabs {
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 2px solid #f2f4f7;
    padding-bottom: 12px;
}

.custom-region-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    color: #4b5563;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-region-tabs .nav-link:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.custom-region-tabs .nav-link.active {
    background-color: var(--brand-primary, #0f7b6c);
    color: white;
    box-shadow: 0 4px 10px rgba(15, 123, 108, 0.3);
}

.region-city-card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 15px;
    transition: box-shadow 0.2s, border-color 0.2s;
    height: 100%;
}

.region-city-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(15, 123, 108, 0.2);
}

.region-city-card .city-card-header {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    pointer-events: none;
    /* Make header static since it's no longer a button */
}

.region-city-card .city-links-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.region-city-card .footer_speciality_link {
    display: block;
    color: #475467;
    text-decoration: none;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f2f4f7;
    transition: color 0.2s, padding-left 0.2s;
}

.region-city-card .footer_speciality_link.view-more-link {
    display: inline-block;
    padding-left: 0;
}

.region-city-card .footer_speciality_link:not(.view-more-link):hover {
    color: var(--brand-primary);
    padding-left: 4px;
}

.region-city-card .footer_speciality_link:last-child {
    border-bottom: none;
}

#topnav .logo img {
    height: auto !important;
    /* Scale up to bypass padding */
    max-height: none !important;
    width: 170px !important;
    mix-blend-mode: multiply;
    /* Remove white background */
    object-position: center;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    #topnav .logo {
        height: 50px;
    }

    #topnav .logo img {
        height: auto !important;
    }
}

/* ==========================================================================
   Inner Pages Hero Section
   ========================================================================== */
.inner-hero-section {
    padding: 85px 0 35px;
    margin-top: 75px;
    background: linear-gradient(135deg, #0f7b6c 0%, #1a9c84 100%);
    color: #fff;
    position: relative;
    border-bottom: 5px solid #4ECDC4;
    /* Brand Cyan */
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
}

.hero-breadcrumb .breadcrumb-item {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: #fff !important;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: #fff !important;
    font-weight: 700;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-transform: capitalize;
    color: black !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    /* Adds premium depth */
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 600px;
}

/* Trust Badges overlay */
.hero-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-badge .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.trust-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.trust-badge .badge-text strong {
    font-size: 16px;
    line-height: 1.2;
}

.trust-badge .badge-text span {
    font-size: 13px;
    opacity: 0.85;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .inner-hero-section {
        padding: 70px 0 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-breadcrumb .breadcrumb {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto;
    }
}