/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --primary-color: #0066cc;
  /* Apple-like vibrant blue */
  --primary-hover: #005bb5;
  --secondary-color: #f5f5f7;
  /* Apple off-white background */
  --accent-color: #1d1d1f;
  /* Apple dark text */
  --text-color: #86868b;
  /* Apple subtle text */
  --bg-color: #ffffff;
  /* Pure white */
  --light-bg: #f5f5f7;
  --whatsapp-color: #25D366;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--accent-color);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Contact Section */
.contact-section {
  background: var(--bg-color);
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-title {
  margin-bottom: 16px;
}

.contact-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 102, 204, 0.08);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f0f7ff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card--whatsapp .contact-icon {
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-color);
}

.contact-body h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.contact-body p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--accent-color);
  color: #fff !important;
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #fff !important;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.03em;
}

.logo i {
  color: var(--primary-color);
}

.navbar .logo img,
.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.nav-item a {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  opacity: 0.8;
}

.nav-item a:hover,
.nav-item a.active {
  opacity: 1;
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #1ebe57;
  color: white;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at center, #ffffff 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1.2;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
  color: var(--accent-color);
}

.hero-title span {
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--text-color);
  max-width: 90%;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 8px solid rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card-desc {
  font-size: 1.05rem;
  color: var(--text-color);
  margin-bottom: 24px;
}

.card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  gap: 12px;
}

/* Testimonials / Google Reviews */
.review-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.google-rating i {
  color: #FBBC05;
}

/* Map Section */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 500px;
}

.map-card {
  position: absolute;
  top: 40px;
  left: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 350px;
  z-index: 10;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--primary-color);
  margin-top: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid #fff;
}

/* Footer */
.footer {
  background-color: var(--accent-color);
  color: #fff;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.footer-col p {
  color: #a1a1a6;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a1a1a6;
}

.footer-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1a6;
  font-size: 0.9rem;
  display: block;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.footer-credit-link {
  color: inherit;
  text-decoration: none;
}

.footer-credit-link:focus,
.footer-credit-link:hover {
  color: inherit;
  text-decoration: none;
}

/* Page Header (Inner pages) */
.page-header {
  padding: 160px 0 80px;
  background: var(--secondary-color);
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-color);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb span {
  color: var(--accent-color);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #f9f9fb;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

/* Appointment Section */
.appointment-card {
  width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    flex: none;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-desc {
    margin: 0 auto 30px;
  }

  .map-card {
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .map-container {
    height: auto;
  }

  .map-container iframe {
    height: 400px;
  }

  .appointment-grid {
    grid-template-columns: 1fr !important;
  }

  .appointment-card {
    padding: 36px 28px !important;
  }

  .testimonial-card {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 30px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .page-title {
    font-size: 2.4rem;
  }

  .appointment-title {
    font-size: 1.8rem !important;
  }

  .appointment-subtitle {
    font-size: 1rem;
    margin-bottom: 28px !important;
  }

  .appointment-card {
    padding: 28px 20px !important;
  }

  .appt-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .testimonial-card {
    width: 260px;
  }
}

/* Google Reviews Section — Summary Card */
.google-summary-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  border: 1px solid rgba(0, 102, 204, 0.06);
}

.gsc-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gsc-logo {
  background: #f0f7ff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #4285F4;
  flex-shrink: 0;
}

.gsc-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.gsc-score {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.gsc-stars {
  color: #FBBC05;
  font-size: 1.1rem;
}

.gsc-count {
  font-size: 0.95rem;
  color: var(--text-color);
  font-weight: 500;
}

.gsc-count a {
  color: var(--primary-color);
  font-weight: 600;
}

.gsc-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
  margin: 30px 0 10px;
}

.testimonials-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  padding: 8px 2px 26px;
  width: max-content;
  animation: testimonials-scroll 48s linear infinite;
  will-change: transform;
}

.testimonials-carousel:hover .testimonials-track,
.testimonials-carousel.is-paused .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 102, 204, 0.08);
  padding: 24px;
  width: 320px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f7ff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.testimonial-name {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.testimonial-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4285F4;
  background: #f0f7ff;
  padding: 4px 10px;
  border-radius: 999px;
}

.testimonial-rating {
  color: #FBBC05;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.testimonial-text {
  color: var(--text-color);
  font-size: 0.98rem;
  line-height: 1.65;
}

@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Elfsight Widget Wrapper */
.elfsight-widget-wrapper {
  min-height: 200px;
  width: 100%;
}

/* Fallback message when JS disabled or widget fails */
.reviews-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0, 102, 204, 0.2);
}

.reviews-fallback i {
  font-size: 2.5rem;
  color: #4285F4;
}

.reviews-fallback p {
  font-size: 1rem;
  color: var(--text-color);
}

.reviews-fallback a {
  font-weight: 600;
  color: var(--primary-color);
}

/* Appointment WhatsApp Submit Button */
.appt-submit-btn {
  width: 100%;
  max-width: 360px;
  padding: 18px 32px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.appt-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.05s;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 10px;
}

.lightbox-close:hover {
  color: var(--primary-color);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}