/* =========================
   HOSPITAL ARCHIVE
========================= */

.hospital-archive{
    padding:100px 0;
    background:#f8fafc;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
}

.section-heading h1{
    font-size:42px;
    margin-bottom:15px;
    color:#0f172a;
}

.section-heading p{
    color:#64748b;
    font-size:18px;
}


/* =========================
   HOSPITAL GRID
========================= */

.hospital-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}


/* =========================
   HOSPITAL CARD
========================= */

.hospital-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s ease;

}


.hospital-card:hover{

    transform:translateY(-8px);
    box-shadow:0 25px 50px rgba(0,0,0,.12);

}


/* =========================
   IMAGE
========================= */

.hospital-image{

    height:240px;
    overflow:hidden;

}


.hospital-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;

}


.hospital-card:hover .hospital-image img{

    transform:scale(1.08);

}


/* =========================
   CONTENT
========================= */

.hospital-content{

    padding:25px;

}


.hospital-content h2{

    margin:0 0 15px;

}


.hospital-content h2 a{

    color:#0f172a;
    text-decoration:none;
    font-size:24px;

}


.hospital-content p{

    color:#64748b;
    line-height:1.7;
    margin-bottom:25px;

}


/* =========================
   BUTTON
========================= */

.hospital-btn{

    display:inline-block;
    padding:12px 25px;
    background:#14B8A6;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;

}


.hospital-btn:hover{

    background:#0f766e;
    color:#fff;

}


/* =========================
   RESPONSIVE
========================= */


@media(max-width:992px){

    .hospital-grid{

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:600px){

    .hospital-grid{

        grid-template-columns:1fr;

    }


    .section-heading h1{

        font-size:32px;

    }

}



/* =========================
   SINGLE HOSPITAL PAGE
========================= */

.hospital-single{
    padding:100px 0;
    background:#f8fafc;
}


.hospital-detail{
    background:#fff;
    border-radius:25px;
    padding:40px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}


/* Title */

.hospital-detail h1{
    font-size:42px;
    color:#0f172a;
    margin-bottom:30px;
}


/* Image */

.hospital-image{
    width:100%;
    height:450px;
    overflow:hidden;
    border-radius:20px;
    margin-bottom:35px;
}


.hospital-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}


/* Content */

.hospital-content{
    color:#475569;
    font-size:17px;
    line-height:1.8;
    margin-bottom:35px;
}


/* Info Box */

.hospital-info{

    background:#f1f5f9;
    padding:25px;
    border-radius:20px;

}


.hospital-info p{

    margin-bottom:15px;
    color:#334155;

}


.hospital-info strong{

    color:#0f172a;

}


.hospital-info a{

    color:#14B8A6;
    text-decoration:none;
    font-weight:600;

}


/* Mobile */

@media(max-width:768px){

    .hospital-detail{
        padding:25px;
    }


    .hospital-detail h1{
        font-size:32px;
    }


    .hospital-image{
        height:280px;
    }

}