/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8fbc2; /* Subtle light clean backdrop tint */
  color: #04214c;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Color Palette Constants Reference:
   Dark Blue: #04214c
   Crimson Red: #e31e24
   Accent Yellow/Gold: #ffcc00
*/

/* =========================
   SUCCESS MESSAGE
========================= */
.success-msg {
  text-align: center;
  background: #d1fae5;
  color: #065f46;
  padding: 14px;
  font-weight: 600;
  font-size: 16px;
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
  background: linear-gradient(180deg, #04214c 0%, #0a3674 100%);
  color: white;
  padding-bottom: 80px;
  border-bottom: 8px solid #e31e24;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  background: rgba(4, 33, 76, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  background: white;
  padding: 4px;
  border-radius: 50%;
  border: 3px solid #e31e24;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: #e31e24;
  letter-spacing: 0.5px;
  text-transform: none;
}

.brand-text h2 {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.nav-btn {
  text-decoration: none;
  background: #e31e24;
  color: white;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-btn:hover {
  background: transparent;
  border-color: #e31e24;
  color: #e31e24;
  transform: translateY(-2px);
}

/* =========================
   POSTER ACCENT BADGES GRID
========================= */
.poster-grid-accent {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 20px 6% 10px;
}

.accent-badge-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 6px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  cursor: default;
}

.accent-badge-item:hover {
  border-color: #ffcc00;
  background: rgba(255, 204, 0, 0.1);
  color: #ffcc00;
}

/* =========================
   HERO CONTENT
========================= */
.hero-content {
  padding: 60px 6% 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.badge-container {
  margin-bottom: 25px;
}

.hero-badge {
  display: inline-block;
  background: #ffcc00;
  color: #04214c;
  padding: 10px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.hero-left h3 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: #e31e24;
}

.hero-description {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */
.primary-btn, .secondary-btn {
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.primary-btn {
  background: #e31e24;
  color: white;
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.3);
}

.primary-btn:hover {
  background: #b71217;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227, 30, 36, 0.45);
}

.secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.secondary-btn:hover {
  background: white;
  color: #04214c;
  transform: translateY(-3px);
}

/* =========================
   SECTION HEADERS
========================= */
section {
  padding: 80px 6%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: #e31e24;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 800;
  color: #04214c;
}

/* =========================
   ABOUT CLINIC SECTION
========================= */
.about-section {
  background: #ffffff;
}

.about-container {
  display: flex;
  justify-content: center;
}

.about-card {
  max-width: 950px;
  padding: 40px;
  border-radius: 12px;
  background: #f8fafc;
  border-left: 6px solid #04214c;
  box-shadow: 0 10px 30px rgba(4, 33, 76, 0.05);
}

.about-card p {
  margin-bottom: 20px;
  font-size: 16.5px;
  color: #334155;
  line-height: 1.8;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   SERVICES SECTION (Poster Layout Matching)
========================= */
.services-section {
  background: #f0f5fa;
}

.services-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 45px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  border-top: 6px solid #e31e24;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Matching the dual column list layout from flyer */
  column-gap: 50px;
  row-gap: 16px;
}

.service-item {
  font-size: 16.5px;
  font-weight: 600;
  color: #04214c;
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.service-item::before {
  content: "•";
  color: #e31e24;
  font-size: 26px;
  margin-right: 12px;
  line-height: 0;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  background: #04214c;
  border-top: 6px solid #ffcc00;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  color: white;
  position: relative;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffcc00;
}

.phone-number {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

.address-text {
  font-size: 17px;
  line-height: 1.7;
  color: #e2e8f0;
}

.address-text strong {
  color: #ffcc00;
}

/* =========================
   REVIEWS SECTION
========================= */
.reviews-section {
  background: white;
}

.reviews-container {
  max-width: 1000px;
  margin: auto;
}

.reviews-container iframe {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.review-btn-wrapper {
  text-align: center;
  margin-top: 35px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #021126;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  border-top: 4px solid #e31e24;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
  .poster-grid-accent {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 5%;
  }

  .navbar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 20px;
  }

  .logo-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .brand-text h2 {
    font-size: 22px;
  }

  .poster-grid-accent {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 5%;
  }

  .hero-left h3 {
    font-size: 32px;
  }

  .hero-badge {
    font-size: 18px;
    padding: 8px 24px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .services-wrapper {
    padding: 25px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .phone-number {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .poster-grid-accent {
    grid-template-columns: 1fr;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    text-align: center;
  }
}