/*=========================================
GLOBAL SETTINGS
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Arial,sans-serif;
}


body{

    background:#f5f9fc;
    color:#333;

}


section{

    width:100%;
    padding:60px 7%;

}


h2.section-title,
.doctor-search h2,
.doctor-list h2{

    text-align:center;
    font-size:32px;
    color:#087f5b;
    margin-bottom:15px;

}


p{

    line-height:1.7;

}





/*=========================================
HERO SECTION
=========================================*/


.hero{

    height:500px;

    background:
    linear-gradient(
    rgba(0,120,90,.75),
    rgba(0,120,90,.75)
    ),
    url("../images/doctor-bg.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

    justify-content:center;

}



.hero-overlay{

    width:100%;

}



.hero-content{

    max-width:850px;

    margin:auto;

    text-align:center;

    color:white;

}



.hero-content h1{

    font-size:45px;

    margin-bottom:20px;

}



.hero-content p{

    font-size:18px;

    margin-bottom:30px;

}




.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

}



.hero-btn,
.hero-btn-outline{


    padding:14px 30px;

    border-radius:30px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}



.hero-btn{

    background:white;

    color:#087f5b;

}


.hero-btn-outline{

    border:2px solid white;

    color:white;

}



.hero-btn:hover,
.hero-btn-outline:hover{

    transform:translateY(-3px);

}





/*=========================================
STATISTICS
=========================================*/


.statistics{


display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

background:white;


}



.stat-box{


background:#fff;

padding:35px 20px;

text-align:center;

border-radius:15px;

box-shadow:0 5px 15px rgba(0,0,0,.1);

transition:.3s;


}



.stat-box:hover{

transform:translateY(-8px);

}



.stat-box i{


font-size:40px;

color:#087f5b;

margin-bottom:15px;

}



.stat-box h2{


font-size:32px;

color:#087f5b;


}






/*=========================================
DOCTOR SEARCH
=========================================*/


.doctor-search{


background:#ffffff;

}



.doctor-search p{


text-align:center;

margin-bottom:35px;

color:#666;

}



.search-grid{


display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

}




.form-group{


display:flex;

flex-direction:column;


}



.form-group label{


font-weight:bold;

margin-bottom:8px;


}




.form-group input,
.form-group select{


padding:14px;

border:1px solid #ddd;

border-radius:8px;

font-size:15px;

outline:none;


}



.form-group input:focus,
.form-group select:focus{


border-color:#087f5b;


}



.search-btn{


background:#087f5b;

color:white;

border:none;

padding:14px;

border-radius:8px;

font-size:16px;

cursor:pointer;

font-weight:bold;


}


.search-btn:hover{


background:#066747;


}






/*=========================================
DOCTOR LIST
=========================================*/


.doctor-list{


background:#f5f9fc;


}



.doctor-list>p{


text-align:center;

margin-bottom:40px;


}




.doctor-container{


display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;


}



.doctor-card{


background:white;

border-radius:15px;

overflow:hidden;

box-shadow:0 5px 15px rgba(0,0,0,.12);

transition:.3s;


}



.doctor-card:hover{


transform:translateY(-8px);


}



.doctor-image{


height:250px;

overflow:hidden;


}



.doctor-image img{


width:100%;

height:100%;

object-fit:cover;


}



.doctor-body{


padding:25px;


}



.doctor-body h3{


color:#087f5b;

font-size:22px;

margin-bottom:15px;


}



.doctor-body p{


margin:10px 0;

font-size:15px;


}



.doctor-body i{


color:#087f5b;

width:22px;

}



.specialization{


font-weight:bold;

color:#087f5b;

}



.fee{


font-size:22px;

font-weight:bold;

color:#e67e22;


}



.bio{


color:#666;

}



.doctor-buttons{


display:flex;

gap:10px;

margin-top:20px;


}



.doctor-buttons a{


flex:1;

padding:12px;

text-align:center;

border-radius:8px;

text-decoration:none;

font-weight:bold;

font-size:14px;


}



.btn-profile{


background:#e8f7f1;

color:#087f5b;


}



.btn-book{


background:#087f5b;

color:white;


}



.btn-book:hover{


background:#066747;


}







/*=========================================
WHY SECTION
=========================================*/


.why-section{


background:white;

}



.why-container,
.steps-container,
.tips-container{


display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;


}



.why-card,
.step-card,
.tip-card{


background:#fff;

padding:30px 20px;

text-align:center;

border-radius:15px;

box-shadow:0 5px 15px rgba(0,0,0,.1);


}



.why-card i,
.step-card i,
.tip-card i{


font-size:40px;

color:#087f5b;

margin-bottom:20px;


}



.why-card h3,
.step-card h3,
.tip-card h3{


margin-bottom:15px;

color:#333;


}






/*=========================================
HOW IT WORKS
=========================================*/


.steps-section{


background:#f5f9fc;


}



.step-number{


width:45px;

height:45px;

background:#087f5b;

color:white;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

margin:auto auto 15px;

font-size:20px;

font-weight:bold;


}







/*=========================================
HEALTH TIPS
=========================================*/


.tips-section{

background:white;

}





/*=========================================
ARTICLES
=========================================*/


.article-section{


background:#f5f9fc;


}



.article-container{


display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;


}



.article-card{


background:white;

border-radius:15px;

overflow:hidden;

box-shadow:0 5px 15px rgba(0,0,0,.1);


}



.article-card img{


width:100%;

height:220px;

object-fit:cover;


}



.article-body{


padding:25px;


}



.article-body h3{


color:#087f5b;

margin-bottom:15px;


}



.article-body a{


display:inline-block;

margin-top:15px;

color:#087f5b;

font-weight:bold;

text-decoration:none;


}





/*=========================================
CTA
=========================================*/


.cta-section{


background:#087f5b;

color:white;

text-align:center;


}



.cta-section h2{


font-size:35px;

margin-bottom:20px;


}



.cta-section p{


max-width:700px;

margin:auto;

margin-bottom:30px;


}



.cta-btn{


display:inline-block;

background:white;

color:#087f5b;

padding:15px 35px;

border-radius:30px;

text-decoration:none;

font-weight:bold;


}





/*=========================================
RESPONSIVE DESIGN
=========================================*/


@media(max-width:1100px){


.statistics,
.search-grid,
.doctor-container,
.why-container,
.steps-container,
.tips-container,
.article-container{


grid-template-columns:repeat(2,1fr);


}



}




@media(max-width:700px){


.hero-content h1{

font-size:30px;

}



.hero-buttons{


flex-direction:column;

}



.statistics,
.search-grid,
.doctor-container,
.why-container,
.steps-container,
.tips-container,
.article-container{


grid-template-columns:1fr;


}



section{

padding:40px 5%;

}



.doctor-buttons{

flex-direction:column;

}



}