/* --- Variables --- */
:root {
  --primary: #0077b6;
  --text: #222;
  --bg: #fff;
  --light: #f5f5f5;
}

/* --- Global --- */
html {scroll-behavior: smooth;}
body {font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text);}
section {padding: 4.5rem 0;}
.button.is-primary {background-color: #012e2f; color: #fff;}
.hero.is-fullheight {height: 100vh; position: relative; overflow: hidden;}
.hero .title {letter-spacing: 2px;}

/* --- Hero carousel --- */
.hero-images {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Google Badge Styling */
.google-badge {
  margin-top: 2rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.google-badge .stars {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.google-badge .star {
  color: #ffc107;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin: 0 1px;
}

.google-badge .badge-text {
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.google-badge .badge-text strong {
  color: #4285f4;
}

.google-badge .google-logo {
  height: 16px;
  width: 16px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .google-badge {
    padding: 0.75rem 1.25rem;
    margin-top: 1.5rem;
  }
  
  .google-badge .stars {
    font-size: 1.3rem;
  }
  
  .google-badge .badge-text {
    font-size: 0.8rem;
  }
}
.hero-images img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 15s infinite;
}
.hero-images img:nth-child(1) {animation-delay: 0s;}
.hero-images img:nth-child(2) {animation-delay: 3.75s;}
.hero-images img:nth-child(3) {animation-delay: 7.5s;}
.hero-images img:nth-child(4) {animation-delay: 11.25s;}

@keyframes fade {
  0%, 25%, 100% {opacity: 0}
  12.5%, 18.75% {opacity: 1}
}

/* --- Navbar tweaks --- */
.navbar {transition: background .3s;}
.navbar.is-scrolled {background: rgba(255,255,255,.9);}
.navbar-item img {max-height: 3.75rem;}
.navbar-brand img {max-height: 3.5rem;height: auto;}
.p-style{padding-top:6rem;}
/* --- Footer --- */
.footer {background: var(--light); padding: 2rem 1.5rem 2rem;}
.box{
    border:white 1px solid;
    align-items: center !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: rgb(0, 44, 61);
    padding: 1.5rem;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align children to bottom */
    text-align: center;
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
}

.box h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: bolder;
    text-align: center;
    align-self: center;
    /* Stroke effect */
    -webkit-text-stroke: 0.5px #012e2f;
    text-stroke: 0.5px #012e2f;
}
.stroky {
  -webkit-text-stroke: 1.5px #ffffff;
    text-stroke: 1.5px #ffffff;
}
 .doctor-box {
    position: relative;
    cursor: pointer;
  }
  
  .doctor-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
    transition: opacity 0.3s, visibility 0.3s;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-align: left;
  }
  
  .doctor-box:hover .doctor-tooltip {
    visibility: visible;
    opacity: 1;
  }
  
  .doctor-tooltip:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }

  .membership-slider {
      position: relative;
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-top: 1rem;
      overflow: hidden;
    }

    .ms-track {
      display: flex;
      gap: 1rem;
      width: 50%;
      transition: transform 300ms ease;
      will-change: transform;
      padding:1rem;
    }

    .ms-slide {
      min-width: 100%;
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #fff;
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 6px 18px rgba(10,10,10,0.08);
      box-sizing: border-box;
    }

    /* logo */
    .ms-logo {
      width: 84px;
      height: 84px;
      object-fit: contain;
      flex: 0 0 84px;
      margin-left: 10%;
    }

    /* text */
    .ms-content { flex: 1 1 auto; }
    .ms-title {
      margin: 0;
      font-size: 1.25rem;
      font-weight: 700;
    }
  

    /* circular arrows */
    .ms-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 5;
      border: none;
      background: #ffffffcc;
      width: 44px;
      height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      box-shadow: 0 6px 14px rgba(10,10,10,0.12);
      cursor: pointer;
    }
    .ms-left { left: 8px; }
    .ms-right { right: 8px; }

    .ms-arrow .icon { color: #111; }
    .ms-arrow:focus { outline: 2px solid #3273dc; outline-offset: 2px; }

    /* Responsive: show slide as row on wide screens with content next to logo, stack on narrow */
    @media (min-width: 769px) {
      .ms-slide { width: 100%; }
      .ms-track { width: 50%; }
      .ms-logo { width: 96px; height: 96px; flex: 0 0 96px; }
      .ms-title { font-size: 1.5rem; }
      .ms-left { left: 3px; }
    .ms-right { right: 3px; }
    }

    @media (max-width: 480px) {
      .ms-slide { min-width: 100%; padding: .75rem; gap: .75rem;justify-content: center; }
      .ms-track { width: 100%; align-items: center;}
      .ms-logo { width: 64px; height: 64px; flex: 0 0 64px;margin-left:12% }
      .ms-arrow { width: 35px; height: 35px; }
      .ms-title { font-size: 0.75rem; }
      .ms-left { left: 3px; }
    .ms-right { right: 3px; }
    }