/* ==========================================================================
   Maple Dental Care — Main Stylesheet
   Design: Modern Medical · Teal & Navy · Poppins
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --primary: #0097A7;
  --primary-dark: #00838F;
  --primary-light: #E0F7FA;
  --primary-xlight: #F0FBFC;
  --navy: #1B3A6B;
  --navy-light: #2a5298;
  --accent: #43A047;
  --accent-dark: #2E7D32;
  --accent-light: #E8F5E9;
  --white: #FFFFFF;
  --bg-light: #F7FAFE;
  --bg-section: #EEF5FB;
  --text-primary: #1B3A6B;
  --text-secondary: #546E7A;
  --text-muted: #90A4AE;
  --border: #E0E7EF;
  --shadow-sm: 0 2px 10px rgba(27, 58, 107, 0.08);
  --shadow-md: 0 4px 24px rgba(27, 58, 107, 0.12);
  --shadow-lg: 0 8px 48px rgba(27, 58, 107, 0.18);
  --shadow-primary: 0 8px 32px rgba(0, 151, 167, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font);
}

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

.container--wide {
  max-width: 1400px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(67, 160, 71, 0.3);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-nav {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
  padding: 9px 20px;
  font-size: 0.85rem;
}
.btn-outline-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.navbar.scrolled .nav-logo {
  color: var(--navy);
}

.navbar.scrolled .nav-logo svg path {
  stroke: var(--primary);
}

.nav-logo svg path {
  stroke: var(--white);
  transition: stroke var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
  background: var(--primary-xlight);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar.scrolled .btn-outline-nav {
  color: var(--text-secondary);
  border-color: var(--border);
}

.navbar.transparent .btn-outline-nav {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.4);
}

.navbar.transparent .btn-outline-nav:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -60px 0 -60px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 58, 107, 0.82) 0%,
    rgba(0, 151, 167, 0.65) 60%,
    rgba(0, 131, 143, 0.70) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Hero Left */
.hero-left {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: #86E4ED;
  position: relative;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-feature::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Right — Booking Card */
.booking-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.booking-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-light) 100%);
  padding: 28px 32px 24px;
  color: var(--white);
}

.booking-card-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-card-header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-card-header p::before {
  content: '✦';
  color: #86E4ED;
}

.booking-form {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Form Elements
   -------------------------------------------------------------------------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23546E7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.12);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero Scroll Indicator
   -------------------------------------------------------------------------- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.4; }
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--navy-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-icon.color-1 { background: #E3F2FD; color: #1565C0; }
.service-icon.color-2 { background: #FCE4EC; color: #AD1457; }
.service-icon.color-3 { background: #FFF8E1; color: #F57F17; }
.service-icon.color-4 { background: #E8F5E9; color: #2E7D32; }
.service-icon.color-5 { background: #EDE7F6; color: #4527A0; }
.service-icon.color-6 { background: #E0F7FA; color: #00838F; }
.service-icon.color-7 { background: #FBE9E7; color: #BF360C; }
.service-icon.color-8 { background: #F3E5F5; color: #6A1B9A; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Parallax Divider Section
   -------------------------------------------------------------------------- */
.parallax-section {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 58, 107, 0.84) 0%,
    rgba(0, 151, 167, 0.72) 100%
  );
  display: flex;
  align-items: center;
}

.parallax-overlay .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 64px 24px;
}

.parallax-overlay h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.parallax-overlay p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.parallax-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.parallax-stat-number {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.parallax-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--bg-light);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about-floating-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
}

.about-floating-badge .badge-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-floating-badge .badge-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.about-floating-badge strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.about-floating-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
  display: block;
}

.about-content .section-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Why Choose Us
   -------------------------------------------------------------------------- */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  transition: all var(--transition);
}

.why-item:hover {
  background: var(--primary-xlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-dark);
  transition: background var(--transition);
}

.why-item:hover .why-icon {
  background: var(--primary);
  color: var(--white);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-content p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: var(--bg-section);
  overflow: hidden;
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  flex: 0 0 calc(33.333% - 16px);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  position: relative;
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.quote-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.quote-icon svg {
  width: 22px;
  height: 22px;
}

.testimonial-text {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.star-rating {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  color: #FFC107;
  fill: #FFC107;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 50px;
}

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 2.75vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.25;
}

.contact-info > p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-detail-text span, .contact-detail-text a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  height: 200px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--white);
  resize: vertical;
  min-height: 120px;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.12);
}

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

.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
}

.footer-brand .nav-logo {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
}

.footer-cda {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.footer-cda::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 360px;
  width: calc(100vw - 48px);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.toast.error {
  border-left-color: #E53935;
}

.toast-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.toast.error .toast-icon {
  background: #FFEBEE;
}

.toast-content strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.toast-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}

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

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }
.animate-on-scroll.delay-7 { transition-delay: 0.7s; }
.animate-on-scroll.delay-8 { transition-delay: 0.8s; }

/* --------------------------------------------------------------------------
   Hours Badge
   -------------------------------------------------------------------------- */
.hours-table {
  font-size: 0.85rem;
  color: var(--text-secondary);
  width: 100%;
}

.hours-table tr td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  padding-right: 16px;
  padding-bottom: 6px;
  white-space: nowrap;
}

.hours-table tr td:last-child {
  color: var(--text-secondary);
  padding-bottom: 6px;
}

.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.badge-open::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   APPOINTMENTS PAGE STYLES
   ========================================================================== */
.ams-page {
  min-height: 100vh;
  background: var(--bg-light);
  font-family: var(--font);
}

.ams-header {
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.ams-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.ams-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.ams-back-link:hover {
  color: var(--primary);
}

.ams-back-link svg {
  width: 18px;
  height: 18px;
}

.ams-header-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ams-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.ams-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 22px 0 28px;
}

.ams-footer-credit {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.ams-footer-credit a {
  color: inherit;
  text-decoration: underline;
}

.ams-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.ams-page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.ams-page-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* AMS Stats Row */
.ams-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.ams-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: box-shadow var(--transition);
}

.ams-stat-card:hover {
  box-shadow: var(--shadow-sm);
}

.ams-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.ams-stat-number.total { color: var(--navy); }
.ams-stat-number.upcoming { color: var(--primary); }
.ams-stat-number.completed { color: var(--accent); }
.ams-stat-number.cancelled { color: #90A4AE; }

.ams-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* AMS Filters */
.ams-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ams-filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 4px;
}

.ams-filter-btn {
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: transparent;
  font-family: var(--font);
}

.ams-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,151,167,0.25);
}

.ams-sort-select {
  padding: 9px 36px 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23546E7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color var(--transition);
}

.ams-sort-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* AMS Appointment Cards */
.ams-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ams-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: box-shadow var(--transition);
  position: relative;
}

.ams-card:hover {
  box-shadow: var(--shadow-md);
}

.ams-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ams-card-service {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ams-card-name {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

.ams-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ams-status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ams-status-badge.upcoming {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.ams-status-badge.upcoming::before { background: var(--primary); }

.ams-status-badge.completed {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.ams-status-badge.completed::before { background: var(--accent); }

.ams-status-badge.cancelled {
  background: #F5F5F5;
  color: #757575;
}
.ams-status-badge.cancelled::before { background: #9E9E9E; }

.ams-card-details {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ams-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.ams-detail-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ams-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.ams-card-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ams-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ams-contact-item svg {
  width: 14px;
  height: 14px;
}

.ams-card-actions {
  display: flex;
  gap: 10px;
}

.ams-btn-reschedule {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.ams-btn-reschedule:hover {
  background: var(--primary);
  color: var(--white);
}

.ams-btn-cancel {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E53935;
  background: #FFEBEE;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.ams-btn-cancel:hover {
  background: #E53935;
  color: var(--white);
}

/* AMS Empty State */
.ams-empty {
  text-align: center;
  padding: 80px 24px;
}

.ams-empty-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--text-muted);
}

.ams-empty-icon svg {
  width: 40px;
  height: 40px;
}

.ams-empty h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.ams-empty p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* AMS Reschedule Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 58, 107, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  background: #FFEBEE;
  color: #E53935;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-appointment-info {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-left: 3px solid var(--primary);
}

.modal-appointment-info strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.modal-actions .btn {
  flex: 1;
}

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

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-bg {
    background-attachment: scroll;
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .hero-title {
    font-size: clamp(1.9rem, 5vw, 2.8rem);
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-floating-badge {
    left: 16px;
    bottom: 16px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .ams-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    display: block;
  }

  .nav-links a:hover {
    color: var(--primary);
    background: var(--primary-xlight);
  }

  .nav-actions {
    display: none;
  }

  .nav-actions.open {
    display: flex;
    position: fixed;
    top: calc(var(--nav-height) + 220px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0 24px 24px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    gap: 10px;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 20px 20px 24px;
  }

  .booking-card-header {
    padding: 20px 20px 16px;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - 0px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .parallax-stats {
    gap: 32px;
  }

  .ams-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .ams-filter-tabs {
    justify-content: space-between;
  }

  .ams-sort-select {
    width: 100%;
  }

  .ams-card-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .ams-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ams-card-details {
    flex-direction: column;
    gap: 10px;
  }

  .ams-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
