/* ===== CSS Variables ===== */
:root {
  --primary: #d7a67b;
  --primary-dark: #c49568;
  --primary-light: #edd9c8;
  --secondary: #1a2a3a;
  --dark: #0f1923;
  --text: #4a4a4a;
  --text-light: #6b7280;
  --white: #ffffff;
  --off-white: #faf8f5;
  --light-bg: #f5efe8;
  --border: #e5e1d8;
  --gradient-primary: linear-gradient(135deg, #d7a67b 0%, #c49568 100%);
  --gradient-dark: linear-gradient(135deg, #1a2a3a 0%, #0f1923 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(215, 166, 123, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(215, 166, 123, 0.5);
}

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

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

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

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

/* ===== Top Bar ===== */
.top-bar {
  background: var(--secondary);
  padding: 10px 0;
}

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

.contact-info {
  display: flex;
  gap: 30px;
}

.contact-info span,
.contact-info a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

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

/* ===== Navigation ===== */
.navbar {
  background: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 3px;
}

.logo-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

/* ===== Section Styling ===== */
.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--light-bg);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-header h2 .highlight {
  color: var(--primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.highlight {
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
  background: var(--off-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--light-bg) 100%);
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i {
  color: var(--primary);
  font-size: 18px;
}

.feature-item span {
  font-weight: 500;
  color: var(--secondary);
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Hero Image */
.hero-image {
  position: relative;
}

.image-frame {
  position: relative;
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 25px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--white);
}
.image-placeholder img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-placeholder i {
  font-size: 80px;
  opacity: 0.8;
}

.image-placeholder span {
  font-size: 18px;
  font-weight: 500;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  color: var(--primary);
  font-size: 20px;
}

.floating-card span {
  font-weight: 600;
  color: var(--secondary);
  font-size: 14px;
}

.card-1 {
  top: 20%;
  left: -30px;
}

.card-2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 1.5s;
}

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

/* Hero Form Wrapper */
.hero-form-wrapper {
  position: relative;
}

.hero-form-wrapper .appointment-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 25px;
  box-shadow: var(--shadow-lg);
}

.hero-form-wrapper .appointment-form h3 {
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
  color: var(--secondary);
}

/* ===== About Section ===== */
.about-section {
  padding: 100px 0;
}

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

.about-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.card-icon i {
  font-size: 28px;
  color: var(--primary);
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.about-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ===== Preparation Section ===== */
.prep-section {
  padding: 100px 0;
  background: var(--off-white);
}

.prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.prep-item {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.prep-number {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.prep-text h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.prep-text p {
  color: var(--text-light);
  font-size: 14px;
}

/* Image Stack */
.image-stack {
  position: relative;
  padding: 40px;
}

.stack-image {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--white);
}

.stack-image i {
  font-size: 60px;
}

.stack-image span {
  font-size: 18px;
  font-weight: 500;
}

.stack-image.main {
  aspect-ratio: 1;
}
.stack-image.main img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-image.secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  padding: 40px;
  background: var(--secondary);
  box-shadow: var(--shadow-lg);
}

.stack-image.secondary i {
  font-size: 40px;
}

.stack-image.secondary span {
  font-size: 14px;
}

/* ===== Aftercare Section ===== */
.aftercare-section {
  padding: 100px 0;
}

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

.aftercare-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.aftercare-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.aftercare-card .card-image {
  width: 90px;
  height: 90px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.aftercare-card .card-image i {
  font-size: 35px;
  color: var(--primary);
}

.aftercare-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.aftercare-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== Comparison Section ===== */
.comparison-section {
  padding: 100px 0;
  background: var(--secondary);
}

.comparison-section .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.comparison-section .section-header h2 {
  color: var(--white);
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 30px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--light-bg);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-table td {
  font-size: 15px;
  color: var(--text);
}

.comparison-table .highlight-row {
  background: rgba(215, 166, 123, 0.1);
}

.comparison-table .highlight-row td {
  color: var(--secondary);
  font-weight: 500;
}

.comparison-table .highlight-row i {
  color: var(--primary);
  margin-right: 8px;
}

/* ===== Body Areas Section ===== */
.areas-section {
  padding: 100px 0;
  background: var(--off-white);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
}

.area-card {
  background: var(--white);
  padding: 35px 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.area-icon {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.area-card:hover .area-icon {
  background: var(--gradient-primary);
}

.area-icon i {
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.area-card:hover .area-icon i {
  color: var(--white);
}

.area-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.area-card p {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== Why Us Section ===== */
.why-us-section {
  padding: 100px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--light-bg);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon i {
  font-size: 24px;
  color: var(--primary);
}

.benefit-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 14px;
  color: var(--text-light);
}

/* Clinic Showcase */
.clinic-showcase {
  position: relative;
}
.clinic-showcase img {
  border-radius: 20px;
  height: 100%;
}

.showcase-main {
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--white);
  aspect-ratio: 1;
}

.showcase-main i {
  font-size: 80px;
}

.showcase-main span {
  font-size: 20px;
  font-weight: 500;
}

.showcase-badges {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.showcase-badges .badge {
  background: var(--white);
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-badges .badge i {
  color: var(--primary);
}

.showcase-badges .badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}

/* ===== Standout Section ===== */
.standout-section {
  padding: 100px 0;
  background: var(--off-white);
}

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

.standout-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.standout-card:hover {
  background: var(--gradient-primary);
}

.standout-icon {
  width: 80px;
  height: 80px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.standout-card:hover .standout-icon {
  background: rgba(255, 255, 255, 0.2);
}

.standout-icon i {
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.standout-card:hover .standout-icon i {
  color: var(--white);
}

.standout-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.standout-card:hover h4 {
  color: var(--white);
}

.standout-card p {
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
}

.standout-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Videos Section ===== */
.videos-section {
  padding: 100px 0;
  background: var(--secondary);
}

.videos-section .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.videos-section .section-header h2 {
  color: var(--white);
}

.videos-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbnail {
  aspect-ratio: 16/9;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-thumbnail i {
  font-size: 50px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.video-thumbnail i:hover {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  color: var(--white);
}

.video-info {
  padding: 25px;
}

.video-info h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 8px;
}

.video-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  height: fit-content;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

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

.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Appointment Section ===== */
.appointment-section {
  padding: 100px 0;
  background: var(--off-white);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.appointment-info h2 {
  font-size: 36px;
}

.appointment-info > p {
  color: var(--text-light);
  margin-top: 20px;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px;
  background: var(--white);
  border-radius: 15px;
  border: 1px solid var(--border);
}

.contact-card i {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}

.contact-card h4 {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-card p a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-card p a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-card small {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-top: 8px;
}

/* Appointment Form */
.appointment-form-wrapper {
  background: var(--white);
  padding: 50px;
  border-radius: 25px;
  box-shadow: var(--shadow-lg);
}

.appointment-form h3 {
  font-size: 26px;
  margin-bottom: 30px;
  text-align: center;
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  resize: none;
}

/* Form Validation Errors */
.input-error {
  border-color: #e74c3c !important;
  background: #fdf2f2 !important;
}

.error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.error-message::before {
  content: '⚠';
  font-size: 12px;
}

/* Popup form validation */
.popup-form-group .input-error {
  border-color: #e74c3c !important;
  background: #fdf2f2 !important;
}

.popup-form-group .error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 25px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 25px;
}

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

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-contact i {
  color: var(--primary);
  width: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 0;
}

.footer-bottom p {
  color: white;
  font-size: 14px;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 48px;
  }

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .navbar .btn {
    display: inline-flex;
    padding: 10px 20px;
    font-size: 13px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-image {
    order: -1;
  }

  .hero-form-wrapper {
    order: -1;
  }

  .hero-form-wrapper .appointment-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .image-frame {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .prep-grid,
  .why-us-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .navbar .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 30px;
  }

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

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

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

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

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

  .appointment-form-wrapper {
    padding: 30px;
  }

  .hero-form-wrapper .appointment-form-wrapper {
    padding: 25px;
  }

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

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

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

  .navbar .btn {
    padding: 8px 12px;
    font-size: 11px;
  }

  .navbar .btn i {
    display: none;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .aftercare-grid,
  .standout-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-card {
    display: none;
  }

  .showcase-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Popup Modal ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: var(--white);
  border-radius: 25px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

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

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--light-bg);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  color: var(--text);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--primary);
  color: var(--white);
}

.popup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.popup-image {
  background: var(--gradient-primary);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--white);
}
.popup-image img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-image i {
  font-size: 80px;
  opacity: 0.9;
}

.popup-image span {
  font-size: 24px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.popup-form-section {
  padding: 50px 40px;
}

.popup-form-section h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.popup-form-section > p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 30px;
}

.popup-form-group {
  margin-bottom: 18px;
}

.popup-form-group input,
.popup-form-group select {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  background: var(--off-white);
}

.popup-form-group input:focus,
.popup-form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.popup-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

@media (max-width: 768px) {
  .popup-content {
    grid-template-columns: 1fr;
  }

  .popup-image {
    padding: 10px;
  }

  .popup-image i {
    font-size: 50px;
  }

  .popup-image span {
    font-size: 18px;
  }

  .popup-form-section {
    padding: 30px;
  }

  .popup-form-section h3 {
    font-size: 22px;
  }

  .popup-modal {
    max-height: 95vh;
    overflow-y: auto;
  }
}
