/*=========================================
GLOBAL
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
}

section{
    padding:70px 8%;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/*=========================================
HERO
=========================================*/

.doctor-hero{

    background:linear-gradient(rgba(0,120,90,.82),rgba(0,120,90,.82)),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1600");

    background-size:cover;
    background-position:center;

    color:white;

}

.overlay{

    padding:90px 0;

}

.hero-content{

    max-width:850px;
    margin:auto;
    text-align:center;

}

.hero-content h1{

    font-size:48px;
    margin-bottom:20px;

}

.hero-content p{

    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

}

.hero-btn,
.hero-btn-outline{

    padding:14px 35px;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;

}

.hero-btn{

    background:#fff;
    color:#087f5b;

}

.hero-btn:hover{

    background:#087f5b;
    color:#fff;

}

.hero-btn-outline{

    border:2px solid white;
    color:white;

}

.hero-btn-outline:hover{

    background:white;
    color:#087f5b;

}

/*=========================================
STATISTICS
=========================================*/

.doctor-stats{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:-40px;

}

.stat-card{

    background:white;
    border-radius:15px;
    text-align:center;
    padding:35px 20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-card i{

    font-size:45px;
    color:#087f5b;
    margin-bottom:15px;

}

.stat-card h2{

    color:#087f5b;
    margin-bottom:10px;

}

/*=========================================
SEARCH
=========================================*/

.doctor-search{

    background:white;

}

.doctor-search h2{

    text-align:center;
    color:#087f5b;
    margin-bottom:10px;

}

.doctor-search p{

    text-align:center;
    color:#666;
    margin-bottom:40px;

}

.search-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

}

.form-group{

    display:flex;
    flex-direction:column;

}

.form-group label{

    margin-bottom:8px;
    font-weight:bold;

}

.form-group input,
.form-group select{

    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    font-size:15px;

}

.form-group input:focus,
.form-group select:focus{

    border-color:#087f5b;

}

.search-btn{

    padding:14px;
    border:none;
    background:#087f5b;
    color:white;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;

}

.search-btn:hover{

    background:#066747;

}

/*=========================================
DOCTORS
=========================================*/

.doctor-section{

    background:#f5f7fa;

}

.doctor-section h2{

    text-align:center;
    color:#087f5b;
    margin-bottom:10px;

}

.doctor-section>p{

    text-align:center;
    color:#666;
    margin-bottom:45px;

}

.doctor-container{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.doctor-card{

    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;

}

.doctor-card:hover{

    transform:translateY(-10px);

}

.doctor-image{

    position:relative;
    height:280px;

}

.doctor-image img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.verified-badge{

    position:absolute;
    top:15px;
    right:15px;

    background:#28a745;
    color:white;

    padding:8px 14px;

    border-radius:30px;

    font-size:13px;

}

.doctor-body{

    padding:25px;

}

.doctor-body h3{

    color:#087f5b;
    margin-bottom:18px;

}

.doctor-body p{

    margin:12px 0;
    line-height:1.7;

}

.doctor-body i{

    color:#087f5b;
    width:25px;

}

.specialization{

    color:#087f5b;
    font-weight:bold;

}

.doctor-fee{

    margin-top:20px;
    margin-bottom:20px;

    background:#f5fff9;

    border-left:5px solid #087f5b;

    padding:15px;

    border-radius:8px;

}

.doctor-fee h2{

    color:#087f5b;
    margin-top:5px;

}

.doctor-bio{

    margin-top:20px;
    color:#555;
    line-height:1.8;

}

.doctor-buttons{

    margin-top:30px;

    display:flex;

    gap:10px;

}

.profile-btn,
.book-btn{

    flex:1;

    padding:13px;

    border-radius:8px;

    text-align:center;

    color:white;

    font-weight:bold;

}

.profile-btn{

    background:#0d6efd;

}

.profile-btn:hover{

    background:#0b5ed7;

}

.book-btn{

    background:#087f5b;

}

.book-btn:hover{

    background:#066747;

}

/*=========================================
NO DOCTOR
=========================================*/

.no-doctor{

    background:white;
    padding:70px;
    border-radius:15px;
    text-align:center;
    grid-column:1/-1;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.no-doctor i{

    font-size:80px;
    color:#087f5b;
    margin-bottom:20px;

}

.reset-btn{

    display:inline-block;
    margin-top:25px;
    padding:13px 30px;
    background:#087f5b;
    color:white;
    border-radius:30px;

}

/*=========================================
WHY SECTION
=========================================*/

.why-doctors{

    background:white;

}

.why-doctors h2{

    text-align:center;
    color:#087f5b;
    margin-bottom:40px;

}

.why-container{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}

.why-box{

    background:#f8f9fa;
    border-radius:15px;
    padding:30px;
    text-align:center;
    transition:.3s;

}

.why-box:hover{

    transform:translateY(-8px);

}

.why-box i{

    font-size:42px;
    color:#087f5b;
    margin-bottom:18px;

}

.why-box h3{

    margin-bottom:15px;

}

/*=========================================
CTA
=========================================*/

.doctor-cta{

    background:#087f5b;
    color:white;
    text-align:center;

}

.doctor-cta h2{

    font-size:36px;
    margin-bottom:20px;

}

.doctor-cta p{

    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    line-height:1.8;

}

.cta-btn{

    display:inline-block;
    background:white;
    color:#087f5b;
    padding:15px 40px;
    border-radius:35px;
    font-weight:bold;
    transition:.3s;

}

.cta-btn:hover{

    background:#f2f2f2;

}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:1200px){

.doctor-container,
.why-container,
.search-grid,
.doctor-stats{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.hero-content h1{

font-size:35px;

}

.hero-buttons{

flex-direction:column;

}

.doctor-container,
.why-container,
.search-grid,
.doctor-stats{

grid-template-columns:1fr;

}

.doctor-buttons{

flex-direction:column;

}

section{

padding:50px 5%;

}

}