body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
  direction: ltr;
}

.logo {
  order: 1;
}


.nav-logo {
  max-height: 70px;   /* sets the maximum size */
  width: auto;        /* keeps proportions */
  
}

.nav-logo2 {
  max-height: 30px;   /* maximum size on desktop */
  width: 2;        /* keep proportions */
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
  direction: ltr;
}

.navbar > ul:not(.nav-left) {
  order: 2;
}

.nav-left {
  flex: 1;
  justify-content: flex-end;
  margin-right: 2rem;
  order: 2;
}

.navbar-right {
  display: flex;
  align-items: center;
  order: 3;
  direction: ltr;
}

.navbar ul li {
  display: inline-block;
}

.nav-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1c3f70; /* clinic brand color */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  font-weight: 500;
}

.nav-btn:hover {
  background-color: #0a2a4d; /* darker shade on hover */
}

/* ==================== HAMBURGER MENU ==================== */
.menu-toggle {
  display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 12px !important;
    right: auto !important;
    top: 14px;
    transform: none;
    padding: 8px;
    background: transparent;
    box-shadow: none;
    z-index: 20200; /* place above mobile-menu/backdrop */
}

.hamburger span {
  display: none;
}

.hamburger-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}


/* Hamburger animation disabled - keep as 3 lines */

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  /* slide-in using transform to avoid layout shifts */
  transform: translateX(-100%);
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 20010;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* When the mobile menu is active hide the old navbar dropdown/list to avoid it showing behind */
body.menu-open .navbar ul,
body.menu-open .nav-left {
  display: none !important;
}
/* Also hide legacy header elements while menu open to prevent them showing behind overlay */
body.menu-open .navbar,
body.menu-open .nav-left,
body.menu-open .navbar-right {
  display: none !important;
}
/* Header layout: hamburger left, logo centered, right controls on right (mobile) */
@media (max-width: 480px) {
  .navbar {
    position: relative;
    display: block;
    /* remove the white navbar background on mobile */
    padding: 0.6rem 1rem;
    background: transparent;
    box-shadow: none;
  }

  .hamburger {
    display: flex;
    position: fixed;
    left: 12px !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    z-index: 1005;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .navbar-right {
    position: fixed;
    right: 12px !important;
    left: auto !important;
    top: 14px;
    transform: none;
    z-index: 20150;
  }

  /* Hide desktop nav buttons on mobile (use slide-in mobile menu) */
  .navbar ul {
    display: none;
  }

  /* Remove the visible navbar items entirely on mobile */
  .nav-left,
  .navbar > ul,
  .navbar ul {
    display: none !important;
  }

  /* Show only the language switcher in the right area */
  .navbar-right > * {
    display: none !important;
  }
  .navbar-right .language-switcher {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Give the language button the same white rounded background as the hamburger */
  body.homepage .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    border: none;
    z-index: 1010 !important;
    color: #1c3f70;
    pointer-events: auto;
    position: relative;
  }
  body.homepage .lang-btn i { color: #1c3f70; }

  /* Language button: show only on homepage mobile */
  .lang-btn {
    display: none;
    background: none;
    border: none;
    color: #1c3f70;
    font-size: 1.1rem;
  }

  body.homepage .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* hide the in-menu close button to avoid duplicate X (use hamburger as primary close) */
  .close-menu {
    display: none;
  }
  /* show the in-menu close button only when the mobile menu is open */
  body.menu-open .close-menu {
    display: block !important;
  }

  /* slightly reduce logo on mobile so the navbar white area is more visible */
  .nav-logo {
    max-height: 36px;
  }
}

/* Mobile-specific adjustments for language menu and hamburger visuals */
@media (max-width: 480px) {
  .hamburger {
    width: 44px !important;
    height: 40px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hamburger span {
    width: 18px !important;
    height: 2px !important;
    margin: 3px 0 !important;
  }

  /* Pin the language dropdown to the viewport so it appears under the globe */
  body.homepage .lang-menu {
    position: fixed !important;
    top: 54px !important;
    right: 12px !important;
    left: auto !important;
    transform: none !important;
    z-index: 20260 !important;
    min-width: 140px !important;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }
  /* When JS opens the menu it will set inline styles; provide a visible fallback using :focus-within */
  .language-switcher:focus-within .lang-menu,
  .language-switcher:hover .lang-menu {
    max-height: 240px;
    opacity: 1;
    pointer-events: auto;
  }
}

  /* MOBILE HEADER RESET - high-priority overrides to restore consistent mobile header */
  @media (max-width: 600px) {
    header, .navbar {
      background: transparent !important;
      box-shadow: none !important;
      padding: 6px 0 !important;
      overflow: visible !important;
    }

    /* hide desktop nav items */
    .navbar ul,
    .nav-left,
    .navbar > ul,
    .navbar ul li {
      display: none !important;
    }

    /* hamburger fixed top-left */
    .hamburger {
      position: fixed !important;
      left: 12px !important;
      top: 12px !important;
      width: 44px !important;
      height: 44px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      z-index: 99999 !important;
      background: #ffffff !important;
      border-radius: 8px !important;
      box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
      padding: 6px !important;
    }

    .hamburger span { width: 18px !important; height: 2px !important; margin: 3px 0 !important; border-radius: 1px !important; }

    /* centered logo, non-interactive */
    .logo {
      position: absolute !important;
      left: 50% !important;
      top: 12px !important;
      transform: translateX(-50%) !important;
      z-index: 10 !important;
      pointer-events: none !important;
    }
    .nav-logo { max-height: 46px !important; }

    /* language globe fixed top-right */
    .navbar-right { position: fixed !important; right: 12px !important; top: 12px !important; z-index: 99998 !important; display: flex !important; align-items: center !important; }
    .navbar-right > * { display: none !important; }
    .navbar-right .language-switcher { display: inline-flex !important; }

    body.homepage .lang-btn {
      position: fixed !important;
      top: 12px !important;
      right: 12px !important;
      z-index: 100000 !important;
      background: #ffffff !important;
      padding: 8px 10px !important;
      border-radius: 8px !important;
      box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
      pointer-events: auto !important;
    }

    /* language dropdown pinned under globe */
    .lang-menu {
      position: fixed !important;
      top: 62px !important;
      right: 12px !important;
      left: auto !important;
      transform: none !important;
      z-index: 100001 !important;
      max-height: 0 !important;
      opacity: 0 !important;
      pointer-events: none !important;
      transition: max-height .22s ease, opacity .18s ease !important;
    }
    .language-switcher:focus-within .lang-menu,
    .language-switcher:hover .lang-menu {
      max-height: 240px !important;
      opacity: 1 !important;
      pointer-events: auto !important;
    }

    /* ensure mobile menu/backdrop overlay above everything */
    .mobile-menu { z-index: 100005 !important; }
    .menu-backdrop { z-index: 100004 !important; }
    body.menu-open { overflow: hidden !important; }
  }

.menu-toggle:checked ~ .mobile-menu {
  transform: translateX(0);
}

/* prefer toggling on body to avoid header/layout reflow */
body.menu-open .mobile-menu {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
}

.mobile-menu li {
  margin: 10px 0;
}

.mobile-menu a {
  color: #1c3f70;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
  padding: 8px 0;
  transition: color 0.2s, background 0.2s;
}

/* Override desktop `.nav-btn` styling when used inside the mobile menu */
.mobile-menu .nav-btn {
  background: transparent !important;
  color: #1c3f70 !important;
  padding: 10px 12px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  display: block;
  text-align: left;
}

.mobile-menu a:hover {
  background: rgba(28,63,112,0.06);
  color: #0a2a4d;
  border-radius: 6px;
  padding-left: 10px;
}

.mobile-menu a:hover {
  color: #0a2a4d;
}

.close-menu {
  position: relative;
  flex-shrink: 0;
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1c3f70;
  cursor: pointer;
  z-index: 1001;
  padding: 10px 20px;
  margin: 10px 10px 0 0;
}

/* Backdrop */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* backdrop shown when body.menu-open is active */
body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

/* lock scrolling while menu open */
body.menu-open {
  overflow: hidden;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
  direction: ltr;
  margin: 0;
  padding: 0;
}

.navbar > ul {
  order: 2;
}

.nav-left {
  flex: 1;
  justify-content: flex-end;
  margin-right: 2rem;
  order: 2;
}

.overlay {
  display: none;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle:checked ~ .overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 998;
}


.hero {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to right, #0a2a4d, #1c3f70);
  color: white;
}

.hero .btn {
  display: inline-block;
  background-color: white;
  color: #0a2a4d;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero .btn:hover {
  background-color: #25d366;
  color: white;
  transform: scale(1.05);
}

.about {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.about h2 {
  color: #1c3f70;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Workplace Section Styling */
.workplace {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
}

.workplace h2 {
  color: #1c3f70;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.workplace p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* ==================== Social Posts / Tabs Section ==================== */
.social-posts {
  padding: 3rem 2rem 2rem;
  text-align: center;
  background: #fff;
}

.social-posts-header h1 {
  color: #1c3f70;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-posts-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-tabs-container {
  background: #1c3f70;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(28, 63, 112, 0.25);
}

.social-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-tab-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.social-tab-btn.active {
  border-color: #fff;
  background: #fff;
  color: #1c3f70;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-tab-content {
  min-height: 400px;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  overflow: hidden;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel iframe {
  min-height: 380px;
}

.tab-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  color: #999;
}

.tab-placeholder-icon {
  font-size: 4rem;
  color: #1c3f70;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.tab-placeholder p {
  font-size: 1.3rem;
  color: #1c3f70;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.tab-placeholder span {
  font-size: 0.9rem;
  color: #aaa;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .social-tabs-container {
    border-radius: 12px;
    padding: 1.2rem 0.8rem 1rem;
  }

  .social-tab-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .social-tab-content {
    min-height: 300px;
    padding: 1rem;
  }

  .tab-panel iframe {
    min-height: 280px;
  }

  .tab-placeholder {
    min-height: 260px;
  }

  .social-posts {
    padding: 2rem 1rem 1.5rem;
  }

  .social-posts-header h1 {
    font-size: 1.5rem;
  }
}
footer {
  background-color: #0a2a4d;
  color: white;
  text-align: center;
  padding: 1rem;
  direction: ltr;
}

footer i {
  margin-right: 8px;
}
.footer a {
  color: white;          /* Default link color */
  text-decoration: none; /* Remove underline */
}

.footer a:hover {
  color: #ddd;           /* Slightly lighter on hover */
  text-decoration: underline; /* Optional hover effect */
}
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  color: rgb(255, 255, 255);
  background-image: url("image/panoramic.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* semi-transparent black */
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1; /* ensures text/logo sit above overlay */
}


.hero-logo {
  width: 15px;   /* adjust size */
  height: auto;
  margin-bottom: 20px;
}
.workplace {
    padding: 2rem;
  text-align: center;
}

.insta {
    position: relative;
  text-align: center;
  padding: 2rem;

}



.slideshow-square {
  position: relative;
  width: 300px;   /* square width */
  height: 300px;  /* square height */
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  outline: none; /* remove focus outline, we use custom focus */
}

.slideshow-square img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.8s ease-in-out, transform 6s ease;
  pointer-events: none;
}

.slideshow-square img.active {
  opacity: 1;
  transform: scale(1.15); /* zoom in effect */
  pointer-events: auto;
}

/* Controls container */
.slideshow-controls {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

/* Navigation buttons (prev / next / pause) */
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c3f70;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 11;
}

.slideshow-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.slideshow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slideshow-prev { left: 8px; }
.slideshow-next { right: 8px; }

.slideshow-pause {
  top: 8px;
  right: 8px;
  left: auto;
  transform: none;
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
}

.slideshow-pause:hover {
  transform: scale(1.1);
}

.slideshow-pause:active {
  transform: scale(0.95);
}

/* Dot indicators */
.slideshow-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
  z-index: 11;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slideshow-dot.active {
  background: #ffffff;
  transform: scale(1.25);
}

.slideshow-dot:hover {
  background: rgba(255,255,255,0.8);
}

/* RTL: swap prev/next positions and flip arrow icons */
html[dir="rtl"] .slideshow-prev { left: auto; right: 8px; }
html[dir="rtl"] .slideshow-next { right: auto; left: 8px; }
html[dir="rtl"] .slideshow-pause { right: 8px; left: auto; }

/* Flip arrow icons in RTL so they point the correct direction */
html[dir="rtl"] .slideshow-prev i,
html[dir="rtl"] .slideshow-next i {
  transform: scaleX(-1);
}

/* Fullscreen button */
.slideshow-fullscreen {
  top: 8px;
  right: 46px;
  left: auto;
  transform: none;
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
}

.slideshow-fullscreen:hover {
  transform: scale(1.1);
}

.slideshow-fullscreen:active {
  transform: scale(0.95);
}

html[dir="rtl"] .slideshow-fullscreen { right: 46px; left: auto; }

/* Fullscreen state */
.slideshow-square.is-fullscreen,
.slideshow-square:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0;
  margin: 0;
}

.slideshow-square:fullscreen img {
  object-fit: contain;
  background: #000;
}

.slideshow-square.is-fullscreen img {
  object-fit: contain;
  background: #000;
}

/* PC-only: fade controls when not hovering */
@media (hover: hover) and (pointer: fine) {
  .slideshow-square .slideshow-controls {
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .slideshow-square:hover .slideshow-controls,
  .slideshow-square:focus-within .slideshow-controls {
    opacity: 1;
  }
}
.language-switcher {
  position: relative;
  direction: ltr;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: #fff; /* globe matches nav buttons */
}
.lang-btn i {
  color: #1c3f70;   /* dark blue brand color */
  font-size: 1.6rem;
}

.lang-btn:hover i {
  color: #0a2a4d;  
}


/* Dropdown menu hidden by default */
.lang-menu {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;             /* directly below globe */
  left: 50%;
  transform: translateX(-50%);
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 0.5rem;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  min-width: 140px;
  white-space: nowrap;

  /* Reset default list spacing */
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.lang-menu li {
  margin: 0;
  padding: 0;
}
/* Reveal dropdown on hover/focus */
.language-switcher:hover .lang-menu,
.language-switcher:focus-within .lang-menu,
.language-switcher:active .lang-menu {
  max-height: 200px;
  opacity: 1;
  pointer-events: auto;
}

.lang-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #0a2a4d;
}

.lang-menu li a:hover {
  background: #eef6ff;
}

/* Strong overrides for mobile header controls to avoid conflicting earlier rules */
@media (max-width: 480px) {
  .hamburger {
    position: fixed !important;
    left: 12px !important;
    top: 14px !important;
    transform: none !important;
    display: flex !important;
    z-index: 20200 !important;
    background: rgba(255,255,255,0.95) !important;
    padding: 8px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
  }

  body.homepage .lang-btn {
    position: fixed !important;
    right: 12px !important;
    top: 14px !important;
    z-index: 20250 !important;
    display: inline-flex !important;
    pointer-events: auto !important;
  }

  .logo {
    pointer-events: none !important;
    z-index: 100 !important;
  }
}

  /* Fix: ensure language globe clickable and logo not clipped */
  .navbar { overflow: visible !important; }
  /* keep logo visually behind controls and non-interactive */
  .logo { z-index: 100; pointer-events: none; }
  .nav-logo { max-height: 48px; }
  .navbar-right, .navbar-right .language-switcher { z-index: 150; pointer-events: auto; position: relative; }
  /* Keep globe non-fixed on desktop; pin only on mobile via media queries below */
  body.homepage .lang-btn {
    z-index: 20250 !important;
    pointer-events: auto !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed !important;
  width: 60px;
  height: 60px;
  bottom: 90px !important;
  right: 30px !important;
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: transform 0.2s ease;
  text-decoration: none; /* removes underline */
  border: none; /* removes border */
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}















.service {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: scale(1.05); /* zoom in slightly */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* stronger shadow */
}
.team {
  text-align: center;
  padding: 2rem;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.team-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.team-card h2 {
  margin: 0.5rem 0;
  color: #0a2a4d;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ==================== TEAM SINGLE CARD IMAGE (replacing card layout) ==================== */

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-single-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  opacity: 0;
}

.team-single-card.visible {
  animation: fadeUp 0.7s ease-out forwards;
}

.team-single-card img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-single-card img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

/* Desktop: show desktop card, constrain size */
.team-card-desktop {
  display: block;
  max-width: 380px;
  width: 100%;
}

.team-card-mobile {
  display: none;
}

/* Mobile: show mobile card, full-width */
@media (max-width: 768px) {
  .team-card-desktop {
    display: none;
  }
  .team-card-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  
  .team-single-card {
    padding: 2rem 1rem;
  }
}

/*==================== TEAM PROFILE CARD + POPUP ====================*/
.team-showcase {
  padding: 2.5rem 1rem 3rem;
}

.team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  justify-items: center;
}

.team-profile-card {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), #f8fbff);
  border: 1px solid rgba(28,63,112,0.12);
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(28,63,112,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.team-profile-card:focus-visible,
.team-profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(28,63,112,0.25);
  box-shadow: 0 28px 55px rgba(28,63,112,0.14);
}

.team-card-image {
  position: relative;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-profile-card:hover .team-card-image img,
.team-profile-card:focus-visible .team-card-image img {
  transform: scale(1.08);
}

.team-card-body {
  padding: 1.6rem 1.5rem 1.8rem;
}

.team-card-body h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #0a2a4d;
}

.team-card-body p {
  margin: 0.5rem 0 1rem;
  color: #4f5d72;
  font-size: 0.95rem;
}

.team-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1c3f70;
  font-weight: 600;
}

.team-card-cta::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.team-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  padding: 1.4rem 0.8rem;
  z-index: 100000;
  overflow-y: auto;
}

.team-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

..team-modal-card {
  width: 100%;
  max-width: min(560px, calc(100vw - 1.6rem));
  max-height: calc(100vh - 2rem);
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18);
  padding: 2rem;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  animation: slideUp 0.35s ease-out;
  box-sizing: border-box;
}

.team-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: rgba(255,255,255,0.9);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  color: #0a2a4d;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.team-modal-close:hover {
  transform: scale(1.05);
  background: #f3f7ff;
}

.team-modal-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.team-modal-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(28,63,112,0.12);
}

.team-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-modal-subtitle {
  margin: 0.25rem 0 0;
  color: #5b6a83;
  font-size: 0.96rem;
}

.team-modal-contact {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.team-modal-contact a {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: #0a2a4d;
  text-decoration: none;
  border: 1px solid rgba(28,63,112,0.14);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.team-modal-contact a:hover {
  background: #f4f8ff;
  border-color: rgba(28,63,112,0.22);
}

.team-modal-contact i {
  font-size: 1rem;
  color: #1c3f70;
}

.team-modal-description {
  color: #495168;
  line-height: 1.8;
  margin: 0 0 1.8rem;
}

.team-modal-socials {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.social-btn.linkedin { background: #0a66c2; }
.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: #e1306c; }

@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 640px) {
  .team-modal-overlay {
    align-items: flex-start;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .team-modal-card {
    padding: 1rem;
    margin: 0 auto;
    width: min(100%, calc(100vw - 1rem));
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
  }

  .team-modal-card > * {
    box-sizing: border-box;
  }

  .team-modal-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-modal-avatar {
    margin: 0 auto;
  }

  .team-modal-contact {
    grid-template-columns: 1fr;
  }

  .team-modal-description {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 480px) and (orientation: landscape) {
  .team-modal-overlay {
    align-items: flex-start;
    padding: 0.6rem;
  }

  .team-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 0.6rem);
    padding: 0.9rem;
    border-radius: 16px;
    overflow-y: auto;
  }

  .team-modal-header {
    gap: 0.75rem;
  }

  .team-modal-description {
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
  }

  .team-modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .team-modal-contact a {
    padding: 0.75rem 0.85rem;
  }
}

/* RTL support for desktop team cards */
html[dir="rtl"] .team-card {
  text-align: right;
}


.services-hero {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #0a2a4d;
  background-size: cover;
  background-position: center;
  color: white;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem;
}


.service {
  display: block;               /* makes the whole box clickable */
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: inherit;               /* keeps text color */
  text-decoration: none;        /* removes underline */
  position: relative;           /* needed for overlay */
  cursor: pointer;              /* pointer cursor */
}

.service-circle-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid #1c3f70;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ==================== Services squares (new design) ==================== */
.services-squares {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-square {
  text-decoration: none;
  color: inherit;
}

.service-square-inner {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Blue line shown on hover/press, matching the about cards style */
.service-square-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1c3f70, #6cbcff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-square:hover .service-square-inner,
.service-square:focus-visible .service-square-inner {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-square:hover .service-square-inner::before,
.service-square:focus-visible .service-square-inner::before {
  transform: scaleX(1);
}

.service-square-inner h2 {
  color: #1c3f70;
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

.service-square-inner p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}


.service h2 {
  color: #1c3f70;               /* clinic brand color */
  margin-bottom: 1rem;
}

.service:hover {
  transform: scale(1.05);       /* zoom in */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  background: #e6e6e6;          /* darker background on hover */
}

/* "Click Me" overlay text */
.service::after {
  content: "Click Me";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 63, 112, 0.9); /* brand color overlay */
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service:hover::after {
  opacity: 1;                   /* shows "Click Me" on hover */
}

.service1-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
}

.service1-text {
  font-size: 1.3rem; /* bigger paragraph text */
  line-height: 1.6;
  flex: 1;
  text-align: left;
}

.service1-image {
  flex: 0 0 auto;
  width: 450px;
}

.service1-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.service1-hero {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #0a2a4d;
  background-size: cover;
  background-position: center;
  color: white;
}

.appointment-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.appointment-btn:hover {
  transform: scale(1.05);
  background-color: #1ebe5d;
}

.appointment-btn i {
  font-size: 1.2rem;
}

.link-highlight {
  color: #1c3f70;
  font-weight: bold;
  text-decoration: underline;
}

.comparison-board {
  padding: 2rem;
  text-align: center;
}

.icon-board {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  max-width: 400px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.column h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column li {
  font-size: 1.1rem;
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Icon colors */
.braces i {
  color: #1c3f70;
}

.aligners i {
  color: #1c3f70;
}

.pros-cons-board {
  padding: 2rem;
  text-align: center;
}

.pros-cons-board .column {
  text-align: left;
}

html[dir="rtl"] .pros-cons-board .column {
  text-align: right;
}

.icon-board {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  max-width: 400px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.column h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column li {
  font-size: 1.1rem;
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.column .fa-check {
  color: #1ebe5d;
}

.column .fa-times {
  color: #d9534f;
}

.column .fa-check-circle {
  color: #1ebe5d;
}

.column .fa-times-circle {
  color: #d9534f;
}

.cases-hero {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #0a2a4d;
  color: white;
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem;
}

.case-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card h2 {
  color: #1c3f70;
  margin-bottom: 1rem;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  background: #e6e6e6;
}

/* Blue icons for the first board */
.comparison-board.toothbrush-board .icon-board i {
  color: #1c3f70; /* clean dental blue */
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* TABLET: 768px and below */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-wrap: nowrap;
  }

  .hamburger {
    display: flex;
  }

  .nav-left,
  .navbar ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    gap: 0.5rem;
    margin: 0;
    z-index: 999;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .menu-toggle:checked ~ .nav-left,
  .menu-toggle:checked ~ .navbar ul {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-left li,
  .navbar ul li {
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.95rem;
  }

  .nav-logo {
    max-height: 50px;
  }

  .navbar ul {
    gap: 8px;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about {
    padding: 1.5rem;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .workplace {
    padding: 1.5rem;
  }

  .slideshow-square {
    width: 250px;
    height: 250px;
  }

  .services-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
  }

  .service1-detail {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .service1-text {
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .service1-text p {
    width: 100%;
    max-width: 720px;
    text-align: left;
  }

  .service1-image {
    width: 100%;
    max-width: 400px;
  }

  .service1-hero {
    padding: 2rem 1rem;
  }

  .service1-hero h1 {
    font-size: 1.6rem;
  }

  .team-container {
    gap: 1rem;
  }

  .team-card {
    width: 150px;
  }

  .team-card h2 {
    font-size: 1rem;
  }

  .team-card p {
    font-size: 0.85rem;
  }

  .icon-board {
    flex-direction: column;
    gap: 1.5rem;
  }

  .column {
    max-width: 100%;
  }

  .appointment-btn {
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }

.whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
    bottom: 15px;
    right: 15px;
  }

  .cases-list {
    gap: 1.5rem;
    padding: 2rem;
  }

  .case-card {
    padding: 1rem;
  }

  .comparison-board {
    padding: 1.5rem;
  }

  .pros-cons-board {
    padding: 1.5rem;
  }
}

/* MOBILE: 480px and below */
@media (max-width: 480px) {
  .hamburger {
    display: flex;
  }

  .nav-left,
  .navbar ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    gap: 0.5rem;
    margin: 0;
    z-index: 999;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .menu-toggle:checked ~ .nav-left,
  .menu-toggle:checked ~ .navbar ul {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-left li,
  .navbar ul li {
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

/* FINAL MOBILE HEADER CLEANUP - simple, high-priority overrides */
@media (max-width: 600px) {
  header, .navbar {
    background: transparent !important;
    box-shadow: none !important;
    padding: 6px 0 !important;
    overflow: visible !important;
  }

  /* hide desktop nav items */
  .navbar ul,
  .nav-left,
  .navbar > ul,
  .navbar ul li {
    display: none !important;
  }

  /* simple transparent hamburger (three lines) fixed top-left */
  header .hamburger {
    position: fixed !important;
    left: 12px !important;
    top: 12px !important;
    background: transparent !important;
    padding: 6px !important;
    border-radius: 6px !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
  }
  header .hamburger span {
    width: 22px !important;
    height: 2px !important;
    background: #1c3f70 !important;
    margin: 4px 0 !important;
    border-radius: 2px !important;
    transition: transform .22s ease, opacity .18s ease !important;
    display: block !important;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(1),
  body.menu-open .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(2),
  body.menu-open .hamburger span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(3),
  body.menu-open .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  /* centered logo (non-interactive) */
  .logo {
    position: fixed !important;
    left: 50% !important;
    top: 12px !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    pointer-events: none !important;
  }
  .nav-logo { max-height: 44px !important; }

  /* language globe pinned top-right on mobile only */
  .navbar-right,
  .language-switcher {
    display: block !important;
    position: fixed !important;
    right: 12px !important;
    top: 12px !important;
    z-index: 100001 !important;
    pointer-events: auto !important;
    background: transparent !important;
  }
  body.homepage .lang-btn {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 100002 !important;
    background: #ffffff !important;
    padding: 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
    pointer-events: auto !important;
  }
  /* language menu fixed under globe */
  body.homepage .lang-menu {
    position: fixed !important;
    top: 54px !important;
    right: 12px !important;
    left: auto !important;
    transform: none !important;
    z-index: 100003 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: max-height .22s ease, opacity .18s ease !important;
  }
  .language-switcher:focus-within .lang-menu,
  .language-switcher.open .lang-menu,
  .language-switcher:hover .lang-menu {
    max-height: 240px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* ensure overlays are above header */
  .menu-backdrop { z-index: 100004 !important; }
  .mobile-menu { z-index: 100005 !important; }
}

/* FINAL MOBILE OVERRIDES: restore simple hamburger + pin globe only on mobile */
@media (max-width: 600px) {
  /* Simple transparent hamburger (three stacked lines) */
  .hamburger {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20050 !important;
  }
  .hamburger span {
    width: 22px !important;
    height: 2px !important;
    background: #1c3f70 !important;
    margin: 4px 0 !important;
    border-radius: 2px !important;
  }

  /* Pin the globe only on mobile and make it functional */
  body.homepage .lang-btn {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 20060 !important;
    background: rgba(255,255,255,0.95) !important;
    padding: 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important;
  }
  /* language menu fixed below globe */
  body.homepage .lang-menu {
    position: fixed !important;
    top: 54px !important;
    right: 12px !important;
    left: auto !important;
    transform: none !important;
    z-index: 20061 !important;
  }
}

/* ==================== FINAL HEADER FIX - high priority overrides ==================== */
/* Keeps desktop header intact, and enforces a reliable mobile header behavior. */
header, header .navbar { position: relative; z-index: 1000; }
header .navbar { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 12px 16px !important; background: #ffffff !important; }
/* Logo left using flex order */
header .logo { position: relative !important; order: 1 !important; left: auto !important; top: auto !important; transform: none !important; pointer-events: none !important; z-index: 1010 !important; }
header .nav-logo { max-height: 60px !important; }

/* Desktop nav visible and inline */
header .navbar ul { display: flex !important; gap: 12px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
header .nav-left { display: flex !important; order: 2 !important; flex: 1 !important; justify-content: flex-end !important; gap: 8px !important; align-items: center !important; }
header .navbar-right { position: relative !important; order: 3 !important; display: flex !important; align-items: center !important; gap: 8px !important; flex-shrink: 0 !important; }

/* Language globe - desktop: keep inline and non-fixed so it doesn't cover buttons */
header .lang-btn { position: relative !important; background: transparent !important; padding: 6px !important; border-radius: 6px !important; box-shadow: none !important; color: #1c3f70 !important; }
header .language-switcher .lang-menu { position: absolute !important; right: 0 !important; left: auto !important; top: calc(100% + 8px) !important; transform: none !important; z-index: 1100 !important; }
header .language-switcher .lang-menu { max-height: 0; opacity: 0; pointer-events: none; transition: max-height .2s ease, opacity .16s ease; }
header .language-switcher.open .lang-menu,
header .language-switcher:focus-within .lang-menu,
header .language-switcher:hover .lang-menu { max-height: 240px !important; opacity: 1 !important; pointer-events: auto !important; }

/* Overlay and mobile menu should sit above everything */
.menu-backdrop { z-index: 10050 !important; }
.mobile-menu { z-index: 10060 !important; }
body.menu-open { overflow: hidden !important; }

/* MOBILE: keep hamburger simple, logo centered, globe pinned top-right */
@media (max-width: 600px) {
  /* hide desktop nav items & remove white navbar background behind fixed controls */
  header .navbar ul,
  header .nav-left,
  header .navbar > ul { display: none !important; }
  header .navbar { background: transparent !important; padding: 0 !important; }

  /* simple three-line hamburger */
  .hamburger { display: flex !important; flex-direction: column !important; position: fixed !important; left: 12px !important; top: 12px !important; background: transparent !important; padding: 6px !important; border-radius: 6px !important; z-index: 10070 !important; box-shadow: none !important; }
  .hamburger span { width: 22px !important; height: 2px !important; background: #1c3f70 !important; margin: 4px 0 !important; border-radius: 2px !important; display: block !important; transition: transform .22s ease, opacity .18s ease !important; }
  .menu-toggle:checked ~ .hamburger span:nth-child(1), body.menu-open .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }
  .menu-toggle:checked ~ .hamburger span:nth-child(2), body.menu-open .hamburger span:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
  .menu-toggle:checked ~ .hamburger span:nth-child(3), body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) !important; }

  /* logo pinned center top (non-interactive) */
  header .logo { position: fixed !important; left: 50% !important; top: 12px !important; transform: translateX(-50%) !important; pointer-events: none !important; z-index: 10065 !important; }

  /* language globe pinned top-right and visible */
  header .navbar-right, header .language-switcher { position: fixed !important; right: 12px !important; top: 12px !important; z-index: 10071 !important; display: flex !important; align-items: center !important; }
  body.homepage .lang-btn { background: #ffffff !important; padding: 8px !important; border-radius: 8px !important; box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important; pointer-events: auto !important; }
  /* language dropdown fixed under globe */
  body.homepage .lang-menu { position: fixed !important; top: 54px !important; right: 12px !important; left: auto !important; transform: none !important; z-index: 10072 !important; }

  /* ensure mobile overlay covers header */
  .menu-backdrop { z-index: 10080 !important; }
  .mobile-menu { z-index: 10090 !important; }
}

/* end final header fix */
  .navbar {
    padding: 0.8rem;
  }

  .nav-logo {
    max-height: 40px;
  }

  .navbar ul {
    gap: 5px;
  }

  .nav-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .navbar-right {
    margin-left: auto;
  }

  .lang-btn i {
    font-size: 1.3rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .nav-logo {
    max-height: 40px;
  }

  .navbar ul {
    gap: 5px;
  }

  .nav-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .navbar-right {
    margin-left: auto;
  }

  .lang-btn i {
    font-size: 1.3rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .service1-detail {
    padding: 1.5rem 0.8rem;
  }

  .service1-text {
    font-size: 1rem;
    text-align: center;
  }

  .service1-text p {
    text-align: left;
  }

  .service1-image {
    width: 100%;
  }

  .service1-hero h1 {
    font-size: 1.3rem;
  }

  .service1-hero {
    padding: 1.5rem 0.8rem;
  }

  .appointment-btn {
    margin: 1.5rem auto 0;
  }

  .slideshow-square {
    width: 200px;
    height: 200px;
  }

  .services-list {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .service h2 {
    font-size: 1.1rem;
  }

  .service p {
    font-size: 0.9rem;
  }

  .team-container {
    flex-direction: column;
    gap: 1rem;
  }

  .team-card {
    width: 400px;
    padding: 1.2rem;
  }

  .team-card h2 {
    font-size: 1rem;
  }

  .team-card p {
    font-size: 0.85rem;
  }

  .appointment-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
    width: auto;
    justify-content: center;
    margin: 1.5rem auto 0;
    max-width: 320px;
  }

  .appointment-btn i {
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
    .service1-detail {
      flex-direction: column;
      align-items: center;
    }

    .service1-text {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .service1-text p {
      width: 100%;
      max-width: 720px;
      text-align: left;
      margin: 0;
    }

    .service1-text .appointment-btn {
      display: inline-flex;
      margin: 1.5rem auto 0;
      width: auto;
      max-width: 320px;
      justify-content: center;
    }
  }

  .column {
    padding: 1rem;
    max-width: 100%;
  }

  .column h3 {
    font-size: 1.1rem;
  }

  .column li {
    font-size: 0.95rem;
  }

  .icon-board {
    margin-top: 1rem;
    gap: 1rem;
    flex-direction: column;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .cases-list {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .case-card h2 {
    font-size: 1rem;
  }

  .comparison-board {
    padding: 1rem;
  }

  .pros-cons-board {
    padding: 1rem;
  }

  .pros-cons-board .icon-board {
    flex-direction: column;
    gap: 1rem;
  }

  .pros-cons-board .column {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .pros-cons-board .column ul {
    display: block;
  }

  .pros-cons-board .column li {
    display: list-item;
  }

  .about h2,
  .workplace h2,
  .services-hero h1,
  .cases-hero h1 {
    font-size: 1.3rem;
  }

  footer {
    padding: 0.8rem;
  }

  footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }

  footer p:last-child {
    margin-bottom: 0;
  }

  .mobile-menu {
    width: 100%;
  }
}

/* Appointment Page Styling */
body.appointment-page {
  background: #f4f6f9;
  color: #333;
  margin: 0;
  padding: 0;
}

.appointment {
  max-width: 750px;
  margin: 80px auto;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.appointment h1 {
  text-align: center;
  font-size: 2.2rem;
  color: #1c3f70;
  margin-bottom: 12px;
}

.appointment p {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 22px; /* spacing between fields */
}

.appointment-form .form-group {
  display: flex;
  flex-direction: column;
}

.appointment-form label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1c3f70;
}

/* Inputs and selects unified styling */
.appointment-form input,
.appointment-form select {
  width: 100%;
  padding: 16px;              /* bigger card size */
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 1.4;           /* consistent height */
  cursor: pointer;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.appointment-form input:focus,
.appointment-form select:focus {
  border-color: #1c3f70;
  box-shadow: 0 0 8px rgba(28,63,112,0.4);
  outline: none;
}

/* Placeholder option styling */
.appointment-form select option.placeholder-option {
  font-size: 1.1rem;
  color: #888;
  font-style: italic;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: #1c3f70;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #16345d;
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
  border: 2px solid #1c3f70;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #1c3f70;
  color: #fff;
}

.flatpickr-day:hover {
  background: #16345d;
  color: #fff;
}

.flatpickr-months .flatpickr-month {
  background: #1c3f70;
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.flatpickr-weekday {
  color: #1c3f70;
  font-weight: bold;
}
.flatpickr-time {
  border-top: 1px solid #ccc;
  padding: 8px;
}

.flatpickr-time .flatpickr-time-separator,
.flatpickr-time input {
  color: #1c3f70;
  font-weight: bold;
}

/* ==================== Contact Page Styling ==================== */
.contact-info {
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
}

.contact-info h2 {
  color: #1c3f70;
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 2rem;
  color: #1c3f70;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #1c3f70;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: #555;
  margin: 0;
}

.contact-card a {
  color: #1c3f70;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Social Media Section */
.social-media {
  padding: 3rem 2rem;
  text-align: center;
  background: #f4f6f9;
}

.social-media h2 {
  color: #1c3f70;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #1c3f70;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 220px;
  max-width: 320px;
}

.social-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}

.social-link i {
  font-size: 1.5rem;
}

/* Map Section */
.map-section {
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
}

.map-section h2 {
  color: #1c3f70;
  margin-bottom: 1.5rem;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Emergency Notice */
.emergency-notice {
  background: #1c3f70;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.emergency-notice i {
  font-size: 1.5rem;
}

.emergency-notice a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
  }
  
  .social-link {
    width: 100%;
    max-width: 420px;
    min-width: auto;
    justify-content: center;
  }

  .services-overview .appointment-btn,
  .services-overview .nav-btn,
  .cta-section .appointment-btn {
    width: auto;
    max-width: 100%;
  }
}

/* ==================== About Page Styling ==================== */
.about-content {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-text h2 {
  color: #1c3f70;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  position: relative;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
background: linear-gradient(90deg, #1c3f70, #6cbcff);
  margin-top: 10px;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.2rem;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* Mission & Vision */
.mission-vision {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
  text-align: center;
}

.mission-vision h2 {
  color: #1c3f70;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  position: relative;
}

.mission-vision h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
background: linear-gradient(90deg, #1c3f70, #6cbcff);
  margin: 10px auto 0;
  border-radius: 2px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mv-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1c3f70, #6cbcff);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.mv-card:hover::before {
  transform: scaleX(1);
}

.mv-card i {
  font-size: 3rem;
  color: #1c3f70;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.mv-card:hover i {
  transform: scale(1.1);
}

.mv-card h3 {
  color: #1c3f70;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.mv-card p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

/* Why Choose Us */
.why-choose {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.why-choose h2 {
  color: #1c3f70;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  position: relative;
}

.why-choose h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1c3f70, #6cbcff);
  margin: 10px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: #f8fbff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(28,63,112,0.2);
  background: #fff;
}

.feature-card i {
  font-size: 2.5rem;
  color: #1c3f70;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
  color: #1c3f70;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Services Overview */
.services-overview {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
  text-align: center;
}

.services-overview h2 {
  color: #1c3f70;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  position: relative;
}

.services-overview h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1c3f70, #6cbcff);
  margin: 10px auto 0;
  border-radius: 2px;
}

.services-overview > p {
  color: #555;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

.service-mini {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-mini:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.services-overview .appointment-btn,
.services-overview .nav-btn {
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
}

.cta-section .appointment-btn {
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
}

/* Circular image styling for service-mini */
.service-mini-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid #1c3f70;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-mini:hover .service-mini-img {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Fallback icon styling */
.service-mini i {
  font-size: 2rem;
  color: #1c3f70;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.service-mini:hover i {
  transform: scale(1.15);
}

.service-mini h3 {
  color: #1c3f70;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.service-mini p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 3rem 2rem;
  background: #1c3f70;
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Responsive for About Page */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-mini-grid {
    grid-template-columns: 1fr;
  }

  .service-mini {
    min-height: auto;
    padding: 1.75rem 1.25rem;
  }

  .services-overview {
    padding: 3rem 1rem;
  }

  .social-links {
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .social-link {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */

/* Keyframes */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  0%   { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  0%   { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  0%   { opacity: 0; transform: scale(0.88); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  0%   { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomFade {
  0%   { opacity: 0; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* Base reveal class — hidden by default */
.reveal {
  opacity: 0;
  will-change: opacity, transform;
}

/* Variants — each consumed by the .visible trigger */
.reveal-up      { transform: translateY(40px); }
.reveal-left    { transform: translateX(-50px); }
.reveal-right   { transform: translateX(50px); }
.reveal-scale   { transform: scale(0.88); }
.reveal-hero    { transform: translateY(-30px); }
.reveal-zoom    { transform: scale(1.08); }

/* Visible state — triggers the matching animation */
.reveal.visible.reveal-up    { animation: fadeInUp 0.7s ease-out forwards; }
.reveal.visible.reveal-left  { animation: fadeInLeft 0.7s ease-out forwards; }
.reveal.visible.reveal-right { animation: fadeInRight 0.7s ease-out forwards; }
.reveal.visible.reveal-scale { animation: scaleIn 0.6s ease-out forwards; }
.reveal.visible.reveal-hero  { animation: slideDown 0.6s ease-out forwards; }
.reveal.visible.reveal-zoom  { animation: zoomFade 0.8s ease-out forwards; }

/* Stagger delays for grid children */
.stagger-1 { transition-delay: 0s; animation-delay: 0s; }
.stagger-2 { transition-delay: 0.12s; animation-delay: 0.12s; }
.stagger-3 { transition-delay: 0.24s; animation-delay: 0.24s; }
.stagger-4 { transition-delay: 0.36s; animation-delay: 0.36s; }
.stagger-5 { transition-delay: 0.48s; animation-delay: 0.48s; }
.stagger-6 { transition-delay: 0.6s; animation-delay: 0.6s; }

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible,
  .reveal.visible.reveal-up,
  .reveal.visible.reveal-left,
  .reveal.visible.reveal-right,
  .reveal.visible.reveal-scale,
  .reveal.visible.reveal-hero,
  .reveal.visible.reveal-zoom {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ==================== SUCCESS MODAL POPUP ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: scaleUp 0.3s ease;
}

.modal-icon {
  font-size: 4rem;
  color: #25d366;
  margin-bottom: 10px;
}

.modal-card h2 {
  color: #1c3f70;
  font-size: 1.8rem;
  margin: 10px 0 8px;
}

.modal-card p {
  color: #555;
  font-size: 1.1rem;
  margin: 0 0 20px;
}

.modal-close-btn {
  background: #1c3f70;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background: #0a2a4d;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.emergency-booking-message {
    margin-top: 10px;
    padding: 15px;
    border-radius: 8px;
    background: #fff3cd;
    border-left: 5px solid #dc3545;
    font-size: 14px;
    line-height: 1.5;
}

.emergency-booking-message a {
    font-weight: bold;
}

/* Emergency Modal Call Button */
#emergencyModal .modal-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-decoration: none; /* removes underline */

    background: #1c3f70;
    color: white;

    padding: 12px 28px;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    transition: 0.3s ease;
}

#emergencyModal .modal-close-btn:hover {
    background: #0a2a4d;
}


/* Emergency Modal Back Button */
.modal-back-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 12px;

    background: white;
    color: #1c3f70;

    padding: 12px 28px;

    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    border: 2px solid #1c3f70;

    cursor: pointer;

    transition: 0.3s ease;
}


.modal-back-btn:hover {

    background: #1c3f70;
    color: white;

}








