/**
 * ClickBiz Location Landing Framework v2.0
 * Grid, Layout, Section Heights and Section-Specific Styles
 */

/* General Container */
.landing-v2-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222222;
  overflow-x: hidden;
  background-color: #FFFFFF;
}

/* Sections Rhythm (120px default space) */
.landing-section {
  padding: 120px 0;
  position: relative;
}

.landing-section-bg-light {
  background-color: #F9FBFD;
}

/* Hero Section */
.hero-section {
  min-height: 820px;
  display: flex;
  align-items: center;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 150px !important;
  padding-bottom: 80px !important;
}

/* Hero Blend/Overlay Styling */
.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-text-col {
  max-width: 620px;
}

.hero-benefits-wrapper {
  margin-top: 10px;
}

/* Appointment Form Elements styling */
.appointment-form-wrapper .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 15px;
}

.appointment-form-wrapper input[type="text"],
.appointment-form-wrapper input[type="tel"],
.appointment-form-wrapper input[type="email"],
.appointment-form-wrapper select,
.appointment-form-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #F9FBFD;
  color: #222222;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.appointment-form-wrapper input:focus,
.appointment-form-wrapper select:focus,
.appointment-form-wrapper textarea:focus {
  border-color: var(--Prim);
  background: #FFFFFF;
}

.appointment-form-wrapper input[type="submit"] {
  width: 100%;
  background-color: var(--Prim);
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 14px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.appointment-form-wrapper input[type="submit"]:hover {
  background-color: #E08500;
  transform: translateY(-2px);
}

/* Smart Booking Wizard Styling */
.wizard-step-panel {
  display: none;
}
.wizard-step-panel.active {
  display: block;
}

.wizard-progress {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.wizard-progress p {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wizard-progress br {
  display: none !important;
}

.wizard-progress .progress-step {
  color: #4B5563 !important;
  font-weight: 500;
  padding: 6px 12px !important;
  background-color: #F3F4F6 !important;
  border-radius: 20px !important;
  border: none !important;
  font-size: 11px !important;
  transition: all 0.3s ease;
  white-space: nowrap !important;
  flex: 0 1 auto !important;
  text-align: center;
  margin: 0 !important;
}

.wizard-progress .progress-step.active {
  color: #ffffff !important;
  background-color: var(--Prim) !important;
  font-weight: 700;
}

/* Fix CF7 Form Stacking & Flexbox breaks */
.wizard-step-panel br {
  display: none !important;
}
.wizard-step-panel .d-flex,
.wizard-step-panel p:has(button),
.wizard-step-panel p:has(input[type="submit"]) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}
.wizard-step-panel .d-flex button,
.wizard-step-panel p button,
.wizard-step-panel .d-flex input[type="submit"],
.wizard-step-panel p input[type="submit"] {
  flex: 1 !important;
  width: 50% !important;
  min-width: 120px !important;
  white-space: nowrap !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  border-radius: 50px !important;
  margin: 0 !important;
}
.wizard-step-panel button.w-100,
.wizard-step-panel p button.w-100 {
  width: 100% !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  margin: 0 !important;
}
.wizard-step-panel input[type="submit"] {
  background: var(--Prim) !important;
  background-image: none !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: none !important;
  box-shadow: 0 4px 10px rgba(0, 186, 204, 0.15) !important;
  margin: 0 !important;
}

/* Improvised Premium Card Header Layout */
.appointment-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.3s ease-in-out;
}
.appointment-card .card-title {
  color: #1F2937 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 8px !important;
}
.appointment-card .card-subtitle {
  font-size: 15px !important;
  color: #4B5563 !important;
  margin-bottom: 24px !important;
  line-height: 1.5 !important;
}
/* Brand theme accent line under card header */
.appointment-card .card-subtitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--Prim);
  border-radius: 2px;
  margin: 16px auto 0 auto;
}

/* Hide empty paragraph elements generated by CF7 at the top of the form wrapper */
.appointment-form-wrapper form > p:first-child:empty,
.appointment-form-wrapper form > p:first-child:has(br):not(:has(span)):not(:has(button)) {
  display: none !important;
}
.appointment-form-wrapper form > br:first-child,
.appointment-form-wrapper form > p > br:first-child {
  display: none !important;
}
.appointment-form-wrapper .wpcf7-form > p:empty,
.appointment-form-wrapper .wpcf7-form > p:has(> br):not(:has(span)):not(:has(button)):not(:has(input)) {
  display: none !important;
}

/* Trust Bar Styling */
.trust-bar-section {
  box-shadow: 0 5px 20px rgba(0,0,0,0.01);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.trust-item {
  transition: var(--transition-smooth);
}

.trust-item-icon {
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.trust-item-title {
  transition: var(--transition-smooth);
}

.trust-item:hover .trust-item-icon {
  color: var(--cta-color) !important;
}

.trust-item:hover .trust-item-title {
  color: var(--cta-color) !important;
}

/* Smile Gallery before/after spacing */
.before-after-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Emergency section spacing */
.emergency-section .lead {
  font-size: 20px;
  opacity: 0.9;
}

/* Maps and contacts detail layouts */
.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.nearby-suburbs-list .badge {
  color: #222222;
  font-size: 13px;
  transition: all 0.2s ease;
}

.nearby-suburbs-list .badge:hover {
  background: #0b5394 !important;
  color: #FFFFFF !important;
  text-decoration: none;
}

/* Footer CTA section rules */
.cta-section {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 83, 148, 0.9);
  z-index: 1;
}

.cta-section > .container {
  position: relative;
  z-index: 2;
}

/* Concierge form styling */
.appointment-card .form-control,
.appointment-card .custom-select {
  height: 52px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  font-size: 15px !important;
  padding: 10px 16px !important;
  transition: all 0.3s ease !important;
  background-color: #fafbfc !important;
}

.appointment-card .form-control:focus,
.appointment-card .custom-select:focus {
  border-color: var(--Prim) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0,186,204,0.06) !important;
}

.appointment-card label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #4B5563 !important;
  margin-bottom: 6px !important;
}

.appointment-card .wizard-progress {
  font-weight: 700;
  color: #9CA3AF;
  border-bottom: 2px solid #F3F4F6;
  padding-bottom: 12px;
}

.appointment-card .wizard-progress .progress-step.active {
  color: #ffffff !important;
  background-color: var(--Prim) !important;
  font-weight: 700;
}

/* Premium Hero responsive gradient overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 255, 255, 0.5) 75%, rgba(255, 255, 255, 0.1) 100%) !important;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0.85) 100%) !important;
  }
}


