/* BrightSmile Dental — Modern Dental Clinic */

:root {
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-pale: #E6FAF7;
  --teal-glow: rgba(13,148,136,0.12);
  --navy: #0F2B3C;
  --navy-light: #1A3D52;
  --white: #FFFFFF;
  --off-white: #F8FBFA;
  --cream: #F0F7F6;
  --text: #0F2B3C;
  --text-dim: #5A7A8A;
  --text-light: #8AABB8;
  --border: rgba(13,148,136,0.08);
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== NAVIGATION ===== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .tooth-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-brand h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
}

.nav-brand h2 span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dim);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 12px 28px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,43,60,0.2);
}

/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-content {
  max-width: 540px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-trust {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.trust-item {
  text-align: center;
}

.trust-item .number {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--teal);
  line-height: 1;
}

.trust-item .label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 4px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.btn-teal {
  font-size: 14px;
  font-weight: 600;
  padding: 16px 36px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 24px var(--teal-glow);
}

.btn-teal:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(15,43,60,0.2);
}

.btn-outline-teal {
  font-size: 14px;
  font-weight: 500;
  padding: 16px 36px;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(13,148,136,0.3);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-teal:hover {
  border-color: var(--teal);
  background: var(--teal-glow);
}

/* Hero Image */

.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-img-main {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.hero-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 12px 40px rgba(15,43,60,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.hero-badge-float .badge-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero-badge-float .badge-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.hero-badge-float .badge-text p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== SERVICES ===== */

.services {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-heading em {
  font-style: italic;
  color: var(--teal);
}

.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(13,148,136,0.08);
  border-color: rgba(13,148,136,0.15);
}

.service-card .card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.service-card .card-body {
  padding: 28px;
}

.service-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ===== WHY US ===== */

.why-us {
  padding: 100px 48px;
  background: var(--navy);
  color: white;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.why-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.why-content .section-tag {
  color: var(--teal-light);
}

.why-content h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 20px;
}

.why-content h2 em {
  font-style: italic;
  color: var(--teal-light);
}

.why-content > p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 32px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.why-list li .check {
  width: 28px;
  height: 28px;
  background: rgba(20,184,166,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--teal-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== TEAM ===== */

.team {
  padding: 100px 48px;
  text-align: center;
}

.team-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,148,136,0.08);
}

.team-photo {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center top;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}

.team-info .bio {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */

.testimonials {
  padding: 100px 48px;
  background: var(--cream);
  text-align: center;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13,148,136,0.06);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--teal-pale);
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.author-detail {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== APPOINTMENT ===== */

.appointment {
  padding: 100px 48px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.appointment-box {
  background: white;
  border-radius: 24px;
  padding: 56px 48px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(13,148,136,0.06);
  margin-top: 40px;
}

.appt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.appt-form label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
  display: block;
}

.appt-form input,
.appt-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  background: var(--off-white);
  border: 1px solid rgba(13,148,136,0.1);
  border-radius: 12px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.appt-form input:focus,
.appt-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.appt-form .full {
  grid-column: span 2;
}

.appt-form button {
  grid-column: span 2;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.appt-form button:hover {
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(15,43,60,0.2);
}

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

footer {
  text-align: center;
  padding: 56px 32px;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

footer .brand {
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  margin-bottom: 16px;
}

footer .brand span {
  color: var(--teal-light);
}

footer .info {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.45);
}

footer .copy {
  font-size: 11px;
  margin-top: 32px;
  opacity: 0.3;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
  }
  .hero-visual { order: -1; }
  .hero-img-main img { height: 320px; }
  .hero-badge-float { display: none; }
  .services, .team, .appointment { padding: 60px 24px; }
  .why-us { padding: 60px 24px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-img img { height: 300px; }
  .testimonials { padding: 60px 24px; }
  .appt-form { grid-template-columns: 1fr; }
  .appt-form .full,
  .appt-form button { grid-column: span 1; }
}
