:root {
    --primary-blue: #3264ff;
    --bg-light: #f8f9fa;
    --text-dark: #111;
    --text-muted: #555;
    --font-serif: 'Open sans', serif;
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4,
.serif {
    font-family: var(--font-serif);
}

/* --- Global Setup --- */
a {
    text-decoration: none;
}

.section-padding {
    padding: 24px 16px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Header Section (Blue Gradient) --- */
.main-header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)),
        linear-gradient(-45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.06) 30%,
            rgba(255, 255, 255, 0.06) 40%,
            transparent 40%,
            transparent 45%,
            rgba(255, 255, 255, 0.06) 45%,
            rgba(255, 255, 255, 0.06) 55%,
            transparent 55%,
            transparent 60%,
            rgba(255, 255, 255, 0.06) 60%,
            rgba(255, 255, 255, 0.06) 70%,
            transparent 70%),
        linear-gradient(135deg, #4f83fa 0%, var(--primary-blue) 100%);
    padding: 23px 16px 75px;
    color: white;
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.back-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}


.clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
    flex-grow: 1;
    margin-left: 12px;
}

.currency-pill {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: black;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.currency-pill::after {
    display: none !important;
}

.currency-pill img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
}

.dropdown-menu {
    z-index: 2000 !important;
}

/* Desktop Nav Link Placement */
.desktop-nav {
    display: none;
}

/* --- Search Bar --- */
.search-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    z-index: 1020;
    padding: 0 16px 15px;
    margin-top: -65px;
    margin-bottom: 0px;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.search-wrapper.scrolled {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)), linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.06) 40%, transparent 40%, transparent 45%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.06) 55%, transparent 55%, transparent 60%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.06) 70%, transparent 70%), linear-gradient(135deg, #4f83fa 0%, var(--primary-blue) 100%);
    padding: 15px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-box {
    background: white;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Proper shadow match */
}

.search-box i {
    color: #888;
    font-size: 1.2rem;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: #888;
}

/* --- Hero Image Section --- */
.hero-banner {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1581093458791-9f3c3900df4b?auto=format&fit=crop&q=80') center/cover;
    padding: 24px 16px;
    /* Accommodates the overlapping search bar */
    color: white;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.hero-banner p {
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 260px;
    margin-bottom: 24px;
}

.btn-blue {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-blue:hover {
    background: #3954a7;
    color: white;
}

/* --- Hero Carousel Indicators --- */
.hero-carousel {
    position: relative;
}

.custom-hero-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    gap: 1px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.2);
}

.custom-hero-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 1;
    width: auto;
    height: 4px;
    padding: 0;
    margin: 0;
    text-indent: -999px;
    cursor: pointer;
    background-color: transparent !important;
    border: none;
    opacity: 1;
    transition: opacity .6s ease;
}

.custom-hero-indicators .active {
    background-color: var(--primary-blue) !important;
}


/* --- Treatments Gallery Grid --- */
.treatments-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.treatments-grid::-webkit-scrollbar {
    display: none;
}

.treatment-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    flex: 0 0 calc(31.333vw - 19px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.treatment-card:active {
    transform: scale(0.95);
}

.treatment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    padding: 30px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- Partner Hospitals Scroll --- */
.hospital-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.horizontal-scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.horizontal-scroller::-webkit-scrollbar {
    display: none;
}

.hospital-card {
    background: white;
    border-radius: 12px;
    min-width: 130px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.hospital-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Tourism Packages Scroll --- */
.view-all-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.package-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: fit-content;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.package-card:active {
    transform: scale(0.97);
}

.package-card-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.package-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-card:hover .package-card-img img {
    transform: scale(1.05);
}

.pkg-destination-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(47, 108, 255, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.package-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.package-card-title {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.package-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.package-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.package-card-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6c757d;
}

.package-card-desc {
    font-size: 0.8rem;
    color: #4a4a4a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    height: 2.4em;
}

.package-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.btn-view-more {
    padding: 8px 5px;
    border: 1.5px solid #eef2ff;
    color: var(--primary-blue);
    background: #f8faff;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-more:hover {
    background: #eef2ff;
    border-color: #dbe4ff;
    color: var(--primary-blue);
}

.btn-book-now {
    padding: 8px 5px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-book-now:hover {
    background: #2557cc;
    color: #fff;
}

.btn-whatsapp-enquiry {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-whatsapp-enquiry:hover {
    background: #1da851;
    color: #fff;
}

.pkg-share-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

/* --- Latest Posts Stack --- */
.post-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.post-card:active {
    transform: scale(0.97);
}

.post-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-content {
    padding-top: 4px;
    padding-right: 24px;
}

.post-label {
    font-size: 0.7rem;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.post-share {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* --- Horizontal Scroll Arrows Next/Back --- */
.scroll-wrapper {
    position: relative;
    width: 100%;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-64%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: none;
    z-index: 5;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.scroll-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.scroll-arrow.scroll-left {
    left: 4px;
}

.scroll-arrow.scroll-right {
    right: 4px;
}

@media (min-width: 768px) {
    .scroll-arrow.scroll-left {
        left: -15px;
    }

    .scroll-arrow.scroll-right {
        right: -15px;
    }
}

/* --- Bottom Navigation (Mobile View) --- */
/* Bottom Nav Refinement */
.bottom-nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Improved dock-style shadow */
    filter: drop-shadow(0 -4px 12px rgba(0, 0, 0, 0.03)) drop-shadow(0 -12px 30px rgba(0, 0, 0, 0.02));
    transition: transform 0.3s ease;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    padding-bottom: env(safe-area-inset-bottom);
    pointer-events: none;
    /* Add this so it doesn't block clicks in the transparent notch area */
}

.bottom-nav-container>* {
    pointer-events: auto;
    /* Enable clicks back for the nav and FAB */
}

.bottom-nav {
    position: relative;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 10px 0 10px;
    height: 80px;

    /* Wider notch curve */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 80' preserveAspectRatio='xMidYMin slice'%3E%3Cpath d='M0,0 L920,0 C955,0 965,40 1000,40 C1035,40 1045,0 1080,0 L2000,0 L2000,80 L0,80 Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 80' preserveAspectRatio='xMidYMin slice'%3E%3Cpath d='M0,0 L920,0 C955,0 965,40 1000,40 C1035,40 1045,0 1080,0 L2000,0 L2000,80 L0,80 Z' fill='black'/%3E%3C/svg%3E");
    mask-size: auto 100%;
    -webkit-mask-size: auto 100%;
    -webkit-mask-position: center top;
    mask-position: center top;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.notch-spacer {
    flex: 1;
    /* Increased width to match the wider SVG notch */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #000000;
    /* Dark as per reference */
    flex: 1;
    transition: all 0.2s ease;
}

.nav-item.active {
    color: #3266e3;
    /* Brand blue for active */
}

.nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

.nav-item span {
    font-size: 14px;
    font-weight: 500;
}

.nav-item:hover {
    color: var(--primary-blue);
}

.nav-fab-wrapper {
    position: absolute;
    top: -42px;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    width: 85px;
    height: 85px;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-fab {
    width: 46px;
    height: 46px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), 0 0 0 6px white;
    color: white;
    font-size: 28px;
    border: none;
    animation: fab-pulse 2.5s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
}

.social-fab-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-options {
    position: absolute;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(20px) scale(0.5);
}

.social-fab-container.active .social-options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.social-option {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.social-fab-container.active .social-option {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(var(--i) * 0.05s);
}

.social-option:hover {
    transform: scale(1.1) translateY(-3px);
}

.social-option.whatsapp {
    background: #25D366;
}

.social-option.facebook {
    background: #1877F2;
}

.social-option.call {
    background: #34b7f1;
}

.social-option.email {
    background: #ea4335;
}

.social-option.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-option.youtube {
    background: #FF0000;
}

.social-toggle .close-icon {
    display: none;
    font-size: 24px;
}

.social-fab-container.active .social-toggle {
    background: #333;
    animation: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 0 6px white;
}

.social-fab-container.active .social-toggle .chat-icon {
    display: none;
}

.social-fab-container.active .social-toggle .close-icon {
    display: block;
}

@keyframes fab-pulse {
    0% {
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), 0 0 0 6px white, 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), 0 0 0 6px white, 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), 0 0 0 6px white, 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-fab:hover {
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5), 0 0 0 6px white;
}


/* Treatments page start */
.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 10px 16px 16px;
    scrollbar-width: none;
    margin-bottom: 10px;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    background: white;
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-pill.active {
    background: #3266e3;
    color: white;
    border-color: #3266e3;
}

.banner-carousel-container {
    padding: 0 16px 24px;
}

.treatments-banner {
    background: #eef7f4 url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&q=80') right center/contain no-repeat;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 180px;
}

/* Make banner gradient smoother */
.treatments-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #eaf5f0 40%, transparent);
    z-index: 1;
}

.treatment-carousel-indicators button {
    width: 6px !important;
    height: 6px !important;
    background: #999999 !important;
    background-color: #999999 !important;
    border: none !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 50% !important;
    opacity: 0.5 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 4px !important;
    padding: 0 !important;
    box-sizing: content-box;
}

.treatment-carousel-indicators button.active {
    background: #3264ff !important;
    background-color: #3264ff !important;
    opacity: 1 !important;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.banner-content h3 {
    color: #1a4a38;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.banner-content p {
    color: #4a6a58;
    font-size: 0.8rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.treatment-list-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 180px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.treatment-list-card:active {
    transform: scale(0.97);
}

.treatment-list-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-list-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.treatment-list-info h4 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.treatment-list-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #e0e0e0;
    align-items: center;
    gap: 4px;
}

.treatment-list-overlay .btn-blue {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.share-icon-top {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Treatments page end */


/* Category Grid Card */
.category-grid-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-grid-card:active {
    transform: scale(0.96);
}

.category-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}


/* Treatment Details Page */
.treatment-detail-page {
    background: white;
}

.treatment-hero {
    position: relative;
    width: 100%;
    height: 350px;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-top-bar {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.hero-btn {
    min-width: 44px;
    height: 44px;
    width: auto;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.treatment-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.treatment-desc {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.treatment-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-item {
    width: calc((100% - 32px) / 5);
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    /* ensure z-index works */
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.2s ease;
}

.gallery-item:hover img {
    filter: brightness(0.85);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.65);
}

.cost-comparison-card {
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    margin-top: 16px;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.cost-data-side {
    width: 65%;
    margin-left: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(to right, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 20%, #f8f9fa 100%);
}

.cost-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cost-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.flag-icon img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.country-name {
    font-weight: 500;
    color: #333;
}

.cost-range {
    font-weight: 600;
    color: #111;
}

.cost-bar-bg {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.cost-bar-fill {
    height: 100%;
    background: #2e7d32;
    border-radius: 3px;
}

.treatment-for-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-for-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 10px;
    line-height: 1.4;
}

.treatment-for-list li i {
    color: #4b5563;
    font-size: 1rem;
    margin-top: -2px;
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dur-icon {
    width: 24px;
    display: flex;
    justify-content: center;
}

.dur-text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}


/* --- Tourism Packages List View --- */
.pkg-list-container {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 7rem;
}

.pkg-list-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pkg-list-card:active {
    transform: scale(0.98);
}

.pkg-list-card .package-card-img {
    height: 200px;
}

.pkg-list-card .pkg-share-btn {
    background: rgba(0, 0, 0, 0.2);
}

/* --- Consult Page Styles --- */
.consult-header {
    background: #3264ff;
    padding: 30px 16px 60px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consult-card-title {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.consult-header-content {
    position: relative;
    z-index: 3;
    max-width: 60%;
}

.consult-header-title {
    font-size: 1.4rem;
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.consult-header-subtitle {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.consult-heartbeat-bg {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.8;
}

.consult-doctor-img {
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 100%;
    max-height: 300px;
    z-index: 2;
    object-fit: contain;
}

/* Talk to Doctor Button Wrapper */
.consult-action-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    z-index: 10;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    padding: 0 16px;
    margin-top: -24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-start;
}

.btn-talk-doctor {
    background: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 30px;
    padding: 8px 16px 8px 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-talk-doctor:hover {
    color: #204ecf;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-talk-doctor .btn-icon-left {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-talk-doctor .btn-icon-left img {
    width: 24px;
    height: 24px;
}

.btn-talk-doctor .btn-icon-right {
    background: #f0f4ff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: var(--primary-blue);
}

/* --- Consult Grid --- */
.consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 100px;
}

.consult-category-card {
    background: white;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consult-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    color: inherit;
}

.consult-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fbfbfb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.consult-category-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.consult-category-title {
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: #111;
    margin: 0;
}

.consult-category-price {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: -8px;
}

.consult-category-price span {
    color: #2F6CFF;
    font-weight: 700;
}

/* --- Blog Details Page --- */
.blog-detail-hero {
    position: relative;
    width: 100%;
    height: 300px;
}

.blog-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-top-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.blog-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.blog-circle-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: white;
}

.blog-detail-content {
    padding: 24px 20px;
    background: white;
}

.blog-meta-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5d87ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.blog-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    font-family: var(--font-sans);
    line-height: 1.3;
    margin-bottom: 8px;
}

.blog-detail-meta-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 24px;
}

.blog-detail-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
}

.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    margin-top: 24px;
    margin-bottom: 12px;
}

.blog-detail-body p {
    margin-bottom: 16px;
}

.blog-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.blog-gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0;
}

/* Related Posts */
.blog-related-section {
    background: #f8f9fc;
    padding: 30px 20px 80px;
}

.blog-related-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #212529;
}

.blog-related-card {
    background: white;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.blog-related-card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    color: inherit;
}

.blog-related-img {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-related-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.blog-related-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.blog-related-category {
    font-size: 0.65rem;
    font-weight: 600;
    color: #5d87ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-related-action {
    color: #6c757d;
    font-size: 0.95rem;
}

.blog-related-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-related-card-desc {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}


/* --- Responsive Adjustments for Desktop --- */
@media (min-width: 768px) {

    /* home page */
    .main-header,
    .search-wrapper,
    .hero-banner,
    .section-padding,
    .bottom-nav,
    .consult-banner-container,
    .consult-action-wrapper,
    .consult-grid,
    .blog-detail-content,
    .blog-related-section,
    .contact-card-wrapper,
    .contact-form-section,
    .about-story-section,
    .about-intro-section,
    .about-gallery-section,
    .about-values-section,
    /* treatments page */
    .category-scroll,
    .banner-carousel-container {
        padding-left: 15vw;
        padding-right: 15vw;
    }

    .consult-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .treatment-card {
        flex: 0 0 calc((100% - 48px) / 5);
    }

    .package-card {
        width: 360px;
        max-width: none;
    }


    .package-enquire-btn {
        font-size: 0.9rem;
    }

    .consult-doctor-img {

        right: 250px;
    }

    .blog-gallery-img {
        height: 250px;
    }

    .search-suggestions-container {
        margin-left: 13.9vw;
        margin-right: 13.9vw;
    }

    .hero-banner {
        height: 540px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero-banner h2 {
        font-size: 2.5rem !important;
        margin-bottom: 12px !important;
    }

    .hero-banner p {
        font-size: 1.1rem !important;
        max-width: 450px !important;
    }

    .treatment-hero,
    .package-hero {
        height: 450px !important;
    }

    .treatment-list-card {
        height: 450px !important;
    }


    .package-hero-img {
        height: 450px !important;
    }
}

/* Package Details */
.package-bg-light {
    background: #f9fbfd;
    min-height: 100vh;
    padding-bottom: 80px;
}

.package-hero {
    position: relative;
    width: 100%;
    height: 350px;
    background: #e9ecef;
}

.package-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-top-bar {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.package-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.package-circle-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.package-hero-bottom {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.package-slider-dots {
    display: flex;
    gap: 6px;
}

.package-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.package-dot.active {
    background: #fff;
}

.package-gallery-badge {
    position: absolute;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-content {
    position: relative;
    z-index: 20;
    padding: 15px 5px;
}

@media (max-width: 991px) {
    .package-content {
        border-radius: 20px 20px 0 0;
    }
}

.package-title-sec h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    color: #111;
    margin-top: 5px;
    margin-bottom: 6px;
}

.package-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.package-rating {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-rating-reviews {
    color: #6c757d;
    text-decoration: underline;
    font-weight: normal;
    font-size: 0.85rem;
}

.package-pills-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    margin-bottom: 10px;
}

.package-pills-wrap::-webkit-scrollbar {
    display: none;
}

.package-pill {
    white-space: nowrap;
    border: 1.5px solid #f1f3f5;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.package-pill i {
    color: #2F6CFF;
    font-size: 1rem;
}

.package-pill .text-orange {
    color: #f59e0b;
}

.package-tabs-wrapper {
    background: #fff;
    padding-bottom: 20px;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .package-tabs-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.package-tabs {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #fff;
    gap: 20px;
}

.package-tabs::-webkit-scrollbar {
    display: none;
}

.package-tabs .nav-link {
    white-space: nowrap;
    padding: 12px 0px;
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: all 0.2s;
}

.package-tabs .nav-link.active {
    color: #2F6CFF;
    border-bottom-color: #2F6CFF;
    font-weight: 600;
}

.package-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-included-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
}

.package-included-icon {
    color: #2F6CFF;
    font-size: 1.2rem;
    line-height: 1;
}

.package-overview-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* Sticky Booking Bar */
.package-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 20px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
    /* box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08); */
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.package-price-info {
    display: flex;
    flex-direction: column;
}

.package-price-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 2px;
}

.package-price-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.package-enquire-btn {
    background: #2F6CFF;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.7rem;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(47, 108, 255, 0.25);
    transition: background 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.package-enquire-btn:hover {
    background: #285cd6;
}

.package-enquire-btn.btn-whatsapp {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.package-enquire-btn.btn-whatsapp:hover {
    background: #21bd5c;
}

.package-enquire-btn:active {
    transform: scale(0.95);
}

@media (min-width: 992px) {
    .package-bg-light {
        padding-bottom: 0;
    }

    .package-hero {
        height: 450px;
        overflow: hidden;
    }


    .package-bottom-bar {
        position: sticky;
        top: 100px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        flex-direction: row;
        align-items: flex-start;
        padding: 25px;
    }

    .package-price-info {
        margin-bottom: 20px;
    }

    .package-enquire-btn {
        width: 50%;
        text-align: center;
    }
}

/* Date & Price Tab Styling */
.date-price-container {
    padding: 10px 0;
}

.month-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.month-grid::-webkit-scrollbar {
    display: none;
}

.month-card {
    min-width: 90px;
    flex: 0 0 90px;
    background: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.month-card.lowest {
    background: #2F6CFF;
    border-color: #2F6CFF;
}

.month-card.lowest .month-name,
.month-card.lowest .month-price {
    color: #fff;
}

.lowest-label {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.month-card .month-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 4px;
}

.month-card .month-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.fw-600 {
    font-weight: 600;
}

.year-section h5 {
    font-size: 1.1rem;
    color: #333;
}

/* Appointment Form Styling */
.appointment-form-section {
    background: #fdfdfe;
    min-height: 100vh;
}

.custom-input,
.custom-select {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #333;
    background-color: #fff;
    transition: all 0.2s;
}

.custom-input:focus,
.custom-select:focus {
    border-color: #2F6CFF;
    box-shadow: 0 0 0 4px rgba(47, 108, 255, 0.08);
    background-color: #fff;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 10px;
}

/* Date Scroller UI */
.date-scroll-wrapper {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.date-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.date-scroll {
    display: flex;
    gap: 12px;
    padding: 4px 0 10px;
}

.date-card {
    min-width: 70px;
    height: 85px;
    background: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.date-card .day-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2F6CFF;
    margin-bottom: 4px;
}

.date-card .day-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.date-card.active {
    background: #2F6CFF;
    border-color: #2F6CFF;
    color: #fff;
    box-shadow: 0 4px 15px rgba(47, 108, 255, 0.3);
}

.date-card.active .day-name,
.date-card.active .day-num {
    color: #fff;
}

/* Primary Button Styling */
.btn-primary-custom {
    background: #2F6CFF;
    color: #fff;
    border: none;
    height: 56px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-secondary-custom {
    background: #f2f3f5;
    color: #000000;
    border: none;
    height: 56px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    background: #1d56e8;
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary-custom:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-1px);
}

.btn-primary-custom,
.btn-secondary-custom:active {
    transform: scale(0.98);
}

.fw-700 {
    font-weight: 700;
}

.fw-500 {
    font-weight: 500;
}

/* --- Contact Us Page Redesign --- */
.contact-header {
    min-height: 240px;
    overflow: hidden;
}

.contact-header .header-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-header .header-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 80%;
}

.contact-doctor-img {
    position: absolute;
    bottom: -10px;
    right: -20px;
    height: 110%;
    max-height: 280px;
    object-fit: contain;
    z-index: 1;
}

.header-text-content {
    position: relative;
    z-index: 2;
}

.contact-card-wrapper {
    margin-top: -28px;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-arrow {
    width: 32px;
    height: 32px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4274f6;
    font-size: 0.8rem;
}

.phone-input-group {
    height: 58px;
}

.phone-input-group span {
    font-weight: 600;
    color: #333;
}

.contact-form-section .form-label {
    font-weight: 600;
    color: #4b5563;
}

/* Side Menu Styles */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.side-menu-overlay.show {
    display: block;
    opacity: 1;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 310px;
    height: 100%;
    background: #ffffff;
    z-index: 2001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.side-menu.show {
    left: 0;
}

.side-menu-header {
    padding: 35px 25px;
    background: linear-gradient(135deg, #2F6CFF 0%, #1e4bb3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-menu-header .brand-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}

.close-menu {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.3s;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
}

.side-menu-body {
    padding: 30px 0;
    flex-grow: 1;
    overflow-y: auto;
}

.side-nav-links .nav-item {
    margin-bottom: 5px;
}

.side-nav-links .nav-link {
    padding: 14px 25px;
    color: #374151;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s;
    width: 100%;
}

.side-nav-links .nav-link i {
    font-size: 1.25rem;
    color: #9ca3af;
    width: 24px;
    text-align: center;
    transition: color 0.3s;
}

.side-nav-links .nav-link:hover,
.side-nav-links .nav-link.active {
    background: #f0f7ff;
    color: #2F6CFF;
}

.side-nav-links .nav-link:hover i,
.side-nav-links .nav-link.active i {
    color: #2F6CFF;
}

.side-menu-footer {
    padding: 25px;
    background-color: #f9fafb;
    border-top: 1px solid #edf2f7;
    font-size: 0.9rem;
    color: #9ca3af;
    text-align: center;
}

/* About Us Section Styles */

.about-story-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4274f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.about-story-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
    max-width: 280px;
}

.about-doctors-img {
    width: 100%;
    object-fit: cover;
}

.about-intro-text {
    padding: 30px 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: left;
}



.about-gallery-main {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 30px;
}

.about-gallery-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-values-section {
    background-color: #f8faff;
    padding: 40px 20px;
}

.about-values-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 25px;
}

.value-card {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(66, 116, 246, 0.04);
}

.value-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.value-icon-wrapper i {
    font-size: 1.25rem;
}

.value-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.4;
}

/* Search Suggestions */
.search-wrapper {
    position: sticky;
    /* top: 10px; */
    z-index: 1000;
}

.search-suggestions-container {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    z-index: 1001;
}

.suggestion-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f0f7ff;
}

.suggestion-item i {
    color: #4274f6;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

.suggestion-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
}

.suggestion-type {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-top: 2px;
}

.suggestion-item:hover .suggestion-name {
    color: #2F6CFF;
}

.suggestion-item:hover .suggestion-type {
    color: #60a5fa;
}

/* Filter Bottom Sheet */
.filter-sheet {
    border-radius: 24px 24px 0 0 !important;
    height: auto !important;
    max-height: 80vh;
}

.filter-sheet-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-sheet-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.filter-options-list {
    padding: 16px 20px 30px;
}

.filter-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-option-item:last-child {
    border-bottom: none;
}

.filter-option-name {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

.filter-option-item.active .filter-option-name {
    color: #2F6CFF;
    font-weight: 600;
}

.filter-option-check {
    color: #2F6CFF;
    font-size: 1.2rem;
    display: none;
}

.filter-option-item.active .filter-option-check {
    display: block;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn:active {
    background: rgba(255, 255, 255, 0.3);
}

.filter-indicator-dot {
    position: absolute;
    top: 0px;
    right: 5px;
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border: 2px solid white;
    border-radius: 50%;
    display: none;
    z-index: 5;
}

/* Treatment Procedures & Benefits */
.procedure-steps-slider {
    overflow-x: auto;
    display: flex;
    gap: 16px;
    /* padding: 12px 4px 20px; */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.procedure-steps-slider::-webkit-scrollbar {
    display: none;
}

.procedure-step-card {
    min-width: 130px;
    max-width: 130px;
    text-align: center;
    transition: transform 0.2s ease;
}

.procedure-step-card:hover {
    transform: translateY(-5px);
}

.procedure-step-img {
    width: 130px;
    height: 130px;
    background: #f1f5f9;
    border-radius: 20px;
    margin-bottom: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.procedure-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.procedure-step-title {
    color: #2F6CFF;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.procedure-step-subtitle {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.3;
}

/* No procedure image styling */
.no-procedure-image {
    background: #f1f5f9;
    padding: 15px 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px dashed #cbd5e1;
    min-height: 130px;
}

.no-procedure-image .procedure-step-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Modal Procedure Cards */
.modal-proc-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.modal-proc-card .procedure-step-img {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
}

.modal-proc-card .procedure-step-title {
    font-size: 1.1rem;
    margin-top: 15px;
}

.modal-proc-card .procedure-step-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    /* color: #2F6CFF; */
    font-size: 1.2rem;
}

/* Share Floating Menu Styles */
.share-floating-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.share-floating-overlay.show {
    visibility: visible;
    opacity: 1;
}

.share-floating-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Increased gap for better separation */
    padding-left: 0;
}

.share-btn-floating {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px 12px 15px;
    border-radius: 0 12px 12px 0;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
    transform: translate3d(-10%, 20px, 0);
    /* Start off-screen and slightly lower */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 170px;
    border: none;
}

.share-floating-overlay.show .share-btn-floating {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

/* More pronounced staggered entry */
.share-floating-overlay.show .share-btn-floating:nth-child(1) {
    transition-delay: 0.1s;
}

.share-floating-overlay.show .share-btn-floating:nth-child(2) {
    transition-delay: 0.2s;
}

.share-floating-overlay.show .share-btn-floating:nth-child(3) {
    transition-delay: 0.3s;
}

.share-floating-overlay.show .share-btn-floating:nth-child(4) {
    transition-delay: 0.4s;
}

.share-floating-overlay.show .share-btn-floating:nth-child(5) {
    transition-delay: 0.5s;
}

.share-btn-floating i {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

/* Colors matching user image */
.share-btn-floating.call {
    background-color: #726e6e;
}

.share-btn-floating.whatsapp {
    background-color: #25D366;
}

.share-btn-floating.email {
    background-color: #b30000;
}

.share-btn-floating.copy {
    background-color: #ed2114;
}

.share-btn-floating.close-btn {
    background-color: #111;
    margin-top: 10px;
}

.share-btn-floating:active {
    transform: scale(0.95);
}