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

:root {
  --white: #FFFFFF;
  --light-blue: #EAF6FF;
  --dental-blue: #2196F3;
  --navy: #0B3C5D;
  --soft-gray: #F5F5F5;
  --text-dark: #1a1a1a;
  --text-medium: #555;
  --text-light: #888;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --white: #1a1a2e;
  --light-blue: #16213e;
  --soft-gray: #2a2a4a;
  --text-dark: #e0e0e0;
  --text-medium: #aaa;
  --text-light: #777;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  transition: var(--transition);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-medium);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--dental-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--dental-blue);
  border: 2px solid var(--dental-blue);
}

.btn-outline:hover {
  background: var(--dental-blue);
  color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: #082b44;
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--white);
  color: #c0392b;
  font-weight: 700;
  padding: 16px 40px;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 15px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.btn-full {
  width: 100%;
}

/* Loading Screen */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--light-blue);
  border-top-color: var(--dental-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(26, 26, 46, 0.95);
}

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

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-logo span {
  color: var(--dental-blue);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-dark);
}

.nav-links a:hover {
  background: var(--light-blue);
  color: var(--dental-blue);
}

.nav-links .btn-nav {
  background: var(--dental-blue);
  color: var(--white);
  padding: 8px 20px;
}

.nav-links .btn-nav:hover {
  background: #1976D2;
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.nav-theme {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-theme:hover {
  background: var(--light-blue);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.08);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero-text h1 span {
  color: var(--dental-blue);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.hero-contact i {
  color: var(--dental-blue);
  font-size: 1.1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* About */
.about {
  background: var(--soft-gray);
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.about-text h3 span {
  color: var(--dental-blue);
}

.about-text p {
  color: var(--text-medium);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.about-stat {
  text-align: center;
  padding: 15px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-stat .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dental-blue);
}

.about-stat .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--dental-blue);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--dental-blue);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--dental-blue);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* Why Choose Us */
.why-choose {
  background: var(--light-blue);
}

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

.why-item {
  display: flex;
  gap: 15px;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--dental-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-text h4 {
  margin-bottom: 6px;
  color: var(--navy);
}

.why-text p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-info .role {
  color: var(--dental-blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-info p {
  color: var(--text-medium);
  font-size: 0.85rem;
}

/* Testimonials */
.testimonials {
  background: var(--soft-gray);
}

.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 0 10px;
}

.testimonial-card .stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-card .quote {
  font-size: 1.05rem;
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--navy);
}

.testimonial-card .author span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--dental-blue);
  width: 30px;
  border-radius: 6px;
}

/* Clinic Tour */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.tour-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  border: 3px solid var(--dental-blue);
  box-shadow: var(--shadow);
}

.tour-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.tour-item:hover img {
  transform: scale(1.05);
}

.tour-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Appointment Form */
.appointment {
  background: var(--soft-gray);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dental-blue);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--dental-blue);
}

.faq-question i {
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* Emergency */
.emergency {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.emergency h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.emergency p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.emergency .btn {
  background: var(--white);
  color: #c0392b;
  font-size: 1.1rem;
  padding: 16px 40px;
}

.emergency .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.emergency .emergency-phone {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 15px;
}

/* Contact */
.contact-wrapper {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item i {
  width: 45px;
  height: 45px;
  background: var(--light-blue);
  color: var(--dental-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item .contact-text h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-item .contact-text p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.contact-map {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 350px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--dental-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--dental-blue);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--dental-blue);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--dental-blue);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ===== POLISHED ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Enhanced Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Enhanced Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 50%, var(--light-blue) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.12) 0%, transparent 70%);
  animation: gentleBob 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.06) 0%, transparent 70%);
  animation: gentleBob 10s ease-in-out infinite reverse;
}

/* Glass navbar */
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 10px 0;
}

/* Enhanced Section Titles */
.section-title h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--dental-blue);
  border-radius: 3px;
}
.section-title p {
  color: var(--text-medium);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 15px auto 0;
}

/* Enhanced Service Cards */
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(33,150,243,0.08);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dental-blue), #64B5F6);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(33,150,243,0.15);
  border-color: rgba(33,150,243,0.2);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--light-blue), rgba(33,150,243,0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--dental-blue);
  transition: all 0.4s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--dental-blue), #1976D2);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(33,150,243,0.3);
}

/* Enhanced Why Choose Us */
.why-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: rgba(33,150,243,0.15);
}
.why-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--dental-blue), #1976D2);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(33,150,243,0.25);
}

/* Enhanced Team Cards */
.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid transparent;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(33,150,243,0.15);
}
.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover img {
  transform: scale(1.05);
}
.team-info {
  padding: 24px;
}

}
}

/* Enhanced Tour Grid */
.tour-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  border: 3px solid var(--dental-blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(33,150,243,0.2);
}
.tour-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-item:hover img {
  transform: scale(1.08);
}
.tour-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Enhanced Form */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(33,150,243,0.06);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dental-blue);
  box-shadow: 0 0 0 4px rgba(33,150,243,0.12);
}

/* Enhanced Emergency */
.emergency {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
  position: relative;
  overflow: hidden;
}
.emergency::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: gentleBob 6s ease-in-out infinite;
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(180deg, var(--navy) 0%, #082b44 100%);
}
.footer-col a {
  transition: all 0.3s ease;
  padding-left: 0;
}
.footer-col a:hover {
  color: var(--dental-blue);
  padding-left: 8px;
}

/* Smooth image loading */
img {
  transition: opacity 0.4s ease;
}
img[loading='lazy'] {
  opacity: 0;
}
img[loading='lazy'].loaded {
  opacity: 1;
}
/* Responsive */
@media (max-width: 968px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-contact {
    justify-content: center;
  }
  .hero-image img {
    max-width: 350px;
  }
  .about-content {
    flex-direction: column;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .section-title h2 {
    font-size: 1.7rem;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .form-wrapper {
    padding: 25px;
  }
  .emergency h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  section {
    padding: 50px 0;
  }
}

/* Smooth scroll for safari */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

