.top-banner {
    width: 100%;
    height: 70vh;
}

.top-banner h1 {
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.382);
    font-family: "Quando", serif;
    text-align: center;
    margin-bottom: 30px !important;
}

.top-banner::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.296), rgba(0, 0, 0, 0.286));
    z-index: -1;
}

.top-banner img {
    z-index: -2;
}

.breadcrumb a span {
    letter-spacing: 1px;
}

.breadcrumb a {
    position: relative;
}

.nav-links-wrapper {
    padding-block: 30px;
}

.breadcrumb a::before {
    content: "";
    position: absolute;
    height: 1px;
    background-color: var(--bg-w);
    bottom: 0;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s linear, transform-origin 0s linear;
}


.breadcrumb a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.breadcrumb a:not(:hover)::before {
    transform: scaleX(0);
    transform-origin: right;
}

/* facilities faq */
.facilities-faq {
    margin: 50px auto;
    font-family: "Poppins", sans-serif;
}

.facilities-faq-item {
    background-color: var(--bg-w);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.175);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.facilities-faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.facilities-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--p-c-1);
    background-color: var(--bg-w);
    transition: background-color 0.3s;
}

.facilities-faq-header:hover {
    background-color: var(--p-c-1);
    color: var(--t-c-l);
}

.facilities-faq-header.active {
    background-color: var(--p-c-1);
    color: var(--t-c-l);
}

.faq-icon {
    width: 25px;
    height: 25px;
    transition: transform 0.3s;
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

.facilities-faq-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: var(--bg-w);
    color: var(--t-c-d);
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 0.95rem;
    text-align: justify;
}

.facilities-faq-body.open {
    padding: 15px 25px;
    max-height: 500px;
}


.mask-image {
    width: var(--m-size);
    height: var(--m-size);
    background-color: var(--m-bg);
    mask: var(--m-url) no-repeat center;
    -webkit-mask: var(--m-url) no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}


/* Contact Page */
#contact-box .contact-box-wrapper {
    background: var(--bg-w);
    border-radius: 18px;
    padding: 25px 20px;
    min-height: 220px;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-box .contact-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

#contact-box .contact-box-wrapper .contact-image-wrapper {
    box-shadow: 0 6px 15px color-mix(in srgb, var(--p-c) 35%, white);
    border-radius: 50%;
    padding: 15px;
    background: color-mix(in srgb, var(--p-c) 8%, white);
}

#contact-box .contact-box-wrapper a {
    color: var(--p-c);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact-box .contact-box-wrapper a:hover {
    color: var(--s-c);
}


/* gallery */
.gallery-card {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card:hover {
    transform: translateY(-6px);
}

.gallery-image-wrapper {
    position: relative;
    height: 220px;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-caption {
    background: #fff;
    font-size: 14px;
    color: #333;
}

/* doctor-profile-image */
.doctor-profile-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--p-c);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background-image: url(../images/doctor.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: .4s;
}

.doctor-profile-image:hover {
    transform: translateY(-6px);
}