/* <!-- ================= NAVBAR + FOOTER ================= -->

   <!-- ================= NAVBAR ================= -->
  <style> */
body {
  font-family: 'Poppins', sans-serif;
  color: #4B5563;
  line-height: 1.6;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 18px;
  font-weight: 600;
  color: #1F2A37;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin: 0 14px;
  text-decoration: none;
  font-size: 15px;
  color: #1F2A37;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(0, 80, 157, 0.6),
      rgba(14, 165, 233, 0.6));
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


/* ================= BUTTON ================= */
.btn-primary {
  background: #fbda1b;
  color: #111827;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  border: none;
  cursor: pointer;
}



/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1F2A37;
  margin: 6px 0;
}


/* ================= FOOTER ================= */
.hospital-footer {
  background: #ffffff;
  color: #1F2A37;
  padding: 70px 20px 0;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #1F2A37;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #1F2A37;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 60px;
  padding: 18px 20px;
  border-top: 1px solid rgba(31, 42, 55, 0.2);
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.dev-credit {
  opacity: 0.85;
}


/* ================= FOOTER RESPONSIVE FIX ================= */

/* Tablets & below */
@media (max-width: 992px) {

  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-icons {
    justify-content: center;
  }
}


/* Mobiles */
@media (max-width: 768px) {

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links ul,
  .footer-contact ul {
    padding-left: 0;
  }

  .footer-links li,
  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 20px;
    border-bottom: 1px solid #E5E7EB;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}


/* Small phones */
@media (max-width: 480px) {

  .hospital-footer {
    padding: 50px 16px 0;
  }

  .footer-brand h3 {
    font-size: 20px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 16px;
  }
}


/* ================= FOOTER ICONS ================= */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: #00509d;
  font-size: 15px;
  margin-top: 3px;
}

/* Social icons refinement */
.social-icons a i {
  font-size: 16px;
}

/* ================= DENTAL IMPLANTS ================= */

/* ================= ROOT VARIABLES ================= */
:root {
  --white: #ffffff;
  --blue-soft: .nav-links a {
        margin: 0 14px;
        text-decoration: none;
        font-size: 15px;
        color: linear-gradient(90deg,
                rgba(0, 80, 157, 0.6),
                rgba(14, 165, 233, 0.6));
        font-weight: 500;
        position: relative;
    };
  /* PRIMARY BLUE */
  --yellow-accent: #ffce00;
  /* ACCENT YELLOW */
  --text-dark: #000000;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= GLOBAL ================= */
body {
  font-family: 'Poppins',sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HERO ================= */
.page-hero {
  position: relative;
  height: 320px;
  background: url("../images/gallery-hero.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Gradient overlay */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 80, 157, 0.6),
      rgba(14, 165, 233, 0.6));
  z-index: 1;
}

/* Text content */
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.page-hero-content h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.page-hero-content p {
  color: #ffffff;
}

@media (max-width: 768px) {
  .page-hero {
    height: 240px;
  }

  .page-hero-content h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 24px;
  }
}

.page-hero-content {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 0;
}

.white-bg {
  background: var(--white);
}

/* MEDIA SECTION → BLUE */
.yellow-bg {
  background: linear-gradient(90deg,
      rgba(14, 165, 233, 0.6),
      rgba(0, 80, 157, 0.6));
}

/* ================= SECTION TITLE ================= */
.section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #ffffff;
}

.white-bg .section h2 {
  color: var(--text-dark);
}

.section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--yellow-accent);
  /* YELLOW ACCENT */
  display: block;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ================= GALLERY GRID ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;

  /* YELLOW BORDER */
  border: 3px solid var(--yellow-accent);

  background: #f2f6f8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(255, 206, 0, 0.55);
}

/* ================= VIDEOS ================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.video-card iframe {
  width: 100%;
  height: 220px;
  border-radius: 10px;

  /* YELLOW BORDER */
  border: 3px solid var(--yellow-accent);
  background: #000;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .gallery-hero {
    height: 220px;
  }

  .hero-content h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .gallery-hero {
    height: 180px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .section {
    padding: 60px 0;
  }
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 18px;
  font-weight: 600;
  color: #1F2A37;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin: 0 14px;
  text-decoration: none;
  font-size: 15px;
  color: linear-gradient(90deg,
        rgba(0, 80, 157, 0.6),
        rgba(14, 165, 233, 0.6));
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #00509d;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ================= BUTTON ================= */

.btn-primary {
  background: #fbda1b;
  color: #111827;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  border: none;
  cursor: pointer;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1F2A37;
  margin: 6px 0;
}

/* ================= FOOTER ================= */

.hospital-footer {
  background: #ffffff;
  color: #1F2A37;
  padding: 70px 20px 0;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #1F2A37;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #1F2A37;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 60px;
  padding: 18px 20px;
  border-top: 1px solid rgba(31, 42, 55, 0.2);
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.dev-credit {
  opacity: 0.85;
}

/* ================= FOOTER RESPONSIVE FIX ================= */

/* Tablets & below */
@media (max-width: 992px) {

  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Mobiles */
@media (max-width: 768px) {

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links ul,
  .footer-contact ul {
    padding-left: 0;
  }

  .footer-links li,
  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 20px;
    border-bottom: 1px solid #E5E7EB;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Small phones */
@media (max-width: 480px) {

  .hospital-footer {
    padding: 50px 16px 0;
  }

  .footer-brand h3 {
    font-size: 20px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 16px;
  }
}

/* ================= FOOTER ICONS ================= */

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: #00509d;
  font-size: 15px;
  margin-top: 3px;
}

/* Social icons refinement */
.social-icons a i {
  font-size: 16px;
}

/* ================= DROPDOWN ================= */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  min-width: 230px;
  display: none;
  z-index: 1000;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #1F2A37;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #F3F4F6;
}

/* Desktop hover */
@media (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile dropdown */
@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 10px 0 0;
  }
}

.nav-dropdown.open .dropdown-menu {
  display: block;
}

/* BRAND LOGO */
.nav-brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 80px;
  height: auto;
}

.nav-brand span {
  font-size: 20px;
  font-weight: 600;
  color: #1F2A37;
  /* heading color */
}

@media (max-width: 768px) {
  .nav-brand span {
    font-size: 16px;
  }

  .brand-logo {
    width: 36px;
  }
}

/* ===== FOOTER DEVELOPER CREDIT ===== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.dev-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4B5563;
  /* matches your text tone */
}

.dev-credit strong {
  font-weight: 600;
}

.dev-logo {
  width: 18px;
  height: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .dev-credit {
    justify-content: center;
  }
}


/* ================= FLOATING ICONS ================= */

.floating-icons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.float-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

/* Hover effect */
.float-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* Individual colors */
.float-icon.call {
  background: #1e88e5;
}

.float-icon.whatsapp {
  background: #25D366;
}

.float-icon.instagram {
  background: radial-gradient(circle at 30% 110%,
      #fdf497 0%,
      #fd5949 45%,
      #d6249f 60%,
      #285AEB 90%);
}

.float-icon.facebook {
  background: #1877F2;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .floating-icons {
    right: 12px;
  }

  .float-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* ================= COLORFUL FOOTER ================= */

.hospital-footer {
  background: linear-gradient(135deg,
      rgba(0, 80, 157, 0.95),
      rgba(14, 165, 233, 0.9));
  color: #F9FAFB;
  padding: 60px 20px 0 20px;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

/* BRAND */
.footer-logo {
  width: 110px;
  margin-bottom: 16px;
  /* filter: brightness(0) invert(0); */
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #E5E7EB;
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #FFCE00;
  color: #111827;
  transform: translateY(-3px);
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #E5E7EB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFCE00;
  text-decoration: none;
  font-weight: bold;
}

/* CONTACT */
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #E5E7EB;
}

.footer-contact i {
  color: #FFCE00;
  margin-top: 4px;
}

.footer-contact a {
  color: #E5E7EB;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #FFCE00;
  text-decoration: none;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.322);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #FFCE00;
  text-decoration: none;
  font-weight: bold;
}

.dev-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.dev-logo {
  width: 18px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}



/* TESTIMONIALS */
.testimonials {
  background: #F9FAFB;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 50px;
}

/* Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 820px;
  margin: auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Card */
.testimonial-card {
  min-width: 100%;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 20px;
  position: relative;
}

/* Quote icon */
.quote-icon {
  font-size: 70px;
  color: #E5E7EB;
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: serif;
}

/* Text */
.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 30px;
}

.testimonial-card strong {
  display: block;
  font-size: 16px;
  color: #111827;
}

.stars {
  color: #FFCE00;
  font-size: 18px;
  margin-top: 6px;
}

/* Arrows (FIXED POSITION) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* Dots */
.carousel-dots {
  margin-top: 25px;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  background: #D1D5DB;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
}

.carousel-dots span.active {
  background: #00509d;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 40px 24px;
  }

  .carousel-btn {
    display: none;
  }
}