﻿/*====================================
        PATIENT HERO
====================================*/

.patient-hero{

    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;

    background:
    linear-gradient(rgba(8,33,60,.82),rgba(8,33,60,.60)),
    url("../Images/banner/patient-banner.jpg");

    background-size:cover;
    background-position:center;

    overflow:hidden;

}

.patient-hero::before{

    content:"";
    position:absolute;
    width:650px;
    height:650px;
    right:-180px;
    top:-150px;
    border-radius:50%;
    background:
    radial-gradient(circle,
    rgba(255,255,255,.10),
    transparent 70%);

}

.hero-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
    90deg,
    rgba(4,22,48,.85),
    rgba(4,22,48,.55),
    rgba(4,22,48,.18));

}

.hero-content{

    position:relative;
    z-index:10;
   color:#fff;
    max-width:650px;
    padding-top:90px;

}

.hero-badge{

    display:inline-block;
    padding:10px 24px;
    border-radius:30px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    color:#fff;
    margin-bottom:25px;
    letter-spacing:2px;
    font-size:14px;

}

.hero-content h1{

    font-size:70px;
    font-weight:800;
    line-height:1.05;
    margin-bottom:25px;

}

.hero-content h1 span{

    color:#79b9ff;

}

.hero-content p{

    font-size:20px;
    line-height:36px;
    color:#eef5ff;
    margin-bottom:40px;

}

.hero-buttons{

    display:flex;
    gap:20px;
    flex-wrap:wrap;

}

.hero-buttons .btn{

    border-radius:40px;
    padding:14px 34px;
    font-weight:600;

}

.patient-highlights{

    display:flex;
    gap:50px;
    margin-top:60px;

}


.patient-highlights span{

    color:#d8e6ff;

}

.hero-image{

    position:relative;
    z-index:5;
    text-align:center;

}

.hero-image img{

    max-width:95%;
    animation:floatImage 5s ease-in-out infinite;

}

@keyframes floatImage{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0px);

    }

}

@media(max-width:991px){

.hero-content{

    text-align:center;
    padding-top:130px;

}

.hero-content h1{

    font-size:48px;

}


.hero-buttons{

    justify-content:center;

}

.hero-image{

    margin-top:50px;

}

}

@media(max-width:576px){

.hero-content h1{

    font-size:36px;

}

.hero-content p{

    font-size:17px;
    line-height:30px;

}
}


/*==========================================
        PATIENT SERVICES
==========================================*/

.patient-services{
    padding:30px 0;
    background:linear-gradient(to bottom,#f8fbff,#ffffff);
    position:relative;
    overflow:hidden;
}

/* Background Circles */

.patient-services::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    left:-180px;
    top:-120px;
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(13,110,253,.08),
        transparent 70%);
}

.patient-services::after{
    content:"";
    position:absolute;
    width:550px;
    height:550px;
    right:-250px;
    bottom:-220px;
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(0,180,216,.08),
        transparent 70%);
}

/*=========================
    Heading
==========================*/

.section-heading{
    position:relative;
    z-index:2;
    max-width:800px;
    margin:auto;
}

.section-heading span{
    display:inline-block;
    padding:8px 22px;
    border-radius:30px;
    background:#edf5ff;
    color:#0d6efd;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:18px;
}

.section-heading h2{
    font-size:46px;
    font-weight:700;
    color:#183153;
    margin-bottom:18px;
}

.section-heading p{
    color:#666;
    font-size:18px;
    line-height:32px;
}

/*=========================
        Card
==========================*/

.service-card{

    display:block;
    height:100%;
    background:#fff;
    border-radius:22px;
    padding:40px 32px;
    text-decoration:none;
    position:relative;
    overflow:hidden;
    transition:.4s;
    border:1px solid #eef3fb;
    box-shadow:0 12px 35px rgba(0,0,0,.06);

}

/* Top Gradient */

.service-card::before{

    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg,#0d6efd,#00b4d8);
    transform:scaleX(0);
    transform-origin:left;
    transition:.4s;

}

/* Hover */

.service-card:hover{

    transform:translateY(-12px);
    box-shadow:0 20px 55px rgba(13,110,253,.18);
    text-decoration:none;

}

.service-card:hover::before{

    transform:scaleX(1);

}

/*=========================
        Icon
==========================*/

.service-icon{

    width:78px;
    height:78px;
    border-radius:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#edf6ff;
    color:#0d6efd;
    font-size:30px;
    margin-bottom:28px;
    transition:.4s;

}

.service-card:hover .service-icon{

    background:#0d6efd;
    color:#fff;
    transform:rotate(-10deg) scale(1.08);

}

/*=========================
        Text
==========================*/

.service-card h4{

    font-size:24px;
    font-weight:700;
    color:#183153;
    margin-bottom:15px;

}

.service-card p{

    color:#666;
    line-height:30px;
    margin-bottom:30px;
    font-size:16px;

}

.service-card span{

    color:#0d6efd;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:10px;

}

.service-card span i{

    transition:.3s;

}

.service-card:hover span i{

    transform:translateX(8px);

}

/*=========================
    Responsive
==========================*/

@media(max-width:991px){

.section-heading h2{

    font-size:36px;

}

.service-card{

    padding:30px;

}

}

@media(max-width:576px){

.patient-services{

    padding:70px 0;

}

.section-heading h2{

    font-size:30px;

}

.section-heading p{

    font-size:16px;
    line-height:28px;

}

.service-icon{

    width:65px;
    height:65px;
    font-size:26px;

}

.service-card h4{

    font-size:22px;

}

}

