/* ==========================================================================
   TemplateMidnight Custom Styles (Bootstrap 5 Responsive Integration)
   Theme: Midnight Orthopedics - High-End Light/Ice Surface with Deep Navy & Primary Blue Accents
   ========================================================================== */

:root {
    --stitch-bg: #f8f9ff;
    --stitch-surface: #f8f9ff;
    --stitch-surface-low: #eff4ff;
    --stitch-surface-container: #e5eeff;
    --stitch-surface-high: #dce9ff;
    --stitch-surface-white: #ffffff;
    --stitch-primary: #00236f;
    --stitch-primary-container: #1e3a8a;
    --stitch-on-surface: #0b1c30;
    --stitch-on-surface-variant: #444651;
    --stitch-outline: #757682;
    --stitch-outline-variant: #c5c5d3;
    --stitch-dark-bg: #0b1c30;

    --stitch-radius-lg: 0.5rem;
    --stitch-radius-xl: 0.75rem;
    --stitch-radius-full: 9999px;
    --stitch-radius-premium: 16px;

    --on-surface: #0b1c30;
    --on-surface-variant: #444651;
    --on-background: #0b1c30;
    --on-tertiary-container: #aaadaf;
    --outline: #757682;
    --outline-variant: #c5c5d3;
    --inverse-surface: #213145;
    --font-display: "Playfair Display", serif;
    --font-body: "Geist", sans-serif;

    --blog-radius-full: var(--stitch-radius-full);
    --blog-radius-premium: var(--stitch-radius-premium);
    --blog-primary: var(--stitch-primary);
    --blog-outline-variant: var(--stitch-outline);
}
html {
    scrollbar-width: thin !important;
    scrollbar-color: var(--stitch-primary) var(--stitch-surface) !important;
}
html::-webkit-scrollbar {
    width: 10px !important;
}

html::-webkit-scrollbar-track {
    background: var(--stitch-surface);
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--stitch-primary) 0%,
        var(--stitch-primary-container) 100%
    );
    border-radius: 10px;
    border: 2px solid #f3f5fb;
    transition: all 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        var(--stitch-primary) 0%,
        var(--stitch-primary-container) 100%
    );
}

/* Corner */
/* ::-webkit-scrollbar-corner {
    background: transparent;
} */

body {
    background-color: var(--stitch-bg);
    color: var(--stitch-on-surface);
    font-family:
        "Geist",
        "Plus Jakarta Sans",
        system-ui,
        -apple-system,
        sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: "Playfair Display", Georgia, serif;
}

#about,
#certificates,
#treatments,
#gallery,
#blogs,
#faq,
#location {
    scroll-margin-top: 80px;
}

/* Header Navbar */
.header-midnight {
    background-color: var(--stitch-surface-white);
    border-bottom: 1px solid rgba(197, 197, 211, 0.3);
    transition: all 0.3s ease;
}

.header-midnight.scrolled {
    box-shadow: 0 4px 20px rgba(0, 35, 111, 0.08);
}

.header-midnight .navbar-brand {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--stitch-primary) !important;
    text-decoration: none;
    line-height: 1.2;
    margin-right: 1rem;
}

.brand-doctor-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--stitch-primary);
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
}

.brand-doctor-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--stitch-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: "Geist", "Plus Jakarta Sans", sans-serif;
}

.navbar-toggler {
    padding: 0.35rem 0.6rem;
    border-radius: 0.5rem;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: var(--stitch-surface-low);
}

.menu-toggler-icon {
    color: var(--stitch-primary) !important;
    font-size: 1.85rem !important;
    vertical-align: middle;
}
.book-appointment {
    text-wrap: nowrap;
}

@media (max-width: 991.98px) {
    .header-midnight .navbar .container-fluid {
        flex-wrap: wrap !important;
    }

    .header-midnight .navbar-brand {
        max-width: calc(100% - 60px);
        margin-right: 0;
    }

    .header-midnight .brand-doctor-title {
        font-size: 1.15rem;
        white-space: normal;
        word-break: break-word;
    }

    .header-midnight .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        background-color: #ffffff;
        padding: 1.25rem;
        border-radius: 1rem;
        box-shadow: 0 10px 30px rgba(0, 35, 111, 0.12);
        margin-top: 0.75rem;
        border: 1px solid rgba(197, 197, 211, 0.2);
    }

    .header-midnight .navbar-nav .nav-link {
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header-midnight .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .header-midnight .navbar-collapse .btn-stitch-primary {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
        max-width: fit-content;
    }
}

.header-midnight .nav-link {
    color: var(--stitch-on-surface-variant) !important;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
}

.header-midnight .nav-link:hover,
.header-midnight .nav-link.active {
    color: var(--stitch-primary) !important;
}

/* Buttons */
.btn-stitch-primary {
    background-color: var(--stitch-primary);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    padding: 0.65rem 1.75rem;
    box-shadow: 0px 4px 15px rgba(0, 35, 111, 0.15);
    transition: all 0.2s ease;
}

.btn-stitch-primary:hover {
    background-color: #001952;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0px 6px 20px rgba(0, 35, 111, 0.25);
}

.btn-stitch-secondary {
    background-color: var(--stitch-surface-container);
    color: var(--stitch-primary);
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.75rem;
    transition: all 0.2s ease;
}

.btn-stitch-secondary:hover {
    background-color: var(--stitch-surface-high);
    color: var(--stitch-primary);
}

.btn-stitch-primary-lg {
    background-color: var(--stitch-primary);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem 2rem;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.15);
    transition: all 0.2s ease;
}

.btn-stitch-primary-lg:hover {
    background-color: #001952;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Badge Utility */
.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background-color: #dce9ff;
    color: #1e3a8a;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.section-stitch-bg {
    background-color: var(--stitch-bg);
}

.text-midnight-primary {
    color: var(--stitch-primary);
}

.text-midnight-variant {
    color: var(--stitch-on-surface-variant);
}

.hero-glow-circle {
    width: 120%;
    height: 120%;
    background-color: rgba(220, 233, 255, 0.3);
    filter: blur(40px);
    z-index: -1;
}

.hero-arch-clip {
    clip-path: ellipse(100% 100% at 50% 100%);
    border-radius: 50% 50% 16px 16px;
    background-color: #d3e5f1;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.05);
    aspect-ratio: 0.98;
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-portrait-img:hover {
    transform: scale(1.05);
}

/* About Section Utility Classes */
.about-img-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-img-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    transition: transform 1s ease;
}

.about-img-card:hover img {
    transform: scale(1.05);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 35, 111, 0.2), transparent);
    pointer-events: none;
}

.about-stat-card {
    background-color: var(--stitch-surface-low);
    border-left: 4px solid var(--stitch-primary);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.about-stat-card:hover {
    background-color: #ffffff;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-size: clamp(26px, 4vw, 48px);
    line-height: 1;
    color: var(--stitch-primary);
    font-family: "Playfair Display", Georgia, serif;
}

.stat-plus {
    color: var(--stitch-on-surface-variant);
}

/* Treatment Section Utility Classes */
.treatment-tabs-container {
    max-height: 700px;
    overflow-y: auto;
}
.treatment-sidebar-btn {
    background-color: #ffffff;
    color: var(--stitch-on-surface-variant);
    border: 1px solid rgba(197, 197, 211, 0.3);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.treatment-sidebar-btn .tab-title {
    color: var(--stitch-on-surface-variant);
}

.treatment-sidebar-btn .tab-subtitle {
    color: rgba(68, 70, 81, 0.6);
}

.treatment-sidebar-btn .tab-arrow {
    opacity: 0;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.treatment-sidebar-btn:hover {
    background-color: var(--stitch-surface-low);
    color: var(--stitch-primary);
}

.treatment-sidebar-btn:hover .tab-title {
    color: var(--stitch-primary);
}

.treatment-sidebar-btn.active {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
    /* box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25); */
    transform: scale(1.02);
}

.treatment-sidebar-btn.active .tab-title {
    color: #ffffff !important;
}

.treatment-sidebar-btn.active .tab-subtitle {
    color: #b6c4ff !important;
}

.treatment-sidebar-btn.active .tab-arrow {
    opacity: 1;
}

.treatment-tabs-scroll {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding-inline: 0.5rem;
    scrollbar-width: thin;
}

/* Mobile Screens (< 576px) Horizontal Scrollable Tabs */
@media (max-width: 992px) {
    .treatment-tabs-scroll {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        max-height: none !important;
        height: auto !important;
        padding-right: 0 !important;
        padding-bottom: 0.5rem !important;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .treatment-sidebar-btn {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: auto !important;
        margin-bottom: 0 !important;
        padding: 0.6rem 1rem !important;
        text-align: center !important;
    }

    .treatment-sidebar-btn .tab-subtitle {
        display: none !important;
    }

    .treatment-sidebar-btn .tab-title {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .treatment-sidebar-btn .tab-arrow {
        display: none !important;
    }

    .treatment-sidebar-btn.active {
        transform: none !important;
    }
}

.treatment-card-wrapper {
    background-color: #ffffff;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(11, 28, 48, 0.08);
    border: 1px solid rgba(197, 197, 211, 0.2);
}

.treatment-tab-pane {
    padding: 2.5rem;
}

/* Responsive Treatment Card Content */

@media (max-width: 991.98px) {
    .treatment-card-wrapper {
        border-radius: 1.5rem;
        margin-top: 1rem;
    }

    .treatment-tab-pane {
        padding: 1.5rem;
    }

    .treatment-heading {
        font-size: 1.5rem;
    }

    .clinical-profile-badge {
        font-size: 0.65rem;
    }

    .video-overlay-text {
        padding: 1rem 1.25rem;
    }

    .video-overlay-text h4 {
        font-size: 1.05rem !important;
    }

    .video-overlay-text p {
        font-size: 0.7rem !important;
    }

    .video-play-icon {
        width: 3rem;
        height: 3rem;
    }

    .video-play-icon .material-symbols-outlined {
        font-size: 1.5rem !important;
    }

    .video-live-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.25rem 0.6rem;
        font-size: 9px;
    }
}

@media (max-width: 575.98px) {
    .treatment-tab-pane {
        padding: 1.15rem 0.85rem;
    }

    .treatment-heading {
        font-size: 1.35rem;
    }

    .clinical-profile-badge {
        font-size: 0.6rem;
    }

    .treatment-tab-pane p.lead {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    .video-player-box {
        border-radius: 1rem;
    }

    .video-overlay-text {
        padding: 0.6rem 0.75rem !important;
        z-index: 2;
    }

    .video-overlay-text h4 {
        font-size: 0.85rem !important;
        line-height: 1.25;
        margin-bottom: 0 !important;
    }

    .video-overlay-text p {
        display: none !important;
    }

    .video-play-icon {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    .video-play-icon .material-symbols-outlined {
        font-size: 1.25rem !important;
    }

    .video-live-badge {
        top: 0.5rem !important;
        left: 0.5rem !important;
        padding: 0.15rem 0.45rem !important;
        font-size: 9px !important;
        z-index: 2;
    }

    .live-dot {
        width: 5px !important;
        height: 5px !important;
    }
}

.clinical-badge-line {
    width: 2.5rem;
    height: 4px;
    background-color: #1e3a8a;
    border-radius: 9999px;
}

.clinical-profile-badge {
    color: #1e3a8a;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.treatment-heading {
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--stitch-primary);
}

.video-player-box {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #0b1c30;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.video-player-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.7s ease;
}

.video-player-box:hover img {
    opacity: 0.5;
}

.video-play-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--stitch-primary-container);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.video-play-icon .material-symbols-outlined {
    font-size: 1.75rem !important;
}

.video-player-box:hover .video-play-icon {
    transform: scale(1.1);
    background-color: var(--stitch-primary);
}

.video-live-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: rgba(11, 28, 48, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 9999px;
    display: inline-block;
}

.video-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.4),
        transparent
    );
    color: #ffffff;
}

/* Schedule Section Utility Classes */
.schedule-banner-card {
    /* background-color: var(--stitch-primary-container); */
    border-radius: 1.5rem;
    overflow: hidden;
    color: #ffffff;
}

.schedule-hours-column {
    background-color: var(--stitch-primary);
}

.schedule-form-column {
    background-color: var(--stitch-surface);
    color: var(--stitch-on-surface);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}

/* Responsive Clinic Hours on Mobile Screens (< 576px) */
@media (max-width: 900px) {
    .schedule-hours-column {
        padding: 1.5rem 1rem !important;
    }

    .hours-row {
        padding: 0.5rem 0.4rem;
        gap: 0.25rem;
    }

    .day-name {
        font-size: 0.8rem;
        gap: 0.25rem;
        flex: 1;
        min-width: 0;
        flex-wrap: wrap;
    }

    .today-pill-badge {
        font-size: 7.5px;
        padding: 0.1rem 0.3rem;
        line-height: 1;
    }

    .sessions-group {
        align-items: flex-end;
        flex-shrink: 0;
    }

    .session-slot {
        gap: 0.2rem;
    }

    .session-time {
        font-size: 0.72rem;
        white-space: nowrap;
        letter-spacing: -0.02em;
    }

    .session-icon-morning,
    .session-icon-evening {
        font-size: 0.85rem !important;
    }
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row-today {
    background-color: rgba(255, 255, 255, 0.12);
    border-left: 3px solid #b6c4ff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.day-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.today-pill-badge {
    background-color: #b6c4ff;
    color: #00164e;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

.stitch-input {
    width: 100%;
    background-color: var(--stitch-surface-container);
    border: none;
    border-radius: 0.75rem;
    height: 48px;
    padding: 0 24px;
    font-family: var(--font-body);
    color: var(--stitch-on-surface);
}
textarea.stitch-input {
    height: auto;
    padding: 24px;
}

.form-label-custom {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    margin-bottom: 4px;
}

.stitch-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--stitch-primary);
    background-color: var(--stitch-surface-container);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--stitch-surface-container);
}

.sessions-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.session-slot {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.session-icon-morning {
    color: #fde047;
    font-size: 1.1rem !important;
}

.session-icon-evening {
    color: #93c5fd;
    font-size: 1.1rem !important;
}

.session-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section Utility Classes */
.gallery-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.15);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* FAQ Section Utility Classes */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.05);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(197, 197, 211, 0.2);
}

.faq-toggle-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: #ffffff;
    border: none;
    color: var(--stitch-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.25s ease;
}

.faq-toggle-btn:hover {
    background-color: var(--stitch-surface-low);
}

.faq-toggle-btn[aria-expanded="true"] {
    background-color: #f0f5ff;
}

.faq-toggle-btn .faq-icon {
    transition: transform 0.3s ease;
    color: var(--stitch-primary);
}

.faq-toggle-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-collapse-content {
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    border-top: 1px solid rgba(197, 197, 211, 0.25);
    color: var(--stitch-on-surface-variant);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Blog Article Cards */
.midnight-blog-card {
    background: #ffffff;
    border-radius: var(--stitch-radius-premium);
    overflow: hidden;
    /* border: 1px solid var(--stitch-on-surface-variant); */
    box-shadow: 5px 5px 8px 2px #b5b5b5a6 !important;
    /* box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2); */
    transition: all 0.3s ease;
}

.midnight-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.midnight-blog-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--stitch-bg);
    color: var(--stitch-primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--stitch-radius-full);
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: auto;
    max-width: fit-content;
    max-height: fit-content;
    display: inline-block;
    line-height: 1.2;
}

.midnight-blogs-swiper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 40px;
}

.midnight-blogs-swiper .swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

.midnight-blogs-swiper .midnight-blog-card {
    width: 100%;
    max-width: none;
    margin: 0;
    max-width: 300px;
}

.midnight-blogs-swiper .swiper-pagination {
    bottom: -5px;
}

.midnight-blogs-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--stitch-outline);
    opacity: 1;
}

.midnight-blogs-swiper .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 999px;
    background-color: var(--stitch-primary);
}

@media (min-width: 1024px) {
    .midnight-blogs-swiper .swiper-slide {
        justify-content: start !important;
    }
}
/* swiper btn css */
.swiper-button-next,
.swiper-button-prev {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #333;
    transition: all 0.3s ease;
}
.swiper-button-next span,
.swiper-button-prev span {
    font-size: 18px !important;
    color: var(--stitch-primary);
}

/* Remove default arrow */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

/* Hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #f8f9fa;
    border-color: #bbb;
}

/* Position adjustment (like your screenshot) */
.swiper-button-prev::before,
.swiper-button-next::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: #333;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.swiper-button-prev::before {
    /* content: "\f104"; */
    color: var(--primaryThemeColor);
}

.swiper-button-next::before {
    /* content: "\f105"; */
    color: var(--primaryThemeColor);
}
.swiper-button-prev,
.swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* hover */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #f8f9fa;
}

/* swiper btn wrapper */
.custom-nav .swiper-button-prev,
.custom-nav .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* LEFT button */
.custom-nav .swiper-button-prev {
    left: -4%;
}

/* RIGHT button */
.custom-nav .swiper-button-next {
    right: -4%;
}

/* optional hover */
.custom-nav .swiper-button-prev:hover,
.custom-nav .swiper-button-next:hover {
    background: #f8f9fa;
}

@media (max-width: 576px) {
    .custom-nav {
        display: none !important;
    }
}

/* Location & Map Section Utility Classes */
.map-container-box {
    position: relative;
    height: 400px;
    background-color: var(--stitch-surface-high);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(30, 58, 138, 0.08);
}

.map-dot-grid-bg {
    position: absolute;
    inset: 0;
    background-color: #e8f0fe;
    opacity: 0.7;
    background-image: radial-gradient(
        var(--stitch-primary) 0.8px,
        transparent 0.8px
    );
    background-size: 24px 24px;
}

.map-pin-circle {
    width: 48px;
    height: 48px;
    background-color: var(--stitch-primary);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 35, 111, 0.3);
    animation: bounce 2s infinite;
}

.map-badge-box {
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 197, 211, 0.3);
    color: var(--stitch-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.map-controls-box {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(197, 197, 211, 0.3);
}

.map-control-btn {
    border: none;
    background: transparent;
    padding: 0.5rem;
    color: var(--stitch-on-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.map-control-btn:hover {
    color: var(--stitch-primary);
    background-color: var(--stitch-surface-low);
}

.map-control-divider {
    height: 1px;
    background-color: rgba(197, 197, 211, 0.3);
    width: 100%;
}

.map-info-title {
    font-weight: 700;
    color: var(--stitch-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.map-info-text {
    color: var(--stitch-on-surface-variant);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Utility Classes */
.footer-stitch {
    background-color: var(--stitch-on-background);
    color: #ffffff;
}

.footer-heading {
    color: #b6c4ff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.footer-link:hover {
    color: #b6c4ff;
    opacity: 1;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-input {
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 0 0 1px #b6c4ff;
    outline: none;
}

.footer-bottom-border {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gallery & FAQ */
.gallery-img-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.05);
}

.gallery-img-card img {
    transition: transform 0.5s ease;
}

.gallery-img-card:hover img {
    transform: scale(1.05);
}

.accordion-stitch .accordion-item {
    background-color: #ffffff;
    border: none;
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.05);
    overflow: hidden;
}

.accordion-stitch .accordion-button {
    background-color: #ffffff;
    color: var(--stitch-primary);
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem;
}

.accordion-stitch .accordion-button:not(.collapsed) {
    background-color: var(--stitch-surface-low);
    color: var(--stitch-primary);
}

.accordion-stitch .accordion-body {
    color: var(--stitch-on-surface-variant);
    padding: 0 1.25rem 1.25rem 1.25rem;
}

/* Custom Scrollbar */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--stitch-primary) var(--stitch-surface);
}
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--stitch-surface);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    display: none !important;
    background: linear-gradient(
        180deg,
        var(--stitch-primary) 0%,
        var(--stitch-primary-container) 100%
    );
    border-radius: 10px;
    border: 2px solid #f3f5fb;
    transition: all 0.3s ease;
}

/* Footer Dark */
footer.footer-stitch {
    background-color: var(--stitch-dark-bg);
    color: #ffffff;
}

/* Scroll-triggered Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
