@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #0b95a8;
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --hero-font: 'Sora', sans-serif;
    --text-color: #444;
    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #224;
    --c-action: #0052f5;
    --c-bg: #E8E8E9;
    --glass-reflex-dark: 1;
    --glass-reflex-light: 1;
    --saturation: 150%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: #F7FFFD;
}

/* Default heading color — class-based colors (hero title, dark sections) still win */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #394d5d;
}

/* Slick Carousel — Why Choose section */
.cards-slider-wrapper {
    padding: 10px 0 60px 0;
}

/* Equal spacing between slides */
#why-choose-slider .slick-slide {
    padding: 0 12px;
}

.section-description.diagnostic {
    line-height: 1.8;
}

#why-choose-slider .slick-list {
    margin: 0 -12px;
    overflow: hidden;
}

/* Equal-height cards using flex track */
#why-choose-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

#why-choose-slider .slick-slide {
    height: inherit !important;
    display: flex !important;
    flex-direction: column;
}

#why-choose-slider .slick-slide>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#why-choose-slider .slick-slide .feature-card {
    flex: 1;
}

/* Dots */
#why-choose-slider .slick-dots {
    bottom: -44px;
}

#why-choose-slider .slick-dots li button::before {
    font-size: 8px;
    color: var(--primary-color);
    opacity: 0.3;
}

#why-choose-slider .slick-dots li.slick-active button::before {
    color: var(--primary-color);
    opacity: 1;
}

/* Arrows */
#why-choose-slider .slick-prev,
#why-choose-slider .slick-next {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0b95a8, #077a8a);
    border-radius: 50%;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(11, 149, 168, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#why-choose-slider .slick-prev::before,
#why-choose-slider .slick-next::before {
    color: #fff;
    font-size: 17px;
    opacity: 1;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: static;
    transform: none;
    top: 1px;
    left: auto;
    right: auto;
    bottom: auto;
    position: absolute;
}

#why-choose-slider .slick-prev {
    left: -50px;
}

#why-choose-slider .slick-next {
    right: -61px;
}

#why-choose-slider .slick-prev:hover,
#why-choose-slider .slick-next:hover {
    background: linear-gradient(135deg, #077a8a, #055f6e);
    box-shadow: 0 6px 18px rgba(11, 149, 168, 0.45);
}

@media (max-width: 1300px) {

    #why-choose-slider .slick-prev,
    #why-choose-slider .slick-next {
        display: none !important;
    }
}

/* Header */
.header {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: top 0.3s ease;
}

.header.scrolled {
    position: fixed;
    top: 13px;
}

.header.scrolled .nav-container {
    background: #033f47d9;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

.header.scrolled .nav-links a {
    color: #f3feff;
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: #96e1f1;
}

.header.scrolled .theme-btn-primary {
    border: 0;
    background: linear-gradient(353deg, teal, #00c5c5);
    box-shadow: none;
}

.nav-container {
    background: rgb(255 255 255 / 68%);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 10px 20px 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 40px;
    display: block;
}

/* white2.png contains more transparent space, so it needs a larger
   rendered height to match the visible size of the default logo. */
.header.scrolled .logo img {
    height: 50px;
    width: auto;
}

.header.scrolled .nav-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.scrolled-contact-link {
    display: none;
}

.header.scrolled .scrolled-contact-link {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Buttons */
.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--body-font);
    font-size: 15px;
}

.theme-btn-primary {
    background: #0b95a8;
    border: solid 1px rgb(255 243 204 / 54%);
    color: #fff;
    /* border: 2px solid var(--primary-color); */
    border-radius: 100px;
    box-shadow: 0px 6px 16px #0000001f;
    width: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.theme-btn-primary i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    color: #0e4d55;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.theme-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.theme-btn-primary:hover::before,
.theme-btn-primary:active::before,
.theme-btn-primary:focus::before {
    left: 130%;
}

.theme-btn-primary:hover,
.theme-btn-primary:active,
.theme-btn-primary:focus {
    background: #0b95a8;
    color: #0b95a8;
    transform: translateY(-2px);
}

.theme-btn-secondary {
    background-color: #c4eff2;
    color: var(--primary-color);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.theme-btn-secondary i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.theme-btn-secondary:hover,
.theme-btn-secondary:active,
.theme-btn-secondary:focus {
    background-color: #e5f3f4;
    color: #ffffff;
    border-color: transparent;
}

.theme-btn-secondary:hover i {
    left: 2px;
}

.theme-btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.theme-btn-outline i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.theme-btn-outline:hover,
.theme-btn-outline:active,
.theme-btn-outline:focus {
    background-color: var(--primary-color);
    color: #fff;
}

.theme-btn-outline:hover i {
    left: 2px;
}

/* ===================== Expanding circle hover (all CTA buttons) =====================
   The icon's ::after is the visible circle. On hover it scales up to fill
   the whole button; z-index -1 keeps it behind the label and icon glyph. */
.theme-btn-primary i::after,
.theme-btn-secondary i::after,
.theme-btn-outline i::after,
.preventive-btn i::after,
.why-card-btn i::after,
.branch-pkg-cta i::after,
.hero-btn i::after,
.branch-btn i::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ffffff;
    z-index: -1;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-btn-secondary i::after,
.theme-btn-outline i::after {
    background: var(--primary-color);
}

.preventive-btn i::after {
    background: #0b95a8;
}

.preventive-btn.theme-btn-outline i::after {
    background: #fff9e6;
}

.branch-btn-secondary i::after {
    background: var(--primary-color);
}

.branch-btn-secondary i {
    color: #ffffff;
}

.branch-btn-primary i {
    color: var(--primary-color);
}

.theme-btn-primary:hover i::after,
.theme-btn-secondary:hover i::after,
.theme-btn-outline:hover i::after,
.preventive-btn:hover i::after,
.why-card-btn:hover i::after,
.branch-pkg-cta:hover i::after,
.hero-btn:hover i::after,
.branch-btn:hover i::after {
    transform: scale(20);
}

/* Header Contact Button */
.header .theme-btn-primary {
    padding: 10px 24px;
}

/* Hamburger Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header.scrolled .nav-toggle span {
    background: #fff;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Slide-in Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 60, 67, 0.45);
    backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(160deg, #ffffff 0%, #eef9fa 100%);
    z-index: 201;
    transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 0;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 28px 22px;
    border-bottom: 1px solid rgba(11, 149, 168, 0.12);
}

.mobile-menu-header .logo img {
    height: 34px;
}

/* The menu panel has no scrolled state — always show the colored logo */
.mobile-menu-header .logo .logo-scrolled {
    display: none;
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(11, 149, 168, 0.1);
    border-radius: 50%;
    font-size: 17px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    gap: 4px;
    flex: 1;
}

.mobile-menu-nav a {
    text-decoration: none;
    color: #444;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 18px;
    padding: 11px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-panel.active .mobile-menu-nav a {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease, background 0.3s ease;
}

.mobile-menu-panel.active .mobile-menu-nav a:nth-child(1) {
    transition-delay: 0.12s;
}

.mobile-menu-panel.active .mobile-menu-nav a:nth-child(2) {
    transition-delay: 0.18s;
}

.mobile-menu-panel.active .mobile-menu-nav a:nth-child(3) {
    transition-delay: 0.24s;
}

.mobile-menu-panel.active .mobile-menu-nav a:nth-child(4) {
    transition-delay: 0.30s;
}

.mobile-menu-panel.active .mobile-menu-nav a:nth-child(5) {
    transition-delay: 0.36s;
}

.mobile-menu-panel.active .mobile-menu-nav a:nth-child(6) {
    transition-delay: 0.42s;
}

.mobile-menu-nav a {
    display: block;
}

.mobile-menu-panel.active .mobile-menu-nav>a,
.mobile-menu-nav>a {
    opacity: 1 !important;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-nav .theme-btn-primary {
    display: inline-flex !important;
    visibility: visible !important;
    color: #fff !important;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    color: var(--primary-color);
    background: rgba(11, 149, 168, 0.08);
}

.mobile-menu-nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 2px;
}

.mobile-menu-nav .theme-btn-primary {
    margin-top: 18px;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    color: #fff;
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-panel.active .mobile-menu-nav .theme-btn-primary {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease 0.48s, transform 0.4s ease 0.48s, background 0.3s ease;
}

.mobile-menu-footer {
    padding: 22px 28px 30px;
    border-top: 1px solid rgba(11, 149, 168, 0.12);
    font-family: var(--body-font);
    font-size: 13px;
    color: #8a8a8a;
    line-height: 1.7;
}

.mobile-menu-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Decorative Backgrounds */
.decor-bg {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 65vw;
    max-width: 900px;
    min-width: 400px;
    opacity: 0.9;
}

.decor-top-right {
    top: 0;
    right: 0;
    transform: translate(25%, -16%);
}

.decor-bottom-left {
    bottom: 0;
    left: 0;
    transform: translate(-25%, 25%);
}

.badge-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #22303d;
    padding: 0;
    border-radius: 0;
    border: none;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    width: fit-content;
}

/* Badge side line — draws top→bottom, then wipes top→bottom like a scan line */
@keyframes badge-line-move {
    0% {
        clip-path: inset(0 0 100% 0);
    }

    45% {
        clip-path: inset(0 0 0 0);
    }

    90%,
    100% {
        clip-path: inset(100% 0 0 0);
    }
}

.badge-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #f9c02c;
    border-radius: 2px;
    animation: badge-line-move 2.6s ease-in-out infinite;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 38px;
    font-weight: 600;
    color: #394d5d;
    line-height: 1.35;
    margin-bottom: 20px;
}

.section-description {
    font-family: var(--body-font);
    font-size: 16px;
    color: #555;
    margin-bottom: 0;
}

/* ===================== Services Section — Targeted Stack ===================== */
/* Section heading — fixed height, never scrolls away */
.targeted-header-row {
    flex-shrink: 0;
    margin-bottom: 48px;
}

/* ===================== Services Section ===================== */
.services-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 0;
    transition: gap 0.3s ease;
}

.services-link:hover {
    gap: 10px;
    color: var(--primary-color);
}

/* ===================== Preventive Healthcare Section ===================== */
.preventive-healthcare-sec {
    padding: 80px 0;
    background-color: #f8fcfc;
    padding-top: 108px;

}

.preventive-banner {
    background: linear-gradient(135deg, #109cb0 0%, #1eb5c9 100%);
    border-radius: 40px;
    padding: 51px 81px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(16, 156, 176, 0.15);
    height: 451px;
}

.preventive-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.preventive-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.preventive-title {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 25px;
}

.preventive-title span {
    color: #ffd254;
    /* Beautiful yellow/orange color */
}

.preventive-description {
    font-family: var(--body-font);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.preventive-btn {
    background-color: #fff9e6;
    /* Soft cream/yellow background */
    color: #0b95a8;
    /* Teal text color */
    font-weight: 600;
    border-radius: 100px;
    padding: 8px 8px 8px 23px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.preventive-btn i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.preventive-btn:hover i {
    left: 2px;
}

.preventive-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Outline/secondary preventive button icon: beige circle + teal arrow */
.preventive-btn.theme-btn-outline i {
    background: transparent;
    color: #0b95a8;
}

.preventive-btn.theme-btn-outline:hover i {
    color: #0b95a8;
    left: 2px;
}

.preventive-content .preventive-btn+.preventive-btn {
    margin-left: 12px;
    padding: 6px 8px 6px 18px;
}

.preventive-btn.theme-btn-outline {
    background-color: transparent;
    border: 1px solid #ffffff;
    box-shadow: none;
    color: white;
    font-weight: 400;
}

.preventive-btn.theme-btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

.preventive-image-wrap {
    position: relative;
    text-align: right;
    z-index: 1;
}

.preventive-img {
    max-width: 100%;
    max-height: 387px;
    height: auto;
    width: auto;
    object-fit: contain;
    margin-top: 22px;
}

.preventive-image-wrap {
    position: absolute;
    bottom: 0px;
    /* left: 28%; */
    right: 8%;
}

.preventive-banner.gallery .preventive-img {
    transform: translateY(20px);
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .preventive-banner {
        padding: 50px 40px;
        text-align: center;
    }


    /* .preventive-img {
        transform: scale(1);
    } */


}

@media (max-width: 390px) {
    .preventive-content .preventive-btn {
        display: block;
        width: fit-content;
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    .preventive-content .preventive-btn+.preventive-btn {
        margin-left: 0;
        margin-top: 12px;
    }
}

/* =====================sample home collection================================= */

#sample-collection {
    padding: 80px 0;
    position: relative;
}

.sample-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.sample-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Curve wrapping and positioning */
.curve-wrap {
    position: relative;
    /* display: inline-block; */
}

.curve-img {
    position: absolute;
    bottom: 90%;
    left: 45px;
    width: 95px;
    height: auto;
    pointer-events: none;
}

/* Locations text styling */
.locations-collection {
    font-family: var(--body-font);
    font-size: 20px;
    color: #444;
    font-weight: 500;
    margin-bottom: 30px;
}

.locations-collection .highlight-text {
    color: var(--primary-color);
    font-weight: 600;
}

#sample-collection .theme-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0px 12px 24px rgb(0 152 173 / 24%);
    opacity: 0.95;
}

#sample-collection .theme-btn-primary i {
    font-size: 13px;
    margin-left: 4px;
}

/* ===================== Branches Section ===================== */

#branches {
    padding: 69px 0;
    position: relative;
    background-color: transparent;
}

/* Wide image container and transition */
.branch-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 12 / 5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    background-color: #f0f4f4;
}

@media (max-width: 991px) {
    .branch-image-wrapper {
        aspect-ratio: 16 / 9;
    }
}

.branch-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    display: block;
}

.branch-image-wrapper img.fade-out {
    opacity: 0;
}

/* Branch Cards */
.branch-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Active / Hover state */
.branch-card.active,
.branch-card:hover {
    background-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(11, 149, 168, 0.25);
    transform: translateY(-6px);
}

/* Badge styling */
.branch-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
    transition: all 0.3s ease;
}

.branch-card .branch-badge {
    background-color: #e5f3f4;
    color: var(--primary-color);
    border: 1px solid rgba(11, 149, 168, 0.15);
}

.branch-card.active .branch-badge,
.branch-card:hover .branch-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Title styling */
.branch-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.branch-card .branch-title {
    color: #222222;
}

.branch-card.active .branch-title,
.branch-card:hover .branch-title {
    color: #ffffff;
}

/* Description styling */
.branch-desc {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 35px;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.branch-card .branch-desc {
    color: #555555;
}

.branch-card.active .branch-desc,
.branch-card:hover .branch-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons Container */
.branch-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Buttons Styles */
.branch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.branch-btn i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

/* Default state Primary (Call) button */
.branch-card .branch-btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(11, 149, 168, 0.2);
}

.branch-card .branch-btn-primary:hover {
    background-color: #077a8a;
    color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(11, 149, 168, 0.3);
}

/* Default state Secondary (Directions) button */
.branch-card .branch-btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.branch-card .branch-btn-secondary:hover {
    background-color: #e5f3f4;
    color: #ffffff;
}

/* Active / Hover state buttons - both outline white */
.branch-card.active .branch-btn,
.branch-card:hover .branch-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: none;
}

.branch-card.active .branch-btn-primary:hover,
.branch-card:hover .branch-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--primary-color);
}

.branch-card.active .branch-btn-secondary:hover,
.branch-card:hover .branch-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}


/* ===================== Gallery Section Collage ===================== */

#gallery {
    padding: 100px 0;
    background-color: #f8fcfc;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 24px;
    grid-auto-rows: 260px;
}

.gallery-item1 {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background-color: #fff;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-item1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Collage definitions */
.gallery-item1.item-big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item1.item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Hover Zoom & Lift */
.gallery-item1:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 149, 168, 0.15);
}

.gallery-item1:hover img {
    transform: scale(1.06);
}

/* Overlay gradient and content styling — visible on hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item1:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-category {
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

.gallery-title {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.gallery-item1.item-big .gallery-title {
    font-size: 18px;
}

.gallery-icon-zoom {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    align-self: flex-end;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.gallery-item1:hover .gallery-icon-zoom {
    transform: scale(1.1);
    background: #0d7c8d;
}

/* Responsive Collage Layout */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
        grid-gap: 20px;
    }

    .gallery-item1.item-big {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item1.item-wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        grid-gap: 15px;
    }

    .gallery-item1.item-big,
    .gallery-item1.item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item1.item-big .gallery-title,
    .gallery-item1.item-wide .gallery-title,
    .gallery-item1 .gallery-title {
        font-size: 15px;
    }

    .gallery-overlay {
        padding: 18px;
        gap: 12px;
    }

    .gallery-icon-zoom {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* Lightbox Premium Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 20, 24, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* ===================== Footer ===================== */

#footer {
    position: relative;
    overflow: hidden;
}

.footer-main {
    background: url('../images/footer_bg.png') center center / cover no-repeat;
    background-color: #056e7e;
    padding: 80px 0 60px;
    position: relative;
}

/* Slight dark overlay so text is always readable */
.footer-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(4, 60, 68, 0.45);
    pointer-events: none;
}

.footer-main .container {
    position: relative;
    z-index: 2;
}

/* Logo */
.footer-logo {
    display: inline-block;
    margin-bottom: 22px;
}

.footer-logo img {
    height: 54px;
}

/* Description */
.footer-desc {
    font-family: var(--body-font);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 340px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Footer Column Headings */
.footer-heading {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    color: #ffd254;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

/* Footer Link Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links li {
    font-family: var(--body-font);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 2;
}

.footer-links li a {
    font-family: var(--body-font);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Contact Items */
.footer-contact-item {
    font-family: var(--body-font);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    line-height: 1.65;
    margin-bottom: 14px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

/* Bottom Bar */
.footer-bottom {
    background-color: #033f47;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    font-family: var(--body-font);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

.footer-bottom-links {
    display: flex;
    gap: 28px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    font-family: var(--body-font);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Responsive Footer */
@media (min-width: 992px) {
    .footer-top-row>[class*="col-lg-"] {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .footer-bottom-row>[class*="col-lg-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-main .row:not(.footer-top-row):not(.footer-bottom-row)>[class*="col-lg-"]:first-child {
        flex: 0 0 26%;
        max-width: 26%;
    }

    .footer-main .row:not(.footer-top-row):not(.footer-bottom-row)>[class*="col-lg-"]:not(:first-child) {
        flex: 0 0 18.5%;
        max-width: 18.5%;
    }
}

.footer-bottom-row {
    padding-top: 80px;
    position: relative;
}

.footer-bottom-row::before {
    content: '';
    position: absolute;
    top: 160px;
    left: 50%;
    width: 1px;
    height: calc(100% - 190px);
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-50%);
}

@media (min-width: 321px) and (max-width: 482px) {
    .footer-main .container {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .footer-top-row,
    .footer-bottom-row {
        display: contents;
    }

    .footer-top-row> :first-child {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-top-row> :nth-child(2) {
        order: 2;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-top-row> :nth-child(3) {
        order: 3;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-bottom-row> :first-child {
        order: 4;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-bottom-row> :nth-child(2) {
        order: 5;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-top-row> :nth-child(4) {
        order: 6;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-bottom-row::before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-main .container {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .footer-top-row,
    .footer-bottom-row {
        display: contents;
    }

    .footer-top-row> :first-child {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-top-row> :nth-child(2) {
        order: 2;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-top-row> :nth-child(3) {
        order: 3;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-bottom-row> :first-child {
        order: 4;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-bottom-row> :nth-child(2) {
        order: 5;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-top-row> :nth-child(4) {
        order: 6;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-bottom-row::before {
        display: none;
    }
}

@media (min-width: 992px) {
    .footer-bottom-row>[class*="col-lg-"]:nth-child(2) {
        padding-left: 106px;
    }
}

.office-title {
    margin-bottom: 16px;
}

.office-address {
    margin-bottom: 18px;
}

.office-address .footer-contact-item {
    line-height: 1.7;
    max-width: 460px;
}

.footer-bottom-row .contact-line {
    margin-bottom: 6px;
}

@media (max-width: 767px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-copy {
        text-align: center;
        margin-bottom: 12px;
    }

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

    .footer-bottom .col-md-5 {
        text-align: center;
    }
}

/* ============================================== About Page=========================================== */
.about-banner {
    position: relative;
    height: 498px;
    background-color: #1a2a30;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.about-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/about2.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    animation: kenBurns 14s ease-in-out infinite alternate;
    will-change: transform;
}

/* Dark gradient overlay — left-to-right */
.about-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgb(20 30 35 / 42%) 0%, rgba(20, 30, 35, 0.45) 55%, transparent 100%);
    pointer-events: none;
}

.about-banner .container {
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

.about-banner-content {
    max-width: 620px;
}

.about-banner-title {
    font-family: var(--heading-font);
    font-size: 52px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.25);
}

.about-banner-desc {
    font-family: var(--body-font);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 0;
}

/* ===================== About Intro Section ===================== */
#about-intro {
    padding: 90px 0;
    background-color: #f8fcfc;
}

.about-intro-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-intro-title {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 8px;
}

.about-intro-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-intro-desc {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-intro-subtitle {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 600;
    margin: 22px 0 4px;
}

/* ===================== Mission & Vision ===================== */
#mission-vision {
    padding: 65px 0 90px 0;
    background-color: #f8fcfc;
}

/* ── Left: Image ── */
.mv-image-wrap {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.mv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease-in-out;
}

.mv-image.fade-out {
    opacity: 0;
}

/* Floating trust badge */
.mv-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: #fff;
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.mv-badge-icon {
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.mv-badge-label {
    display: block;
    font-family: var(--body-font);
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.mv-badge-value {
    display: block;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
}

.mv-badge-num {
    display: block;
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.mv-badge-text {
    display: block;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── Right: Content ── */
.mv-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 10px 0;
}

/* Mission / Vision block row */
.mv-block {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 24px;
    border-radius: 20px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.mv-block:hover,
.mv-block.active {
    background-color: rgba(11, 149, 168, 0.06);
    border-color: rgba(11, 149, 168, 0.15);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(11, 149, 168, 0.03);
}

.mv-block-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b95a8, #077a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(11, 149, 168, 0.3);
    margin-top: 2px;
    transition: all 0.3s ease;
}

.mv-block:hover .mv-block-icon,
.mv-block.active .mv-block-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 22px rgba(11, 149, 168, 0.4);
}

.mv-block-icon--vision {
    background: linear-gradient(135deg, #1eb5c9, #0b95a8);
}

.mv-block-title {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.mv-block-desc {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Thin divider between blocks */
.mv-divider {
    width: 100%;
    height: 1px;
    background: rgba(11, 149, 168, 0.08);
    margin: 12px 0;
}

/* ===================== Our Core Values ===================== */
#core-values {
    padding: 100px 0;
    background-color: #ffffff;
}

.values-left-panel {
    position: sticky;
    top: 120px;
}

.values-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-acc-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
    border-radius: 20px;
    background-color: #f4f3e536;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: visible;
}

.value-acc-card:hover {
    background-color: #ffffff;
    border-color: rgba(11, 149, 168, 0.15);
    box-shadow: 0 15px 35px rgba(11, 149, 168, 0.05);
    padding-top: 32px;
    padding-bottom: 32px;
}

.value-acc-num {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 24px;
}

.value-acc-body {
    flex-grow: 1;
}

.value-acc-title {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.value-acc-desc {
    font-family: var(--body-font);
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.value-acc-card:hover .value-acc-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 10px;
}

.value-acc-image-wrap {
    position: absolute;
    right: 140px;
    top: 50%;
    transform: translateY(-50%) rotate(8deg) scale(0.6);
    width: 160px;
    height: 160px;
    border-radius: 20px;
    border: 3px solid #081214;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 15;
}

.value-acc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-acc-card:hover .value-acc-image-wrap {
    opacity: 1;
    transform: translateY(-50%) rotate(12deg) scale(1);
    right: 110px;
}

.value-acc-arrow {
    font-size: 16px;
    color: #1a1a1a;
    transition: transform 0.3s ease, color 0.3s ease;
}

.value-acc-card:hover .value-acc-arrow {
    transform: rotate(45deg);
    color: var(--primary-color);
}

@media (min-width: 768px) and (max-width: 1400px) {
    .value-acc-card {
        padding-right: 240px;
        position: relative;
    }

    .value-acc-image-wrap {
        width: 140px;
        height: 140px;
        right: 40px;
        transform: translateY(-50%) rotate(8deg) scale(0.6);
    }

    .value-acc-card:hover .value-acc-image-wrap {
        right: 40px;
        transform: translateY(-50%) rotate(12deg) scale(1);
    }

    .value-acc-arrow {
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .value-acc-card:hover .value-acc-arrow {
        transform: translateY(-50%) rotate(45deg);
    }
}

@media (max-width: 767px) {
    .value-acc-card {
        padding: 20px;
        gap: 20px;
    }

    .value-acc-image-wrap {
        display: none;
    }

    .value-acc-card:hover {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .value-acc-card:nth-child(5):hover .value-acc-desc {
        max-height: unset;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .about-banner {
        height: 300px;
        align-items: flex-end;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .about-banner-title {
        font-size: 38px;
    }

    .about-intro-title {
        font-size: 30px;
    }

    #about-intro {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .about-banner {
        height: 260px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .about-banner-title {
        font-size: 44px;
    }

    .about-banner-desc {
        font-size: 16px;
    }

    .about-intro-title {
        font-size: 33px;
    }
}

@media (max-width: 1200px) {
    .about-banner.contact::before {
        background-position: 88% center;
    }
}

/* ==============================Facilities Showcase ============================== */
.facilities-showcase input[name="facility-tab"] {
    display: none;
}

.facilities-showcase .facility-tab {
    cursor: pointer;
}

/* Active tab styling — driven by checked radio inputs */
#facility-all:checked~.facilities-tabs .facility-tab[for="facility-all"],
#facility-laboratory:checked~.facilities-tabs .facility-tab[for="facility-laboratory"],
#facility-xray:checked~.facilities-tabs .facility-tab[for="facility-xray"],
#facility-ultrasound:checked~.facilities-tabs .facility-tab[for="facility-ultrasound"],
#facility-ecg:checked~.facilities-tabs .facility-tab[for="facility-ecg"],
#facility-audiology:checked~.facilities-tabs .facility-tab[for="facility-audiology"] {
    background: #0b95a8;
    border-color: #0b95a8;
    color: #fff;
}

/* Show only the active panel — hide all by default */
.facilities-showcase .facilities-cards {
    display: none;
}

#facility-laboratory:checked~.facilities-all-wrap>.facility-panel-laboratory,
#facility-xray:checked~.facilities-all-wrap>.facility-panel-xray,
#facility-ultrasound:checked~.facilities-all-wrap>.facility-panel-ultrasound,
#facility-ecg:checked~.facilities-all-wrap>.facility-panel-ecg,
#facility-audiology:checked~.facilities-all-wrap>.facility-panel-audiology {
    display: grid;
}

/* "All" tab merges every panel's cards into one continuous grid */
#facility-all:checked~.facilities-all-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

#facility-all:checked~.facilities-all-wrap>.facilities-cards {
    display: contents;
}

.facilities-showcase {
    display: block;
    padding: 90px 0 78px;
    background: #f7fbfc;
}

.facilities-tabs {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
}

.facility-tab {
    border: 1px solid #c8e5e9;
    border-radius: 999px;
    padding: 7px 22px;
    background: #eaf7f9;
    color: #202b2d;
    font-size: 15px;
    letter-spacing: .2px;
    cursor: pointer;
    transition: .25s ease;
    font-weight: 400;
    margin-bottom: 11px;
}


.facility-tab:hover,
.facility-tab.active {
    background: #0b95a8;
    border-color: #0b95a8;
    color: #fff;
}

.facilities-cards {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.facility-card {
    min-height: 377px;
    padding: 18px 18px 24px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(32, 70, 76, .08);
}

.facility-image {
    height: 214px;
    border-radius: 11px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity .25s ease, transform .35s ease;
}

.facility-card h3 {
    margin: 40px 8px 10px;
    font-size: 20px;
    color: #454545;
}

.facility-card p {
    margin: 0 8px;
    color: #646464;
    font-size: 15px;
    line-height: 1.65;
}

.facility-card .facility-card-subtitle {
    margin: -5px 8px 13px;
    font-size: 16px;
    font-weight: 500;
    color: #1e555d;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .facilities-showcase {
        padding: 32px 16px 56px;
    }

    .facilities-tabs {
        gap: 8px;
    }

    .facilities-cards,
    #facility-all:checked~.facilities-all-wrap {
        grid-template-columns: 1fr;
    }

    .facility-card {
        min-height: 0;
    }
}

@media (min-width: 768px) and (max-width: 992px) {

    .facilities-cards,
    #facility-all:checked~.facilities-all-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==============================why-about================================== */
#why-about {
    padding: 57px 0;
    background-color: #ffffff;
    padding-bottom: 137px;
}

.why-about-header {
    margin-bottom: 48px;
    align-items: flex-end;
}

/* Card wrappers */
.why-card-tall,
.why-card-short,
.why-card-wide {
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fcfbea;
    /* Modern light flat grey */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card-wide {
    padding: 11px 28px 11px 17px !important;
}

.why-card-tall:hover,
.why-card-short:hover,
.why-card-wide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* Left Tall Card */
.why-card-tall {
    justify-content: flex-start;
}

.why-card-tall .why-card-img-wrap {
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}

.why-card-tall .why-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-card-tall .why-card-body {
    display: flex;
    flex-direction: column;
}

/* Quality Card (Warm Beige) */
.why-card-short {
    background-color: #ebdacf59;
    /* Warm beige */
}

.why-card-short .why-card-img-wrap-half {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.why-card-short .why-card-img-wrap-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Patient Card */
.why-card-patient {
    background-color: #2cc9b61f;
    justify-content: space-between;
}

.why-card-patient .why-card-body {
    display: flex;
    flex-direction: column;
    height: 81%;
    justify-content: space-between;
    gap: 24px;
}

.why-card-stat-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.why-card-stat-text {
    display: flex;
    flex-direction: column;
}

.why-stat-num {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.1;
}

.why-stat-label {
    font-family: var(--body-font);
    font-size: 13px;
    color: #555555;
    font-weight: 500;
    margin-top: 4px;
}

.why-card-stat-img {
    width: 130px;
    height: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.why-card-stat-img img {
    width: 100%;
    height: auto;
}

/* Wide Card (Experienced Professionals) */
.why-card-wide {
    flex-direction: row;
    align-items: center;
    background-color: #47cbff1f;
    margin-top: 24px;
}

.why-wide-left {
    width: 280px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.why-wide-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-wide-right {
    padding-left: 28px;
}

/* Typography styles inside cards */
.why-card-title {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.why-card-text {
    font-family: var(--body-font);
    font-size: 16px;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

.why-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 24px 12px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #0b95a8;
    color: white;
    width: fit-content;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.why-card-btn i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    color: #0e4d55;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.why-card-btn:hover {
    background-color: var(--primary-color);
    color: #0b95a8;
    transform: translateY(-2px);
}

.why-card-btn:hover i {
    left: 2px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .why-about-header {
        align-items: flex-start;
        margin-bottom: 32px;
    }

    .why-card-tall {
        margin-bottom: 24px;
    }

    .why-card-short {
        margin-bottom: 24px;
    }

    .why-card-wide {
        flex-direction: column;
        align-items: flex-start;
    }

    .why-wide-left {
        width: 100%;
        height: 200px;
        margin-bottom: 16px;
    }

    .why-wide-right {
        padding-left: 0;
    }
}

/* ======================================== Commitment to Quality & Community ================================= */
#commitment-quality {
    padding: 100px 0;
    border-top: 1px solid rgba(11, 149, 168, 0.05);
    background: linear-gradient(358deg, #e7f4f6ab, #ffffff);
}

.quality-card-showcase {
    padding-right: 32px;
}

.quality-intro-text {
    font-family: var(--body-font);
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 36px;
}

/* Practice Grid Items */
.quality-steps-grid {
    margin-bottom: 36px;
    row-gap: 24px;
}

.quality-step-card {
    background-color: #ffffff;
    border: 1px solid rgba(11, 149, 168, 0.08);
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.quality-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 149, 168, 0.25);
    box-shadow: 0 12px 30px rgba(11, 149, 168, 0.06);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.step-number {
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(11, 149, 168, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.step-icon {
    font-size: 20px;
    color: #888888;
    transition: color 0.3s ease;
}

.quality-step-card:hover .step-icon {
    color: var(--primary-color);
}

.step-title {
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 8px;
}

.step-desc {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Trust Box */
.quality-trust-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(11, 149, 168, 0.06);
    border-radius: 16px;
    padding: 18px 24px;
    border: 1px solid rgba(11, 149, 168, 0.12);
}

.trust-icon {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

.trust-text {
    font-family: var(--body-font);
    font-size: 14px;
    color: #222222;
    font-weight: 500;
    line-height: 1.5;
}

/* Right side - Community block styling */
.community-content-block {
    display: flex;
    align-items: center;
    height: 100%;
}

.community-card {
    background: linear-gradient(135deg, #0b95a8 0%, #056e7e 100%);
    border-radius: 28px;
    padding: 48px;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(11, 149, 168, 0.15);
    width: 100%;
}

.white-badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.white-title {
    color: #ffffff !important;
}

.community-card .community-intro-text {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 24px;
    margin-bottom: 16px;
}

.community-card .community-extra-text {
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Dotted Timeline styling */
.community-timeline {
    position: relative;
    padding-left: 36px;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.community-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-left: 2px dashed rgba(255, 255, 255, 0.35);
}

.timeline-node {
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffd254;
    border: 3px solid #ffffff;
    box-shadow: 0 0 12px rgba(255, 210, 84, 0.8);
    transition: transform 0.3s ease;
}

.timeline-node:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-label {
    font-family: var(--body-font);
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .quality-card-showcase {
        padding-right: 0;
        margin-bottom: 50px;
    }
}

@media (max-width: 575px) {
    .community-card {
        padding: 32px 24px;
    }
}

.preventive-banner.about {
    height: 457px !important;
}

/* ========================================service page=================================== */
.about-banner.service::before {
    background-image: url('../images/service_banner.png') !important;
}

/* ---- Service Intro Section ---- */
#service-intro-section {
    padding: 80px 0 70px;
    background-color: rgba(248, 252, 252, 1);
    position: relative;
    overflow: hidden;
}

.service-intro-heading {
    font-family: var(--heading-font);
    font-size: 43px;
    font-weight: 600;
    color: #394d5d;
    line-height: 1.2;
    margin-bottom: 0;
}

.service-intro-para {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Wide image */
.service-intro-img-wrap {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(11, 149, 168, 0.08);
    max-height: 500px;
}

.service-intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-intro-img-wrap:hover .service-intro-img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 991px) {
    #service-intro-section {
        padding: 60px 0;
    }

    .service-intro-heading {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .service-intro-heading {
        font-size: 28px;
    }

    .service-intro-img-wrap {
        border-radius: 16px;
        max-height: 260px;
    }
}


.service-tabs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border-radius: 50px;
    background: #fff;
    text-decoration: none;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: .35s ease;
    margin-top: 25px;
}

.tab i {
    font-size: 24px;
    color: rgba(13, 128, 144, 1);
    transition: .35s;
}

.tab:hover,
.tab.active {
    background: rgba(13, 128, 144, 1);
    color: #fff;
    transform: translateY(-3px);
    /* box-shadow: 0 18px 35px rgba(11, 136, 197, .28); */
}

.tab:hover i,
.tab.active i {
    color: #fff;
}

/* ========================================= SERVICE DETAILS SECTION =========================================== */

#service-details {
    background-color: #fff;
}

/* ---- Panel Base ---- */
.svc-panel {
    padding: 90px 0;
    position: relative;
    padding-bottom: 123px;
}

.svc-panel-alt {
    background-color: rgba(248, 252, 252, 1);
}

/* ---- Two-column layout ---- */
.svc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.svc-layout-reverse {
    direction: rtl;
}

.svc-layout-reverse>* {
    direction: ltr;
}

/* ---- Image Column ---- */
.svc-img-col {
    position: relative;
}

.svc-img-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(11, 149, 168, 0.12);
}

.svc-img {
    width: 100%;
    height: 661px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-img-frame:hover .svc-img {
    transform: scale(1.03);
}

/* Floating badge on image */
.svc-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(11, 149, 168, 0.15);
}

.svc-img-badge i {
    font-size: 18px;
    color: var(--primary-color);
}

.svc-img-badge span {
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.2px;
}

/* ---- Content Column ---- */
.svc-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-title {
    font-family: var(--heading-font);
    font-size: 37px;
    font-weight: 600;
    color: #394d5d;
    line-height: 1.25;
    margin-bottom: 18px;
    margin-top: 12px;
}

.svc-desc {
    font-family: var(--body-font);
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.svc-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ---- Service List Grid (2-col checklist) ---- */
.svc-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 23px;
    margin: 24px 0;
}

.svc-list-item {
    display: flex;
    align-items: center;
    gap: 17px;
    font-family: var(--body-font);
    font-size: 16px;
    color: #444;
    font-weight: 500;
    line-height: 1.4;
}

.svc-list-item i {
    color: var(--primary-color);
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.svc-list-item {
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 8px;
}

.svc-list-item:hover {
    background-color: rgba(11, 149, 168, 0.08);
    color: var(--primary-color);
    transform: translateX(4px);
}

.svc-list-item:hover i {
    transform: scale(1.2);
}

/* ---- Highlights / Chips block ---- */
.svc-highlights {
    margin-top: 24px;
    padding-top: 24px;
}

.svc-highlights-title {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: #394d5d;
    margin-bottom: 14px;
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 50px;
    background-color: rgba(11, 149, 168, 0.07);
    border: 1px solid rgba(11, 149, 168, 0.18);
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.25s ease;
}

.svc-chip i {
    color: var(--primary-color);
    font-size: 13px;
}

.svc-chip:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.svc-chip:hover i {
    color: #fff;
}

/* ---- Benefits Grid (2×2 for X-Ray) ---- */
.svc-benefit-heading {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
    color: #394d5d;
    margin: 20px 0 12px;
}

.svc-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.svc-benefit-card {
    background: #fff;
    border: 1px solid rgba(11, 149, 168, 0.1);
    border-radius: 18px;
    padding: 22px 20px;
    transition: all 0.3s ease;
}

.svc-panel-alt .svc-benefit-card {
    background: rgba(255, 255, 255, 0.85);
}

.svc-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 149, 168, 0.3);
    box-shadow: 0 12px 28px rgba(11, 149, 168, 0.08);
}

.svc-benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(11, 149, 168, 0.12), rgba(11, 149, 168, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.svc-benefit-card:hover .svc-benefit-icon {
    background: var(--primary-color);
    color: #fff;
}

.svc-benefit-card h5 {
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}

.svc-benefit-card p {
    font-family: var(--body-font);
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ---- Feature Rows (for ECG) ---- */
.svc-features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 24px 0;
}

.svc-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(11, 149, 168, 0.08);
    transition: all 0.3s ease;
}

.svc-panel-alt .svc-feature-row {
    background: rgba(255, 255, 255, 0.85);
}

.svc-feature-row:hover {
    border-color: rgba(11, 149, 168, 0.25);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(11, 149, 168, 0.06);
}

.svc-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #077a8a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.svc-feature-text strong {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: #222;
    display: block;
    margin-bottom: 4px;
}

.svc-feature-text p {
    font-family: var(--body-font);
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ---- Timing Note ---- */
.svc-timing-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(11, 149, 168, 0.07), rgba(11, 149, 168, 0.03));
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.svc-timing-note i {
    font-size: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.svc-timing-note strong {
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 600;
    color: #222;
    display: block;
    margin-bottom: 12px;
}

.svc-timing-note p {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ---- HOME COLLECTION PANEL ---- */
.svc-home-collection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.svc-home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-home-who {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.svc-who-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    background: #fff;
    border: 1px solid rgba(11, 149, 168, 0.12);
    border-radius: 18px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.svc-who-card:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 149, 168, 0.18);
}

.svc-who-card i {
    font-size: 26px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.svc-who-card:hover i {
    color: #fff;
}

.svc-who-card span {
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 600;
    color: #444;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.svc-who-card:hover span {
    color: #fff;
}

.svc-home-locations {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(11, 149, 168, 0.07);
    border-radius: 12px;
    border: 1px solid rgba(11, 149, 168, 0.15);
    margin-bottom: 28px;
}

.svc-home-locations i {
    font-size: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.svc-home-locations span {
    font-family: var(--body-font);
    font-size: 17px;
    color: #444;
}

.svc-home-locations strong {
    color: var(--primary-color);
}

.svc-home-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.svc-whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #1da851);
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
    width: fit-content;
}

.svc-whatsapp-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
    opacity: 0.95;
}

.svc-home-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-home-img-wrap {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(11, 149, 168, 0.12);
    width: 100%;
}

.svc-home-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.svc-home-img-wrap:hover .svc-home-img {
    transform: scale(1.03);
}

/* ---- QUALITY COMMITMENT SECTION ---- */
#svc-quality-section {
    padding: 100px 0;
    background: linear-gradient(183deg, rgba(3, 128, 142, 1) 0%, rgba(0, 84, 94, 1) 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

/* Make headers text white inside dark teal section */
#svc-quality-section .white-badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

#svc-quality-section .white-title {
    color: #ffffff !important;
    font-family: var(--heading-font);
    font-size: 38px;
    font-weight: 600;
}

#svc-quality-section .white-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Inner Layout */
.svc-quality-inner-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

/* Left Image Display Container */
.quality-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 575px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-display-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease-in-out;
}

/* Right Interactive Accordion */
.quality-tabs-container {
    display: flex;
    flex-direction: column;
}

.quality-accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* .quality-accordion-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
} */

.quality-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.quality-num {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    min-width: 44px;
    transition: color 0.3s ease;
}

.quality-title-text {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    flex-grow: 1;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.quality-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.quality-arrow i {
    display: inline-block;
    transform: rotate(-45deg);
    transition: transform 0.35s ease;
}

/* Hover effects */
.quality-accordion-item:hover .quality-title-text {
    color: #ffd254;
}

.quality-accordion-item:hover .quality-arrow {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffd254;
}

/* Active expanded state */
.quality-accordion-item.active .quality-title-text {
    color: #f6de9b;
    font-weight: 700;
}

.quality-accordion-item.active .quality-num {
    color: #f6de9b;
}

.quality-accordion-item.active .quality-arrow {
    background-color: #f6de9b;
    color: rgba(6, 106, 120, 1);
}

.quality-accordion-item.active .quality-arrow i {
    transform: rotate(45deg);
    /* Pointing down-right or down */
}

/* Content block styling */
.quality-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-accordion-content p {
    font-family: var(--body-font);
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
    padding-top: 14px;
    padding-left: 44px;
    max-width: 580px;
}

/* ---- Responsive: Service Details ---- */
@media (max-width: 1100px) {

    .svc-layout,
    .svc-home-collection {
        gap: 40px;
    }

    .svc-title {
        font-size: 30px;
    }
}

@media (max-width: 991px) {

    .svc-layout,
    .svc-home-collection {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .svc-layout-reverse {
        direction: ltr;
    }

    .svc-img {
        height: 360px;
    }

    .svc-home-img {
        height: 320px;
    }

    .svc-panel {
        padding: 60px 0;
    }

    .svc-home-who {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-quality-inner-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quality-image-wrapper {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .svc-title {
        font-size: 28px;
    }

    .svc-list-grid {
        grid-template-columns: 1fr;
    }

    .svc-benefits-grid {
        grid-template-columns: 1fr;
    }

    .svc-img {
        height: 280px;
    }

    .svc-home-img {
        height: 240px;
    }

    .svc-home-who {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-image-wrapper {
        height: 280px;
    }

    .svc-home-cta {
        flex-direction: column;
    }
}

/* ==================================== PREMIUM LABORATORY SERVICES SECTION ==================================== */

.lab-premium-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

/* ---- Left Panel: Hero Highlight Card ---- */
.lab-left-panel {
    position: sticky;
    top: 100px;
}

.lab-hero-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 149, 168, 0.08);
    border: 1px solid rgba(11, 149, 168, 0.1);
}

.lab-img-container {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.lab-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Floating Glassmorphic Badge */
.lab-glass-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgb(255 255 255 / 56%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.lab-glass-badge i {
    font-size: 24px;
    color: var(--primary-color);
    background: rgba(11, 149, 168, 0.1);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-glass-badge strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.lab-glass-badge span {
    display: block;
    font-family: var(--body-font);
    font-size: 15px;
    color: #666;
}

/* Why Choose Highlights list */
.lab-highlights-content {
    padding: 30px 24px;
}

.lab-highlight-title {
    font-family: var(--heading-font);
    font-size: 23px;
    font-weight: 600;
    color: #394d5d;
    margin-bottom: 40px;
}

.lab-highlight-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lab-highlight-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bullet-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(11, 149, 168, 0.07);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.lab-highlight-bullets li:hover .bullet-icon {
    background-color: var(--primary-color);
    color: #ffffff;
}

.bullet-text strong {
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 500;
    color: #222;
    display: block;
    margin-bottom: 2px;
}

.bullet-text span {
    font-family: var(--body-font);
    font-size: 15px;
    color: #666;
    display: block;
}

/* ---- Right Panel: Clean Grid of Categories ---- */
.lab-right-panel {
    display: flex;
    flex-direction: column;
}

.lab-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lab-cat-card {
    background: #ffffff;
    border: 1px solid rgba(11, 149, 168, 0.08);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.lab-cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 149, 168, 0.25);
    box-shadow: 0 15px 35px rgba(11, 149, 168, 0.08);
}

.lab-cat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(11, 149, 168, 0.12), rgba(11, 149, 168, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.lab-cat-card:hover .lab-cat-icon-wrap {
    background: linear-gradient(135deg, var(--primary-color), #077a8a);
    color: #ffffff;
}

/* Wide card (Clinical Biochemistry) — two-column list for the long test menu */
.lab-cat-wide .lab-cat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

@media (max-width: 767px) {
    .lab-cat-wide .lab-cat-list {
        grid-template-columns: 1fr;
    }
}

/* ---- Lab test category tabs (CSS-only, radio driven) ---- */
.lab-right-panel input[name="lab-cat-tab"] {
    display: none;
}

.lab-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e2eef0;
}

.lab-cat-tab {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 2px;
    background: transparent;
    color: #6b7b84;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
    margin-bottom: -1px;
}

.lab-cat-tab:hover {
    color: #0b95a8;
}

/* Active tab styling — driven by checked radio inputs */
#lab-cat-biochem:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-biochem"],
#lab-cat-hema:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-hema"],
#lab-cat-endo:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-endo"],
#lab-cat-immuno:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-immuno"],
#lab-cat-tumor:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-tumor"],
#lab-cat-infect:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-infect"],
#lab-cat-micro:checked~.lab-cat-tabs .lab-cat-tab[for="lab-cat-micro"] {
    color: #0b95a8;
    border-bottom-color: #0b95a8;
    font-weight: 600;
}

/* Panels hidden until their tab is active */
.lab-cat-panel {
    display: none;
}

#lab-cat-biochem:checked~.lab-cat-panel-biochem,
#lab-cat-hema:checked~.lab-cat-panel-hema,
#lab-cat-endo:checked~.lab-cat-panel-endo,
#lab-cat-immuno:checked~.lab-cat-panel-immuno,
#lab-cat-tumor:checked~.lab-cat-panel-tumor,
#lab-cat-infect:checked~.lab-cat-panel-infect,
#lab-cat-micro:checked~.lab-cat-panel-micro {
    display: block;
    animation: labPanelIn 0.35s ease;
}

@keyframes labPanelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lab-cat-title {
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 600;
    color: #394d5d;
    margin-bottom: 15px;
}

.lab-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lab-cat-list li {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.lab-cat-list li i {
    font-size: 10px;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.lab-cat-list li:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.lab-cat-list li:hover i {
    transform: translateX(2px);
}

/* Callout Info box */
.lab-info-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(11, 149, 168, 0.06);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
}

.lab-info-callout i {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 2px;
}

.lab-info-callout p {
    font-family: var(--body-font);
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ---- Responsive styles ---- */
@media (max-width: 991px) {
    .lab-premium-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lab-left-panel {
        position: static;
    }

    .lab-img-container {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .lab-img-container {
        height: 280px;
    }

    .lab-cat-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lab-glass-badge {
        padding: 10px 15px;
        gap: 10px;
    }

    .lab-glass-badge i {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

.accurate-test {
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
}

.preventive-banner.service {
    padding: 68px 80px !important;
}

.preventive-banner.service .preventive-content {
    padding-top: 30px;
}

.preventive-img.service {
    width: 115% !important;
}


/* =============================================packages========================================== */
.about-banner.packages::before {
    background-image: url('../images/packages.png') !important;
}

/* ============================================= packages page custom styles ========================================== */
.packages-intro-section {
    padding: 80px 0 50px 0;
    position: relative;
    background-color: transparent;
}

.packages-intro-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.packages-intro-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.packages-intro-img-wrap:hover img {
    transform: scale(1.03);
}

.packages-intro-content {
    padding-left: 15px;
}

@media (max-width: 991px) {
    .packages-intro-content {
        padding-left: 0;
        margin-top: 20px;
    }
}

.branch-selection-section {
    padding: 30px 0 80px 0;
    padding-bottom: 100px !important;
}

.branch-select-title {
    font-family: var(--heading-font);
    font-size: 38px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 50px;
}

.branch-pkg-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.branch-pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(11, 149, 168, 0.12);
}

.branch-pkg-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.branch-pkg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.branch-pkg-card:hover .branch-pkg-img {
    transform: scale(1.06);
}

.branch-pkg-info {
    padding: 28px 26px 30px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-pkg-badge {
    width: fit-content;
    display: inline-block;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(11, 149, 168, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.branch-pkg-name {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.branch-pkg-text {
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 22px;
}

.branch-pkg-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: var(--primary-color);
    padding: 12px 24px 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.branch-pkg-cta i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    color: #0e4d55;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.branch-pkg-cta:hover {
    background: #066a78;
    color: #0b95a8;
    transform: translateY(-2px);
}

.branch-pkg-cta:hover i {
    left: 2px;
}

@media (max-width: 767px) {
    .branch-pkg-img-wrap {
        height: 200px;
    }

    .branch-pkg-name {
        font-size: 22px;
    }

    .branch-pkg-text {
        font-size: 14px;
    }

    .branch-select-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
}

/* ==================================why choose in packages================================ */
.benefit-card {
    background: linear-gradient(184deg, #ffffff, #d9ffffed);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.benefit-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #066a78 100%);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #fff;
    position: relative;
    transition: padding 0.35s ease;
}

.benefit-card-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 20px;
    background: #ffffff00;
    border-radius: 18px 18px 0 0;
}

.benefit-card:hover .benefit-card-header {
    padding: 34px 28px;
}

.benefit-card-body {
    padding: 24px 26px 28px;
    text-align: center;
}

.benefit-card-body h3 {
    font-family: var(--heading-font);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 10px;
    color: #222;
}

.benefit-card-body p {
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 0;
}

.why-packages {
    margin-top: 60px;
}

@media(max-width:991px) {

    .benefit-card-header {
        padding: 24px;
        font-size: 30px;
    }

    .benefit-card-body {
        padding: 20px 22px 24px;
    }

    .benefit-card-body h3 {
        font-size: 18px;
    }

    .benefit-card-body p {
        font-size: 14px;
    }

}

@media(max-width:767px) {

    .benefit-card-header {
        padding: 22px;
        font-size: 28px;
    }

    .benefit-card-body {
        padding: 18px 20px 22px;
    }

    .benefit-card-body h3 {
        font-size: 18px;
    }

    .benefit-card-body p {
        font-size: 14px;
    }

    .why-packages {
        margin-top: 40px;
    }

    .package-break {
        display: none;
    }

    .preventive-img.package {
        width: 52% !important;
    }

}

.preventive-img.package {
    width: 100%;
}

/* ============================================= Custom Enquiry Modal ========================================== */
.pkg-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pkg-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.pkg-modal-dialog {
    width: 92%;
    max-width: 520px;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pkg-modal-backdrop.active .pkg-modal-dialog {
    transform: translateY(0) scale(1);
}

.pkg-modal-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(11, 149, 168, 0.1);
    position: relative;
    overflow: hidden;
}

.pkg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.pkg-modal-title {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.pkg-modal-close-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    padding: 0 5px;
}

.pkg-modal-close-btn:hover {
    color: #333;
}

.pkg-input {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    font-family: var(--body-font);
    font-size: 14.5px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.pkg-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 149, 168, 0.15);
    outline: none;
}

.pkg-input[readonly] {
    background-color: #f7fafc;
    border-color: #edf2f7;
    color: #718096;
    font-weight: 500;
}

label.form-label {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}

/* Modal Responsive Settings */
@media (max-width: 767px) {
    .pkg-modal-content {
        padding: 25px;
    }
}



/* =================================================gallery page============================================== */
.about-banner.gallery::before {
    background-image: url('../images/gallery_banner.png') !important;
}

/* ─── Gallery Intro Section ────────────────────────────────── */
.gallery-intro-section {
    padding: 80px 0 60px;
}

/* ─── Gallery Grid Section ──────────────────────────────────── */
.gallery-grid-section {
    padding: 0 0 80px;
}

/* ─── Filter Tabs ───────────────────────────────────────────── */
.gallery-filter-wrap {
    margin-bottom: 50px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 18px;
    scrollbar-width: none;
}

.gallery-filter-wrap::-webkit-scrollbar {
    display: none;
}

.gallery-filter-tabs {
    display: flex;
    gap: 10px;
    width: max-content;
    min-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.gal-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e2eaea;
    color: #555;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.gal-filter-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.gal-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 149, 168, 0.12);
}

.gal-filter-btn:hover i {
    transform: scale(1.15);
}

.gal-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #077a8a);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(11, 149, 168, 0.3);
    transform: translateY(-2px);
}

.gal-filter-btn.active i {
    color: #fff;
}

/* ─── Gallery Grid ──────────────────────────────────────────── */
.gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gal-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gal-item.hiding {
    opacity: 0;
    pointer-events: none;
}

.gal-item.hidden {
    display: none;
}

.gallery-item {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    border-radius: 18px;
    background: #edf2f2;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 18px;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* Overlay */
.gal-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
    border-radius: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gal-item-overlay {
    opacity: 1;
}

.gal-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gal-item-cat {
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.gal-item-cat i {
    font-size: 11px;
}

.gal-item-title {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.gal-zoom-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    align-self: flex-end;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gal-zoom-icon {
    background: rgba(11, 149, 168, 0.85);
    transform: scale(1.1);
}

/* No Results */
.gallery-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #aaa;
}

.gallery-no-results i {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    color: #dde5e5;
}

.gallery-no-results p {
    font-size: 16px;
    font-family: var(--body-font);
}

/* ─── Gallery Lightbox ──────────────────────────────────────── */
.gal-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gal-lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.gal-lb-content {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.94);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gal-lightbox-backdrop.active .gal-lb-content {
    transform: scale(1);
}

.gal-lb-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.gal-lb-img.dragging {
    transition: none;
}

.gal-lb-img.fading {
    opacity: 0;
}

.gal-lb-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px 0;
    gap: 16px;
}

.gal-lb-title {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.gal-lb-counter {
    font-family: var(--body-font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

/* Close & Nav Buttons */
.gal-lb-close {
    position: fixed;
    top: 22px;
    right: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 100001;
}

.gal-lb-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
}

.gal-lb-nav {
    position: fixed;
    top: auto;
    bottom: 116px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.25s ease, transform 0.3s ease;
    z-index: 100001;
}

.gal-lb-prev {
    transform: translateX(calc(-50% - 34px));
}

.gal-lb-next {
    transform: translateX(calc(-50% + 34px));
}

.gal-lb-nav:hover {
    background: var(--primary-color);
    transform: translateX(calc(-50% - 34px)) scale(1.1);
}

.gal-lb-next:hover {
    transform: translateX(calc(-50% + 34px)) scale(1.1);
}

/* ─── Zoom Controls ─────────────────────────────────────────── */
.gal-lb-zoom-controls {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 14px;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gal-lightbox-backdrop.active .gal-lb-zoom-controls {
    opacity: 1;
    visibility: visible;
}

.gal-lb-zoom-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.gal-lb-zoom-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.gal-lb-zoom-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gal-lb-zoom-btn:disabled:hover {
    background: transparent;
    transform: none;
}

.gal-lb-zoom-level {
    font-family: var(--body-font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    min-width: 48px;
    text-align: center;
    user-select: none;
}

/* Zoomable image */
.gal-lb-img {
    cursor: grab;
}

.gal-lb-img.zoomed {
    cursor: grab;
}

.gal-lb-img.dragging {
    cursor: grabbing;
}

.gal-lb-content.zoomable {
    overflow: hidden;
}

/* ─── Visit Our Centres Section ─────────────────────────────── */
.gallery-visit-section {
    padding: 80px 0 50px;
    background: #f8fcfc;
}

.visit-centre-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(11, 149, 168, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.visit-centre-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(11, 149, 168, 0.1);
}

.visit-centre-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.visit-centre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.visit-centre-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(11, 149, 168, 0.35);
}

.visit-centre-badge.branch {
    background: #077a8a;
}

.visit-centre-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.visit-centre-icon {
    width: 50px;
    height: 50px;
    background: rgba(11, 149, 168, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.visit-centre-card:hover .visit-centre-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08);
}

.visit-centre-title {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
}

.visit-centre-desc {
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 22px;
}

.visit-centre-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding: 18px;
    background: #f8fcfc;
    border-radius: 14px;
    border: 1px solid rgba(11, 149, 168, 0.08);
}

.visit-meta-item {
    font-family: var(--body-font);
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    line-height: 1.4;
}

.visit-meta-item i {
    color: var(--primary-color);
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

.visit-meta-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.visit-meta-item a:hover {
    color: var(--primary-color);
}

.visit-centre-btn {
    margin-top: auto;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .gallery-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-filter-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .gallery-grid-container {
        grid-template-columns: 1fr;
    }

    .gal-lb-nav {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .gal-lb-prev {
        transform: translateX(calc(-50% - 28px));
    }

    .gal-lb-next {
        transform: translateX(calc(-50% + 28px));
    }

    .visit-centre-content {
        padding: 22px;
    }

    .visit-centre-title {
        font-size: 20px;
    }
}

/* =================================================contact page=================================== */
.about-banner.contact::before {
    background-image: url('../images/contact_banner1.png') !important;
}

/* ================= Contact Page Elegant Design ================= */
.contact-hero-elegant {
    padding: 88px 0 80px;
    background: linear-gradient(145deg, #f5fbfb 0%, #e7f5f6 100%);
}

.contact-intro-elegant {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
    margin: 0 auto 54px;
    padding: 8px 0 7px;
}

.contact-intro-copy {
    padding-left: 2px;
}

.contact-intro-elegant h2,
.contact-enquiry-elegant h2,
.home-collection-elegant h2 {
    color: #394d5d;
    font-family: var(--heading-font);
    font-size: clamp(30px, 3.3vw, 43px);
    font-weight: 600;
    line-height: 1.16;
    margin: 20px 0 12px;
}

.contact-intro-elegant h3 {
    color: #394d5d;
    font-family: var(--heading-font);
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.contact-intro-description p,
.contact-enquiry-elegant>.container p,
.home-collection-elegant>.container p {
    color: #4c5e64;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.contact-intro-description p:last-child {
    margin-bottom: 0;
}

.contact-location-card {
    height: 100%;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 26px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 18px 45px rgba(7, 112, 125, .1);
    transition: transform .35s ease, box-shadow .35s ease;
}

.contact-location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(7, 112, 125, .16);
}

.location-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 46px;
}

.location-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 23px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b95a8, #077a8a);
    box-shadow: 0 10px 22px rgba(11, 149, 168, .28);
}

.location-label {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.location-card-top h3 {
    color: #394d5d;
    font-family: var(--heading-font);
    font-size: 25px;
    margin: 4px 0 0;
}

.location-details {
    display: grid;
    gap: 30px;
}

.location-details p {
    display: flex;
    gap: 14px;
    margin: 0;
    color: #5c6c70;
    font-size: 14px;
    line-height: 1.55;
}

.location-details p>i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border-radius: 10px;
    background: #e5f3f4;
}

.location-details b,
.location-details a {
    display: block;
}

.location-details b {
    color: #183f46;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.location-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #e1eff0;
}

.location-actions .theme-btn,
.contact-outline-btn,
.contact-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 11px;
    font-size: 12px;
    text-decoration: none;
}

.contact-outline-btn {
    color: var(--primary-color);
    border: 1px solid rgba(11, 149, 168, .35);
    background: #fff;
}

.contact-wa-btn {
    color: #168b67;
    border: 1px solid rgba(22, 139, 103, .35);
    background: #effaf5;
}

.contact-outline-btn:hover,
.contact-wa-btn:hover {
    color: #fff;
    background: var(--primary-color);
}

.contact-wa-btn:hover {
    background: #168b67;
}

.contact-enquiry-elegant {
    padding: 92px 0;
    background: #fff;
}

.contact-enquiry-elegant h2 {
    margin-top: 14px;
}

.enquiry-callout {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
    padding: 18px;
    color: #27666e;
    border-left: 3px solid var(--primary-color);
    border-radius: 0 14px 14px 0;
    background: #eaf7f8;
}

.enquiry-callout i {
    color: var(--primary-color);
    font-size: 23px;
}

.elegant-contact-form {
    padding: 38px;
    border-radius: 26px;
    background: #f4fbfb;
    box-shadow: 0 15px 40px rgba(7, 112, 125, .08);
}

.elegant-contact-form h3 {
    color: #394d5d;
    font-family: var(--heading-font);
    font-size: 27px;
    margin: 0 0 24px;
}

.elegant-contact-form .req {
    color: #e03b3b;
    margin-left: 2px;
}

.elegant-contact-form label {
    display: block;
    color: #183f46;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 7px;
}

.elegant-contact-form input,
.elegant-contact-form select,
.elegant-contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    color: #33484c;
    border: 1px solid #d4e7e8;
    border-radius: 10px;
    outline: none;
    background: #fff;
    font-family: var(--body-font);
    font-size: 14px;
}

.elegant-contact-form textarea {
    resize: vertical;
}

.elegant-contact-form input:focus,
.elegant-contact-form select:focus,
.elegant-contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 149, 168, .12);
}

.home-collection-elegant {
    padding: 88px 0;
    background: linear-gradient(145deg, #e8f7f8, #f7fcfc);
}

.home-collection-image {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(7, 112, 125, .13);
}

.home-collection-image img {
    width: 100%;
    display: block;
}

.home-collection-elegant h2 span {
    color: var(--primary-color);
}

@media (max-width: 767px) {

    .contact-hero-elegant,
    .contact-enquiry-elegant,
    .home-collection-elegant {
        padding: 58px 0;
    }

    .contact-intro-elegant {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 34px;
        padding: 4px 0 4px 16px;
    }

    .contact-intro-elegant h2 {
        margin-top: 16px;
    }

    .contact-intro-description p {
        font-size: 14px;
    }

    .contact-location-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .location-card-top h3 {
        font-size: 21px;
    }

    .location-actions .theme-btn,
    .contact-outline-btn,
    .contact-wa-btn {
        flex: 1 1 auto;
    }

    .elegant-contact-form {
        padding: 25px 20px;
        border-radius: 20px;
    }
}

.dfine {
    text-decoration: none;
    list-style: none;
    color: #063a45;
    FONT-WEIGHT: 500;
}

.address-footer {
    text-decoration: none;
    list-style: none;
}

.break-3 {
    display: none;
}

/* ========================================= Thank You Page =========================================== */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f4fbfb 0%, #ffffff 100%);
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: thankYouPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes thankYouPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

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

.thank-you-title {
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 700;
    color: #103d44;
    margin-bottom: 16px;
}

.thank-you-message {
    font-family: var(--body-font);
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.thank-you-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===========================================facility page========================================= */
.about-banner.facility::before {
    background-image: url('../images/facility_banner.png') !important;
}

/* ===========================================Sticky Call & WhatsApp Buttons========================================= */
.sticky-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-contact-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.sticky-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.sticky-contact-btn.call {
    background: var(--primary-color);
}

.sticky-contact-btn.whatsapp {
    background: #25D366;
}

.sticky-contact-btn i {
    line-height: 1;
}

.sticky-contact-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: stickyPulse 2s ease-out infinite;
}

.sticky-contact-btn.whatsapp::after {
    border-color: #25D366;
}

.sticky-contact-btn.call::after {
    border-color: var(--primary-color);
}

@keyframes stickyPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

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

/* Sticky button location tags — slide in from the left on hover */
.sticky-item {
    position: relative;
}

.sticky-locations {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 2;
}

.sticky-item:hover .sticky-locations {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.sticky-locations a {
    display: block;
    white-space: nowrap;
    background: linear-gradient(180deg, #ffcb0838 0%, #e4bd2cd4 100%);
    color: #0e4d55;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 18px rgba(228, 189, 44, 0.35);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sticky-locations a:hover {
    background: linear-gradient(180deg, #ffcb0866 0%, #e4bd2c 100%);
    color: #0e4d55;
    transform: translateX(-3px);
}

/* Location dropdown above regular buttons (e.g. "Call to Book") */
.btn-loc-wrap {
    position: relative;
    display: inline-block;
    /* padding covers the visual gap so hover isn't lost before reaching the popup */
    padding-bottom: 10px;
}

.btn-loc-tags {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    white-space: nowrap;
    z-index: 5;
}

.btn-loc-wrap:hover .btn-loc-tags {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.btn-loc-tags a {
    display: block;
    white-space: nowrap;
    min-width: 148px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 173, 195, 0.16) 0%, rgba(255, 219, 86, 0.14) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 26px rgba(11, 149, 168, 0.18);
    color: #0e4d55;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-loc-tags a span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 3px;
}

.btn-loc-tags a:hover {
    background: linear-gradient(135deg, rgba(17, 173, 195, 0.28) 0%, rgba(255, 219, 86, 0.22) 100%);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 149, 168, 0.26);
}

@media (max-width: 767px) {
    .sticky-contact {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }

    .sticky-contact-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

.preventive-banner.packages {
    padding: 65px 81px;
}

.preventive-banner.gallery {
    padding: 78px 80px;
}

.office-address a {
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.office-address a:hover,
.office-address a:hover .footer-contact-item {
    color: #ffffff;
}

/* ============================================= Branch Packages v2 ========================================== */
.branch-packages-hero {
    padding: 60px 0 40px;
}

.branch-packages-hero-inner {
    background: #e8f9fb;
    border: 1px solid rgba(11, 149, 168, 0.1);
    border-radius: 24px;
    padding: 40px 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.branch-packages-hero-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #ffd254 0%, #f7c948 100%);
    border-radius: 24px 0 0 24px;
}

.branch-packages-hero-content h2 {
    font-family: var(--heading-font);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #103d44;
    line-height: 1.25;
    margin-bottom: 14px;
}

.branch-packages-hero-content p {
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.65;
    color: #4c5e64;
    margin-bottom: 28px;
    max-width: 480px;
}

.branch-packages-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.branch-packages-hero-phone i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.branch-packages-hero-phone-text {
    display: flex;
    flex-direction: column;
}

.branch-packages-hero-phone-text span {
    font-size: 14px;
    color: #6b7c81;
    margin-bottom: 2px;
}

.branch-packages-hero-phone-text a {
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.branch-packages-hero-phone-text a:hover {
    color: var(--primary-color);
}

.branch-packages-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(7, 112, 125, 0.12);
}

.branch-packages-hero-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.branch-packages-section {
    padding: 20px 0 80px;
}

.package-card-v2 {
    background: #0b95a8;
    border: none;
    border-radius: 22px;
    padding: 34px 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(7, 112, 125, 0.05);
}

.package-card-v2:hover {
    box-shadow: 0 18px 45px rgba(7, 112, 125, 0.1);
}

.package-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(11, 149, 168, 0.12);
    border-radius: 22px;
    z-index: -1;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.package-card-v2:hover::after {
    transform: translate(6px, 2px) rotate(2deg);
}

/* .package-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    background: #0b95a8;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
} */

.package-card-v2-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-left: 24px;
    position: relative;
    z-index: 2;
}

.package-card-v2-title {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: #103d44;
    line-height: 1.3;
    margin: 0;
}

.package-card-v2-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
}

.package-card-v2-original {
    font-family: var(--body-font);
    font-size: 13px;
    color: #e74c3c;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.package-card-v2-offer {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    color: #103d44;
}

.package-card-v2-offer small {
    font-size: 13px;
    font-weight: 500;
    color: #6b7c81;
}

.package-card-v2-divider {
    height: 1px;
    background: rgba(11, 149, 168, 0.1);
    margin: 0 0 22px 24px;
}

.package-card-v2-tests {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
}

.package-card-v2-tests li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.45;
    color: #444;
}

.package-card-v2-tests li i {
    color: #c9a227;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.package-card-v2-note {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-left: 24px;
    font-size: 15px;
    color: #5a6b70;
    font-style: italic;
}

/* Package card scroll reveal (no AOS) */
.reveal-visible {
    animation: pkgCardReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--pkg-reveal-delay, 0s) forwards;
}

.pkg-reveal-done {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pkgCardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .package-card-v2 {
        opacity: 1;
        transform: none;
    }

    .reveal-visible {
        animation: none;
    }
}

@media (max-width: 991px) {
    .branch-packages-hero-inner {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 28px;
    }

    .branch-packages-hero-image img {
        height: 200px;
    }

    .package-card-v2-tests {
        gap: 10px 18px;
    }
}

@media (max-width: 767px) {
    .branch-packages-hero {
        padding: 40px 0 30px;
    }

    .branch-packages-hero-inner {
        padding: 24px;
        border-radius: 18px;
    }

    .branch-packages-hero-phone {
        flex-wrap: wrap;
    }

    .package-card-v2 {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .package-card-v2-title {
        font-size: 19px;
    }

    .package-card-v2-offer {
        font-size: 19px;
    }

    .package-card-v2-tests {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .package-card-v2-header {
        padding-left: 16px;
    }

    .package-card-v2-divider {
        margin-left: 16px;
    }
}

/* Homepage Hero - exact reference layout */
.hero.homepage-hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../images/hero_bg2.webp') center center / cover no-repeat;
    font-family: 'Sora', sans-serif;
}

.hero-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 618;
    /* container-type: size; */
    /* container-name: hero; */
}

.hero-content-wrap {
    position: absolute;
    inset: 0;
}

/* Header overrides for hero */
.homepage-header {
    top: 0;
    padding-top: 28px;
    font-family: 'Sora', sans-serif;
}

/* .homepage-header uses the standard Bootstrap .container layout */

.homepage-header:not(.scrolled) .nav-container {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.homepage-header .logo img {
    height: 45px;
    width: auto;
}

.homepage-header .nav-links {
    gap: clamp(18px, 2.5vw, 32px);
}

.homepage-header:not(.scrolled) .nav-links a {
    /* font-family: 'Sora', sans-serif; */
    color: #fff;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 400;
}

.homepage-header:not(.scrolled) .nav-links a.active,
.homepage-header:not(.scrolled) .nav-links a:hover {
    color: #fff;
    opacity: 1;
}

.homepage-header .nav-toggle span {
    background: #fff;
}

.homepage-header .theme-btn-primary {
    background: #f9c02c;
    color: #0A6F7E;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 600;
    box-shadow: none;
    gap: 8px;
}

.homepage-header .theme-btn-primary i {
    background: transparent;
    color: #0e4d55;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

@media (max-width: 992px) {
    .homepage-header .theme-btn-primary {
        display: none;
    }
}

/* Homepage scrolled header — full-width white bar */
.homepage-header.scrolled {
    position: fixed;
    top: 0;
    padding-top: 0;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(6, 61, 70, 0.10);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.homepage-header.scrolled .nav-container {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 0;
}

.homepage-header.scrolled .logo img {
    height: 40px;
}

.homepage-header.scrolled .nav-links a {
    color: #22303d;
}

.homepage-header.scrolled .nav-links a:hover,
.homepage-header.scrolled .nav-links a.active {
    color: #0b95a8;
}

.homepage-header.scrolled .nav-toggle span {
    background: #22303d;
}

.homepage-header.scrolled .theme-btn-primary {
    background: #f9c02c;
    color: #0A6F7E;
    box-shadow: none;
}

/* Hero content */
.hero-services {
    position: absolute;
    top: 16.8%;
    display: flex;
    align-items: center;
    gap: 1.2cqi;
    color: #fff;
    font-size: clamp(9px, 1cqi, 12px);
    /* font-weight: 600; */
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-services a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}

.hero-services a i {
    font-size: 0.95em;
    opacity: 0.9;
}

.hero-services a:hover {
    opacity: 0.75;
}

.hero-services .dot {
    width: 0.35cqi;
    height: 0.35cqi;
    min-width: 3px;
    min-height: 3px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.7;
}

.hero-since {
    position: absolute;
    top: 21.8%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.6cqi;
    color: #fff;
    font-size: clamp(11px, 1.1cqi, 13px);
    font-weight: 400;
}

.hero-since i {
    color: #f9c02c;
    font-size: clamp(9px, 0.9cqi, 12px);
}

/* Title */
.hero-title-block {
    position: absolute;
    top: 22.7%;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
}

.hero-title-left,
.hero-title-right {
    font-size: clamp(49px, 12cqi, 104px);
    font-weight: 600;
    color: #fff;
    line-height: 1;
    z-index: 1;
    white-space: nowrap;
}

.hero-title-left {
    transform: translateX(-1cqi);
}

.hero-title-right {
    transform: translate(4cqi, 3.2cqh);
}

/* Hero title reveal animation — staggered per-character rise + fade-in.
   Chars are split by JS into .hero-char spans; `translate` (not `transform`)
   composes with each breakpoint's positioning transforms */
@keyframes hero-char-in {
    to {
        opacity: 1;
        translate: 0 0;
    }
}

.hero-char {
    display: inline-block;
    opacity: 0;
    translate: 0 26px;
    animation: hero-char-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Same reveal applied to whole hero elements (added by JS) */
.hero-fade {
    opacity: 0;
    translate: 0 26px;
    animation: hero-char-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Patients connector line — grows downward like it's being drawn (added by JS) */
@keyframes hero-line-grow {
    to {
        opacity: 0.8;
        scale: 1 1;
    }
}

.hero-line-anim {
    opacity: 0;
    scale: 1 0;
    transform-origin: top center;
    animation: hero-line-grow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ECG line — sweeping trace: draws in left→right, then wipes out left→right
   behind it, like a live ECG monitor scroll */
@keyframes ecg-trace {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0.9;
    }

    45% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

    90%,
    100% {
        clip-path: inset(0 0 0 100%);
        opacity: 0.9;
    }
}

.hero-since img {
    animation: ecg-trace 2.6s ease-in-out infinite;
}

.hero-scanner {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 72cqi;
    /* min-width: 332px; */
    height: auto;
    /* z-index: 3; */
    /* pointer-events: none; */
    -webkit-mask-image: radial-gradient(ellipse 76% 68% at 50% 48%, #000 44%, transparent 72%);
    mask-image: radial-gradient(ellipse 76% 68% at 50% 48%, #000000d1 44%, #0dc2df05 72%);
}

/* Copy */
.hero-copy {
    position: absolute;
    top: 38%;
    left: -1cqi;
    width: 21cqi;
    min-width: 210px;
    color: #fff;
    z-index: 4;
}

.hero-copy p {
    /* font-size: clamp(7px, 1.1cqi, 15px); */
    line-height: 1.5;
    margin-bottom: 2.5cqh;
    /* opacity: 0.92; */
    font-size: 14px;
    font-weight: 300;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f9c02c;
    color: #0A6F7E;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: clamp(13px, 1vw, 14px);
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-btn i {
    background: transparent;
    color: #0e4d55;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.hero-btn:hover {
    color: #0A6F7E;
    transform: translateY(-2px);
}

.hero-btn:hover i {
    left: 2px;
}

.hero-btn i {
    font-size: clamp(9px, 0.9cqi, 11px);
}



/* Patients */
.hero-patients {
    position: absolute;
    top: 81%;
    left: -1cqi;
    display: flex;
    align-items: center;
    gap: 1.2cqi;
    z-index: 4;
}

.hero-avatars {
    display: flex;
    align-items: center;
}

.hero-avatar {
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(9px, 0.9cqi, 12px);
    border: 1px solid #fff;
    margin-left: -0.8cqi;
    width: 43px;
    height: 43px;
    overflow: hidden;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.hero-avatar:first-child {
    margin-left: 0;
}

.hero-patients-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-patients-text strong {
    /* font-size: clamp(13px, 1.4cqi, 16px); */
    font-weight: 400;
    font-size: 14px;
}

.hero-patients-text span {
    /* font-size: clamp(10px, 1cqi, 12px); */
    /* opacity: 0.9; */
    font-size: 14px;
    font-weight: 300;
}

.hero-patients-line {
    position: absolute;
    left: 7cqi;
    top: 88%;
    /* width: 10.5cqi; */
    /* height: 10cqh; */
    min-width: 2px;
    object-fit: contain;
    opacity: 0.8;
    /* width: 13px; */
}

/* Priority */
.hero-priority {
    position: absolute;
    top: 96%;
    left: 1cqi;
    display: inline-flex;
    align-items: center;
    gap: 1cqi;
    /* padding: 1.2cqh 2cqi; */
    border-radius: 50px;
    color: #fff;
    font-size: clamp(11px, 1.1cqi, 13px);
    z-index: 4;
    white-space: nowrap;
    padding: 10px 18px 10px 18px;
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    backdrop-filter: blur(10px) url(#switcher) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), #00000000),
        inset -2px -2px 0px -1px color-mix(in srgb, #ffffff6e calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -12px 1px -15px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, #00000000 calc(var(--glass-reflex-dark) * 11%), transparent),
        inset -0.5px -0.5px 0px -4px color-mix(in srgb, #00000000 calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 4px 1px -13px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px 0.5px 6px 3px color-mix(in srgb, #00000000 calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 10px 0px color-mix(in srgb, #00000014 calc(var(--glass-reflex-dark) * 20%), transparent),
        0px 40px 60px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent);
}


.hero-priority i {
    color: #f9c02c;
    font-size: clamp(12px, 1.2cqi, 14px);
}

/* Results */
.hero-results {
    position: absolute;
    top: 54.3%;
    right: 0;
    display: flex;
    align-items: center;
    /* gap: 1.2cqi; */
    z-index: 4;
    gap: 10px;
}

.hero-result-line {
    height: 9cqh;
    width: auto;
    min-height: 40px;
    object-fit: contain;
}

.hero-results-icon {
    width: 2.5cqi;
    height: 3.5cqi;
    min-width: 30px;
    min-height: 30px;
    border-radius: 12px;
    /* background: rgba(255, 255, 255, 0.15); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f9c02c;
    font-size: clamp(27px, 0.2cqi, 15px);
}

.hero-results-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-results-text strong {
    font-size: clamp(20px, 2.4cqi, 28px);
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.hero-results-text span {
    /* font-size: clamp(10px, 1cqi, 12px); */
    /* opacity: 0.9; */
    font-size: 13px;
    margin-top: 3px;
    font-weight: 300;
}

/* Years */
.hero-years {
    position: absolute;
    top: 88.7%;
    left: 15%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 1.5cqi;
    background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
    /* backdrop-filter: blur(10px) url(#switcher) saturate(var(--saturation)); */
    backdrop-filter: blur(8px) saturate(var(--saturation));
    -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
        inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), #00000000),
        inset -2px -2px 0px -1px color-mix(in srgb, #ffffff6e calc(var(--glass-reflex-light) * 80%), transparent),
        inset -3px -12px 1px -15px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, #00000000 calc(var(--glass-reflex-dark) * 11%), transparent),
        inset -0.5px -0.5px 0px -4px color-mix(in srgb, #00000000 calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 0px 4px 1px -13px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent),
        inset 2px 0.5px 6px 3px color-mix(in srgb, #00000000 calc(var(--glass-reflex-dark) * 10%), transparent),
        0px 1px 10px 0px color-mix(in srgb, #00000014 calc(var(--glass-reflex-dark) * 20%), transparent),
        0px 40px 60px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent);
    border-radius: 16px;
    /* padding: 1.5cqh 2cqi; */
    z-index: 4;
    padding: 7px 22px 7px 7px;
}

.hero-years-img {
    width: 5cqi;
    height: 5cqi;
    /* min-width: 56px; */
    /* min-height: 56px; */
    border-radius: 12px;
    object-fit: cover;
}

.hero-years-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-years-text strong {
    /* font-size: clamp(22px, 2.8cqi, 32px); */
    font-weight: 500;
    font-size: 37px;
    font-family: 'Poppins', sans-serif;
}

.hero-years-text span {
    /* font-size: clamp(10px, 1cqi, 12px); */
    /* opacity: 0.9; */
    font-weight: 300;
    font-size: 14px;
    margin-top: 3px;
}

/* Scroll */
.hero-scroll {
    position: absolute;
    bottom: -5%;
    right: -12%;
    /* width: 0.5cqi; */
    /* height: 4cqh; */
    min-width: 20px;
    min-height: 35px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    /* padding-top: 0.6cqh; */
    z-index: 4;
    cursor: pointer;
    text-decoration: none;
}

.hero-scroll .mouse {
    width: 0.35cqi;
    height: 0.7cqi;
    min-width: 3px;
    min-height: 6px;
    background: #fff;
    border-radius: 2px;
    animation: heroScroll 1.5s infinite;
}

/* ===================== Services Section ===================== */
.services-sec {
    padding: 100px 0;
    background-color: #fff;
}

.services-title {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #394d5d;
    line-height: 1.25;
    margin: 0;
}

.services-desc {
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 400;
    color: #5a6b77;
    line-height: 1.75;
    margin: 0;
    padding-top: 22px;
}

.services-cards {
    display: flex;
    gap: 20px;
    cursor: none;
}

/* Service cards — staggered reveal (triggered by JS when scrolled into view).
   Uses `translate` (not `transform`) so it composes with drag/hover transforms */
.services-cards .service-card.anim-ready {
    opacity: 0;
    translate: 0 30px;
}

.services-cards .service-card.anim-in {
    animation: hero-char-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-card {
    position: relative;
    flex: 1;
    aspect-ratio: 3 / 4;
    /* max-height: 340px; */
    border-radius: 20px;
    overflow: hidden;
    cursor: none;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: none;
}

.service-card.dragging {
    cursor: none;
    z-index: 10;
    transition: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.service-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 88, 99, 0) 0%, rgba(10, 88, 99, 0) 55%, rgb(39 39 39 / 51%) 82%, rgb(31 32 33 / 52%) 100%);
    pointer-events: none;
}

.service-card-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #22303d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
}

.service-card-body {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
}

.service-card-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.service-card-body p {
    font-family: var(--body-font);
    font-size: 14px;
    color: rgb(255 255 255);
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

/* Drag cursor indicator */
.drag-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #22303d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.drag-cursor.visible {
    opacity: 1;
}

@media (max-width: 991px) {
    .services-cards {
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1 1 45%;
        max-height: 260px;
    }

    .services-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .service-card {
        flex: 1 1 100%;
    }
}

/* 321–482px — disable drag cursor; cards stack and scroll normally */
@media (min-width: 321px) and (max-width: 482px) {
    .services-cards {
        cursor: auto;
    }
}

.about-us-sec {
    padding: 95px 0;
}

.about-us-head {
    border-bottom: 1px solid #eef2f4;
    margin-bottom: 44px;
}

.about-us-head .badge-title {
    margin-bottom: 22px;
}

.about-us-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: #394D5D;
    line-height: 1.25;
    margin: 0;
}

.about-us-right {
    border-left: 1px solid #eef2f4;
    padding-left: 60px;
    margin-left: 20px;
}

.about-us-desc {
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 400;
    color: #6A6D70;
    line-height: 1.75;
    margin-bottom: 48px;
}

.about-us-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.about-us-stat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 500;
    color: #394D5D;
    line-height: 1;
    margin-bottom: 14px;
}

.about-us-stat span {
    font-family: var(--body-font);
    font-size: 14px;
    color: #6A6D70;
    line-height: 1.6;
    display: block;
    max-width: 260px;
}

.about-us-images {
    display: flex;
    gap: 16px;
    width: 100%;
}

.about-us-images img {
    flex: 1;
    min-width: 0;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 991px) {
    .about-us-right {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 30px;
    }

    .about-us-title {
        font-size: 32px;
    }

    .about-us-bottom {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .about-us-images img {
        width: 100%;
        height: 160px;
    }

    .about-us-images {
        flex-direction: column;
        width: 100%;
    }
}

@keyframes heroScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .homepage-hero {
        align-items: flex-start;
        padding: 120px 0 40px;
        min-height: auto;
    }

    .hero-inner {
        /* aspect-ratio: auto; */
        height: auto;
        min-height: calc(100vh - 140px);
        padding: 0 20px;
    }

    .hero-content-wrap {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 9px;
        padding: 20px 0;
        min-height: inherit;
    }

    .hero-services {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        font-size: clamp(10px, 2.5cqi, 12px);
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-since {
        display: none;
    }

    .hero-title-block {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        padding: 0;
        flex-direction: column;
        gap: 8px;
    }

    .hero-title-left,
    .hero-title-right {
        font-size: clamp(24px, 7cqi, 48px);
    }

    .hero-scanner {
        position: absolute;
        left: 100%;
        top: 51%;
        transform: translate(-50%, -14%);
        width: 118cqi !important;
        min-width: 320px;
        height: auto;
        z-index: 3;
        /* pointer-events: none; */
    }

    .hero-copy {
        position: relative;
        top: auto;
        left: auto;
        width: 90%;
        min-width: auto;
        /* text-align: center; */
    }

    .hero-copy p {
        margin-bottom: 16px;
        font-size: clamp(12px, 2.8cqi, 14px);
    }

    .hero-btn {
        font-size: clamp(13px, 3cqi, 15px);
        padding: 10px 22px;
    }

    /* .hero-patients {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        gap: 8px;
    } */

    .value-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
    }



    .hero-copy {
        margin-top: -30px;
    }

    .hero-patients-line {
        display: none;
    }

    .hero-priority {
        display: none;
    }

    .hero-results {
        display: none;
    }

    .hero-years {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .hero-title-right {
        transform: translate(9cqi, -1.8cqh) !important;
    }

    .hero-copy {
        width: auto !important;
    }

    .hero-avatar {
        width: 36px;
        height: 36px;
    }

    .hero-patients {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        display: flex;
        align-items: center;
        gap: 1.2cqi;
        z-index: 4;
        margin-top: 25px;
    }

}

/* ============================================why choose=============================== */
#why-choose {
    padding: 100px 0px;
    background: url('../images/whychoose_bg.png') center center / cover no-repeat;
}

.why-choose-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    margin-top: 73px !important;
}

.why-row {
    display: flex;
    gap: 25px;
    justify-content: center;
    width: 100%;
}

.why-row-center {
    justify-content: center;
}

.why-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    max-width: 360px;
    padding: 34px 22px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgb(255 219 86 / 8%) 23%, rgb(17 173 195 / 18%) 100%);
    box-shadow: inset 0 0 0 0.53px #ffffff;
    backdrop-filter: blur(4px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Why Choose card hover — gentle lift + soft teal glow, icon pops to teal */
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 0.53px #ffffff, 0 18px 40px -16px rgb(11 149 168 / 24%);
}

.why-card:hover .why-card-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08);
}

/* Why Choose cards — staggered scale-in reveal (triggered by JS when scrolled into view).
   Uses `scale` (not `transform`) so it composes with any transform usage */
@keyframes hero-card-grow {
    to {
        opacity: 1;
        scale: 1;
    }
}

.why-card.anim-ready {
    opacity: 0;
    scale: 0.88;
}

.why-card.anim-in {
    animation: hero-card-grow 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.why-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.why-card-text h3 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: #132f33;
    margin: 0 0 8px;
}

.why-card-text p {
    font-family: var(--body-font);
    font-size: 14px;
    color: #5a6b77;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .why-row {
        flex-wrap: wrap;
    }

    .why-card {
        flex: 1 1 45%;
        max-width: none;
    }
}

/* 768–991px — flatten the three .why-row groups into one 2-column grid so
   all 8 cards pair evenly (no lone full-width card). Card styles untouched */
@media (min-width: 768px) and (max-width: 991px) {
    .why-choose-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .why-row {
        display: contents;
    }

    .why-card {
        flex: initial;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .why-card {
        flex: 1 1 100%;
    }
}

/* ===================== Footer — Liquid Glass ===================== */
.page-wrap {
    position: relative;
    z-index: 1;
    background: #F7FFFD;
}

#footer.footer-glass {
    position: relative;
    background: #F0FAF7;
    overflow: hidden;
}

/* Homepage only: footer is fixed behind content and slides up on scroll.
   The .page-wrap sibling only exists on the homepage, so this scoped
   rule leaves the footer in normal flow on all other pages. */
.page-wrap~#footer.footer-glass {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    transform: translateY(100%);
    will-change: transform;
}

/* Large blurred "MALABAR DC" behind the glass layer */
.footer-watermark {
    position: absolute;
    left: 50%;
    /* bottom: -0.42em; */
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    /* font-size: clamp(120px, 17vw, 300px); */
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgb(11 149 168 / 37%);
    filter: blur(1px);
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    font-size: 173px;
    bottom: -5%;
}

/* Frosted glass layer holding all footer content */
.footer-glass-panel {
    position: relative;
    z-index: 1;
    margin: 48px 48px 56px;
    padding: 60px 64px 30px;
    border-radius: 24px;
    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(26px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 24px 60px rgba(6, 110, 126, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.fg-logo img {
    height: 54px;
}

.fg-desc {
    font-family: var(--body-font);
    font-size: 15px;
    color: #5a6b77;
    line-height: 1.8;
    margin: 20px 0 24px;
    max-width: 320px;
}

.fg-socials {
    display: flex;
    gap: 10px;
}

.fg-socials .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffcb0838 0%, #e4bd2cd4 100%);
    box-shadow: inset 0 0 0 1px #FFFFFF;
    color: #22303d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: solid 1px white;
}

.fg-socials .social-icon:hover {
    box-shadow: inset 0 0 0 1px #FFFFFF, 0 6px 16px rgba(228, 189, 44, 0.45);
    transform: translateY(-2px);
}

.fg-heading {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    color: #22303d;
    margin-bottom: 20px;
}

.fg-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fg-links li {
    font-family: var(--body-font);
    font-size: 15px;
    color: #5a6b77;
    margin-bottom: 12px;
}

.fg-links li a {
    color: #5a6b77;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.fg-links li a:hover {
    color: #0b95a8;
    padding-left: 4px;
}

.fg-offices {
    margin-top: 56px;
}

.fg-office-title {
    margin-bottom: 16px;
}

.fg-contact {
    font-family: var(--body-font);
    font-size: 15px;
    color: #5a6b77;
    line-height: 1.7;
    margin-bottom: 8px;
}

.fg-contact a,
.fg-address-link {
    color: #5a6b77;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fg-contact a:hover,
.fg-address-link:hover .fg-contact {
    color: #0b95a8;
}

.fg-bottom {
    border-top: 1px solid rgba(34, 48, 61, 0.08);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
}

.fg-bottom p {
    font-family: var(--body-font);
    font-size: 14px;
    color: #5a6b77;
    margin: 0;
}

@media (max-width: 991px) {
    .footer-glass-panel {
        margin: 24px 20px 40px;
        padding: 44px 32px 28px;
    }
}

@media (max-width: 767px) {
    .footer-glass-panel {
        margin: 16px 12px 32px;
        padding: 36px 22px 24px;
    }

    .footer-watermark {
        font-size: 20vw;
        bottom: -0.2em;
    }

    .fg-offices {
        margin-top: 36px;
    }
}