
.about-gallery{

flex:1;

display:flex;

flex-direction:column;

gap:20px;

}

/* BIG PHOTO */

.big-image{

height:280px;

overflow:hidden;

border-radius:16px;

box-shadow:0 5px 20px rgba(0,0,0,.15);

}

.big-image img{

width:100%;

height:100%;

object-fit:cover;

}


/* SMALL PHOTOS */

.small-gallery{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:16px;

}

.img-box{

height:160px;

overflow:hidden;

border-radius:12px;

box-shadow:0 4px 15px rgba(0,0,0,.12);

}

.img-box img{

width:100%;

height:100%;

object-fit:cover;

transition:.4s;

}

.img-box:hover img{

transform:scale(1.08);

}


/* MOBILE */

@media(max-width:991px){

.small-gallery{

grid-template-columns:repeat(2,1fr);

}

.big-image{

height:220px;

}

}
.home-about-section{

padding:90px 0;

}

.container{

width:90%;

max-width:1400px;

margin:auto;

}

.about-wrapper{

display:flex;

justify-content:space-between;

align-items:flex-start;

gap:60px;

flex-wrap:nowrap;

}

/* LEFT SIDE */

.about-content{

width:58%;

}

/* RIGHT SIDE */

.about-gallery{

width:42%;

display:flex;

flex-direction:column;

gap:20px;

}

/* BIG IMAGE */

.big-image{

height:300px;

overflow:hidden;

border-radius:15px;

}

.big-image img{

width:100%;

height:100%;

object-fit:cover;

}

/* SMALL IMAGES */

.small-gallery{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:15px;

}

.img-box{

height:160px;

overflow:hidden;

border-radius:12px;

}

.img-box img{

width:100%;

height:100%;

object-fit:cover;

}


/* MOBILE */

@media(max-width:991px){

.about-wrapper{

flex-direction:column;

}

.about-content,
.about-gallery{

width:100%;

}

.small-gallery{

grid-template-columns:repeat(2,1fr);

}

}
.home-about-section{

padding:100px 0;

background:#f8fbfc;

}

.container{

width:90%;

max-width:1300px;

margin:auto;

}


/* CONTENT */

.about-content{

max-width:850px;

}

.section-tag{

display:inline-block;

padding:10px 20px;

background:#e7f6f2;

color:#0c7c59;

font-size:14px;

font-weight:700;

letter-spacing:1px;

border-radius:30px;

margin-bottom:25px;

text-transform:uppercase;

}

.main-heading{

font-size:56px;

font-weight:700;

line-height:1.15;

margin-bottom:30px;

color:#2196F3;

}

.about-content p{

font-size:17px;

line-height:1.9;

color:#555;

margin-bottom:22px;

}


/* BUTTONS */

.home-btns{

display:flex;

gap:18px;

margin-top:40px;

flex-wrap:wrap;

}

.primary-btn{

background:#0c7c59;

color:#fff;

padding:16px 34px;

border-radius:8px;

font-weight:600;

text-decoration:none;

transition:.3s;

}

.primary-btn:hover{

transform:translateY(-3px);

}

.secondary-btn{

padding:16px 34px;

border:2px solid #0c7c59;

color:#0c7c59;

border-radius:8px;

font-weight:600;

text-decoration:none;

transition:.3s;

}

.secondary-btn:hover{

background:#0c7c59;

color:white;

}


/* MOBILE */

@media(max-width:991px){

.home-about-section{

padding:70px 0;

}

.main-heading{

font-size:38px;

}

.about-content p{

font-size:16px;

}

.home-btns{

flex-direction:column;

}

.primary-btn,
.secondary-btn{

text-align:center;

}

}
.small-gallery{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:0;

}

.img-box{

height:220px;

overflow:hidden;

border-radius:0;

margin:0;

padding:0;

}

.img-box img{

width:100%;

height:100%;

display:block;

object-fit:cover;

transition:.4s;

}

.img-box:hover img{

transform:scale(1.05);

}
.appointment-section{

padding:100px 20px;

text-align:center;

background:#eef9f9;

border-radius:25px;

margin:80px 8%;

}


.appointment-section h2{

font-size:42px;

font-weight:700;

line-height:1.4;

max-width:900px;

margin:auto;

margin-bottom:35px;

color:#222;

}


.appointment-btn{

display:inline-block;

padding:18px 42px;

background:skyblue;

color:#000;

text-decoration:none;

font-size:16px;

font-weight:700;

border-radius:50px;

transition:.4s;

box-shadow:0 5px 15px rgba(0,0,0,.10);

}


.appointment-btn:hover{

background:#6fd3ff;

transform:translateY(-4px);

}


@media(max-width:768px){

.appointment-section{

padding:70px 25px;

margin:60px 5%;

}

.appointment-section h2{

font-size:30px;

}

}
.services-wrapper{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:12px;

padding:70px 4%;

}


.flip-card{

height:300px;

perspective:1000px;

}


.flip-card-inner{

width:100%;

height:100%;

position:relative;

transition:.8s;

transform-style:preserve-3d;

}


.flip-card:hover .flip-card-inner{

transform:rotateY(180deg);

}


.flip-front,
.flip-back{

position:absolute;

width:100%;

height:100%;

border-radius:20px;

backface-visibility:hidden;

display:flex;

align-items:center;

justify-content:center;

flex-direction:column;

padding:25px;

box-sizing:border-box;

box-shadow:0 5px 20px rgba(0,0,0,.08);

}


.flip-front{

background:linear-gradient(135deg,#b2f0f0,#7fe7e7);

}


.service-icon{

width:80px;

height:80px;

background:#fff;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:36px;

margin-bottom:20px;

box-shadow:0 4px 15px rgba(0,0,0,.08);

}


.flip-front h3{

font-size:26px;

text-align:center;

color:#222;

}


.flip-back{

background:#fff;

transform:rotateY(180deg);

text-align:center;

}


.flip-back p{

line-height:1.8;

color:#666;

margin-bottom:20px;

}


.flip-back a{

padding:12px 28px;

background:skyblue;

color:#000;

border-radius:40px;

text-decoration:none;

font-weight:600;

}


/* Tablet */

@media(max-width:991px){

.services-wrapper{

grid-template-columns:repeat(2,1fr);

}

}


/* Mobile */

@media(max-width:600px){

.services-wrapper{

grid-template-columns:1fr;

}

}
.blog-section{

padding:90px 8%;

}


.blog-heading{

text-align:center;

max-width:800px;

margin:auto;

margin-bottom:60px;

}


.blog-heading span{

color:#3a9d5d;

font-weight:600;

letter-spacing:2px;

display:block;

margin-bottom:15px;

}


.blog-heading h2{

font-size:46px;

margin-bottom:20px;

color:#222;

}


.blog-heading p{

line-height:1.8;

color:#666;

}


.blog-wrapper{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}


.blog-card{

background:#fff;

border-radius:20px;

overflow:hidden;

box-shadow:0 5px 20px rgba(0,0,0,.08);

transition:.4s;

cursor:pointer;

}


.blog-card:hover{

transform:translateY(-10px);

box-shadow:0 15px 35px rgba(0,0,0,.15);

}


.blog-card img{

width:100%;

height:240px;

object-fit:cover;

display:block;

}


.blog-content{

padding:30px;

}


.blog-tag{

display:inline-block;

padding:8px 18px;

background:#eef9f9;

border-radius:30px;

margin-bottom:18px;

font-size:14px;

font-weight:600;

}


.blog-card h3{

font-size:24px;

line-height:1.5;

color:#222;

}


/* Tablet */

@media(max-width:991px){

.blog-wrapper{

grid-template-columns:repeat(2,1fr);

}

}


/* Mobile */

@media(max-width:600px){

.blog-wrapper{

grid-template-columns:1fr;

}

}
.dental-section{

display:flex;

gap:60px;

align-items:center;

padding:90px 8%;

background:#f7fcfc;

}

/* LEFT IMAGE */

.dental-left{

flex:1;

}

.dental-left img{

width:100%;

height:520px;

object-fit:cover;

border-radius:25px;

box-shadow:0 10px 30px rgba(0,0,0,.12);

}

/* RIGHT GRID */

.dental-right{

flex:1;

display:grid;

grid-template-columns:repeat(2,1fr);

gap:15px;

}

/* SMALL ROUND CARD */

.img-card{

background:#fff;

border-radius:20px;

padding:15px;

text-align:center;

box-shadow:0 5px 15px rgba(0,0,0,.08);

transition:.3s;

}

.img-card:hover{

transform:translateY(-5px);

}

/* ROUND IMAGE */

.img-card img{

width:70px;

height:70px;

object-fit:cover;

border-radius:50%;

margin-bottom:10px;

border:3px solid #e6f7f7;

}

/* TEXT */

.img-card h3{

font-size:14px;

margin-bottom:6px;

color:#222;

}

.img-card p{

font-size:12px;

line-height:1.4;

color:#666;

}


/* RESPONSIVE */

@media(max-width:991px){

.dental-section{

flex-direction:column;

}

.dental-left img{

height:350px;

}

.dental-right{

grid-template-columns:1fr 1fr;

}

}
/* Wrapper */
.section-heading,
.service-section {
  font-family: Arial, sans-serif;
}

/* Heading Section */
.section-heading {
  text-align: center;
  margin: 80px 15px 30px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f4c75;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* underline effect */
.section-heading h2::after {
  content: "";
  width: 60%;
  height: 4px;
  background: #00a8ff;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 10px;
}

/* Service Card */
.service-section {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px 30px;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  transition: 0.3s ease;
}

.service-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.service-section p {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  padding: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .section-heading h2 {
    font-size: 26px;
  }

  .service-section {
    padding: 25px 18px;
    margin: 40px 15px;
  }

  .service-section h3 {
    font-size: 22px;
  }

  .service-section p {
    font-size: 15px;
  }
}

/* SECTION */
.team-section {
  background: #fbfdfe;
 
}

/* VIEWPORT */
.doctor-scroll {
  overflow: hidden;
  white-space: nowrap;
}

/* TRACK */
.scroll-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}

/* 🔥 BIG PREMIUM CARD */
.doctor-card {
  display: inline-block;
  width: 380px;          /* BIG WIDTH */
  margin: 0 35px;        /* MORE SPACE BETWEEN CARDS */
  background: #fff;
  border-radius: 28px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: 0.3s;
}

/* hover effect */
.doctor-card:hover {
  transform: translateY(-8px);
}

/* 🔥 BIG IMAGE */
.doctor-card img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #00a8ff;
  margin-bottom: 15px;
}

/* TEXT */
.doctor-card h3 {
  font-size: 22px;
  margin: 10px 0;
}

.doctor-card p {
  font-size: 16px;
  color: #666;
}

/* SCROLL ANIMATION */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* pause on hover */
.doctor-scroll:hover .scroll-track {
  animation-play-state: paused;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .doctor-card {
    width: 280px;
    margin: 0 20px;
  }

  .doctor-card img {
    width: 170px;
    height: 170px;
  }
}

.doctor-card{

width:380px;

background:#fff;

padding:35px;

border-radius:35px;

display:flex;

flex-direction:column;

align-items:center;

text-align:center;

box-shadow:
0 10px 40px rgba(0,0,0,.08);

flex-shrink:0;

}

.doctor-card img{

width:210px;

height:210px;

border-radius:50%;

object-fit:cover;

border:7px solid #0f4c75;

margin-bottom:25px;

display:block;

}

.doctor-content{

display:flex;

flex-direction:column;

align-items:center;

width:100%;

}

.doctor-role{

display:inline-block;

background:#0f4c75;

color:#fff;

padding:10px 22px;

border-radius:40px;

font-size:13px;

font-weight:700;

margin-bottom:18px;

}

.doctor-card h3{

font-size:24px;

margin-bottom:12px;

}

.doctor-card p{

line-height:1.7;

margin:0;

}

.scroll-track{

display:flex;

gap:45px;

width:max-content;

animation:doctorScroll 40s linear infinite;

}

@keyframes doctorScroll{

0%{

transform:translateX(0);

}

100%{

transform:translateX(-50%);

}

}

.doctor-scroll{

overflow:hidden;

}

.doctor-scroll:hover .scroll-track{

animation-play-state:paused;

}

.testimonial-section{

padding:100px 8%;

background:#f7fbff;

}

.testimonial-container{

display:flex;

align-items:center;

gap:90px;

}

.testimonial-left{

flex:1;

overflow:hidden;

position:relative;

}

.testimonial-track{

display:flex;

transition:1s ease;

}

.testimonial-slide{

min-width:100%;

}

.review-tag{

background:#0f4c75;

color:white;

padding:10px 22px;

border-radius:40px;

display:inline-block;

margin-bottom:25px;

font-size:13px;

font-weight:700;

}

.testimonial-slide h2{

font-size:42px;

margin-bottom:25px;

}

.testimonial-text{

font-size:18px;

line-height:1.9;

color:#666;

margin-bottom:40px;

}

.profile-area{

display:flex;

align-items:center;

gap:18px;

}

.profile-img{

width:75px;

height:75px;

border-radius:50%;

overflow:hidden;

}

.profile-img img{

width:100%;

height:100%;

object-fit:cover;

}

/* BIG IMAGE */

.testimonial-right{

flex:1;

}

.testimonial-right img{

width:100%;

height:600px;

object-fit:cover;

border-radius:35px;

box-shadow:
0 20px 60px rgba(0,0,0,.12);

}

/* MOBILE */

@media(max-width:900px){

.testimonial-container{

flex-direction:column;

}

.testimonial-slide{

text-align:center;

}

.profile-area{

justify-content:center;

}

.testimonial-right img{

height:350px;

}

}

.slider-dots{

display:flex;

gap:12px;

margin-top:40px;

align-items:center;

}

.dot{

width:14px;

height:14px;

border-radius:50%;

background:#cfd8e3;

cursor:pointer;

transition:.3s;

}

.dot.active{

width:42px;

border-radius:30px;

background:#0f4c75;

}

.image-card-section{

display:grid;

grid-template-columns:
repeat(5,1fr);

gap:25px;

padding:80px 6%;

}

.image-card{

border-radius:30px;

overflow:hidden;

box-shadow:
0 10px 30px rgba(0,0,0,.08);

}

.image-card img{

width:100%;

height:320px;

object-fit:cover;

display:block;

transition:.4s;

}

.image-card:hover img{

transform:scale(1.05);

}

@media(max-width:1100px){

.image-card-section{

grid-template-columns:
repeat(3,1fr);

}

}

@media(max-width:768px){

.image-card-section{

grid-template-columns:
repeat(2,1fr);

}

}

@media(max-width:500px){

.image-card-section{

grid-template-columns:
1fr;

}

}

.image-card-section{

display:flex;

justify-content:center;

flex-wrap:wrap;

gap:20px;

padding:60px 5%;

}

.image-card{

width:180px;

border-radius:20px;

overflow:hidden;

box-shadow:
0 8px 20px rgba(0,0,0,.08);

}

.image-card img{

width:100%;

height:180px;

object-fit:cover;

display:block;

transition:.4s;

}

.image-card:hover img{

transform:scale(1.05);

}

@media(max-width:768px){

.image-card{

width:150px;

}

.image-card img{

height:150px;

}

}

@media(max-width:500px){

.image-card{

width:130px;

}

.image-card img{

height:130px;

}

}

.image-card-section{

display:flex;

justify-content:space-evenly;

align-items:center;

flex-wrap:wrap;

gap:25px;

padding:60px 5%;

}

.image-card{

width:180px;

border-radius:20px;

overflow:hidden;

box-shadow:
0 8px 20px rgba(0,0,0,.08);

}

.image-card img{

width:100%;

height:180px;

object-fit:cover;

display:block;

transition:.4s;

}

.image-card:hover img{

transform:scale(1.05);

}

@media(max-width:768px){

.image-card-section{

justify-content:center;

}

.image-card{

width:150px;

}

.image-card img{

height:150px;

}

}

@media(max-width:500px){

.image-card{

width:130px;

}

.image-card img{

height:130px;

}

}

.image-card-section{

display:flex;

justify-content:space-evenly;

align-items:center;

flex-wrap:wrap;

gap:30px;

padding:70px 5%;

}

.image-card{

width:230px;

border-radius:24px;

overflow:hidden;

box-shadow:
0 10px 25px rgba(0,0,0,.08);

}

.image-card img{

width:100%;

height:230px;

object-fit:cover;

display:block;

transition:.4s;

}

.image-card:hover img{

transform:scale(1.05);

}

@media(max-width:768px){

.image-card{

width:190px;

}

.image-card img{

height:190px;

}

}

@media(max-width:500px){

.image-card{

width:160px;

}

.image-card img{

height:160px;

}

}

.offer-section{

padding:100px 8%;

background:#f8fbff;

}

.offer-container{

display:flex;

align-items:center;

justify-content:space-between;

gap:80px;

}

.offer-left{

flex:1;

text-align:left;

}

.offer-tag{

display:inline-block;

padding:10px 22px;

background:#0f4c75;

color:#fff;

border-radius:40px;

font-size:13px;

font-weight:700;

margin-bottom:25px;

}

.offer-left h2{

font-size:48px;

margin-bottom:20px;

color:#111;

}

.offer-desc{

font-size:20px;

color:#666;

margin-bottom:35px;

}

.offer-points{

display:flex;

flex-direction:column;

gap:22px;

}

.offer-item{

display:flex;

align-items:flex-start;

gap:18px;

}

.tick{

width:34px;

height:34px;

background:#0f4c75;

color:#fff;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-weight:700;

flex-shrink:0;

}

.offer-item p{

margin:0;

font-size:18px;

color:#444;

line-height:1.6;

}

/* RIGHT IMAGE */

.offer-right{

flex:1;

}

.offer-right img{

width:100%;

height:520px;

object-fit:cover;

border-radius:35px;

box-shadow:
0 20px 50px rgba(0,0,0,.12);

}

/* MOBILE */

@media(max-width:900px){

.offer-container{

flex-direction:column;

}

.offer-left{

text-align:center;

}

.offer-item{

justify-content:center;

}

.offer-right img{

height:350px;

}

}
.blog-item-image iframe{
    width:100%;
    height:300px;
    border:0;
}
.blog-item-image iframe{
    width:100%;
    height:300px;
    border:0;
}