/* 
 * styles.css
 * Website Phòng Khám Nội Hạnh Phúc
 * Premium & Professional Clinic Design System
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Color and Layout Variables */
:root {
  --primary-teal: hsl(172, 85%, 35%);
  --primary-teal-hover: hsl(172, 85%, 28%);
  --primary-teal-light: hsl(172, 85%, 97%);
  --secondary-pink: hsl(340, 82%, 52%);
  --secondary-pink-hover: hsl(340, 82%, 44%);
  --secondary-pink-light: hsl(340, 82%, 97%);
  --secondary-pink-accent: hsl(340, 82%, 90%);
  --text-dark: hsl(222, 47%, 12%);
  --text-muted: hsl(215, 16%, 42%);
  --bg-light: hsl(210, 40%, 98%);
  --bg-white: #ffffff;
  --border-color: hsl(214, 32%, 91%);
  --accent-gold: hsl(38, 92%, 50%);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px -5px rgba(15, 23, 42, 0.05), 0 8px 16px -6px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 24px 48px -8px rgba(13, 148, 136, 0.12);
  --shadow-pink: 0 24px 48px -8px rgba(244, 63, 94, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Outfit', sans-serif;
}

/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

.text-center { text-align: center; }

/* Grid / Flex Layout Helpers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--secondary-pink));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

.btn-pink {
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
}

.btn-pink:hover {
  background-color: var(--secondary-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.btn-outline:hover {
  background-color: var(--primary-teal-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

header.scrolled {
  padding: 4px 0;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-teal);
  gap: 12px;
}

.logo span {
  display: inline-block;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.5px;
}

.logo-heart {
  color: var(--secondary-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  align-self: center;
}

.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  background-color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--primary-teal-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
  letter-spacing: -0.1px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-teal);
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-teal);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.pink-nav:hover {
  color: var(--secondary-pink);
}

.nav-link.pink-nav::after {
  background-color: var(--secondary-pink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff1f2 100%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--primary-teal);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-title span {
  background: linear-gradient(90deg, var(--primary-teal), var(--secondary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-sub {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-sans);
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
  text-transform: none;
}

@media (max-width: 768px) {
  .hero-title-sub {
    display: block;
    margin-left: 0;
    margin-top: 10px;
    font-size: 1.15rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 550px;
}

.hero-info-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.hero-info-item i {
  color: var(--primary-teal);
  font-size: 1.2rem;
}

.hero-info-item.hotline i {
  color: var(--secondary-pink);
}

.hero-info-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Beautiful Hero Image / Showcase Container */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 450px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(244, 63, 94, 0.15) 100%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.hero-image-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  transition: var(--transition);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating interactive badges on Hero */
.floating-badge {
  position: absolute;
  background: var(--bg-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.fb-1 {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
  border-left: 4px solid var(--primary-teal);
}

.fb-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
  border-left: 4px solid var(--secondary-pink);
}

.fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  font-size: 1.1rem;
}

.fb-2 .fb-icon {
  background-color: var(--secondary-pink-light);
  color: var(--secondary-pink);
}

.fb-text h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.fb-text p {
  font-size: 0.75rem;
}

/* Floating Contact Widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.widget-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.widget-btn.phone {
  background-color: var(--secondary-pink);
}

.widget-btn.zalo {
  background-color: #0068ff;
}

.widget-btn.map {
  background-color: #0f9d58;
}

.widget-btn .tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.widget-btn .tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background-color: var(--text-dark);
}

.widget-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Section 1: Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.intro-image-container {
  position: relative;
}

.intro-image-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-teal-light);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.intro-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.intro-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
  border-bottom: 4px solid var(--primary-teal);
}

.intro-badge h3 {
  font-size: 2.2rem;
  color: var(--primary-teal);
  line-height: 1;
}

.intro-badge p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro-content h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.intro-content p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.intro-motto {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--primary-teal-light);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-teal);
}

.intro-motto-heart {
  color: var(--secondary-pink);
  font-size: 1.8rem;
}

.intro-motto-text {
  font-weight: 700;
  color: var(--primary-teal-hover);
  font-size: 1.1rem;
}

.intro-strengths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

.strength-item i {
  color: var(--primary-teal);
  font-size: 1.2rem;
}

/* Section 2: Services */
.services-tabs-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-btn:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  transform: translateY(-2px);
}

.tab-btn.active {
  background-color: var(--primary-teal);
  color: var(--bg-white);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.services-tab-content {
  display: none;
}

.services-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.2);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card.pink-service::after {
  background: var(--secondary-pink);
}

.service-card.pink-service .service-icon {
  background-color: var(--secondary-pink-light);
  color: var(--secondary-pink);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.95rem;
}

/* Section 3: Mother's Corner (Góc dành cho mẹ bầu) */
.maternity-section {
  background-color: var(--secondary-pink-light);
  position: relative;
}

.maternity-nav-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px;
  border-radius: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(244, 63, 94, 0.15);
  flex-wrap: wrap;
}

.mat-nav-btn {
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mat-nav-btn:hover {
  color: var(--secondary-pink);
}

.mat-nav-btn.active {
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}

.maternity-tab-content {
  display: none;
}

.maternity-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* 3.1: Pregnancy Calendar Grid */
.calendar-intro-text {
  text-align: center;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.weeks-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.week-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary-pink);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.week-btn:hover {
  background-color: var(--secondary-pink-light);
  color: var(--secondary-pink-hover);
  border-color: var(--secondary-pink);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(244, 63, 94, 0.15);
}

.week-btn.active {
  background: linear-gradient(135deg, var(--secondary-pink), var(--secondary-pink-hover));
  color: var(--bg-white);
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow-pink);
  animation: pulse-pink 2s infinite;
}

@keyframes pulse-pink {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(244, 63, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}

/* Week Details panel */
.week-detail-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-pink);
  border: 1px solid rgba(244, 63, 94, 0.08);
  transition: var(--transition);
}

.week-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--secondary-pink-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.week-detail-title h3 {
  font-size: 2.2rem;
  color: var(--secondary-pink-hover);
  letter-spacing: -0.5px;
}

.week-detail-title p {
  font-size: 1.1rem;
  font-weight: 500;
}

.week-size-compare {
  background-color: var(--secondary-pink-light);
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--secondary-pink-hover);
  border: 1px solid var(--secondary-pink-accent);
}

.week-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.week-info-card {
  background-color: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--secondary-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.week-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.week-info-card.warning-card {
  border-left-color: #ef4444;
  background-color: #fef2f2;
}

.week-info-card h4 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.week-info-card.warning-card h4 {
  color: #b91c1c;
}

.week-info-card ul {
  list-style: none;
  padding-left: 0;
}

.week-info-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.week-info-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-pink);
  font-weight: 900;
}

.week-info-card.warning-card li::before {
  content: '⚠';
  color: #ef4444;
}

/* 3.2: AI Assistant Simulator */
.ai-assistant-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pink);
  border: 1px solid rgba(244, 63, 94, 0.1);
  overflow: hidden;
  height: 600px;
}

.ai-sidebar {
  background-color: var(--secondary-pink-light);
  padding: 30px;
  border-right: 1px solid rgba(244, 63, 94, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-sidebar-intro h3 {
  font-size: 1.5rem;
  color: var(--secondary-pink-hover);
  margin-bottom: 12px;
}

.ai-sidebar-intro p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.ai-suggestions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.suggestion-chip {
  background-color: var(--bg-white);
  border: 1.5px solid var(--secondary-pink-accent);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.suggestion-chip:hover {
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  border-color: var(--secondary-pink);
  transform: translateX(4px);
}

.ai-chat-window {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.ai-chat-header {
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.2);
}

.ai-status h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.ai-status p {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-status p::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.ai-chat-messages {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #fafafa;
}

.chat-bubble {
  max-width: 75%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  background-color: var(--bg-white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.chat-bubble.user {
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.15);
}

.chat-bubble.bot .medical-badge {
  display: inline-block;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.chat-bubble.bot .cta-box {
  margin-top: 12px;
  padding: 10px 12px;
  background-color: var(--primary-teal-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-teal);
  font-size: 0.85rem;
}

.chat-bubble.bot .cta-box a {
  color: var(--primary-teal-hover);
  font-weight: bold;
  text-decoration: none;
}

.ai-chat-input-area {
  padding: 20px 30px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.ai-chat-form {
  display: flex;
  gap: 12px;
}

.ai-chat-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.ai-chat-input:focus {
  outline: none;
  border-color: var(--secondary-pink);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15);
}

.ai-send-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.2);
}

.ai-send-btn:hover {
  background-color: var(--secondary-pink-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(244, 63, 94, 0.3);
}

/* 3.3: Milestones Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background-color: var(--secondary-pink-accent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.25);
  z-index: 2;
  border: 4px solid var(--bg-white);
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -25px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -25px;
}

.timeline-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 63, 94, 0.2);
}

.timeline-card h4 {
  font-size: 1.25rem;
  color: var(--secondary-pink-hover);
  margin-bottom: 12px;
}

.timeline-details {
  list-style: none;
  padding: 0;
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-details {
  direction: rtl;
}

.timeline-details li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  position: relative;
  padding-right: 18px;
}

.timeline-item:nth-child(even) .timeline-details li {
  padding-left: 18px;
  padding-right: 0;
}

.timeline-details li::before {
  content: '✦';
  position: absolute;
  color: var(--secondary-pink);
  font-size: 0.8rem;
}

.timeline-item:nth-child(odd) .timeline-details li::before {
  right: 0;
}

.timeline-item:nth-child(even) .timeline-details li::before {
  left: 0;
}

/* 3.4: Calculators Section */
.calc-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.calc-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-menu-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-menu-btn i {
  font-size: 1.25rem;
  color: var(--secondary-pink);
}

.calc-menu-btn:hover {
  background-color: var(--secondary-pink-light);
  border-color: var(--secondary-pink-accent);
  transform: translateX(4px);
}

.calc-menu-btn.active {
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  border-color: var(--secondary-pink);
  box-shadow: var(--shadow-pink);
}

.calc-menu-btn.active i {
  color: var(--bg-white);
}

.calc-work-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-pink);
  border: 1px solid rgba(244, 63, 94, 0.1);
}

.calc-view {
  display: none;
}

.calc-view.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.calc-view h3 {
  font-size: 1.6rem;
  color: var(--secondary-pink-hover);
  margin-bottom: 12px;
}

.calc-view p.calc-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.calc-form-group {
  margin-bottom: 20px;
}

.calc-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.calc-form-group input, .calc-form-group select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.calc-form-group input:focus, .calc-form-group select:focus {
  outline: none;
  border-color: var(--secondary-pink);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15);
}

.calc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-result-box {
  margin-top: 30px;
  padding: 24px;
  background-color: var(--secondary-pink-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--secondary-pink-accent);
  display: none;
}

.calc-result-box.active {
  display: block;
  animation: scaleIn 0.3s ease;
}

.calc-result-box h4 {
  font-size: 1.2rem;
  color: var(--secondary-pink-hover);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-result-content {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.calc-result-content strong {
  color: var(--secondary-pink-hover);
  font-size: 1.15rem;
}

.calc-result-content p {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.calc-result-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.calc-result-content li {
  margin-bottom: 6px;
}

/* Section 4: Appointment Form */
.booking-section {
  background: linear-gradient(135deg, var(--primary-teal-light) 0%, #ffffff 100%);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.booking-info h3 {
  font-size: 2.2rem;
  color: var(--primary-teal-hover);
  margin-bottom: 20px;
}

.booking-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-step-item {
  display: flex;
  gap: 16px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: var(--bg-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(13, 148, 136, 0.2);
}

.step-desc h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.step-desc p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.booking-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.booking-form .form-group {
  margin-bottom: 18px;
}

.booking-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.booking-form textarea {
  resize: vertical;
}

.booking-submit-btn {
  width: 100%;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 10px;
  background-color: var(--primary-teal);
  color: var(--bg-white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
  transition: var(--transition);
}

.booking-submit-btn:hover {
  background-color: var(--primary-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

/* Booking Success Screen */
.booking-success-screen {
  text-align: center;
  padding: 20px 0;
  display: none;
}

.booking-success-screen.active {
  display: block;
  animation: scaleIn 0.4s ease;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #10b981;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px auto;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.booking-success-screen h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.booking-success-screen p {
  font-size: 1rem;
  margin-bottom: 24px;
}

.booking-summary-box {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
  border-left: 4px solid #10b981;
}

.booking-summary-box p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.booking-summary-box p strong {
  color: var(--text-dark);
}

/* LocalStorage Bookings List (Dev / Testing helper) */
.bookings-list-box {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: none;
}

.bookings-list-box.active {
  display: block;
}

.bookings-list-box h5 {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--primary-teal);
  text-transform: uppercase;
}

.booking-list-items {
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-list-item {
  background-color: var(--bg-light);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

/* Section 5: News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img-box img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-pink);
  color: var(--bg-white);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.news-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card-content h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  transition: var(--transition);
}

.read-more-link:hover {
  color: var(--primary-teal-hover);
  gap: 10px;
}

/* Article Modal */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.article-modal.active {
  display: flex;
}

.article-modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background-color: var(--secondary-pink);
  color: var(--bg-white);
}

.modal-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.modal-body {
  padding: 40px;
}

.modal-tag {
  display: inline-block;
  background-color: var(--secondary-pink-light);
  color: var(--secondary-pink-hover);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
}

.modal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal-body h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.modal-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.modal-text p {
  margin-bottom: 16px;
}

.modal-text h4 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin: 24px 0 12px 0;
}

.modal-text ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.modal-text li {
  margin-bottom: 8px;
}

/* Section 6: Clinic Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 4px solid var(--bg-white);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 148, 136, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--bg-white);
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal-light);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Lightbox Modal for Gallery */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1200;
  background-color: rgba(15, 23, 42, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: scaleIn 0.3s ease;
}

.lightbox-caption {
  color: var(--bg-white);
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 500;
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  color: var(--secondary-pink);
  transform: scale(1.1);
}

/* Section 7: Testimonials */
.testimonials-section {
  background-color: var(--bg-white);
}

.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.testimonials-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
}

.testimonial-card-inner {
  background-color: var(--bg-light);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card-inner::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 1;
  color: rgba(13, 148, 136, 0.08);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-family: var(--font-sans);
  line-height: 1.6;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.testimonial-author p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-teal);
  width: 24px;
  border-radius: 5px;
}

/* Section 8: Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
}

.cd-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cd-text h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cd-text p {
  font-size: 0.95rem;
}

.cd-text a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.clinic-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.clinic-hours-table td {
  padding: 12px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.clinic-hours-table tr:last-child td {
  border-bottom: none;
}

.clinic-hours-table td.day {
  font-weight: 600;
  color: var(--text-dark);
}

.clinic-hours-table td.time {
  text-align: right;
  color: var(--primary-teal-hover);
  font-weight: 700;
}

/* Footer Styles */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  color: var(--bg-white);
  margin-bottom: 20px;
}

.footer-about p {
  color: #94a3b8;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.social-link:hover {
  background-color: var(--primary-teal);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-teal);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary-teal);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item strong {
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-grid { gap: 30px; }
  .intro-grid { gap: 40px; }
  .calc-grid-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body {
    font-size: 0.92rem; /* smaller base body text */
  }
  .logo { font-size: 1.25rem; }
  .section-padding { padding: 40px 0; }
  .section-header h2 { font-size: 1.75rem; }
  .hamburger { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    z-index: 998;
    overflow-y: auto;
    gap: 20px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-cta {
    display: none; /* Hide desktop header button on mobile */
  }
  
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-image-wrapper { margin-top: 30px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 20px; }
  .hero-info-box { padding: 14px; margin-bottom: 20px; }
  .hero-info-item { font-size: 0.88rem; }
  .hero-image-card { height: 350px; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-img-placeholder, .intro-img { height: 300px; }
  .intro-badge { bottom: -15px; right: 15px; padding: 12px; }
  .intro-badge h3 { font-size: 1.5rem; }
  
  .weeks-grid { gap: 8px; }
  .week-btn { padding: 10px 4px; font-size: 0.95rem; }
  .week-detail-panel { padding: 20px; }
  .week-detail-title h3 { font-size: 1.5rem; }
  .week-size-compare { padding: 6px 12px; font-size: 0.9rem; }
  .week-info-grid { grid-template-columns: 1fr; gap: 16px; }
  .week-info-card { padding: 16px; }
  .week-info-card h4 { font-size: 1rem; }
  .week-info-card li { font-size: 0.88rem; }

  .ai-assistant-container { grid-template-columns: 1fr; height: auto; max-height: 700px; }
  .ai-sidebar { border-right: none; border-bottom: 1px solid var(--border-color); padding: 20px; }
  .ai-chat-window { height: 380px; }
  .ai-chat-header { padding: 12px 20px; }
  .ai-chat-messages { padding: 16px; gap: 12px; }
  .chat-bubble { padding: 10px 14px; font-size: 0.88rem; }
  .ai-chat-input-area { padding: 14px 20px; }
  .ai-chat-input { padding: 10px 16px; font-size: 0.88rem; }
  .ai-send-btn { width: 42px; height: 42px; font-size: 1rem; }
  
  .timeline-container::before { left: 24px; }
  .timeline-item { width: 100%; padding: 0 0 20px 40px; text-align: left !important; }
  .timeline-item:nth-child(odd) { left: 0; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item:nth-child(odd) .timeline-badge { left: 0; right: auto; }
  .timeline-item:nth-child(even) .timeline-badge { left: 0; }
  .timeline-details { direction: ltr !important; }
  .timeline-item:nth-child(odd) .timeline-details li { padding-left: 18px; padding-right: 0; }
  .timeline-item:nth-child(odd) .timeline-details li::before { left: 0; right: auto; }
  
  .calc-work-panel { padding: 20px; }
  .calc-view h3 { font-size: 1.35rem; }
  .calc-view p.calc-desc { font-size: 0.88rem; margin-bottom: 16px; }
  .calc-form-group { margin-bottom: 14px; }
  .calc-form-group input, .calc-form-group select { padding: 10px 12px; font-size: 0.88rem; }
  .calc-result-box { padding: 16px; margin-top: 20px; }
  .calc-result-box h4 { font-size: 1.1rem; }
  .calc-result-content { font-size: 0.88rem; }
  
  .booking-grid { grid-template-columns: 1fr; gap: 30px; }
  .booking-card { padding: 20px; }
  .booking-form .form-group { margin-bottom: 14px; }
  .booking-form input, .booking-form select, .booking-form textarea { padding: 10px 14px; font-size: 0.88rem; }
  .booking-submit-btn { padding: 12px; font-size: 0.95rem; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-info-panel { padding: 20px; }
  .map-container { min-height: 250px; }
  
  .floating-widgets { bottom: 20px; right: 20px; gap: 10px; }
  .widget-btn { width: 44px; height: 44px; font-size: 1.15rem; }
  .widget-btn .tooltip { display: none !important; } /* Hide tooltips on mobile */
  
  .article-modal-content { max-height: 90vh; }
  .modal-body { padding: 20px; }
  .modal-body h2 { font-size: 1.5rem; margin-bottom: 16px; }
  .modal-text { font-size: 0.88rem; }
  .modal-img { height: 180px; }
}

@media (max-width: 480px) {
  .weeks-grid { gap: 6px; }
  .calc-form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-card-inner { padding: 20px; }
  .testimonial-text { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
  .hero-buttons .btn { width: 100%; padding: 12px; font-size: 0.9rem; }
  
  .checklist-column { padding: 16px; }
  .checklist-column h4 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 8px; }
  .checklist-items-list { gap: 10px; }
  .checklist-item-row { font-size: 0.88rem; }
}

/* ==========================================================================
   NEW UPGRADES: Dark Mode, Hospital Bag, AI Chatbot, Growth Gauges
   ========================================================================== */

/* 1. Dark Mode Variable Redefinition */
body.dark-theme {
  --bg-light: hsl(222, 47%, 8%);
  --bg-white: hsl(222, 47%, 14%);
  --text-dark: hsl(210, 40%, 98%);
  --text-muted: hsl(215, 20%, 65%);
  --border-color: hsl(222, 47%, 22%);
  --primary-teal-light: hsla(172, 85%, 35%, 0.15);
  --secondary-pink-light: hsla(340, 82%, 52%, 0.12);
  --secondary-pink-accent: hsla(340, 82%, 52%, 0.25);
}

body.dark-theme header {
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .nav-menu {
  background-color: #1e293b;
}

body.dark-theme .chat-bubble.bot {
  background-color: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

body.dark-theme .chat-bubble.bot .cta-box {
  background-color: rgba(13, 148, 136, 0.2);
}

body.dark-theme .ai-chat-messages {
  background-color: #0f172a;
}

body.dark-theme .ai-chat-input-area {
  background-color: #1e293b;
}

body.dark-theme .suggestion-chip {
  background-color: #1e293b;
  border-color: #334155;
}

body.dark-theme .suggestion-chip:hover {
  background-color: var(--secondary-pink);
}

/* 2. Dark Mode Toggle Button */
.dark-mode-toggle {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-color);
}

.dark-mode-toggle:hover {
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  transform: scale(1.05);
}

/* 3. Hospital Bag Checklist */
.checklist-progress-container {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.checklist-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.checklist-progress-bar-bg {
  width: 100%;
  height: 12px;
  background-color: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 12px;
}

.checklist-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-teal), var(--secondary-pink));
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.checklist-column {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.checklist-column:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.checklist-column h4 {
  font-size: 1.15rem;
  color: var(--secondary-pink-hover);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--secondary-pink-light);
  padding-bottom: 12px;
}

.checklist-column h4 i {
  font-size: 1.3rem;
}

.checklist-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  user-select: none;
  color: var(--text-dark);
}

.checklist-item-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--secondary-pink);
  cursor: pointer;
  flex-shrink: 0;
}

.checklist-item-row span {
  transition: var(--transition);
}

.checklist-item-row.completed span {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.7;
}

/* 4. Baby Fetal Growth Gauge in Week Details */
.growth-visual-bar {
  margin-top: 20px;
  padding: 16px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.growth-visual-bar h5 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.growth-scale-bg {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  position: relative;
  margin: 6px 0;
}

.growth-scale-marker {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--secondary-pink);
  border: 2px solid var(--bg-white);
  border-radius: 50%;
  top: -3px;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.6);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.growth-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 5. AI Chatbot Typing Indicator & Enhancements */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background-color: var(--secondary-pink);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.3); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-copy-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.chat-copy-btn:hover {
  background-color: var(--border-color);
  color: var(--text-dark);
}

.chat-bubble.bot ul {
  padding-left: 20px;
  margin: 8px 0;
}

.chat-bubble.bot li {
  margin-bottom: 4px;
}

/* 6. Fetal Weight Range Gauge in Fetal Calculator */
.calc-gauge-box {
  margin-top: 15px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.calc-gauge-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.calc-gauge-bar-container {
  width: 100%;
  height: 24px;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 40%, #10b981 60%, #ef4444 100%);
  border-radius: 4px;
  position: relative;
  overflow: visible;
  margin: 10px 0;
}

.calc-gauge-pointer {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 36px;
  background-color: var(--text-dark);
  border: 1.5px solid var(--bg-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transform: translateX(-50%);
  transition: left 0.8s ease;
}

.calc-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive adjustments for checklist */
@media (max-width: 900px) {
  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================
 * 7. Contraction Timer & Fetal Kick Tracker CSS
 * ========================================== */
.tracking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.tracking-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tracking-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tracking-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 12px;
}

.tracking-header i {
  font-size: 1.5rem;
  color: var(--secondary-pink);
}

.tracking-header h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
}

.tracking-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.btn-track-action {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  transition: var(--transition);
  text-align: center;
  color: #ffffff;
  outline: none;
  border: 4px solid var(--bg-white);
}

/* Pulsing effect during active timing */
@keyframes timerPulse {
  0% {
    box-shadow: 0 0 0 0 hsla(340, 82%, 52%, 0.4);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 20px hsla(340, 82%, 52%, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 hsla(340, 82%, 52%, 0);
    transform: scale(1);
  }
}

.timer-idle {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-hover));
}
.timer-idle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.3);
}

.timer-active {
  background: linear-gradient(135deg, var(--secondary-pink), var(--secondary-pink-hover));
  animation: timerPulse 1.8s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}
.timer-active:hover {
  transform: scale(1.05);
}

.kick-btn {
  background: linear-gradient(135deg, var(--secondary-pink), var(--secondary-pink-hover));
}
.kick-btn:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.3);
}
.kick-btn:disabled {
  background: hsl(210, 16%, 85%);
  color: hsl(215, 16%, 60%);
  cursor: not-allowed;
  box-shadow: none;
  border-color: var(--border-color);
}

.running-time-display {
  margin-top: 15px;
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.tracking-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card-small {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.stat-card-small h5 {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-card-small p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.btn-history-clear {
  background: none;
  border: none;
  color: var(--secondary-pink);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-history-clear:hover {
  color: var(--secondary-pink-hover);
  text-decoration: underline;
}

.tracking-history {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  max-height: 180px;
  overflow-y: auto;
  background: var(--bg-light);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.history-table th, .history-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
}

.history-table th {
  background: var(--border-color);
  font-weight: 700;
  color: var(--text-dark);
  position: sticky;
  top: 0;
}

.history-table tr:last-child td {
  border-bottom: none;
}

.btn-delete-row {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 5px;
  transition: var(--transition);
}

.btn-delete-row:hover {
  color: var(--secondary-pink);
}

/* Responsive Media Query for Tracking Grid */
@media (max-width: 900px) {
  .tracking-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .btn-track-action {
    width: 105px;
    height: 105px;
    font-size: 0.85rem;
  }
  
  .running-time-display {
    font-size: 1.8rem;
  }
}

/* ==========================================
 * 8. AI Baby Photo Request Tab CSS
 * ========================================== */
.ai-photo-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
  align-items: center;
}

.ai-photo-info {
  display: flex;
  flex-direction: column;
}

.ai-photo-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 15px 0;
}

.ai-step-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ai-step-num {
  width: 28px;
  height: 28px;
  background-color: var(--secondary-pink-light);
  color: var(--secondary-pink-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1px solid var(--secondary-pink-accent);
}

.ai-step-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.ai-step-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.ai-photo-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.showcase-card {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}

.showcase-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--text-dark);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 10;
}

.showcase-arrow {
  font-size: 1.5rem;
  color: var(--secondary-pink);
  animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 900px) {
  .ai-photo-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px;
  }
  
  .showcase-box {
    flex-direction: column;
    gap: 10px;
  }
  
  .showcase-arrow {
    transform: rotate(90deg);
    animation: bounceDown 1.5s infinite;
    margin: 5px auto;
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: rotate(90deg) translateX(0);
  }
  50% {
    transform: rotate(90deg) translateX(6px);
  }
}





/* AI GENERATOR STYLES */
.ai-gen-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 30px;
  border: 1px solid rgba(219, 39, 119, 0.1);
}

.ai-step-box {
  animation: fadeIn 0.4s ease-out;
}

.upload-area {
  border: 2px dashed var(--secondary-pink);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(219, 39, 119, 0.03);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
}
.upload-area:hover {
  background: rgba(219, 39, 119, 0.08);
  border-color: var(--secondary-pink-hover);
}

.qr-box {
  width: 220px; height: 220px; 
  border: 4px solid var(--primary-teal); 
  border-radius: 12px; 
  display: flex; align-items: center; justify-content: center; flex-direction: column; 
  background: #f8fafc;
  margin: 0 auto;
}
.qr-price {
  font-size: 1.5rem; 
  font-weight: 900; 
  color: var(--secondary-pink); 
  margin: 15px 0 5px 0;
}
.payment-status {
  margin-top: 20px;
  padding: 15px;
  background: #f0fdf4;
  color: #166534;
  border-radius: 8px;
  font-weight: bold;
}

.progress-track {
  width: 100%; height: 12px; 
  background: #e2e8f0; 
  border-radius: 6px; 
  overflow: hidden;
}
.progress-fill {
  width: 0%; height: 100%; 
  background: linear-gradient(90deg, var(--secondary-pink), var(--primary-teal)); 
  transition: width 0.3s ease;
}
