﻿/* =========================================================
   TANYA SPECIALITY HOSPITAL
   DOCTORS HERO - FIXED VISIBILITY
========================================================= */

.tshd-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Creates clean stacking context */
    isolation: isolate;
    background: #241a15;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.tshd-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url("/images/HospitalGallery/doctorHeroBg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.tshd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 120deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 50%, rgba(70, 45, 30, 0.45) 100% );
    pointer-events: none;
}


/* =========================================================
   ATMOSPHERIC EFFECT
========================================================= */

.tshd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient( circle at 20% 50%, rgba(157, 121, 93, 0.20), transparent 35% ), radial-gradient( circle at 85% 25%, rgba(255, 249, 199, 0.10), transparent 30% );
    pointer-events: none;
}


/* =========================================================
   DECORATIVE GLOW
========================================================= */

.tshd-hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 249, 199, 0.08);
    filter: blur(70px);
    z-index: 3;
    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.tshd-hero-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}


.tshd-hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: #ffffff;
}


/* =========================================================
   LABEL
========================================================= */

.tshd-hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
    color: #fff9c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.tshd-label-line {
    width: 35px;
    height: 1px;
    background: rgba(255, 249, 199, 0.8);
}


/* =========================================================
   TITLE
========================================================= */

.tshd-hero-title {
    position: relative;
    z-index: 21;
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -2px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85), 0 8px 35px rgba(0, 0, 0, 0.55);
}


    .tshd-hero-title span {
        display: inline-block;
        position: relative;
        color: #fff9c7 !important;
    }


        .tshd-hero-title span::after {
            content: "";
            position: absolute;
            left: 8%;
            right: 8%;
            bottom: -12px;
            height: 3px;
            border-radius: 50px;
            background: #9d795d;
        }


/* =========================================================
   DESCRIPTION
========================================================= */

.tshd-hero-description {
    position: relative;
    z-index: 21;
    max-width: 650px;
    margin: 35px auto 0;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}


/* =========================================================
   DIVIDER
========================================================= */

.tshd-hero-divider {
    position: relative;
    z-index: 21;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 28px auto 24px;
}


    .tshd-hero-divider::before,
    .tshd-hero-divider::after {
        content: "";
        width: 55px;
        height: 1px;
        background: rgba(255, 255, 255, 0.5);
    }


    .tshd-hero-divider span {
        width: 8px;
        height: 8px;
        margin: 0 12px;
        border-radius: 50%;
        background: #fff9c7;
        box-shadow: 0 0 0 5px rgba(255, 249, 199, 0.08), 0 0 20px rgba(255, 249, 199, 0.45);
    }


/* =========================================================
   BREADCRUMB
========================================================= */

.tshd-hero-breadcrumb {
    position: relative;
    z-index: 21;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
}


    .tshd-hero-breadcrumb a {
        color: #ffffff !important;
        text-decoration: none;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }


.tshd-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.65);
}


.tshd-hero-breadcrumb strong {
    color: #fff9c7 !important;
    font-weight: 600;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.tshd-hero-scroll {
    position: relative;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}


    .tshd-hero-scroll i {
        color: #fff9c7;
        font-size: 22px;
        animation: tshdScrollArrow 1.8s ease-in-out infinite;
    }


/* =========================================================
   SCROLL ARROW
========================================================= */

@keyframes tshdScrollArrow {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* =========================================================
   ANIMATION INITIAL STATE
========================================================= */

.tshd-animate-left,
.tshd-animate-right,
.tshd-animate-up {
    opacity: 0;
}


/* =========================================================
   LEFT
========================================================= */

.tshd-show-left {
    animation: tshdFadeInLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* =========================================================
   RIGHT
========================================================= */

.tshd-show-right {
    animation: tshdFadeInRight 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* =========================================================
   UP
========================================================= */

.tshd-show-up {
    animation: tshdFadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes tshdFadeInLeft {

    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes tshdFadeInRight {

    from {
        opacity: 0;
        transform: translateX(45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes tshdFadeInUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .tshd-hero {
        min-height: 570px;
    }

    .tshd-hero-content {
        padding: 90px 15px 75px;
    }

    .tshd-hero-title {
        font-size: clamp(46px, 9vw, 70px);
    }

    .tshd-hero-description {
        font-size: 15px;
        max-width: 600px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .tshd-hero {
        min-height: 540px;
    }

    .tshd-hero-bg {
        background-attachment: scroll;
        background-position: center center;
    }

    .tshd-hero-container {
        width: 92%;
    }

    .tshd-hero-content {
        padding: 80px 10px 65px;
    }

    .tshd-hero-label {
        gap: 9px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .tshd-label-line {
        width: 20px;
    }

    .tshd-hero-title {
        font-size: 48px;
        letter-spacing: -1px;
    }

        .tshd-hero-title span::after {
            bottom: -8px;
        }

    .tshd-hero-description {
        margin-top: 28px;
        font-size: 14px;
        line-height: 1.7;
    }

    .tshd-hero-divider {
        margin: 24px auto 20px;
    }

    .tshd-hero-scroll {
        margin-top: 38px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tshd-hero {
        min-height: 500px;
    }

    .tshd-hero-content {
        padding: 70px 5px 55px;
    }

    .tshd-hero-title {
        font-size: 42px;
    }

    .tshd-hero-description {
        font-size: 13px;
    }

    .tshd-hero-breadcrumb {
        font-size: 13px;
    }

    .tshd-hero-scroll {
        margin-top: 32px;
    }
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tshd-hero-scroll i {
        animation: none;
    }

    .tshd-animate-left,
    .tshd-animate-right,
    .tshd-animate-up {
        opacity: 1;
        transform: none;
    }
}
