
.logo{font-size:34px;font-weight:700;color:#023047}
.logo span{color:#00b4d8}
header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:#fff;padding:20px 8%;display:flex;justify-content:space-between;align-items:center;box-shadow:0 5px 20px rgba(0,0,0,.08)}
nav{display:flex;align-items:center;gap:35px}
nav a{text-decoration:none;color:#023047;font-size:18px;font-weight:500;line-height:1;transition:.3s;position:relative}
nav a:hover,nav a.active{color:#00b4d8}
nav a.active::after,nav a:hover::after{content:"";position:absolute;width:100%;height:3px;background:#00b4d8;left:0;bottom:-8px}
@media(max-width:768px){header{flex-direction:column;padding:20px}.logo{font-size:28px;margin-bottom:15px}nav{flex-wrap:wrap;justify-content:center;gap:12px}nav a{font-size:14px}}


/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f8fbff;
    color:#333;
}

/* =========================
   HEADER
========================= */



.logo{
    font-size:34px;
    font-weight:700;
    color:#023047;
}

.logo span{
    color:#00b4d8;
}


header{
    position:sticky;
    top:0;
    z-index:1000;

    background:white;
    padding:20px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    box-shadow:0 4px 20px rgba(0,0,0,.08);
}

header h2{
    color:#0077b6;
    font-size:32px;
    font-weight:700;
}

nav{
    display:flex;
    align-items:center;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#023047;
    font-size:18px;
    font-weight:500;
    transition:.3s;
    position:relative;
}

nav a:hover{
    color:#0077b6;
}

nav a.active{
    color:#0077b6;
}

nav a.active::after,
nav a:hover::after{
    content:"";
    position:absolute;
    width:100%;
    height:3px;
    background:#00b4d8;
    left:0;
    bottom:-8px;
}
/* =========================
   BANNER
========================= */

.page-banner{
    height:55vh;

    background:
    linear-gradient(
    rgba(0,119,182,.85),
    rgba(0,180,216,.85)
    ),
    url("images/hospital-banner.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;
}

.banner-content h1{
    font-size:65px;
    margin-bottom:20px;
}

.banner-content p{
    max-width:700px;
    margin:auto;
    font-size:20px;
}

/* =========================
   INTRO
========================= */

.department-intro{
    padding:90px 10%;
    text-align:center;
}

.department-intro h2{
    font-size:42px;
    color:#0077b6;
    margin-bottom:20px;
}

.department-intro p{
    max-width:850px;
    margin:auto;
    line-height:1.8;
    font-size:18px;
}

/* =========================
   DEPARTMENTS
========================= */

.departments-container{
    padding:50px 8% 100px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.department-card{
    background:white;
    border-radius:25px;

    padding:35px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;
}

.department-card:hover{
    transform:translateY(-12px);
}

.department-icon{
    font-size:55px;
    margin-bottom:20px;
}

.department-card h3{
    color:#0077b6;
    margin-bottom:15px;
    font-size:28px;
}

.department-card p{
    line-height:1.8;
    margin-bottom:15px;
}

.department-card ul{
    margin:20px 0;
    padding-left:20px;
}

.department-card ul li{
    margin-bottom:10px;
}

.btn{
    display:inline-block;

    background:linear-gradient(
    135deg,
    #0077b6,
    #00b4d8
    );

    color:white;
    text-decoration:none;

    padding:14px 30px;
    border-radius:50px;

    transition:.3s;
}

.btn:hover{
    transform:scale(1.05);
}

/* =========================
   FEATURES
========================= */

.department-features{
    background:#eef8ff;
    padding:100px 8%;
}

.department-features h2{
    text-align:center;
    margin-bottom:60px;
    font-size:42px;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.feature-box{
    background:white;
    padding:30px;

    border-radius:20px;
    text-align:center;

    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.feature-box h3{
    color:#0077b6;
    margin-bottom:15px;
}

/* =========================
   CTA
========================= */

.cta-section{
    padding:100px 8%;
    text-align:center;

    background:
    linear-gradient(
    135deg,
    #0077b6,
    #00b4d8
    );

    color:white;
}

.cta-section h2{
    font-size:50px;
    margin-bottom:20px;
}

.cta-section p{
    margin-bottom:30px;
    font-size:20px;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#012a4a;
    color:white;

    padding:70px 8%;
}

.footer-content{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.footer-content h3{
    margin-bottom:15px;
}

footer hr{
    margin:40px 0;
    border:none;
    height:1px;
    background:rgba(255,255,255,.2);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:992px){

.appointment-section{
    grid-template-columns:1fr;
}

.footer-content{
    grid-template-columns:1fr;
}

.banner-content h1{
    font-size:45px;
}
}

@media(max-width:768px){

header{
    flex-direction:column;
    gap:15px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

.page-banner{
    height:40vh;
}

.banner-content h1{
    font-size:35px;
}
}