@import url('https://fonts.googleapis.com/css2?family=Rosario:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

@layer base {
    :root {
        /* Colors */
        --background: 0 0% 100%;
        --foreground: 83 65% 2%;
        --muted: 263 24% 85%;
        --muted-foreground: 263 1% 40%;
        --popover: 0 0% 99%;
        --popover-foreground: 83 65% 1%;
        --card: 0 0% 99%;
        --card-foreground: 83 65% 1%;
        --border: 83 10% 90%;
        --input: 83 10% 90%;
        --background-2: #f2ffff;
        /* Green Palette */
        --green-light: 180 52% 93%;
        /* #e8f2f2 / rgb(230, 242, 242) */
        --green-light-hover: 180 35% 89%;
        /* #d9ebeb / rgb(217, 235, 235) */
        --green-light-active: 180 35% 76%;
        /* #b0d5d5 / rgb(176, 213, 213) */
        --green-normal: 180 100% 24%;
        /* #007979 / rgb(0, 121, 121) */
        --green-normal-hover: 180 100% 21%;
        /* #006d6d / rgb(0, 109, 109) */
        --green-normal-active: 180 100% 19%;
        /* #006161 / rgb(0, 97, 97) */
        --green-dark: 180 100% 18%;
        /* #005b5b / rgb(0, 91, 91) */
        --green-dark-hover: 180 100% 14%;
        /* #004949 / rgb(0, 73, 73) */
        --green-dark-active: 180 100% 11%;
        /* #003636 / rgb(0, 54, 54) */
        --green-darker: 180 100% 8%;
        /* #002a2a / rgb(0, 42, 42) */
        /* Grey Palette */
        --grey-50: 233 11% 94%;
        --grey-100: 233 11% 87%;
        --grey-200: 233 10% 77%;
        --grey-300: 233 10% 58%;
        --grey-400: 233 10% 47%;
        --grey-500: 233 10% 38%;
        --grey-600: 233 10% 30%;
        --grey-700: 233 10% 27%;
        --grey-800: 233 10% 21%;
        --grey-900: 233 10% 19%;
        /* Blue-grey Palette */
        --blue-grey-50: 226 21% 93%;
        --blue-grey-100: 226 22% 87%;
        --blue-grey-200: 226 22% 82%;
        --blue-grey-300: 226 22% 58%;
        --blue-grey-400: 226 22% 51%;
        --blue-grey-500: 226 22% 44%;
        --blue-grey-600: 226 22% 38%;
        --blue-grey-700: 226 22% 34%;
        --blue-grey-800: 226 22% 30%;
        --blue-grey-900: 226 22% 28%;
        /* Status Colors */
        --success: 142 76% 36%;
        --success-foreground: 0 0% 100%;
        --warning: 38 92% 50%;
        --warning-foreground: 0 0% 100%;
        --info: 199 89% 48%;
        --info-foreground: 0 0% 100%;
        --primary: var(--green-normal);
        --primary-foreground: 0 0% 100%;
        --secondary: 263 50% 15%;
        --secondary-foreground: 263 50% 75%;
        --accent: 263 50% 15%;
        --accent-foreground: 263 50% 75%;
        --destructive: 9 92% 38%;
        --destructive-foreground: 0 0% 100%;
        --ring: var(--green-normal);
        --chart-1: 83 50% 15%;
        --chart-2: 263 50% 15%;
        --chart-3: 263 50% 15%;
        --chart-4: 263 50% 18%;
        --chart-5: 83 53% 15%;
        --radius: 0.5rem;
        /* Fonts */
        /*--font-heading: "Roboto Flex", sans-serif;*/
        --font-heading: "Nunito Sans", sans-serif;
        --font-body: "Roboto Flex", sans-serif;
        /* Responsive Font Sizes */
        --fs-1: clamp(2.3rem, 5vw, 4.2rem);
        --fs-2: clamp(1.8rem, 4vw, 3.2rem);
        --fs-3: clamp(1.5rem, 3.5vw, 2.3rem);
        --fs-4: clamp(1.3rem, 3vw, 1.8rem);
        --fs-5: clamp(1.2rem, 2.5vw, 1.5rem);
        --fs-6: clamp(1.1rem, 2vw, 1.4rem);
        --fs-7: clamp(1rem, 1.8vw, 1.3rem);
        --fs-8: clamp(0.9rem, 1.5vw, 1rem);
        --fs-9: clamp(0.65rem, 1.3vw, 0.9rem);
        --fs-p: clamp(1rem, 1.8vw, 1.125rem);
        /* Spacing */
        --spacing-1: 0.5rem;
        --spacing-2: 1rem;
        --spacing-3: 1.5rem;
        --spacing-4: 2rem;
        --spacing-5: 4rem;
        /* Transitions */
        --transition-default: all 0.2s ease-in-out;
        --transition-slow: all 0.4s ease-in-out;
        --transition-fast: all 0.1s ease-in-out;
        /* Z-Index */
        --z-index-dropdown: 1000;
        --z-index-sticky: 1020;
        --z-index-fixed: 1030;
        --z-index-modal-backdrop: 1040;
        --z-index-modal: 1050;
        --z-index-popover: 1060;
        --z-index-tooltip: 1070;
    }

    * {
        border-color: var(--border);
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        color: var(--foreground);
        /* background-color: var(--background); */
        background: linear-gradient(135deg, rgba(0, 121, 121, 0.25) 0%, white 100%);
        font-family: var(--font-body);
        transition: var(--transition-default);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--font-heading);
    }

    .container {
        width: 85%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--spacing-2);
        transition: var(--transition-default);
    }

    /* Form Elements */
    input,
    textarea,
    select {
        background-color: hsl(var(--background));
        border: 1px solid hsl(var(--border));
        border-radius: var(--radius);
        padding: var(--spacing-1);
        transition: var(--transition-default);
    }

        input:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: hsl(var(--primary));
        }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: hsl(var(--muted));
    }

    ::-webkit-scrollbar-thumb {
        background: hsl(var(--muted-foreground));
        border-radius: 4px;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: hsl(var(--primary));
        }

    /* Utility Classes */
    .flex-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .grid-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2);
    }

    .text-center {
        text-align: center;
    }

    .text-right {
        text-align: right;
    }

    .text-uppercase {
        text-transform: uppercase;
    }

    .font-bold {
        font-weight: 700;
    }

    .gap-1 {
        gap: var(--spacing-1);
    }

    .gap-2 {
        gap: var(--spacing-2);
    }

    .aspect-square {
        aspect-ratio: 1/1;
    }

    .aspect-video {
        aspect-ratio: 16/9;
    }

    /* Spacing Utilities */
    .mt-1 {
        margin-top: var(--spacing-2);
    }

    .mb-1 {
        margin-bottom: var(--spacing-2);
    }

    .m-1 {
        margin: var(--spacing-2);
    }

    .p-1 {
        padding: var(--spacing-2);
    }

    .p-md {
        padding: var(--spacing-3);
    }

    .p-sm {
        padding: var(--spacing-1);
    }

    .p-2 {
        padding: var(--spacing-4);
    }

    .pt-1 {
        padding-top: var(--spacing-2);
    }

    .pt-sm {
        padding-top: var(--spacing-1);
    }

    .pt-2 {
        padding-top: var(--spacing-4);
    }

    .pt-4 {
        padding-top: var(--spacing-5);
    }

    .pb-1 {
        padding-bottom: var(--spacing-2);
    }

    .pl-sm {
        padding-inline-start: var(--spacing-1);
    }

    .pl-md {
        padding-inline-start: var(--spacing-2);
    }

    .pr-sm {
        padding-inline-end: var(--spacing-1);
    }

    .pr-md {
        padding-inline-end: var(--spacing-2);
    }

    .pb-sm {
        padding-bottom: var(--spacing-1);
    }

    .pb-2 {
        padding-bottom: var(--spacing-4);
    }

    .mr-sm {
        margin-inline-end: var(--spacing-1);
    }

    .mr-md {
        margin-inline-end: var(--spacing-2);
    }
    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .fade-in {
        animation: fadeIn 0.3s ease-in-out;
    }

    /* Print Styles */
    @media print {
        body {
            background: white;
            color: black;
            font-size: 12pt;
        }

        .no-print {
            display: none;
        }
    }

    @media (max-width: 480px) {
        .container {
            width: 100%;
            padding: 0 var(--spacing-1);
        }
    }
}

*::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

*::-webkit-scrollbar-thumb {
    background-image: linear-gradient(45deg, hsl(var(--primary)), hsl(var(--secondary)));
    border-radius: 10px;
    border: 3px solid #ffffff;
}

    *::-webkit-scrollbar-thumb:hover {
        background-image: linear-gradient(45deg, hsl(var(--primary)), hsl(var(--secondary)));
    }


/* ========================================================================
    Button Styles
    ======================================================================== */

/* Base Button Style */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-default);
    border: 1px solid transparent;
    user-select: none;
    font-family: var(--font-body);
}

    .button:focus {
        outline: 2px solid hsl(var(--ring));
        outline-offset: 2px;
    }

    .button:disabled {
        pointer-events: none;
        opacity: 0.5;
    }

    .button:active {
        transform: translateY(1px);
    }

/* ========================================================================
    Button Variants
    ======================================================================== */

/* Primary Button */
.button-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

    .button-primary:hover {
        background-color: color-mix(in srgb, hsl(var(--primary)) 90%, black);
    }

/* Secondary Button */
.button-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

    .button-secondary:hover {
        background-color: color-mix(in srgb, hsl(var(--secondary)) 80%, black);
    }

/* Tertiary Button */
.button-tertiary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

    .button-tertiary:hover {
        background-color: color-mix(in srgb, hsl(var(--secondary)) 80%, black);
    }

/* Destructive Button */
.button-destructive {
    background-color: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
}

    .button-destructive:hover {
        background-color: color-mix(in srgb, hsl(var(--destructive)) 90%, black);
    }

/* Success Button */
.button-success {
    background-color: hsl(var(--success));
    color: hsl(var(--success-foreground));
}

    .button-success:hover {
        background-color: color-mix(in srgb, hsl(var(--success)) 90%, black);
    }

/* Outline Button */
.button-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--input));
    padding: var(--spacing-1);
}

    .button-outline:hover {
        background-color: hsl(var(--primary));
        color: hsl(var(--primary-foreground));
    }

/* Ghost Button (Subtle) */
.button-ghost {
    background-color: transparent;
    color: hsl(var(--primary));
}

    .button-ghost:hover {
        background-color: hsl(var(--accent));
        color: hsl(var(--accent-foreground));
    }

/* Link Button */
.button-link {
    background-color: transparent;
    color: hsl(var(--primary));
    text-decoration: underline;
    text-underline-offset: 4px;
}

    .button-link:hover {
        opacity: 0.8;
    }

/* ========================================================================
    Button Sizing
    ======================================================================== */

.button-sm {
    height: 2.25rem;
    padding: 0 var(--spacing-2);
    font-size: var(--fs-9);
}

.button-md {
    height: 2.5rem;
    padding: 0 1.25rem;
    font-size: var(--fs-8);
}

.button-lg {
    height: 2.75rem;
    padding: 0 var(--spacing-4);
    font-size: var(--fs-5);
}

.button-xl {
    height: 3rem;
    padding: 0 2.5rem;
    font-size: var(--fs-4);
}

/* ========================================================================
    Button with Icon
    ======================================================================== */

.button-icon {
    margin-right: var(--spacing-1);
    width: 1.25rem;
    height: 1.25rem;
}

    .button-icon.right {
        margin-right: 0;
        margin-left: var(--spacing-1);
    }

.button-sm .button-icon {
    width: 1rem;
    height: 1rem;
}

.button-lg .button-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.button-xl .button-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.button-icon-only {
    padding: 0;
    width: 2.5rem;
}

    .button-icon-only .button-icon {
        margin: 0;
    }

    .button-icon-only.button-sm {
        width: 2.25rem;
    }

    .button-icon-only.button-lg {
        width: 2.75rem;
    }

    .button-icon-only.button-xl {
        width: 3rem;
    }

@media(max-width:450px) {
    .button-icon-only.button-sm {
        width: 1.25rem;
    }
}


/* Header Styles */
.header {
    background-color: hsl(var(--background));
    background-color: #007979;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: var(--z-index-sticky);
}

.header_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-1) 0.25rem;
}

.logo img {
    height: 70px;
    width: auto;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.navbar_wrapper {
    display: flex;
    gap: var(--spacing-3);
    list-style: none;
    padding: 0;
    margin: 0;
}

    .navbar_wrapper li a {
        color: hsl(var(--foreground));
        color: hsl(var(--primary-foreground));
        text-decoration: none;
        font-weight: normal;
        font-size: var(--fs-8);
        transition: var(--transition-default);
        padding: var(--spacing-1) 0;
        position: relative;
    }

        .navbar_wrapper li a:hover {
            color: hsl(var(--primary));
            color: hsl(var(--green-light));
        }

        .navbar_wrapper li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: hsl(var(--primary));
            transition: var(--transition-default);
        }

        .navbar_wrapper li a:hover::after {
            width: 100%;
        }

/* Appointment Button Styles */
.appointment_btn .button-icon-only {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: var(--transition-default);
}

    .appointment_btn .button-icon-only:hover {
        background-color: hsl(var(--green-normal-hover));
        transform: scale(1.05);
    }

.appointment_btn .button-icon {
    color: hsl(var(--primary-foreground));
}

.appointment_btn a {
    color: hsl(var(--primary-foreground))
}

.appointment-text {
    display: none;
    margin-left: var(--spacing-1);
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: var(--spacing-1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: hsl(var(--background));
        background-color: hsl(var(--primary));
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-3);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition-slow);
        z-index: var(--z-index-dropdown);
    }

        .navbar.active {
            transform: translateY(0);
        }

    .navbar_wrapper {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-2);
    }

    .mobile-menu-btn {
        display: block;
    }

        .mobile-menu-btn svg {
            fill: hsl(var(--primary-foreground));
        }

    .appointment_btn .button-icon-only {
        width: auto;
        border-radius: var(--radius);
        padding: 0 var(--spacing-2);
        height: 40px;
    }

    .appointment-text {
        display: inline;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .navbar_wrapper {
        gap: var(--spacing-2);
    }
}



/* Base Styles */
.hero {
    font-family: var(--font-body);
    color: hsl(var(--foreground));
    /* background-color: hsl(var(--background)); */
    padding: 2rem 0;
    background: radial-gradient(circle at 85% 50%,
    /* Position gradient at right-middle */
    #FAF470 0%,
    /* Bright yellow at center */
    #FFFFFF 30%,
    /* Smooth white glow */
    #EFFFFB 80%
    /* Pale mint outer blend */
    );
    backdrop-filter: blur(2px);
}

.hero-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-highlight {
    display: block;
    color: hsl(var(--primary));
    position: relative;
}

.hero-underline {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-subtitle {
    font-size: var(--fs-p);
    color: hsl(var(--muted-foreground));
    max-width: 36rem;
}

/* Search Section */
.search-container {
    margin-bottom: 2rem;
    max-width: fit-content;
}

.search-card {
    background-color: hsl(var(--card));
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    border: 1px solid hsl(var(--muted));
}

.search-grid {
    display: inline-flex;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.search-input-container {
    position: relative;
}

.search-container svg {
    height: 20px;
    width: 20px;
    fill: hsl(var(--primary));
    position: absolute;
    left: 7px;
    top: 9px;
}

.search-input {
    width: -webkit-fill-available;
    padding: 0.75rem 2.5rem;
    font-size: 0.875rem;
}

.search-location {
    max-width: 95px;
    padding-inline-end: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}

.search-button-container {
    margin-inline-start: 1rem;
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-weight: 500;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    height: 3rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-default);
    border: none;
}

    .search-button:hover {
        background-color: color-mix(in srgb, hsl(var(--primary)) 90%, black);
    }

.button-icon {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.popular-searches-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.popular-search-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    border-radius: 9999px;
    transition: var(--transition-default);
    border: none;
    cursor: pointer;
}

    .popular-search-tag:hover {
        background-color: hsla(var(--primary), 0.1);
        color: hsl(var(--primary));
    }

/* Specialities Section */
.specialities-container {
    margin-bottom: 2rem;
}

.specialities-header {
    margin-bottom: 1rem;
}

.specialities-title {
    color: hsl(var(--foreground));
    font-size: 1rem;
}

.specialities-view-all {
    display: flex;
    align-items: center;
    color: hsl(var(--primary));
    transition: var(--transition-default);
    background: none;
    border: none;
    cursor: pointer;
}

    .specialities-view-all:hover {
        color: hsla(var(--primary), 0.8);
    }

.view-all-text {
    font-size: 0.875rem;
    margin-right: 0.25rem;
}

.view-all-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.specialities-scroller {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    max-width: calc((3.25rem + 0.75rem) * 4);
    /* 4 cards with gaps */
}

    .specialities-scroller::-webkit-scrollbar {
        display: none;
    }

.speciality-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 5.625rem;
    padding: 0.75rem;
    background-color: hsl(var(--card));
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid hsl(var(--muted));
    cursor: pointer;
}


.speciality-icon-container {
    width: 2.5rem;
    height: 2.5rem;
    background-color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: var(--transition-default);
}

    .speciality-icon-container img {
        width: 100%;
    }

    .speciality-icon-container button img {
        width: 18px;
    }

.speciality-card:hover .speciality-icon-container {
    background-color: hsla(var(--primary), 0.05);
}

.speciality-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.speciality-label {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    transition: var(--transition-default);
    text-align: center;
}

.speciality-card:hover .speciality-label {
    color: hsl(var(--primary));
}

.in_flx {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
}

/* Illustration Section */
.hero-illustration {
    display: none;
    position: relative;
}

.illustration-container {
    position: relative;
    width: 100%;
    height: 31.25rem;
    overflow: hidden;
}

.illustration-background {
    position: absolute;
    inset: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 9999px;
    filter: blur(24px);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.bg-circle-1 {
    top: 2.5rem;
    right: 2.5rem;
    width: 16rem;
    height: 16rem;
    background: linear-gradient(to bottom right, hsla(var(--primary), 0.2), hsla(var(--primary), 0.15), transparent);
}

.bg-circle-2 {
    bottom: 2.5rem;
    left: 2.5rem;
    width: 12rem;
    height: 12rem;
    background: linear-gradient(to top right, hsla(var(--primary), 0.15), hsla(var(--primary), 0.1), transparent);
    animation-delay: 1s;
}

/* .bg-dot {
  position: absolute;
  border-radius: 9999px;
  background-color: hsla(var(--primary), 0.3);
  animation: bounce 2s infinite;
} */

.bg-dot-1 {
    top: 5rem;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    animation-delay: 0.5s;
}

.bg-dot-2 {
    top: 10rem;
    right: 33%;
    width: 0.375rem;
    height: 0.375rem;
    background-color: hsla(var(--primary), 0.4);
    animation-delay: 0.7s;
}

.bg-dot-3 {
    bottom: 8rem;
    left: 33%;
    width: 0.75rem;
    height: 0.75rem;
    background-color: hsla(var(--primary), 0.2);
    animation-delay: 0.3s;
}

.bg-shape {
    position: absolute;
    animation: spin 4s linear infinite;
}

.bg-shape-1 {
    top: 4rem;
    right: 25%;
    width: 2rem;
    height: 2rem;
    border: 2px solid hsla(var(--primary), 0.2);
    border-radius: 0.25rem;
    transform: rotate(45deg);
    animation-duration: 8s;
    animation-delay: 2s;
    background-color: burlywood;
}

.bg-shape-2 {
    bottom: 5rem;
    right: 4%;
    width: 1.5rem;
    height: 1.5rem;
    background-color: hsla(var(--primary), 0.1);
    border-radius: 0.25rem;
    transform: rotate(12deg);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    animation-delay: 1.5s;
    background: black;
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    max-width: 360px;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

/* .floating-plus {
  top: 5rem;
  left: 5rem;
  animation-delay: 1s;
} */

.floating-heart {
    top: 2rem;
    right: 5rem;
    animation-delay: 2s;
    z-index: 99;
}

.floating-circle {
    width: 3rem;
    height: 3rem;
    background-color: hsl(var(--card));
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid hsla(var(--primary), 0.2);
}

.floating-circle-primary {
    background: linear-gradient(to bottom right, hsl(var(--primary)), hsla(var(--primary), 0.8));
    border: none;
}

.floating-circle i {
    color: hsl(var(--primary));
}

.floating-circle-primary i {
    color: white;
    font-size: 0.75rem;
}

.floating-card {
    position: absolute;
    background-color: hsla(var(--card), 0.9);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid hsla(var(--primary), 0.1);
    animation: float 6s ease-in-out infinite;
    display: none;
}

.floating-card-left {
    top: 10%;
    left: -7rem;
    animation-delay: 0s;
}

.floating-card-right {
    bottom: 30%;
    right: -2rem;
    animation-delay: 1s;
}

.floating-card-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-success {
    background: linear-gradient(to bottom right, hsl(142, 76%, 86%), hsl(142, 76%, 76%));
}

.bg-info {
    background: linear-gradient(to bottom right, hsl(199, 89%, 88%), hsl(199, 89%, 78%));
}

.floating-card-icon i {
    color: hsl(142, 76%, 36%);
}

.bg-info i {
    color: hsl(199, 89%, 48%);
}

.floating-card-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.floating-card-subtitle {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* Animations */
@keyframes float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.625rem);
    }
}

@keyframes pulse {

    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes bounce {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.625rem);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive Styles */
@media (min-width: 1024px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        /* 2:1 ratio */
        gap: 3rem;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Left content (2fr) */
    .hero-content {
        min-width: 0;
        max-width: 900px;
    }

    .hero-illustration {
        display: block;
        min-width: 0;
        max-width: 450px;
        margin-left: auto;
    }

    .search-grid {
        grid-template-columns: 1fr 2fr 1fr;
    }


    .floating-card {
        display: block;
    }

    .specialities-scroller {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
        max-width: calc((8rem + 0.75rem) * 4);
        /* 4 cards with gaps */
    }
}

@media (max-width: 768px) {
    .hero-container {
        width: 100%;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .search-grid {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .search-button-container {
        margin-inline-start: 0rem;
    }

    .search-button {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        gap: 2.5rem;
    }
}

/* Search Section - Responsive Fix */
.search-container {
    margin-bottom: 2rem;
    width: 100%;
    /* Full width on all screens */
    max-width: 100%;
    /* Remove fixed max-width */
}
/*@media (max-width: 576px) {
  .search-container {
    max-width: 335px;
}
}*/
@media (max-width: 390px) {
    .search-container {
        max-width: 335px;
    }
}

.search-card {
    background-color: hsl(var(--card));
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    /* Slightly reduced padding on mobile */
    border: 1px solid hsl(var(--muted));
    width: 100%;
}

.search-grid {
    display: flex;
    flex-direction: column;
    /* Stack by default on mobile */
    gap: 0.15rem;
    width: 100%;
}

.search-input-container {
    position: relative;
    width: 100%;
}

.search-container svg {
    height: 20px;
    width: 20px;
    fill: hsl(var(--primary));
    position: absolute;
    left: 12px;
    /* Slightly more spacing */
    top: 50%;
    transform: translateY(-50%);
    /* Perfect vertical centering */
}

.search-input {
    width: 100%;
    padding: 0.75rem 2.5rem;
    font-size: 0.875rem;
    box-sizing: border-box;
    /* Include padding in width */
}

.search-location {
    max-width: 100%;
    /* Full width on mobile */
    padding-inline-end: 1rem;
}

.search-button {
    width: 100%;
    /* Full width button on mobile */
    height: 3rem;
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    /* Allow horizontal scrolling if needed */
    padding-bottom: 0.25rem;
    /* Space for scrollbar */
}

/* Desktop Layout (768px and up) */
@media (min-width: 768px) {
    .search-grid {
        flex-direction: row;
        /* Horizontal layout on desktop */
        align-items: center;
    }

    .search-input-container {
        flex: 1;
        min-width: 120px;
        /* Minimum width for location */
    }

    .search-input-wide {
        flex: 2;
        /* Takes more space */
    }

    /* .search-location {
    max-width: 150px;
  } */

    .search-button {
        width: auto;
        /* Auto width on desktop */
        min-width: 120px;
        /* Minimum button width */
    }

    .search-card {
        padding: 1.5rem;
        /* More padding on desktop */
    }
}

/* Specialities Section - Responsive Fix */
.specialities-scroller {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    /* Space for scrollbar */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

    .specialities-scroller::-webkit-scrollbar {
        display: none;
    }

.speciality-card {
    flex: 0 0 auto;
    /* Don't grow or shrink */
    min-width: 5.625rem;
    scroll-snap-align: start;
    /* Better scrolling experience */
}

/* Tablet Landscape and Larger Mobile */
@media (min-width: 576px) and (max-width: 767px) {
    .search-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .search-input-container {
        flex: 1 0 45%;
        /* Two columns */
    }

    .search-input-wide {
        flex: 2 0 100%;
        /* Full width on tablet */
        order: 3;
        /* Move to bottom */
    }

    .search-button {
        flex: 1 0 45%;
        /* Match input width */
        order: 4;
        /* Place next to location */
    }
}





















.trending-doctors-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 10;
}

.trending-doctors-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--grey-900);
}

.section-subtitle {
    color: var(--grey-600);
}

.navigation-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 9999px;
    border: 1px solid color-mix(in srgb, var(--green-normal) 20%, transparent);
    background-color: var(--background);
    color: var(--foreground);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    .nav-button:hover {
        background-color: var(--green-normal);
        color: white;
    }

    .nav-button svg {
        width: 1rem;
        height: 1rem;
    }

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
}

.doctor-cards-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .doctor-cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .doctor-cards-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.doctor-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--grey-200);
    transition: all 0.3s ease-in-out;
}

    .doctor-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
    }

.doctor-info-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}











.trending-doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-subtitle {
    color: hsl(var(--grey-500));
    font-size: 16px;
}

.navigation-buttons {
    display: flex;
    gap: 8px;
}

.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 121, 121, 0.2);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .nav-button:hover {
        background-color: #007979;
        color: white;
    }

.doctors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.doctor-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    text-align: left;
}

    .doctor-card:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.doctor-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.doctor-image-container {
    position: relative;
    flex-shrink: 0;
}

.doctor-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid hsl(var(--grey-100));
}

.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background-color: hsl(var(--success));
    border-radius: 50%;
    border: 2px solid white;
}

.doctor-info {
    flex: 1;
}

.doctor-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.doctor-specialty {
    color: #007979;
    font-size: 14px;
    margin-bottom: 4px;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.star {
    color: #FFD700;
}

.reviews {
    color: hsl(var(--grey-400));
}

.doctor-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: hsl(var(--grey-600));
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* line-height: 27px; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.doctor-experience {
    font-size: 14px;
    color: hsl(var(--grey-600));
    margin-bottom: 12px;
}

.doctor-fee {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.doctor-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: hsl(var(--green-normal));
    color: white;
    border: none;
    flex: 1;
}

    .btn-primary:hover {
        background-color: hsl(var(--green-normal-hover));
    }

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(0, 121, 121, 0.2);
    color: hsl(var(--green-normal));
    flex: 1;
}

    .btn-outline:hover {
        background-color: hsl(var(--green-light));
    }

.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .trending-doctors-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Medicines Section Styles */
.medicines-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 121, 121, 0.05) 0%, white 100%);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: hsl(var(--grey-500));
    font-size: 1rem;
}

.medicines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .medicines-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .medicines-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.medicine-card {
    border-radius: 0.75rem;
    background-color: hsl(var(--card));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
}

    .medicine-card:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 121, 121, 0.2);
    }

.card-image-container {
    position: relative;
    height: 12rem;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--green-normal)), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.medicine-card:hover .image-overlay {
    opacity: 0.7;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.medicine-card:hover .card-content {
    transform: translateY(0);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.btn-more-categories {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    height: 2.25rem;
    border: 1px solid hsl(var(--green-normal));
    color: hsl(var(--green-normal));
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-more-categories:hover {
        background-color: hsl(var(--green-normal));
        color: white;
    }

/* Font Awesome icons (you can include the actual Font Awesome CSS or use SVG icons) */
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.section-header-container {
    position: relative;
    margin-bottom: 3rem;
    /* text-align: center; */
}

.section-header {
    display: inline-block;
    max-width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: hsl(var(--grey-500));
    font-size: 1rem;
}

.section-header-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-more-categories {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    height: 2.25rem;
    border: 1px solid hsl(var(--green-normal));
    color: hsl(var(--green-normal));
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-more-categories:hover {
        background-color: hsl(var(--green-normal));
        color: white;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header-container {
        text-align: center;
        padding-bottom: 0rem;
        margin-bottom: 2rem;
        /* Space for the button */
    }

    .section-header {
        margin-bottom: 0rem;
    }

    .section-header-button {
        position: static;
        transform: none;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }

    .btn-more-categories {
        width: auto;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.service-card {
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
}

    .service-card:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 121, 121, 0.2);
    }

.med-card-content {
    padding: 1.5rem;
    text-align: center;
}

.icon-container {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    background-color: rgba(0, 121, 121, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.service-card:hover .icon-container {
    background-color: hsl(var(--green-normal));
}

.service-icon {
    font-size: 1.5rem;
    color: hsl(var(--green-normal));
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: white;
}

.service-title {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-description {
    color: hsl(var(--grey-600));
    font-size: 0.875rem;
    margin-bottom: 1rem;
    min-height: 32px;
}

.service-button-container {
    margin-top: 1rem;
    /*  opacity: 0;*/
    transition: opacity 0.3s ease;
}

.service-card:hover .service-button-container {
    opacity: 1;
}

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    height: 2rem;
    border-radius: 0.375rem;
    background-color: hsl(var(--green-normal));
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

    .service-button:hover {
        background-color: hsl(var(--green-dark));
    }

/* Font Awesome icons */
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 15px;
}

/* TABS */
.doctors-by-department {
    background: var(--background-2);
}

.speciality_tabs_btn_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

    .speciality_tabs_btn_wrapper li {
        list-style: none;
    }

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .tab-pane.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

.view_speciality_r {
    text-align: right;
    margin: 0.5rem 0;
}

    .view_speciality_r .button {
        font-size: 12px;
        font-weight: 300;
    }



/* Feature Section */
.feature {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2);
}

.feature-card {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    padding: var(--spacing-4);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: var(--transition-default);
}

    .feature-card:hover {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
        transform: translateY(-5px);
    }

.icon-container {
    width: 4rem;
    height: 4rem;
    background-color: hsl(var(--green-light));
    color: hsl(var(--green-normal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-3);
    transition: var(--transition-default);
}

.feature-card:hover .icon-container {
    background-color: hsl(var(--green-light-hover));
}

.feature-icon {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-size: var(--fs-5);
    font-weight: 700;
    color: hsl(var(--green-dark));
    margin-bottom: var(--spacing-2);
    font-family: var(--font-heading);
}

.feature-description {
    font-size: var(--fs-8);
    line-height: 1.5;
    color: hsl(var(--muted-foreground));
}

/* testimonial */
.testimonial {
    background: linear-gradient(135deg, rgba(0, 121, 121, 0.05) 0%, white 100%);
    padding: 4rem 0;
}

.testimonial-grid {
    display: flex;
    flex-direction: row;
    /*  flex-wrap: wrap;*/
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
}

.testimonial-card {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    padding: 1.5rem;
    border-radius: var(--spacing-2);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    color: hsl(var(--green-normal));
}

.star-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.testimonial-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--fs-8);
    color: hsl(var(--green-normal));
    font-weight: 700;
}

.testimonial-label-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.testimonial-text {
    font-size: var(--fs-p);
    line-height: 1.35;
    color: hsl(var(--muted-foreground));
}

.reviewer-info {
    border-top: 1px solid hsl(var(--border));
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: var(--fs-6);
    font-weight: 700;
    color: hsl(var(--green-darker));
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.reviewer-title {
    font-size: var(--fs-8);
    color: hsl(var(--muted-foreground));
}

@media (max-width: 768px) {
    /*  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }*/

    .testimonial-card {
        width: 90%;
    }
}

@media (max-width: 1300px) {
    .testimonial-grid {
        flex-wrap: wrap;
    }
}

.community {
    color: hsl(var(--primary));
}















/* ===== Footer Section Scoped CSS ===== */
.footer-section {
    margin-top: 10rem;
    position: relative;
}

/* Top content wrapper */
.footer_top_content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    top: -6rem;
    padding: 0 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer_top_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-4);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 3rem;
    max-width: 950px;
    width: 100%;
}

.top-left-content {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.top-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
    min-width: 180px;
}

.top-feature-icon {
    color: hsl(var(--primary));
}

.top-feature-card-title {
    font-size: 18px;
    font-weight: 600;
}

.top-feature-card-subtitle {
    font-size: 12px;
    color: hsl(var(--grey-400));
}

.top-right-content {
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

    .top-right-content p {
        color: hsl(var(--grey-500));
    }

/* Footer styles */
.footer {
    background: color-mix(in srgb, hsl(var(--blue-grey-900)) 92%, black);
    color: hsl(var(--primary-foreground));
    padding-top: 5rem;
}

.footer_wrapper {
    padding: var(--spacing-4) 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-4);
}

.footer-column h4 {
    font-size: var(--fs-6);
    margin-bottom: var(--spacing-2);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .footer-links a {
        color: hsl(var(--background));
        font-size: var(--fs-8);
        transition: var(--transition-default);
        text-decoration: none;
    }

        .footer-links a:hover {
            color: hsl(var(--primary));
        }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .contact-info a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: hsl(var(--background));
        font-size: var(--fs-8);
    }

.footer_bottom {
    text-align: center;
    padding: var(--spacing-2) 0;
    font-size: var(--fs-8);
    border-top: 1px solid hsl(var(--grey-700) / 0.4);
    margin-top: var(--spacing-3);
}

.footer_top_icon {
    position: absolute;
    transform: translateX(0%);
    top: -14%;
    z-index: 2;
    ;
}

.social_links {
    display: inline-flex;
    gap: 0.5rem;
}

    .social_links a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: hsl(var(--background));
        text-decoration: none;
    }

        .social_links a i {
            font-size: var(--fs-7);
        }
/* Responsive */
@media (max-width: 992px) {
    .footer_top_content {
        top: -8rem;
    }

    .footer_top_wrapper {
        flex-direction: column;
        border-radius: 1.5rem;
        padding: 2rem;
    }

    .top-left-content {
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer_wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .footer_top_icon {
        top: -7%;
    }

    .footer {
        background: color-mix(in srgb, hsl(var(--blue-grey-900)) 92%, black);
        color: hsl(var(--primary-foreground));
        padding-top: 10rem;
    }

    .contact-info a {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer_wrapper {
        grid-template-columns: 1fr;
    }

    .top-right-content {
        max-width: 100%;
        text-align: center;
    }

    .top-feature-card {
        min-width: unset;
        max-width: 95px;
    }

    .top-feature-card-subtitle {
        font-size: 10px;
    }

    .footer-column {
        text-align: center;
    }

    .top-right-content p {
        font-size: 12px;
    }

    .button-md {
        height: 2.15rem;
        padding: 0 1.25rem;
        font-size: var(--fs-9);
    }
}
/*suggestion list*/

.locationBox {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #888;
}

.search-input {
    width: 100%;
    padding: 10px 35px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
}

    .search-input:focus {
        border-color: #007979;
        box-shadow: 0 0 8px rgba(0, 121, 121, 0.3);
    }

.clear-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    display: none;
    transition: all 0.2s ease;
}

    .clear-input:hover {
        color: #007979;
    }

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 0;
    padding: 0;
    list-style: none;
}

    .suggestions-list li {
        padding: 10px 15px;
        font-size: 11px;
        cursor: pointer;
        display: flex;
        gap: 0.25rem;
        color: hsl(var(--secondary));
        color: hsl(var(--blue-grey-800))
        /*        flex-direction: column;*/
    }

        .suggestions-list li:hover {
            background-color: #f5f5f5;
        }

        .suggestions-list li small {
            color: #666;
            font-size: 12px;
        }

@media(max-width: 576px) {
    .locationBox {
        max-width: 100%;
    }
}


::-webkit-scrollbar-track {
    background: transparent; /* Remove track background globally */
}

.suggestions-list li i {
    margin-block-start: 0.05rem;
    color: hsl(var(--green-normal));
}











/*modal css*/
/* The Modal (background) */
.modals {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modals__flx {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    animation-name: popup;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes popup {
    0% {
        opacity: 0;
        -webkit-transform: scale(.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

.modals {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modals__flx {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Modal Content */
.modal-contents {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    width: 45%;
    border-radius: 4px;
}

.modal__top {
    background: hsl(var(--primary));
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 10px 5%;
    border-bottom: 1px solid #959595;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.pop__title h3 {
    font-weight: 400;
    margin: 0;
}

.pop__frm {
    padding: 20px 5%;
    background: aliceblue;
}

.frm__field {
    margin-bottom: 0.5rem;
}

.pop__frm input,
.pop__frm select,
.pop__frm textarea {
    margin-block: 0.25rem;
    width: 100%;
}

.frm__field input,
.frm__field textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dadada;
    height: 45px;
    color: #333;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-radius: 2px;
    line-height: 1.5;
    background-color: #c8d4df75;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.frm__field select {
    padding: 14px;
    border: 1px solid #dadada;
    height: 45px;
    color: #333;
    font-size: 13px;
    border-radius: 0;
    line-height: 1.5;
    outline: none;
    background-color: #c8d4df75;
}


.frm__field textarea {
    height: unset !important;
    resize: none;
}

/*    .frm__field button {
        border: none;
        background: #07294d;
        color: #fff;
        padding: 0.5rem;
        font-size: 1rem;
        transition: all .5s ease 0s;
        cursor: pointer;
    }*/

.frm__field button:hover {
    background-color: #013f81;
}

.slct__wrap {
    display: flex;
    gap: 5px;
}

/* The Close Button */
.closes {
    color: #ffffff;
    border-radius: 50%;
    padding: 0px 13px;
    font-size: 24px;
    font-weight: 400;
    background-color: hsl(var(--green-dark));
}

    .closes:hover,
    .closes:focus {
        background-color: hsl(var(--green-dark-active));
        text-decoration: none;
        cursor: pointer;
    }

.social_links {
    display: flex;
    gap: 0.75rem;
}

    .social_links i {
        color: #ffffff
    }

.appointment_btn a i {
    margin-inline-end: 0.5rem;
}
