/* =========================================
   HERO SECTION
========================================= */

.hero-section {

    position: relative;

    min-height: 100vh;
    padding-top: 120px;
    overflow: hidden;

    display: flex;

    align-items: center;

    background-size: cover;

    background-position: center;

}


/* Overlay */

.hero-overlay {

    position: absolute;

    inset: 0;

    background: rgba(7, 33, 72, .55);

}


/* Container */

.hero-container {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    min-height: calc(100vh - 120px);

}



/* =========================================
   CONTENT
========================================= */


.hero-content {

    flex: 1;

    color: #fff;

    padding-top: 40px;

}


.hero-subtitle {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 50px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(10px);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 25px;

}



.hero-content h1 {

    font-size: 56px;

    line-height: 1.15;

    font-weight: 700;

    margin: 0 0 25px;

}



.hero-content p {


    max-width: 560px;

    font-size: 18px;

    line-height: 1.7;

    color: #e2e8f0;

    margin-bottom: 35px;

}



/* =========================================
   BUTTONS
========================================= */


.hero-buttons {

    display: flex;

    gap: 15px;

}



.btn-primary,
.btn-outline {


    padding: 14px 32px;

    border-radius: 50px;

    font-weight: 600;

    text-decoration: none;

    transition: .3s;

}



.btn-primary {

    background: #1461b8;

    color: #fff;

}


.btn-primary:hover {

    transform: translateY(-3px);

}



.btn-outline {


    border: 2px solid #fff;

    color: #fff;

}


.btn-outline:hover {


    background: #fff;

    color: #0f172a;

}



/* =========================================
   DOCTOR IMAGE
========================================= */


.hero-image {


    flex: 1;

    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: flex-end;

}



.hero-image img {


    max-width: 540px;

    width: 100%;

    height: auto;

    display: block;

    align-self: flex-end;

}






/* =========================================
   TABLET
========================================= */


@media(max-width:991px) {


    .hero-section {

        min-height: auto;

        padding-bottom: 0;

    }


    .hero-container {

        height: auto;

        /* Bottom padding removed so the image can sit flush
           against the section's bottom edge, no trailing gap. */
        padding: 120px 0 0;

    }


    .hero-content h1 {

        font-size: 44px;

    }


    .hero-image img {

        max-width: 420px;

    }


}





/* =========================================
   MOBILE
========================================= */


@media(max-width:768px) {


    .hero-section {

        padding-bottom: 0;

    }


    .hero-container {

        flex-direction: column;

        text-align: center;

    }


    .hero-content {

        padding-top: 0;

    }


    .hero-content h1 {

        font-size: 34px;

    }


    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;

    }


    .hero-image {

        width: 100%;

        align-items: flex-end;

        margin-bottom: 0;

    }


    .hero-image img {

        /* Horizontal centering only - no vertical auto margin,
           so the image sits flush against the bottom edge
           instead of floating with empty space beneath it. */
        margin: 0 auto;

        display: block;

    }



}