:root{
  --sky: #22b7ff;
  --blue: #1b4dd6;
  --green:#18c37e;
  --ink: #0b1220;
  --muted:#5b6b86;
  --bg:   #f5fbff;
  --card: #ffffff;

  --grad: linear-gradient(135deg, rgba(34,183,255,1) 0%, rgba(27,77,214,1) 55%, rgba(24,195,126,1) 100%);
  --soft: linear-gradient(135deg, rgba(34,183,255,.12), rgba(27,77,214,.10), rgba(24,195,126,.12));
  --shadow: 0 14px 40px rgba(10, 40, 120, .14);
  --shadow2: 0 12px 28px rgba(20, 30, 80, .10);
  --radius: 20px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: "Plus Jakarta Sans", "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

/* ---------------- TOP BAR ---------------- */
.topbar{
  background: #07163b;
  color: rgba(255,255,255,.9);
}
.topbar a{
  color: rgba(255,255,255,.95);
  text-decoration: none;
}
.topbar a:hover{
  text-decoration: underline;
}
.topbar-item{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
}
.badge-soft{
  background: rgba(34,183,255,.15);
  border: 1px solid rgba(34,183,255,.30);
  color: #eaf6ff;
}

/* ---------------- NAVBAR ---------------- */

.navbar-logo {
  height: 75px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 65px;
  }
}

.header{
  position: relative;
  width: 100%;
  z-index: 1030;
  transition: all .3s ease;
}

.header.nav-fixed{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1055;
  animation: navSlideDown .28s ease;
}

.navbar-glass{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(10, 20, 60, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-brand{
  text-decoration:none;
}

.nav-link{
  font-weight:600;
  color: rgba(11, 18, 32, .82) !important;
  border-radius: 999px;
  padding: .55rem .9rem !important;
}
.nav-link:hover,
.nav-link.active{
  background: rgba(34,183,255,.10);
  color: var(--blue) !important;
}

.btn-primary{
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(27,77,214,.25);
}
.btn-primary:hover{
  filter: brightness(1.05);
}

.btn-accent{
  background: var(--grad);
  color:#fff;
  border: none;
  box-shadow: 0 14px 30px rgba(34,183,255,.25);
}
.btn-accent:hover{
  color:#fff;
  filter: brightness(1.03);
}

.btn-outline-primary{
  border-color: rgba(27,77,214,.35);
  color: var(--blue);
}
.btn-outline-primary:hover{
  background: rgba(27,77,214,.08);
  color: var(--blue);
  border-color: rgba(27,77,214,.35);
}

@keyframes navSlideDown{
  from{
    transform: translateY(-100%);
    opacity: .96;
  }
  to{
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------------- HERO / CAROUSEL ---------------- */
.hero{
  position: relative;
  overflow: hidden;
}
.hero-glow{
  position:absolute;
  inset:-220px -120px auto -120px;
  height: 420px;
  background: var(--soft);
  filter: blur(18px);
  pointer-events:none;
}
.hero-img{
  height: 78vh;
  min-height: 520px;
  object-fit: cover;
}
.carousel-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(7, 22, 59, .78) 0%, rgba(7,22,59,.55) 45%, rgba(7,22,59,.15) 100%);
}
.carousel-caption{
  bottom: 18%;
  text-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight:600;
  color:#fff;
  backdrop-filter: blur(8px);
}
.hero-title{
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: .4rem 0 .6rem;
  color:#fff;
}
.hero-text{
  max-width: 620px;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}

/* HERO: prevent caption clipping on small screens */
.hero { overflow: hidden; }

.hero-img{
  height: 78vh;
  min-height: 520px;
  object-fit: cover;
}

/* Make caption a flexible block, not “too low” */
.carousel-caption{
  bottom: auto;               /* remove fixed bottom pushing */
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 14px 30px rgba(0,0,0,.25);
  padding-bottom: 60px;       /* space for indicators */
  left: 0;
  right: 0;
}

/* Ensure caption content doesn’t overflow screen */
.carousel-caption .col-lg-7{
  max-width: 680px;
}

/* -------- Mobile fixes -------- */
@media (max-width: 576px){
  .hero-img{
    height: 72vh;
    min-height: 420px;        /* reduce from 520 */
  }

  .carousel-caption{
    top: 52%;
    transform: translateY(-52%);
    padding: 0 14px 80px;     /* more bottom space for dots */
    text-align: left;
  }

  .hero-title{
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .hero-text{
    font-size: .98rem;
    margin-bottom: .9rem;
  }

  /* make buttons wrap nicely */
  .carousel-caption .btn{
    padding: .55rem .9rem !important;
    font-size: .95rem;
  }
}

/* Optional: move arrows slightly inward on mobile so they don't overlap text */
@media (max-width: 576px){
  .carousel-control-prev,
  .carousel-control-next{
    width: 10%;
  }
}
/* ---------------- SECTIONS ---------------- */
.section{
  padding: 80px 0;
}
.section-alt{
  background: var(--bg);
}
.section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.section-title{
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: .35rem 0 .7rem;
}
.section-lead{
  font-size: 1.05rem;
  color: rgba(11,18,32,.84);
  max-width: 58ch;
}
.section-subtitle{
  color: var(--muted);
  max-width: 72ch;
  margin: 0 auto;
}


.page-banner{
position:relative;
height:320px;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}

.banner-img{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}

.banner-overlay{
position:absolute;
inset:0;
 background: linear-gradient(90deg, rgba(7, 22, 59, .78) 0%, rgba(7,22,59,.55) 45%, rgba(7,22,59,.15) 100%);
}


.banner-content{
position:relative;
color:#fff;
}

.banner-title{
font-size:2.8rem;
font-weight:800;
}

.banner-subtitle{
opacity:.9;
margin-top:8px;
}

.breadcrumb-nav{
margin-top:10px;
font-weight:500;
}

.breadcrumb-nav a{
color:#fff;
text-decoration:none;
}

.breadcrumb-nav a:hover{
text-decoration:underline;
}

/* About */
.info-grid{ display:grid; gap: 14px; }
.info-card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow2);
}
.info-icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(34,183,255,.14);
  color: var(--blue);
}
.info-title{ font-weight: 800; }
.info-text{ color: var(--muted); font-size:.95rem; }

.about-card{
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20,40,120,.08);
  overflow:hidden;
}
.about-card::before{
  content:"";
  position:absolute;
  inset: -120px -140px auto auto;
  width: 280px; height: 280px;
  background: var(--soft);
  filter: blur(8px);
  border-radius: 999px;
}
.about-badge{
  position: relative;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.5rem .8rem;
  border-radius:999px;
  background: rgba(24,195,126,.12);
  border: 1px solid rgba(24,195,126,.28);
  color: #0a6c4b;
  font-weight: 800;
}
.about-title{
  position: relative;
  font-weight: 900;
  margin-top: 14px;
}
.about-text{
  position: relative;
  color: var(--muted);
  margin-bottom: 12px;
}
.mini-stat{
  position:relative;
  padding: 14px;
  border-radius: 18px;
  background: rgba(34,183,255,.08);
  border: 1px solid rgba(34,183,255,.18);
}
.mini-stat-number{
  font-weight: 900;
  color: var(--blue);
}
.mini-stat-label{
  color: var(--muted);
  font-size: .92rem;
}
.about-highlight{
  position:relative;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(27,77,214,.08);
  border: 1px solid rgba(27,77,214,.18);
  color: rgba(11,18,32,.85);
  font-weight: 600;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.about-image-wrapper img {
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Services */
.service-card{
  height: 100%;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow2);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow:hidden;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-top{
  padding: 18px 18px 0;
}
.service-icon{
  width:56px; height:56px;
  display:grid; place-items:center;
  border-radius: 18px;
  background: var(--soft);
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(34,183,255,.16);
}
.service-body{
  padding: 14px 18px 18px;
}
.service-title{
  font-weight: 900;
  margin: 10px 0 6px;
}
.service-text{
  color: var(--muted);
  font-size: .95rem;
  margin:0;
}
.service-chip{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-top: 12px;
  padding: .42rem .65rem;
  border-radius: 999px;
  background: rgba(24,195,126,.10);
  border: 1px solid rgba(24,195,126,.22);
  color: #0a6c4b;
  font-weight: 700;
  font-size: .82rem;
}

/* ================= SERVICE IMAGE ================= */

.service-img-wrapper {
  height: 180px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

/* ================= ICON 360 ROTATION ================= */

.service-icon i {
  font-size: 24px;
  transition: transform .7s ease;
  display: inline-block;
}

.service-card:hover .service-icon i {
  transform: rotateY(360deg);
}

/* Slight glow on hover */
.service-card:hover .service-icon {
  box-shadow: 0 15px 40px rgba(34,183,255,.25);
}

/* Smooth transition */
.service-card {
  transition: all .3s ease;
}


/* Why choose */
.why-list{ display:grid; gap: 14px; }
.why-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow2);
}
.why-icon{
  width:46px; height:46px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(27,77,214,.10);
  color: var(--blue);
}
.why-title{ font-weight: 900; }
.why-text{ margin:0; color: var(--muted); font-size: .95rem; }

.why-card{
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow);
}
.why-card-title{ font-weight: 900; margin:0; }
.steps{ display:grid; gap: 14px; }
.step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(34,183,255,.08);
  border: 1px solid rgba(34,183,255,.18);
}
.step-bubble{
  width:38px; height:38px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: var(--grad);
  color:#fff;
  font-weight:900;
}
.step-title{ font-weight: 900; }
.step-text{ color: var(--muted); margin:0; }


.service-detail-row{
margin-bottom:60px;
}

.service-detail-img{
box-shadow:0 18px 40px rgba(0,0,0,.12);
transition:all .35s ease;
}

.service-detail-img:hover{
transform:scale(1.03);
}

.service-detail-title{
font-weight:800;
margin-bottom:12px;
}

.service-detail-text{
color:var(--muted);
line-height:1.8;
}

/* Achievements */
.stat-card{
  height:100%;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.stat-icon{
  width:56px; height:56px;
  display:grid; place-items:center;
  border-radius: 18px;
  background: rgba(24,195,126,.12);
  color: #0a6c4b;
}
.stat-title{ font-weight: 900; margin-top: 12px; }
.stat-text{ color: var(--muted); margin:0; }

.achievement-strip{
  padding: 18px;
  border-radius: var(--radius);
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow);
}
.achievement-title{ font-weight: 900; }
.achievement-text{ color: rgba(255,255,255,.92); }

/* Gallery */
.chip{
  display:inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(27,77,214,.10);
  border: 1px solid rgba(27,77,214,.18);
  color: var(--blue);
  font-weight: 700;
}

.gallery-item{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  background: #eef7ff;
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow2);
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-item:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.gallery-item img{
  width:100%;
  height: auto;
  object-fit: cover;
  display:block;
}

.gallery-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(11,18,32,0) 35%, rgba(11,18,32,.72) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}

.gallery-item:hover .gallery-overlay{
  opacity:1;
}

.gallery-caption{
  position:absolute;
  left:12px;
  right:12px;
  bottom:10px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  opacity:0;
  transform: translateY(8px);
  transition: all .25s ease;
}

.gallery-item:hover .gallery-caption{
  opacity:1;
  transform: translateY(0);
}

.gallery-caption span{
  font-weight: 800;
}

.gallery-caption i{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .55rem;
  border-radius: 999px;
}


#clinicGalleryWrap .clinic-gallery-load-item{
  transition: all .3s ease;
}

/* ================= VIDEO SECTION ================= */

.video-section{
  background: linear-gradient(180deg,#f7fbff 0%,#ffffff 100%);
}

.video-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  padding:10px;
  border:1px solid rgba(20,40,120,.08);
  box-shadow:0 18px 45px rgba(20,30,80,.12);
}

.clinic-video{
  width:100%;
  height:auto;
  border-radius:16px;
  display:block;
}

/* Hover effect */

.video-card:hover{
  transform: translateY(-5px);
  box-shadow:0 24px 55px rgba(20,30,80,.18);
  transition:all .35s ease;
}

/* Mobile */

@media (max-width:768px){

.video-card{
  border-radius:18px;
  padding:8px;
}

.clinic-video{
  border-radius:14px;
}

}

/* Contact */
.contact-card, .form-card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow);
  padding: 26px;
}
.contact-item{
  display:flex;
  gap: 7px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(34,183,255,.08);
  border: 1px solid rgba(34,183,255,.18);
  margin-bottom: 12px;
}
.contact-icon{
  width:46px; height:46px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(27,77,214,.10);
  color: var(--blue);
}
.contact-label{
  font-size: .85rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-value{
  font-weight: 800;
  color: rgba(11,18,32,.9);
  text-decoration: none;
}
a.contact-value:hover{ text-decoration: underline; }

.note, .tip{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(24,195,126,.10);
  border: 1px solid rgba(24,195,126,.20);
  color: rgba(11,18,32,.85);
  font-weight: 600;
}
.form-title{ font-weight: 900; }
.form-subtitle{ color: var(--muted); }

.form-control, .form-select{
  border-radius: 14px;
  padding: .75rem .9rem;
  border: 1px solid rgba(20,40,120,.14);
}
.form-control:focus, .form-select:focus{
  border-color: rgba(34,183,255,.55);
  box-shadow: 0 0 0 .25rem rgba(34,183,255,.16);
}

/* Map */
.map-wrap{
  padding: 60px 0 80px;
  background: #fff;
}
.map-card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(20,40,120,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.map-head{
  padding: 18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(20,40,120,.08);
}
.map-title{ font-weight: 900; }
.map-frame iframe{ width:100%; height:100%; }

/* Footer */
.footer{
  background: #07163b;
  color: rgba(255,255,255,.88);
  padding: 60px 0 10px;
}
.footer .brand-mark{
  box-shadow: none;
}
.footer-name{ font-weight: 900; }
.footer-sub{ font-size: .9rem; color: rgba(255,255,255,.75); }
.footer-text{ color: rgba(255,255,255,.75); }
.footer-title{
  font-weight: 900;
  margin-bottom: 12px;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 8px;
}
.footer-links a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
  font-weight: 600;
}
.footer-links a:hover{ color:#fff; transform: translateX(2px); }
.footer-contact .fc-item{
  display:flex;
  gap:10px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.78);
}
.footer-contact a{
  color: rgba(255,255,255,.90);
  text-decoration:none;
}
.footer-contact a:hover{ text-decoration: underline; }
.footer-hr{
  border-color: rgba(255,255,255,.12);
}

.social{
  width:42px; height:42px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  text-decoration:none;
}
.social:hover{
  background: rgba(34,183,255,.18);
}

/* Floating buttons */
/* Prevent any accidental horizontal scroll */
html, body { overflow-x: hidden; }

/* ================= Floating buttons ================= */
.float-btn{
  position: fixed;
  right: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);

  /* IMPORTANT: avoid layout/overflow issues */
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  white-space: nowrap;

  /* smoother on mobile */
  transform: translate3d(0,0,0);
  -webkit-tap-highlight-color: transparent;
}

.float-btn i{ font-size: 1.2rem; line-height: 1; }
.float-text{ font-size: .92rem; }

/* Positions */
.float-whatsapp{
  bottom: 92px;
  background: linear-gradient(135deg, #24d366, #18c37e);
  animation: glowGreen 2.2s infinite ease-in-out;
}
.float-call{
  bottom: 28px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  animation: glowBlue 2.2s infinite ease-in-out;
}

/* Mobile: icon-only circular buttons (no overflow) */
@media (max-width: 576px){
  .float-btn{
    right: 14px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
  }
  .float-text{ display: none; }
  .float-btn i{ font-size: 1.35rem; }
  .float-whatsapp{ bottom: 88px; }
  .float-call{ bottom: 24px; }
}

/* iPhone safe-area support */
@supports (padding: max(0px)){
  .float-btn{ right: max(14px, env(safe-area-inset-right)); }
  .float-call{ bottom: max(24px, env(safe-area-inset-bottom)); }
  .float-whatsapp{ bottom: max(88px, calc(env(safe-area-inset-bottom) + 64px)); }
}

@keyframes glowGreen{
  0%,100%{ box-shadow: 0 16px 40px rgba(24,195,126,.25), 0 0 0 0 rgba(24,195,126,.30); }
  50%{ box-shadow: 0 18px 50px rgba(24,195,126,.35), 0 0 0 10px rgba(24,195,126,.08); }
}
@keyframes glowBlue{
  0%,100%{ box-shadow: 0 16px 40px rgba(34,183,255,.22), 0 0 0 0 rgba(34,183,255,.30); }
  50%{ box-shadow: 0 18px 50px rgba(27,77,214,.30), 0 0 0 10px rgba(34,183,255,.08); }
}

/* Back to top */
.backtotop{
  position: fixed;
  left: 18px;
  bottom: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(20,40,120,.12);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  display:none;
}
.backtotop i{
  color: var(--blue);
  font-size: 1.15rem;
}
.backtotop.show{ display:inline-grid; place-items:center; }

/* Responsive tweaks */
@media (max-width: 991px){
  .hero-img{ height: 72vh; min-height: 480px; }
  .carousel-caption{ bottom: 12%; }
  .brand-sub{ display:none; }
}
@media (max-width: 575px){
  .section{ padding: 64px 0; }
  .hero-img{ height: 68vh; min-height: 440px; }
  .carousel-caption{ bottom: 10%; }
  .float-text{ display:none; } /* icons only on small screens */
  .float-btn{ padding: 12px 14px; }
  .gallery-item img{ height: auto; }
}



/* Make cards align perfectly when using d-flex on columns */
#servicesGrid > div,
#galleryGrid > div {
  align-items: stretch;
}

/* Prevent service cards from becoming too wide on large screens */
.service-card {
  max-width: 420px;
}

/* Prevent gallery item from becoming too wide on large screens */
.gallery-item {
  max-width: 520px;
}



/* Prevent icon boxes from getting squeezed in flex rows */
.contact-icon,
.why-icon,
.info-icon,
.service-icon{
  flex: 0 0 auto;        /* don’t shrink */
  flex-shrink: 0;        /* extra safety */
  width: 46px;           /* keep square (match your design) */
  height: 46px;
  min-width: 46px;       /* IMPORTANT */
  min-height: 46px;      /* IMPORTANT */
  display: grid;
  place-items: center;
}

/* If some icons are 44/56 in other sections, keep their exact size */
.info-icon{
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.service-icon{
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
}



.care-step-card{
background:#fff;
padding:28px;
border-radius:18px;
text-align:center;
border:1px solid rgba(20,40,120,.08);
box-shadow:0 12px 28px rgba(20,30,80,.08);
transition:all .3s ease;
height:100%;
}

.care-step-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 40px rgba(20,30,80,.15);
}

.care-icon{
width:60px;
height:60px;
margin:auto;
margin-bottom:14px;
display:grid;
place-items:center;
border-radius:16px;
background:var(--soft);
color:var(--blue);
font-size:24px;
box-shadow:0 12px 28px rgba(34,183,255,.15);
}

.care-title{
font-weight:800;
margin-bottom:8px;
}

.care-text{
color:var(--muted);
font-size:.95rem;
margin:0;
}



.clinic-gallery-item img{
transition: transform .35s ease;
}

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



.servi{
  width: 100%;
  height: 250px;
}

.servicing{
  width: 100%;
  height: 350px;
  border-radius: 12px;
}