/*--------testimonial-----------*/

/* Section */
.testimonial-section{
  padding:60px 0;
}

/* Title */
.testimonial-title{
  font-size:22px;
  font-weight:500;
  margin-bottom:24px;
}

/* GRID */
.testimonial-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows:160px;
  gap:16px;
}

/* Link wrapper */
.testimonial-link{
  display:block;
  text-decoration:none;
}

/* Card */
.testimonial-card{
  position:relative;
  width:100%;
  height:100%;
  border-radius:20px;
  overflow:hidden;
  background:#ddd;
  transition:.3s ease;
}

.testimonial-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* SIZE VARIANTS */
.card-hero{ grid-row: span 2; }
.card-tall{ grid-row: span 2; }
.card-wide{ grid-column: span 2; }
.card-small{ grid-row: span 1; }

/* Responsive */
@media(max-width:991px){
  .testimonial-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:575px){
  .testimonial-grid{
    grid-template-columns:1fr;
  }
}


/* Section */
.testimonial-section{
  padding:60px 0;
}

/* Title */
.testimonial-title{
  font-size:22px;
  font-weight:500;
  margin-bottom:84px;
}
.testimonial-title span{
  color:#9aa0a6;
  font-weight:400;
}

/* Grid */
.testimonial-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows:160px;
  gap:16px;
}

.testimonial-card{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  background:#ddd;
}

.testimonial-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Gradient cards */
.testimonial-card.gradient{
  background: linear-gradient(135deg,#d9d9d9,#f1f1f1);
}

/* Text overlay */
.card-label{
  position:absolute;
  top:14px;
  left:16px;
  font-size:13px;
  font-weight:500;
  color:#111;
  z-index:2;
}


/* Arrow */
.card-arrow{
  position:absolute;
  bottom:14px;
  right:14px;
  width:34px;
  height:34px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
}

/* Large card */
.card-lg{
  grid-row: span 2;
}

/* Wide card */
.card-wide{
  grid-column: span 2;
}


/* Link wrapper */
.testimonial-link{
  display:block;
  text-decoration:none;
}
/* Hover */
.testimonial-link:hover .testimonial-card{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(0,0,0,.2);
}

/* Responsive */
@media(max-width:991px){
  .testimonial-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:575px){
  .testimonial-grid{
    grid-template-columns:1fr;
  }
}

/*--------gallery-----------*/

/* SECTION BASE */
.gallery-section { 
    color:#e7e7e7; 
}
.gallery-divider { 
    width:70px; 
    height:1px; 
    background:#616161; 
    margin-bottom:18px; 
}
.gallery-title { 
    font-size:3rem; 
    font-weight:300; 
}
.gallery-subtext { 
    color:#c4c4c4; 
    max-width:550px; 
}

/* GRID */
.gallery-item { 
    position:relative; 
    overflow:hidden; 
    border-radius:8px; 
    cursor:pointer; 
}
.gallery-item img { 
    width:100%; 
    height:100%; 
    object-fit:cover; 
    transition:.4s; 
    opacity:.9; 
}
.gallery-item:hover img { 
    transform:scale(1.06); 
    opacity:1; 
}
.gallery-info {
  position:absolute; 
  left:20px; 
  bottom:20px; 
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}
.gallery-info h4 { 
    font-size:1.5rem; 
}

/* Sizes */
.gallery-large { height:430px; }
.gallery-medium { height:240px; }
.gallery-small { height:160px; }

@media(max-width:991px){
  .gallery-large,.gallery-medium,.gallery-small{ 
      height:250px; 
  }
}




/*-----------hero gallery-----*/
.testimonial-section{
padding:80px 0;
background:#f9f9f9;
}

/* image card */
.gallery-item{
display:block;
overflow:hidden;
border-radius:10px;
}

.gallery-item img{
width:100%;
height:250px;
object-fit:cover;
transition:0.4s;
}

.gallery-item:hover img{
transform:scale(1.08);
}

/* gallery button */
.gallery-btn{
display:flex;
align-items:center;
justify-content:center;
height:250px;
border-radius:10px;
background:#11B48D;
color:#fff;
font-size:18px;
font-weight:600;
text-decoration:none;
transition:0.3s;
}

.gallery-btn:hover{
background:#0f9c7a;
color:#fff;
}





/*TESTIMONIAL*/
/* TESTIMONIAL DOCTOR SLIDER */

.patient-testimonial{
padding:90px 0;
background:#f5f5f5;
text-align:center;
}

.testimonial-heading{
font-size:48px;
font-weight:700;
margin-bottom:15px;
}

.testimonial-heading span{
color:#11B48D;
}

.testimonial-sub{
color:#767676;
font-size:18px;
max-width:700px;
margin:auto;
margin-bottom:50px;
}

.doctor-card{
background:#fff;
padding:30px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
text-align:center;
transition:.3s;
}

.doctor-card:hover{
transform:translateY(-8px);
}

.doctor-img{
width:90px;
height:90px;
border-radius:50%;
object-fit:cover;
margin:0 auto 15px;
display:block;
}

.doctor-name{
font-size:18px;
font-weight:600;
margin-bottom:10px;
}

.insta-icon{
font-size:22px;
color:#11B48D;
transition:.3s;
}

.insta-icon:hover{
color:#E1306C;
transform:scale(1.2);
}