/* Banner */

.about-banner{

    position:relative;

    width:100%;

    height:330px;

    background:url("https://drmdssasidharan.com/wp-content/uploads/2024/04/patient-resources.jpg") center center/cover no-repeat;

    display:flex;

    align-items:center;

}

.overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.45);

}

.banner-content{

    position:relative;

    z-index:2;

    margin-left:80px;

}

.banner-content h1{

    color:#fff;

    font-size:58px;

    font-weight:700;

    margin-bottom:20px;

}

.line{

    width:160px;

    height:3px;

    background:#fff;

}



/* Tablet */

@media(max-width:992px){

.banner-content{

margin-left:50px;

}

.banner-content h1{

font-size:42px;

}

}

/* Mobile */

@media(max-width:768px){

.about-banner{

height:240px;

}

.banner-content{

margin-left:25px;

}

.banner-content h1{

font-size:34px;

}

.line{

width:100px;

}



}

/* Small Mobile */

@media(max-width:480px){

.banner-content h1{

font-size:28px;

}

.about-banner{

height:220px;

}

}

.education-section{

position:relative;

padding:80px 0;

background:url(../../images/background_02_about-1.jpg) center center/cover no-repeat;

}

.overlay{

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.72);

}

.container{

position:relative;

z-index:10;

max-width:1200px;

margin:auto;

padding:0 20px;

}

.heading{

text-align:center;

margin-bottom:60px;

}

.heading span{

color:#00d4d4;

font-style:italic;

font-size:18px;

display:block;

margin-bottom:15px;

}

.heading h2{

font-size:52px;

color:#fff;

font-weight:700;

}

.edu-row{

display:grid;

grid-template-columns:260px 1fr;

gap:40px;

padding:35px 0;

border-bottom:1px solid rgba(255,255,255,.15);

align-items:flex-start;

}

.icon-box{

text-align:center;

}

.icon-box i{

font-size:42px;

color:#11d9d2;

margin-bottom:15px;

}

.icon-box h3{

font-size:34px;

color:#fff;

}

.content p{

color:#fff;

font-size:22px;

line-height:1.8;

margin-bottom:10px;

}

.content strong{

font-weight:bold;

}

/******** Tablet ********/

@media(max-width:992px){

.heading h2{

font-size:40px;

}

.icon-box h3{

font-size:28px;

}

.content p{

font-size:18px;

}

}

/******** Mobile ********/

@media(max-width:768px){

.edu-row{

grid-template-columns:1fr;

text-align:center;

gap:20px;

}

.icon-box{

margin-bottom:10px;

}

.heading h2{

font-size:34px;

}

.content p{

font-size:17px;

}

}

/******** Small Mobile ********/

@media(max-width:480px){

.education-section{

padding:60px 0;

}

.heading span{

font-size:15px;

}

.heading h2{

font-size:28px;

}

.icon-box i{

font-size:34px;

}

.icon-box h3{

font-size:24px;

}

.content p{

font-size:16px;

line-height:1.7;

}

}


.speciality-section{
    padding:80px 0;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.section-title span{
    color:#444;
    font-size:20px;
    font-style:italic;
}

.section-title h2{
    font-size:54px;
    font-weight:700;
    margin-top:10px;
    margin-bottom:50px;
    color:#222;
}

.speciality-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.card{
    background:#fff;
    overflow:hidden;
    transition:.4s;
    display:flex;
    flex-direction:column;
    height:100%;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 35px rgba(0,0,0,.12);
}

.card img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.5s;
}

.card:hover img{
    transform:scale(1.05);
}

.card-body{
    padding:30px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.card-body h3{
    font-size:20px;
    color:#111;
    margin-bottom:20px;
    line-height:30px;
}

.card-body p{
    font-size:16px;
    color:#555;
    line-height:30px;
    flex:1;
}

.card-body a{
    display:flex;
    align-items:center;
    gap:15px;
    color:#00b7b3;
    text-decoration:none;
    font-weight:700;
    margin-top:35px;
}

.card-body a span{
    width:45px;
    height:2px;
    background:#00b7b3;
    transition:.3s;
}

.card:hover a span{
    width:70px;
}

/*======================
Tablet
======================*/

@media(max-width:1100px){

.speciality-grid{
grid-template-columns:repeat(2,1fr);
}

.section-title h2{
font-size:42px;
}

}

/*======================
Mobile
======================*/

@media(max-width:768px){

.speciality-section{
padding:60px 0;
}

.container{
width:92%;
}

.section-title{
text-align:center;
}

.section-title span{
font-size:17px;
}

.section-title h2{
font-size:34px;
margin-bottom:35px;
}

.speciality-grid{
grid-template-columns:1fr;
gap:20px;
}

.card img{
height:240px;
}

.card-body{
padding:25px;
}

.card-body h3{
font-size:24px;
}

.card-body p{
font-size:15px;
line-height:28px;
}

}
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

body{
background:#fff;
}

.testimonial-section{
padding:80px 0;
}

.container{
width:90%;
max-width:1400px;
margin:auto;
}

.container h2{
text-align:center;
font-size:36px;
font-weight:600;
color:#fff;
margin-bottom:60px;
}

.slider{
position:relative;
display:flex;
align-items:center;
}

.testimonial-wrapper{
overflow:hidden;
width:100%;
}

.testimonial-track{
display:flex;
transition:.5s;
}

.testimonial{
min-width:33.333%;
padding:20px 40px;
}

.quote{
font-size:60px;
color:#10b9b5;
margin-bottom:20px;
}

.testimonial p{
font-size:16px;
line-height:25px;
font-weight:600;
color:#222;
margin-bottom:20px;
min-height:90px;
}

.user{
display:flex;
align-items:center;
gap:20px;
}

.user i{
font-size:55px;
color:#999;
}

.user h4{
font-size:22px;
margin-bottom:5px;
}

.user span{
font-size:18px;
color:#666;
}

.prev,
.next{
position:absolute;
top:45%;
transform:translateY(-50%);
background:none;
border:none;
font-size:35px;
cursor:pointer;
color:#d8d8d8;
z-index:10;
}

.prev{
left:-40px;
}

.next{
right:-40px;
}

.dots{
display:flex;
justify-content:center;
gap:10px;
margin-top:50px;
}

.dot{
width:45px;
height:4px;
background:#ddd;
cursor:pointer;
transition:.3s;
}

.dot.active{
background:#08c3b7;
}

/* Tablet */

@media(max-width:992px){

.testimonial{
min-width:50%;
}

.container h2{
font-size:40px;
}

}

/* Mobile */

@media(max-width:768px){

.container{
width:92%;
}

.container h2{
font-size:32px;
line-height:42px;
}

.testimonial{
min-width:100%;
padding:15px;
}

.testimonial p{
font-size:18px;
line-height:32px;
min-height:auto;
}

.prev{
left:-10px;
}

.next{
right:-10px;
}

.user h4{
font-size:20px;
}

}