* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background: white;
  color: white;
  padding: 15px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo span {
  color: #ffe600;
}

nav a {
  color: #1e88b8;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url('../assets/images/hero.jpg') center/cover no-repeat;
  height: 85vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}


.hero-content h2 {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #1e88b8;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* Sections */
.section {
  padding: 60px 0;
}

.gray {
  background: #f4f4f4;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  padding: 15px 15px 5px;
}

.service-card p {
  padding: 0 15px 20px;
  font-size: 0.95rem;
  color: #555;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #1e88b8;
  color: white;
  text-align: center;
  padding: 15px 0;
}

/* Responsive */
@media(max-width: 768px) {
  .hero-content h2 {
    font-size: 2rem;
  }
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background: #1ebe5d;
}


/* Brand container */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo size */
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Text wrapper */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* "Dental care" - BLUE */
.brand-primary {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e88b8;   /* clinic blue (matches logo) */
}

/* "for you" - GREY */
.brand-secondary {
  font-size: 0.95rem;
  font-weight: 500;
  color: #9aa0a6;   /* soft professional grey */
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo {
    height: 32px;
  }

  .brand-primary {
    font-size: 1.05rem;
  }

  .brand-secondary {
    font-size: 0.85rem;
  }
}



/* ================= Testimonial Section ================= */
#testimonials {
  padding: 60px 0;
  background: #f8f9fa;
}

#testimonials h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 2rem;
  font-weight: 600;
  color: #1e88b8;
}

.testimonials-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 20px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.testimonial-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.9rem;
  color: #555;
}

.testimonial-author strong {
  color: #1e88b8;
  font-weight: 600;
  display: block;
}



/* ================= About Doctor ================= */
.about-doctor {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-doctor h2 {
  margin-bottom: 20px;
  color: #1e88b8;
}

.about-doctor p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}

/* Doctor Image */
.doctor-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Mobile */
@media (max-width: 768px) {
  .about-doctor {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .doctor-image img {
    max-width: 280px;
    margin: 0 auto;
  }
}


/* ================= Glimpse of Treatments ================= */
#treatment-glimpse {
  background: #ffffff;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 10px auto 30px;
  color: #666;
  font-size: 1rem;
}

/* Scroll container */
.glimpse-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;              /* ✅ horizontal scroll */
  padding: 10px 24px 20px 24px;  /* ✅ last image fully visible */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (clean UI) */
.glimpse-scroll::-webkit-scrollbar {
  display: none;
}
.glimpse-scroll {
  scrollbar-width: none;
}

/* Image card – FIXED SIZE */
.glimpse-item {
  flex: 0 0 auto;
  width: 280px;                  /* ✅ uniform width */
  height: 200px;                 /* ✅ uniform height */
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
  scroll-snap-align: start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Image scaling rule */
.glimpse-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* ✅ THIS fixes different image sizes */
  object-position: center;
}

/* Hover polish */
.glimpse-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

/* Mobile tuning */
@media (max-width: 768px) {
  .glimpse-item {
    width: 240px;
    height: 170px;
  }
}

.glimpse-wrapper {
  position: relative;
}

/* Scroll arrows */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

/* Hide buttons on mobile (swipe instead) */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
}
