/* ==============================
   LUXURY DENTAL CLINIC STYLES
   ============================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Lora:wght@400;700&family=Montserrat:wght@400;600;700&display=swap');

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 9999; /* make sure it's above everything */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* Navbar container */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

/* Logo */
.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a2b4c;
  text-decoration: none;
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

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

.nav-menu a {
  color: #1a2b4c;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #007BFF;
  border-bottom: 2px solid #007BFF;
}

/* Responsive - stack menu vertically on small screens */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 15px;
    background: rgba(255,255,255,0.98);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 20px;
    display: none; /* toggle with JS for mobile menu */
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  }

  .nav-menu.show {
    display: flex;
  }
}

body {
  background-color: #fdfdfd; /* soft white */
  color: #1a2b4c; /* muted navy for text */
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: #1a2b4c;
  margin-bottom: 20px;
}

p {
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 1rem;
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: linear-gradient(to bottom right, rgba(26,43,76,0.5), rgba(0,191,255,0.3)); /* navy-teal overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInSlow 2s ease forwards;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 400;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}

.hero .btn {
  background: linear-gradient(135deg, #007BFF, #d4af37); /* teal to soft gold */
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px; /* pill shape */
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Fade-in keyframes */
@keyframes fadeInSlow {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}

/* ===== NAVIGATION ===== */
/* ===== NAVIGATION FIX ===== */
nav {
  position: fixed; /* changed from sticky to fixed */
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 9999; /* higher than hero overlay */
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Add some top padding to body so content isn't hidden behind fixed nav */
body {
  padding-top: 80px; /* adjust according to nav height */
}

.nav-menu .active {
  color: #007BFF;
  border-bottom: 2px solid #007BFF;
}

nav a {
  color: #1a2b4c;
  margin: 0 15px;
  font-weight: 500;
}

nav a:hover {
  color: #007BFF;
  border-bottom: 2px solid #007BFF;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a2b4c;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

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

.service-card h3 {
  font-size: 1.4rem;
  color: #007BFF;
  margin-bottom: 10px;
}

.service-card p {
  color: #555;
  font-size: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(to bottom, #fdfdfd, #f1f8ff);
  padding: 100px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1a2b4c;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background: #ffffff;
  border-left: 5px solid #d4af37; /* gold accent */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial p {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
}

.testimonial h4 {
  font-weight: 600;
  color: #1a2b4c;
}

.testimonial .stars {
  color: #d4af37;
  margin-bottom: 10px;
}

/* ===== APPOINTMENT CTA ===== */
.appointment-cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #007BFF, #d4af37);
  color: #fff;
  border-radius: 20px 20px 0 0;
}

.appointment-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.appointment-cta .btn {
  background: #fff;
  color: #007BFF;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.appointment-cta .btn:hover {
  background: #e9f2ff;
  transform: translateY(-3px);
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* ===== FLOATING CTA BUTTONS ===== */
.floating-cta {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-cta .cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #007BFF; /* teal/navy gradient if desired */
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.floating-cta .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* WhatsApp button */
.floating-cta .whatsapp {
  background: #25D366; /* official WhatsApp green */
}

/* Call button */
.floating-cta .call {
  background: #1a2b4c; /* navy for a classy feel */
}

/* Icon inside button */
.floating-cta .cta-btn img {
  width: 24px;
  height: 24px;
}



/* Nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a2b4c;
}

/* Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    font-weight: 500;
    transition: 0.3s;
    color: #1a2b4c;
}

.nav-menu a:hover,
.nav-menu .active {
    color: #007BFF;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .services h2,
  .testimonials h2,
  .appointment-cta h2 {
    font-size: 2rem;
  }
}
/* ===== ABOUT / TEAM SECTION ===== */
.team-section {
  padding: 100px 20px;
  background: #fdfdfd;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #1a2b4c;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.team-info h3 {
  color: #007BFF;
  margin-bottom: 10px;
}

.team-info p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* ===== CLINIC STORY ===== */
.clinic-story {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #fdfdfd, #f1f8ff);
  text-align: center;
}

.clinic-story h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a2b4c;
}

.clinic-story p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 15px auto;
  color: #333;
  line-height: 1.7;
}

/* ===== ABOUT PAGE HERO ===== */
.about-hero {
  position: relative;
  height: 90vh; /* same as homepage */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/about-hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: linear-gradient(to bottom right, rgba(26,43,76,0.5), rgba(0,191,255,0.3));
  z-index: 1;
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInSlow 2s ease forwards;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}

.about-hero p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 400;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.2);
}

/* ===== SERVICES PAGE HERO ===== */
.services-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/about-hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(26,43,76,0.5);
  z-index: 1;
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  padding: 0 20px;
}

/* ===== SERVICES GRID ===== */
.services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  padding: 25px 20px;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

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

.service-card h3 {
  font-size: 1.4rem;
  color: #007BFF;
  margin-bottom: 10px;
}

.service-card p {
  color: #555;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-hero {
    height: 40vh;
  }
  .services h2 {
    font-size: 2rem;
  }
}
/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #1a2b4c;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-grid a img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Hero background */
.hero.gallery-hero {
  height: 50vh;
  background: url('images/gallery-hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero.gallery-hero .hero-content h1 {
  color: #fff;
  font-size: 3rem;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.hero.gallery-hero .hero-content p {
  color: #fff;
  font-size: 1.3rem;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1a2b4c;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.accordion-header {
  background: #007BFF;
  color: #fff;
  padding: 18px 20px;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header.active {
  background: #0056b3;
}

.accordion-content {
  background: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

