.elementor-6171 .elementor-element.elementor-element-1956629{--display:flex;}.elementor-6171 .elementor-element.elementor-element-c7daa49{--display:flex;}.elementor-widget-image-gallery .gallery-item .gallery-caption{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-6171 .elementor-element.elementor-element-452305d .gallery-item{padding:0 15px 15px 0;}.elementor-6171 .elementor-element.elementor-element-452305d .gallery{margin:0 -15px -15px 0;}.elementor-6171 .elementor-element.elementor-element-452305d .gallery-item img{border-style:none;border-radius:12px 12px 12px 12px;}.elementor-6171 .elementor-element.elementor-element-452305d .gallery-item .gallery-caption{text-align:center;}.elementor-6171 .elementor-element.elementor-element-452305d{width:100%;max-width:100%;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-07ae5d3 */*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

.hospital-card{
    position:relative;
    width:100%;
    height:500px;
    overflow:hidden;
    border-radius:20px;
    cursor:pointer;
}

.hospital-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.8s ease;
}

.hospital-card:hover img{
    transform:scale(1.12);
}

.overlay{

    position:absolute;
    inset:0;

    display:flex;
    align-items:flex-end;

    padding:40px;

    background:
    linear-gradient(
        to top,
        rgba(0,38,77,.95) 0%,
        rgba(0,38,77,.70) 35%,
        rgba(0,38,77,.20) 70%,
        transparent 100%
    );

    transition:.5s;
}

.content{
    max-width:520px;
    transform:translateY(25px);
    transition:.5s;
}

.hospital-card:hover .content{
    transform:translateY(0);
}

.badge{

    display:inline-block;

    background:#00AEEF;
    color:#fff;

    padding:8px 18px;

    border-radius:40px;

    font-size:13px;
    font-weight:600;
    letter-spacing:1px;

    margin-bottom:18px;
}

.content h2{

    color:#fff;

    font-size:46px;
    line-height:1.1;

    margin-bottom:18px;

    font-weight:700;
}

.content p{

    color:#f5f5f5;

    font-size:17px;

    line-height:1.8;

    margin-bottom:30px;
}

.btn{

    display:inline-block;

    text-decoration:none;

    background:#fff;

    color:#003366;

    padding:14px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.4s;
}

.btn:hover{

    background:#00AEEF;

    color:#fff;

}

@media(max-width:768px){

.hospital-card{
    height:350px;
}

.overlay{
    padding:20px;
}

.content h2{
    font-size:30px;
}

.content p{
    font-size:14px;
}

.btn{
    padding:12px 20px;
    font-size:14px;
}

}/* End custom CSS */
/* Start custom CSS for image-gallery, class: .elementor-element-452305d *//* ===========================
   Hospital Gallery Page CSS
   =========================== */

.gallery-section {
    padding: 60px 5%;
    background: #f7f9fc;
}

.gallery-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0b5fa5;
    margin-bottom: 15px;
}

.gallery-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all .35s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-content {
    padding: 18px;
}

.gallery-content h4 {
    color: #0b5fa5;
    font-size: 20px;
    margin-bottom: 8px;
}

.gallery-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Image Overlay */

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,95,165,.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .3s;
}

.gallery-overlay a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 22px;
    border: 2px solid #fff;
    border-radius: 30px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Responsive */

@media (max-width:768px){

.gallery-title{
    font-size:28px;
}

.gallery-grid{
    grid-template-columns:1fr;
}

.gallery-item img{
    height:220px;
}

}/* End custom CSS */