/* gallery
*/ 
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
    margin-top:50px;
}

.gallery-item{
    overflow:hidden;
    border-radius:28px;
    background:#fff;
    aspect-ratio:1;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.gallery-item.large{
    grid-column:span 2;
    grid-row:span 2;
    aspect-ratio:auto;
    min-height:520px;
}

.gallery-item.wide{
    grid-column:span 2;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.5s ease;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

@media (max-width:991px){

.gallery-grid{
    grid-template-columns:repeat(2,1fr);
}

.gallery-item.large,
.gallery-item.wide{
    grid-column:span 2;
    min-height:420px;
}

}

@media (max-width:767px){

.gallery-grid{
    grid-template-columns:1fr;
}

.gallery-item,
.gallery-item.large,
.gallery-item.wide{
    grid-column:auto;
    min-height:300px;
}

}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    cursor:pointer;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* Lightbox */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
    padding:40px;
}

.lightbox.show{
    opacity:1;
    visibility:visible;
}

.lightbox img{
    max-width:95%;
    max-height:90vh;
    border-radius:18px;
    object-fit:contain;
    animation:zoom .35s ease;
}

.lightbox-close{
    position:absolute;
    top:30px;
    right:40px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#000;
    font-size:32px;
    cursor:pointer;
}

@keyframes zoom{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}
/*gallery end*/
/*about css*/

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.section-heading{
text-align:center;
margin-bottom:70px;
}

.section-heading span{
color:#C5342E;
font-weight:700;
letter-spacing:2px;
}

.section-heading h2{
font-size:48px;
margin:15px 0;
}

.section-heading p{
max-width:700px;
margin:auto;
color:#666;
line-height:1.8;
}

.doctor-profile{
display:grid;
grid-template-columns:400px 1fr;
gap:70px;
align-items:center;
margin-bottom:90px;
}

.doctor-image img{
width:100%;
border-radius:25px;
box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.doctor-content h3{
font-size:42px;
margin-bottom:10px;
}

.doctor-content h5{
color:#C5342E;
margin-bottom:25px;
font-size:20px;
}

.doctor-content p{
line-height:1.9;
color:#666;
}

.qualification-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
margin-top:35px;
}

.qualification-grid div{
background:white;
padding:25px;
border-radius:18px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.qualification-grid h4{
font-size:30px;
color:#C5342E;
}

.timeline-title{
text-align:center;
margin:80px 0 50px;
}

.timeline{
border-left:4px solid #C5342E;
margin:auto;
max-width:850px;
padding-left:40px;
}

.timeline-item{
position:relative;
background:white;
padding:25px;
margin-bottom:30px;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.timeline-item::before{
content:"";
width:18px;
height:18px;
background:#C5342E;
border-radius:50%;
position:absolute;
left:-51px;
top:30px;
}

.timeline-item span{
color:#C5342E;
font-weight:700;
}

.education-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
margin-top:50px;
}

.edu-card{
background:white;
padding:30px;
border-radius:18px;
box-shadow:0 15px 30px rgba(0,0,0,.08);
transition:.3s;
}

.edu-card:hover{
transform:translateY(-8px);
}

.edu-card h4{
color:#C5342E;
margin-bottom:10px;
}

.edu-card span{
display:block;
margin-top:15px;
font-weight:700;
}

@media(max-width:991px){

.doctor-profile{
grid-template-columns:1fr;
}

.education-grid{
grid-template-columns:1fr;
}

.qualification-grid{
grid-template-columns:1fr;
}

.section-heading h2{
font-size:36px;
}

.doctor-content h3{
font-size:32px;
}

}


.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons .brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icons .brand-mark i {
    color: #fff;
    font-size: 15px;
}
/*    about css end*/