/* =========================================================
   JEMA HOSPITALS
   PREMIUM VIDEO HERO
========================================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 95px);

    display: flex;
    align-items: center;

    overflow: hidden;
    isolation: isolate;

    background: #002f68;
}


/* =========================================================
   BACKGROUND VIDEO
========================================================= */

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    z-index: -3;
}


/* =========================================================
   VIDEO OVERLAY
========================================================= */

.hero-video-overlay {
    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 35, 73, 0.94) 0%,
            rgba(0, 45, 90, 0.88) 30%,
            rgba(0, 47, 91, 0.66) 55%,
            rgba(0, 35, 73, 0.38) 78%,
            rgba(0, 25, 55, 0.58) 100%
        );
}


/* =========================================================
   SUBTLE HERO VIGNETTE
========================================================= */

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 75% 50%,
            transparent 0%,
            rgba(0, 20, 45, 0.18) 70%,
            rgba(0, 15, 35, 0.35) 100%
        );
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.hero-container {
    position: relative;
    z-index: 5;

    width: 100%;

    display: flex;
    align-items: center;

    min-height: calc(100vh - 95px);
    padding:50px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    width: 58%;
    max-width: 760px;

    padding: 80px 0 120px;

    color: #fff;
}


/* =========================================================
   HERO TAG
========================================================= */

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    margin-bottom: 24px;

    border: 1px solid rgba(255,255,255,0.22);

    border-radius: 50px;

    background: rgba(255,255,255,0.09);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: rgba(255,255,255,0.95);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.hero-tag i {
    color: var(--accent);
    font-size: 15px;
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero-content h1 {
    margin: 0 0 24px;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: clamp(3.5rem, 5.5vw, 5.5rem);

    font-weight: 700;

    line-height: 1.03;

    letter-spacing: -2.5px;

    max-width: 780px;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-content > p {
    width: 100%;
    max-width: 620px;

    margin: 0 0 32px;

    color: rgba(255,255,255,0.84);

    font-size: clamp(16px, 1.3vw, 19px);

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 32px;
}


/* =========================================================
   PRIMARY HERO BUTTON
========================================================= */

.hero-buttons .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border-radius: 50px;

    background: var(--accent);

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 12px 30px rgba(212,160,23,0.25);

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);

    background: #fff;

    color: var(--primary);

    box-shadow:
        0 15px 35px rgba(0,0,0,.20);
}


/* =========================================================
   SECONDARY HERO BUTTON
========================================================= */

.hero-buttons .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border-radius: 50px;

    border: 1px solid rgba(255,255,255,0.45);

    background: rgba(255,255,255,0.05);

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.hero-buttons .btn-outline:hover {
    transform: translateY(-3px);

    background: #fff;

    color: var(--primary);
}


/* =========================================================
   HERO FEATURES
========================================================= */

.hero-features {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px 28px;
}

.hero-features span {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,0.88);

    font-size: 13px;

    font-weight: 600;
}

.hero-features i {
    color: var(--accent);

    font-size: 14px;
}


/* =========================================================
   EMERGENCY CARD
========================================================= */

.emergency-card {
    position: absolute;

    right: clamp(30px, 6vw, 100px);

    bottom: clamp(80px, 12vh, 125px);

    z-index: 10;

    width: 235px;

    padding: 24px 25px;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.11);

    border:
        1px solid rgba(255,255,255,0.22);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.25);

    color: #fff;

    animation: emergencyFloat 4s ease-in-out infinite;
}


/* CARD ICON */

.emergency-card > i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 15px;

    border-radius: 14px;

    background: rgba(218,163,14,.15);

    color: var(--accent);

    font-size: 20px;
}


/* CARD TITLE */

.emergency-card h4 {
    margin: 0 0 4px;

    color: rgba(255,255,255,.72);

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* CARD HEADING */

.emergency-card h2 {
    margin: 0 0 6px;

    color: #fff;

    font-size: 25px;

    line-height: 1.2;
}


/* PHONE */

.emergency-card a {
    display: inline-block;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition: color .3s ease;
}

.emergency-card a:hover {
    color: var(--accent);
}


/* =========================================================
   EMERGENCY FLOAT
========================================================= */

@keyframes emergencyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* =========================================================
   HERO CONTENT ANIMATION
========================================================= */

.hero-animate {
    animation: heroContentIn .8s ease both;
}

.hero-tag {
    animation-delay: .05s;
}

.hero-content h1 {
    animation-delay: .12s;
}

.hero-content p {
    animation-delay: .20s;
}

.hero-buttons {
    animation-delay: .28s;
}

.hero-features {
    animation-delay: .36s;
}


@keyframes heroContentIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   CHANGING HERO CONTENT
========================================================= */

.hero-changing {
    animation: heroChange .7s ease both;
}

@keyframes heroChange {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.hero-changing {
    animation: heroChange 0.7s ease both;
}

@keyframes heroChange {

    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   HERO INDICATOR
========================================================= */

.hero-indicator {
    position: absolute;

    left: clamp(30px, 6vw, 100px);

    bottom: 28px;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 12px;

    color: rgba(255,255,255,.58);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;
}

.hero-slide-number {
    color: #fff;

    font-size: 13px;

    font-weight: 700;
}

.hero-line {
    width: 45px;

    height: 1px;

    background: rgba(255,255,255,.45);
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-down {
    position: absolute;

    right: clamp(30px, 6vw, 100px);

    bottom: 25px;

    z-index: 10;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    color: rgba(255,255,255,.62);

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-down i {
    font-size: 12px;
}


@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-content {
        width: 65%;
    }

    .emergency-card {
        right: 30px;
        width: 210px;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }

}


/* =========================================================
   TABLET
   992px
========================================================= */

@media (max-width: 992px) {

    .hero {
        min-height: calc(100vh - 85px);
    }

    .hero-container {
        min-height: calc(100vh - 85px);
    }

    .hero-content {
        width: 70%;
        padding: 75px 0 115px;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 6.5vw, 4.3rem);
    }

    .hero-content > p {
        max-width: 540px;
        font-size: 17px;
    }

    .emergency-card {
        width: 195px;
        padding: 20px;
        right: 25px;
        bottom: 80px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero {
        min-height: 90svh;
    }

    .hero-container {
        min-height: 90svh;

        justify-content: center;

        text-align: center;
    }


    /* VIDEO */

    .hero-video {
        object-position: center center;
    }


    /* OVERLAY */

    .hero-video-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,32,68,.82) 0%,
                rgba(0,42,82,.78) 45%,
                rgba(0,30,65,.90) 100%
            );
    }


    /* CONTENT */

    .hero-content {
        width: 100%;

        max-width: 650px;

        padding: 70px 0 110px;
    }


    /* TAG */

    .hero-tag {
        margin-bottom: 20px;

        padding: 8px 14px;

        font-size: 9px;
    }


    /* HEADING */

    .hero-content h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem);

        line-height: 1.08;

        letter-spacing: -1.5px;

        margin-bottom: 20px;
    }


    /* DESCRIPTION */

    .hero-content > p {
        max-width: 520px;

        margin-left: auto;
        margin-right: auto;

        font-size: 15px;

        line-height: 1.7;
    }


    /* BUTTONS */

    .hero-buttons {
        justify-content: center;

        gap: 10px;

        margin-bottom: 25px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        min-height: 50px;

        padding: 0 23px;
    }


    /* FEATURES */

    .hero-features {
        justify-content: center;

        gap: 8px 18px;
    }

    .hero-features span {
        font-size: 11px;
    }


    /* EMERGENCY */

    .emergency-card {
        display: none;
    }


    /* INDICATOR */

    .hero-indicator {
        left: 50%;

        bottom: 18px;

        transform: translateX(-50%);

        white-space: nowrap;
    }


    /* SCROLL */

    .scroll-down {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero {
        min-height: 100svh;
    }

    .hero-container {
        min-height: 100svh;
    }

    .hero-content {
        padding: 65px 0 90px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);

        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 14px;

        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;

        max-width: 300px;
    }

    .hero-features {
        flex-direction: column;

        gap: 7px;
    }

    .hero-features span {
        font-size: 10px;
    }

    .hero-indicator {
        font-size: 8px;
    }

    .hero-line {
        width: 30px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .hero-content {
        padding-top: 55px;
        padding-bottom: 80px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-tag {
        font-size: 8px;
    }

}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
    position: relative;
    z-index: 20;

    margin-top: -75px;

    padding: 0 0 45px;

    background: transparent;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* =========================================================
   QUICK CARD
========================================================= */

.quick-card {
    position: relative;

    padding: 28px 24px 25px;

    background: #fff;

    border: 1px solid #e5ebf2;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0, 35, 75, 0.12);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.quick-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}

.quick-card:hover {
    transform: translateY(-7px);

    border-color: rgba(218, 163, 14, 0.45);

    box-shadow: 0 22px 45px rgba(0, 35, 75, 0.16);
}

.quick-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   ICON
========================================================= */

.quick-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 14px;

    background: rgba(0, 74, 153, 0.08);

    color: var(--primary);

    font-size: 21px;

    transition: 0.35s ease;
}

.quick-card:hover .quick-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(5deg);
}


/* =========================================================
   EMERGENCY
========================================================= */

.quick-card.emergency {
    background: var(--primary);
    border-color: var(--primary);
}

.quick-card.emergency h3 {
    color: #fff;
}

.quick-card.emergency p {
    color: rgba(255,255,255,.75);
}

.quick-card.emergency .quick-icon {
    background: rgba(218,163,14,.15);
    color: var(--accent);
}


/* =========================================================
   CONTENT
========================================================= */

.quick-card h3 {
    margin: 0 0 9px;

    color: var(--primary);

    font-family: 'Poppins', sans-serif;

    font-size: 19px;

    line-height: 1.3;
}

.quick-card p {
    min-height: 65px;

    margin: 0 0 17px;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   LINK
========================================================= */

.quick-card a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}

.quick-card a i {
    color: var(--accent);
}

.quick-card a:hover {
    color: var(--accent);
    gap: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .quick-access {
        margin-top: -60px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .quick-access {
        margin-top: -40px;

        padding-bottom: 30px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .quick-card {
        padding: 20px 17px;

        border-radius: 12px;
    }

    .quick-icon {
        width: 44px;
        height: 44px;

        margin-bottom: 12px;

        border-radius: 11px;

        font-size: 17px;
    }

    .quick-card h3 {
        font-size: 15px;

        margin-bottom: 7px;
    }

    .quick-card p {
        min-height: auto;

        margin-bottom: 12px;

        font-size: 11px;

        line-height: 1.5;
    }

    .quick-card a {
        font-size: 11px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .quick-access {
        margin-top: -30px;

        padding-bottom: 20px;
    }

    .quick-grid {
        gap: 10px;
    }

    .quick-card {
        padding: 17px 14px;
    }

    .quick-icon {
        width: 38px;
        height: 38px;

        font-size: 15px;

        margin-bottom: 10px;
    }

    .quick-card h3 {
        font-size: 13px;
    }

    .quick-card p {
        font-size: 10px;
    }

    .quick-card a {
        font-size: 10px;
    }

}

/*=========================================
            ABOUT SECTION
=========================================*/

.about{
    padding:100px 0;
    background:#fff;
}

.about-grid{
    display:grid;
    grid-template-columns:1.05fr 1fr;
    gap:80px;
    align-items:center;
}

/* LEFT SIDE */

.about-image{
    position:relative;
}

.about-image img{
    width:100%;
    height:620px;
    object-fit:cover;
    border-radius:24px;
    display:block;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

/* Image placeholder (remove later when using real image) */

.about-image img:not([src]),
.about-image img[src=""]{
    background:#eef4f9;
    min-height:620px;
}

/* RIGHT SIDE */

.about-content{
    max-width:620px;
}

.section-tag{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 20px;
    background:rgba(212,160,23,.10);
    color:var(--accent);
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:25px;
}

.about-content h2{
    font-size:50px;
    line-height:1.15;
    color:var(--primary);
    margin-bottom:25px;
    font-weight:700;
}

.about-content p{
    font-size:17px;
    line-height:1.9;
    color:#5f6f81;
    margin-bottom:20px;
}

/* FEATURES */

.about-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin:40px 0;
}

.feature-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px;
    background:#f8fbff;
    border:1px solid #edf2f7;
    border-radius:16px;
    transition:.35s;
}

.feature-item:hover{
    transform:translateY(-6px);
    border-color:var(--accent);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.feature-item i{
    width:52px;
    height:52px;
    border-radius:14px;
    background:rgba(0,74,153,.08);
    color:var(--primary);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
}

.feature-item span{
    font-size:15px;
    font-weight:600;
    color:var(--primary);
}

/* BUTTON */

.about .btn{
    margin-top:10px;
}

/*=========================================
            SERVICES SECTION
=========================================*/

.services{
    padding:100px 0;
    background:#f8fbff;
}

.section-header{
    max-width:700px;
    margin:0 auto 60px;
    text-align:center;
}

.section-header h2{
    font-size:48px;
    color:var(--primary);
    margin:20px 0;
    line-height:1.2;
}

.section-header p{
    color:var(--text-light);
    line-height:1.8;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.service-card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    background:#fff;
    border-radius:20px;
    padding:35px 30px;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    border:1px solid #edf2f7;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.10);
    border-color:var(--accent);
}

.service-icon{
    width:75px;
    height:75px;
    border-radius:18px;
    background:rgba(0,74,153,.08);
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.service-icon i{
    font-size:30px;
    color:var(--primary);
}

.service-card h3{
    font-size:24px;
    color:var(--primary);
    margin-bottom:15px;
}

.service-card p{
    color:var(--text-light);
    line-height:1.8;
    margin-bottom:25px;
    flex:1;
}

.service-card span{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    color:var(--accent);
}

.service-card:hover span{
    color:var(--primary);
}

.services-footer{
    text-align:center;
    margin-top:60px;
}

/* =========================================
        DOCTORS SECTION
========================================= */

.doctors {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        #003b75 0%,
        #0056a6 100%
    );
}


/* HEADER */

.doctors .section-header {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.doctors .section-header h2 {
    color: #fff;
}

.doctors .section-header p {
    color: rgba(255,255,255,.82);
}

.doctors .section-tag {
    background: rgba(255,255,255,.10);
    color: var(--accent);
    border: 1px solid rgba(255,255,255,.12);
}


/* =========================================
        GRID
========================================= */

.doctors-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}


/* =========================================
        CARD
========================================= */

.doctor-card {
    position: relative;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(0,0,0,.20);
}


/* =========================================
        IMAGE
========================================= */

.doctor-image {
    position: relative;

    height: 300px;

    overflow: hidden;

    background: #edf3f8;
}

.doctor-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    display: block;

    transition: transform .6s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.06);
}


/* =========================================
        IMAGE OVERLAY
========================================= */

.doctor-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;
    justify-content: flex-end;

    padding: 18px;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0,35,70,.35) 100%
        );
}

.doctor-overlay span {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.92);

    color: var(--primary);

    box-shadow:
        0 8px 20px rgba(0,0,0,.15);

    transform: translateY(10px);

    opacity: 0;

    transition: .35s ease;
}

.doctor-card:hover .doctor-overlay span {
    transform: translateY(0);

    opacity: 1;
}


/* =========================================
        CONTENT
========================================= */

.doctor-content {
    padding: 22px 22px 24px;

    text-align: center;
}


/* SPECIALTY */

.doctor-title {
    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .05em;

    text-transform: uppercase;
}


/* NAME */

.doctor-content h3 {
    margin: 0;

    color: var(--primary);

    font-family: 'Poppins', sans-serif;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 700;
}


/* SMALL ACCENT LINE */

.doctor-line {
    width: 35px;

    height: 3px;

    margin: 14px auto 0;

    border-radius: 10px;

    background: var(--accent);

    transition: width .35s ease;
}

.doctor-card:hover .doctor-line {
    width: 60px;
}


/* =========================================
        FOOTER BUTTON
========================================= */

.doctors-footer {
    margin-top: 50px;

    text-align: center;
}

.doctors-footer .btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;
}


/* =========================================
        TABLET
========================================= */

@media (max-width: 1100px) {

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 25px;
    }

}


/* =========================================
        MOBILE
========================================= */

@media (max-width: 600px) {

    .doctors {
        padding: 75px 0;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

    .doctor-image {
        height: 220px;
    }

    .doctor-content {
        padding: 17px 12px 20px;
    }

    .doctor-title {
        font-size: 9px;

        line-height: 1.4;
    }

    .doctor-content h3 {
        font-size: 16px;
    }

    .doctor-line {
        margin-top: 10px;
    }

    .doctor-overlay {
        display: none;
    }

}


/* =========================================
        VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-image {
        height: 280px;
    }

}

/*=========================================
        TESTIMONIALS
=========================================*/

.testimonials{
    padding:100px 0;
    background:#f8fbff;
}

.testimonialSwiper{
    margin-top:60px;
}

.testimonial-card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    border:1px solid #edf2f7;
}

.stars{
    color:var(--accent);
    margin-bottom:20px;
}

.testimonial-card p{
    line-height:1.9;
    color:var(--text-light);
    font-style:italic;
    margin-bottom:25px;
}

.testimonial-card h4{
    color:var(--primary);
    margin-bottom:5px;
}

.testimonial-card span{
    color:var(--text-light);
}


/*=========================================
            GALLERY SECTION
=========================================*/

.gallery{
    padding:100px 0 90px;
    background:#fff;
    overflow:hidden;
}

.gallery .section-header{
    max-width:760px;
    margin-bottom:60px;
}

.gallery .section-header h2 span{
    color:var(--accent);
}


/*=========================================
            GALLERY MARQUEE
=========================================*/

.gallery-marquee{
    width:100%;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    gap:18px;
}


/*=========================================
            GALLERY TRACK
=========================================*/

.gallery-track{
    display:flex;
    width:max-content;

    gap:18px;

    will-change:transform;
}


/*=========================================
            GALLERY IMAGE
=========================================*/

.gallery-image{
    position:relative;

    width:260px;
    height:190px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:16px;

    background:#edf3f8;
}

.gallery-image img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .5s ease;
}


/*=========================================
            HOVER
=========================================*/

.gallery-image:hover img{
    transform:scale(1.08);
}


/*=========================================
            ANIMATION
=========================================*/

.gallery-track-right{
    animation:galleryMoveRight 35s linear infinite;
}

.gallery-track-left{
    animation:galleryMoveLeft 40s linear infinite;
}


@keyframes galleryMoveRight{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}


@keyframes galleryMoveLeft{

    from{
        transform:translateX(-50%);
    }

    to{
        transform:translateX(0);
    }

}


/*=========================================
            PAUSE ON HOVER
=========================================*/

.gallery-marquee:hover .gallery-track{
    animation-play-state:paused;
}


/*=========================================
            TABLET
=========================================*/

@media(max-width:992px){

    .gallery{
        padding:80px 0;
    }

    .gallery .section-header{
        margin-bottom:45px;
    }

    .gallery-image{
        width:220px;
        height:165px;
    }

    .gallery-marquee{
        gap:14px;
    }

    .gallery-track{
        gap:14px;
    }

}


/*=========================================
            MOBILE
=========================================*/

@media(max-width:768px){

    .gallery{
        padding:70px 0;
    }

    .gallery .section-header{
        margin-bottom:35px;
    }

    .gallery-image{
        width:180px;
        height:135px;

        border-radius:12px;
    }

    .gallery-track{
        gap:10px;
    }

    .gallery-marquee{
        gap:10px;
    }

    .gallery-track-right{
        animation-duration:30s;
    }

    .gallery-track-left{
        animation-duration:34s;
    }

}


/*=========================================
            SMALL MOBILE
=========================================*/

@media(max-width:480px){

    .gallery{
        padding:60px 0;
    }

    .gallery-image{
        width:155px;
        height:115px;

        border-radius:10px;
    }

}

/*=========================================
            CTA SECTION
=========================================*/

.cta{
    position:relative;
    padding:90px 0;
    background:#003b75;
    overflow:hidden;
}

/* Background image */
.cta::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:55%;
    height:100%;

    background-image:url("../images/cta/medical-team.jpg");
    background-size:cover;
    background-position:center;

    opacity:.16;
}

/* Fade image into blue */
.cta::after{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        #003b75 0%,
        rgba(0,59,117,.96) 40%,
        rgba(0,59,117,.70) 75%,
        rgba(0,59,117,.45) 100%
    );
}

.cta .container{
    position:relative;
    z-index:2;
}

.cta-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.cta-text{
    max-width:700px;
}

.cta .section-tag{
    background:rgba(255,255,255,.10);
    color:var(--accent);
    border:1px solid rgba(255,255,255,.12);
}

.cta h2{
    color:#fff;
    font-size:48px;
    line-height:1.2;
    margin:20px 0;
}

.cta p{
    color:rgba(255,255,255,.85);
    font-size:17px;
    line-height:1.8;
    max-width:650px;
}

.cta-buttons{
    display:flex;
    gap:15px;
    flex-shrink:0;
}

.cta-buttons .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    white-space:nowrap;
}

.cta-buttons .btn-primary{
    background:var(--accent);
    color:#fff;
}

.cta-buttons .btn-primary:hover{
    background:#fff;
    color:var(--primary);
}

.cta-buttons .btn-outline{
    color:#fff;
    border-color:rgba(255,255,255,.5);
}

.cta-buttons .btn-outline:hover{
    background:#fff;
    color:var(--primary);
}


/*=========================================
            STATISTICS SECTION
=========================================*/

.statistics{
    padding:75px 0;
    background:var(--accent);
}

.statistics-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.stat-item{
    text-align:center;
    color:var(--primary);
    padding:20px;
    border-right:1px solid rgba(0,63,125,.20);
}

.stat-item:last-child{
    border-right:none;
}

.stat-icon{
    width:65px;
    height:65px;
    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(250, 250, 250, 0.1);
    color:var(--primary);

    font-size:25px;
}

.stat-item h2{
    font-size:42px;
    line-height:1;
    margin-bottom:12px;
    color:var(--primary);
}

.stat-item p{
    margin:0;
    color:rgba(255, 255, 255, 0.85);
    font-size:16px;
    font-weight:600;
}

/*=========================================
                FOOTER
=========================================*/

.site-footer{
    background:#062d55;
    color:#fff;
    padding-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.2fr;
    gap:50px;
    padding-bottom:60px;
}

/* Logo */

.footer-logo{
    display:inline-block;
    text-decoration:none;
    color:#fff;
    font-size:28px;
    font-weight:800;
    margin-bottom:20px;
}

.footer-logo span{
    color:var(--accent);
}

.footer-about p{
    max-width:320px;
    color:rgba(255,255,255,.72);
    line-height:1.8;
    margin-bottom:25px;
}

/* Headings */

.site-footer h3{
    color:#fff;
    font-size:18px;
    margin-bottom:25px;
}

/* Links */

.footer-links{
    display:flex;
    flex-direction:column;
    gap:13px;
}

.footer-links a{
    color:rgba(255,255,255,.72);
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--accent);
    padding-left:5px;
}

/* Contact */

.footer-contact p{
    display:flex;
    align-items:flex-start;
    gap:12px;
    color:rgba(255,255,255,.72);
    line-height:1.6;
    margin-bottom:16px;
}

.footer-contact i{
    color:var(--accent);
    margin-top:4px;
}

/* Social */

.footer-socials{
    display:flex;
    gap:12px;
}

.footer-socials a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.10);
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.footer-socials a:hover{
    background:var(--accent);
    color:var(--primary);
}

/* Bottom */

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    padding:22px 0;
}

.footer-bottom .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.footer-bottom p{
    margin:0;
    color:rgba(255,255,255,.60);
    font-size:14px;
}