/* RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* NAVBAR */
header {
  background: #0f172a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/86/Dental_clinic_set-up.jpg/800px-Dental_clinic_set-up.jpg') center/cover no-repeat;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.hero button {
  background: #38bdf8;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  color: #0f172a;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero button:hover {
  background: #0ea5e9;
  color: white;
}

/* SECTIONS */
.section {
  background: white;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.section h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section p {
  margin-bottom: 1rem;
  text-align: center;
}

.section img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1rem;
}

/* SERVICES CARDS */
.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1rem;
}

.card {
  background: #e0f2fe;
  padding: 1.2rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: #bae6fd;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0ea5e9;
  margin-bottom: 0.5rem;
}

/* REVIEWS */
.reviews {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.reviews blockquote {
  min-width: 280px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #f0f9ff;
  padding: 1rem;
  border-left: 4px solid #38bdf8;
  border-radius: 8px;
  font-style: italic;
}

/* FORM */
.contact form {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
}

.contact button {
  background: #0ea5e9;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #0369a1;
}

/* SOCIAL ICONS */
.social-media {
  margin-top: 2rem;
  text-align: center;
}

.social-media a img {
  width: 32px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.social-media a img:hover {
  transform: scale(1.1);
}

/* FOOTER */
footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .reviews {
    flex-direction: column;
  }
}
/* ...existing code... */

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 60px;
    right: 0;
    width: 180px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 1001;
  }
  .nav-links.active {
    display: flex;
  }
}