/* ==========================================================================
   Zero2Voice Clinic - Refined Styles
   Vision/Mission Side-by-Side + No Menu Icon Border + No Carousel Scrollbars
   ========================================================================== */

:root {
  --primary-dark: #1b3028;
  --primary-slate: #234035;
  --teal-card: #008b8b;
  --emerald-btn: #0b5d49;
  --emerald-hover: #074737;
  --purple-accent: #8b3a7d;
  --orange-accent: #f37021;
  --whatsapp-green: #25d366;
  --bg-light: #f9fafb;
  --card-bg: #ffffff;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --border-dark: #d1d5db;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

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

/* Main Section Heading */
.section-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* =========================================================
   1. SITE HEADER & CLEAN MENU ICON (NO BORDER, NO BG)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--orange-accent);
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald-btn);
}

.header-call-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.call-details {
  display: flex;
  flex-direction: column;
}

.call-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.call-number {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

/* Clean Hamburger Menu Button (No Border, No Background) */
.menu-toggle-btn.clean-icon-btn {
  display: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--primary-dark) !important;
  font-size: 1.6rem !important;
  cursor: pointer;
  padding: 4px 8px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  background: #ffffff;
  border-bottom: 2px solid var(--primary-dark);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.mobile-nav-link {
  text-decoration: none;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.mobile-cta-btn {
  text-decoration: none;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-cta-btn.phone { background: var(--primary-dark); color: #fff; }
.mobile-cta-btn.wa { background: var(--whatsapp-green); color: #fff; }

/* =========================================================
   2. HERO BANNER SECTION (REAL CLINIC PHOTO BACKGROUND)
   ========================================================= */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(27, 48, 40, 0.78), rgba(27, 48, 40, 0.88)),
              url('hero_bg.jpg') no-repeat center center/cover;
  padding: 100px 24px 120px;
  color: #ffffff;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  max-width: 680px;
}

.hero-headline {
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 28px;
  font-style: italic;
}

.btn-hero-appointment {
  display: inline-block;
  background: var(--emerald-btn);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-hero-appointment:hover {
  background: var(--emerald-hover);
  transform: translateY(-2px);
}

/* =========================================================
   3. OVERLAPPING BRIGHT SINGLE CARD (ICON LEFT, TEXT BESIDE IT)
   ========================================================= */
.overlap-cards-section {
  position: relative;
  z-index: 20;
  margin-top: -60px;
}

.overlap-container {
  padding-top: 0;
  padding-bottom: 40px;
}

.single-card-right-wrapper {
  display: flex;
  justify-content: flex-end;
  max-width: 1140px;
  margin: 0 auto;
}

.info-card.card-timing.bright-card {
  background: linear-gradient(135deg, #008b8b 0%, #025b60 100%) !important;
  color: #ffffff !important;
  padding: 30px 28px !important;
  border-radius: 16px !important;
  width: 100%;
  max-width: 540px;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 14px 35px rgba(0, 139, 139, 0.35) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

.card-left-icon {
  flex-shrink: 0;
}

.card-left-icon .timing-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0 !important;
  box-shadow: 0 6px 16px rgba(243, 112, 33, 0.4);
}

.card-right-text {
  flex-grow: 1;
}

.card-right-text h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.time-range {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 12px;
  font-weight: 500;
}

.sunday-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 2px;
  color: #fff;
}

.contact-quick-line {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
}

.contact-quick-line i {
  color: #ffeb3b;
  margin-right: 4px;
}

/* =========================================================
   4. ABOUT SECTION & VISION/MISSION SIDE-BY-SIDE (LEFT & RIGHT)
   ========================================================= */
.about-section {
  background: #ffffff;
}

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

.about-image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clean-image-container {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center;
}

.about-clean-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.about-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Vision & Mission Side-by-Side (Horizontal Row Left & Right) */
.vision-mission-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  padding: 20px 0;
  margin-bottom: 24px;
}

.vm-card {
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.vm-icon {
  font-size: 1.8rem;
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.vm-card h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.vm-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-dark-readmore {
  display: inline-block;
  background: var(--primary-slate);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-dark-readmore:hover {
  background: var(--primary-dark);
}

/* =========================================================
   5. CLINIC MACHINES CAROUSEL SLIDER
   ========================================================= */
.facility-section {
  background: var(--primary-slate);
  color: #ffffff;
  padding: 60px 20px;
  overflow: hidden;
}

.facility-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.active-machine-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 50px; /* space for arrows */
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background: #11221c;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide-item {
  min-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #182e26;
  border-radius: 16px;
  overflow: hidden;
}

.machine-img-box {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.machine-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.machine-info {
  padding: 18px 20px;
  width: 100%;
  text-align: center;
  background: #11221c;
}

.machine-info h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--whatsapp-green);
  margin: 0;
}

/* Carousel Arrow Navigation Buttons */
.c-arrow {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.c-arrow:hover {
  background: var(--orange-accent);
  border-color: var(--orange-accent);
  transform: scale(1.1);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Carousel Indicator Dots */
.carousel-dots-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.c-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.c-dot.active, .c-dot:hover {
  background: var(--orange-accent);
  transform: scale(1.2);
  width: 28px;
  border-radius: 12px;
}

/* =========================================================
   6. OUR SPECIALITIES (INTERNAL PARTITION LINES ONLY, NO OUTSIDE BORDER, NO READ MORE BUTTONS)
   ========================================================= */
.specialties-section {
  background: var(--bg-light);
  padding: 60px 16px;
}

.specialties-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: 1140px;
  margin: 0 auto;
}

.spec-matrix-cell {
  background: transparent !important;
  padding: 36px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-right: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

/* Desktop 3 Columns: Remove right border on column 3 (items 3, 6), remove bottom border on row 2 (items 4, 5, 6) */
.spec-matrix-cell:nth-child(3n) {
  border-right: none;
}

.spec-matrix-cell:nth-child(n+4) {
  border-bottom: none;
}

.spec-matrix-cell:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}

.spec-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.spec-matrix-cell:hover .spec-icon-wrapper {
  transform: scale(1.1);
}

.orange-glow { background: linear-gradient(135deg, var(--orange-accent), #ff9800); }
.teal-glow { background: linear-gradient(135deg, var(--primary-dark), var(--emerald-btn)); }
.purple-glow { background: linear-gradient(135deg, var(--purple-accent), #a24b93); }

.spec-matrix-cell h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
}

.spec-matrix-cell p,
.spec-btn {
  display: none !important;
}

/* =========================================================
   7. COCHLEAR IMPLANT DETAIL BANNER
   ========================================================= */
.cochlear-detail-section {
  background: #ffffff;
}

.cochlear-banner-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
  border-radius: 12px;
  padding: 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cochlear-text h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cochlear-text p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 16px;
}

.cochlear-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.c-feat {
  font-size: 0.85rem;
  font-weight: 600;
}

.c-feat i { color: var(--whatsapp-green); }

.btn-cochlear-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-btn);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

/* =========================================================
   8. CONTACT SECTION
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info-card.dark-info-theme {
  background: var(--primary-dark) !important;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 36px;
  border: 1px solid var(--primary-slate) !important;
  box-shadow: none !important;
}

.white-sub {
  color: var(--whatsapp-green) !important;
}

.light-link {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.light-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dark-info-theme i {
  color: var(--whatsapp-green) !important;
}

.contact-form-card.light-form-theme {
  background: #ffffff !important;
  color: var(--text-dark) !important;
  border-radius: 12px;
  padding: 36px;
  border: 1.5px solid var(--border-color) !important;
  box-shadow: none !important;
}

.contact-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
}

.subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-row i {
  font-size: 1.4rem;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  font-size: 0.9rem;
}

.contact-form-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--emerald-btn);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 93, 73, 0.15);
}

.btn-submit-appointment {
  width: 100%;
  background: var(--emerald-btn);
  color: #ffffff;
  padding: 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit-appointment:hover {
  background: var(--emerald-hover);
}

/* =========================================================
   9. FOOTER
   ========================================================= */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 30px 24px;
  border-top: 3px solid var(--purple-accent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.05rem;
}

.footer-brand p {
  font-size: 0.75rem;
  color: var(--orange-accent);
}

.footer-copy {
  font-size: 0.82rem;
}

/* Persistent Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: var(--transition);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
}

.hidden { display: none !important; }

/* =========================================================
   RESPONSIVE MEDIA QUERIES (MOBILE REFINEMENTS)
   ========================================================= */
@media (max-width: 992px) {
  .hero-headline { font-size: 2.6rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .single-card-right-wrapper { justify-content: center; }
  .info-card.card-timing { max-width: 100%; }
}

@media (max-width: 768px) {
  .section-container { padding: 40px 10px !important; }
  .desktop-nav, .header-call-box { display: none; }
  .menu-toggle-btn.clean-icon-btn { display: flex !important; }
  .hero-headline { font-size: 2.2rem; }
  .facility-title { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }
  .footer-container { flex-direction: column; text-align: center; }
  
  .vision-mission-row {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Specialties Grid on Mobile: 2 per row, internal partition lines ONLY (no outside border) */
  .specialties-matrix-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .spec-matrix-cell {
    background: transparent !important;
    padding: 24px 8px !important;
    border-right: 1px solid #d1d5db !important;
    border-bottom: 1px solid #d1d5db !important;
  }

  /* Reset desktop 3n and n+4 rules */
  .spec-matrix-cell:nth-child(3n) {
    border-right: 1px solid #d1d5db !important;
  }
  .spec-matrix-cell:nth-child(n+4) {
    border-bottom: 1px solid #d1d5db !important;
  }

  /* Mobile 2 Columns: Remove right border on column 2 (items 2, 4, 6) */
  .spec-matrix-cell:nth-child(2n) {
    border-right: none !important;
  }

  /* Mobile 2 Columns, 6 items: Remove bottom border on row 3 (items 5, 6) */
  .spec-matrix-cell:nth-child(n+5) {
    border-bottom: none !important;
  }

  .spec-matrix-cell h3 {
    font-size: 0.92rem !important;
    margin: 0 !important;
  }

  .active-machine-carousel-container {
    padding: 0 10px !important;
  }

  .machine-img-box {
    height: 240px !important;
  }

  .c-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    background: rgba(0, 0, 0, 0.6) !important;
  }

  .prev-btn { left: 4px !important; }
  .next-btn { right: 4px !important; }
}
