/* ==========================================================================
   CONTACT US TEMPLATE STYLES — Blue Cross Academy
   ========================================================================== */

/* ── Contact Page Hero Header ── */
.bca-contact-hero {
  background-color: #062436;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  text-align: center;
}

.bca-contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 36, 54, 0.35) 0%, rgba(6, 36, 54, 0.15) 50%, rgba(3, 20, 31, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.bca-contact-hero .bca-container {
  position: relative;
  z-index: 2;
}

.bca-contact-hero .bca-page-hero-title {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

.bca-contact-hero .bca-page-hero-sub {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

.bca-contact-hero .bca-hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--bca-radius-pill);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ── Contact Info Cards Row ── */
.bca-contact-cards-section {
  padding: 64px 0 40px;
  background: var(--bca-bg);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.bca-contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bca-contact-info-card {
  background: var(--bca-surface);
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-md);
  padding: 24px 20px;
  box-shadow: var(--bca-shadow-sm);
  transition: var(--bca-transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bca-contact-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--bca-primary);
  box-shadow: var(--bca-shadow-md);
}

.bca-contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--bca-radius-md);
  background: var(--bca-primary-light);
  color: var(--bca-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.bca-contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.bca-contact-info-card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bca-accent);
}

.bca-contact-info-card p,
.bca-contact-info-card a {
  margin: 0;
  font-size: 0.88rem;
  color: var(--bca-muted);
  line-height: 1.5;
}

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

/* ── Main Form & Info Section ── */
.bca-contact-main-section {
  padding: 0 0 88px;
  background: var(--bca-bg);
}

.bca-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* Form Card */
.bca-form-card {
  background: var(--bca-surface);
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-lg);
  padding: 40px;
  box-shadow: var(--bca-shadow-sm);
}

.bca-form-card h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--bca-accent);
  margin: 0 0 8px;
  line-height: 1.25;
}

.bca-form-card p {
  font-size: 0.95rem;
  color: var(--bca-muted);
  margin: 0 0 28px;
}

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

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

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

.bca-form-group label span.required {
  color: #e53e3e;
}

.bca-form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: var(--bca-font-body);
  color: var(--bca-text);
  background: #ffffff;
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-sm);
  outline: none;
  transition: var(--bca-transition);
}

.bca-form-control:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--bca-primary);
  box-shadow: 0 0 0 3px rgba(8,168,224,0.15);
}

textarea.bca-form-control,
.wpcf7 textarea {
  resize: vertical;
  min-height: 120px;
}

.bca-form-submit-btn,
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--bca-gradient-primary);
  border: none;
  border-radius: var(--bca-radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(8,168,224,0.28);
  transition: var(--bca-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bca-form-submit-btn:hover,
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8,168,224,0.4);
}

/* Sidebar Info Card */
.bca-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bca-sidebar-img-card {
  background: var(--bca-surface);
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-lg);
  overflow: hidden;
  box-shadow: var(--bca-shadow-sm);
}

.bca-sidebar-img-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.bca-sidebar-img-body {
  padding: 24px;
}

.bca-sidebar-img-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bca-accent);
  margin: 0 0 6px;
}

.bca-sidebar-img-body p {
  font-size: 0.88rem;
  color: var(--bca-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

/* ══════════════════════════════════════════════════════════
   DEDICATED APPLICATION & WHATSAPP ENROLLMENT SECTION
   ══════════════════════════════════════════════════════════ */
.bca-contact-app-section {
  padding: 0 0 60px;
  background: var(--bca-bg);
}

.bca-contact-app-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
  border: 1px solid rgba(8, 119, 168, 0.15);
  border-radius: var(--bca-radius-lg);
  box-shadow: 0 10px 32px rgba(8, 119, 168, 0.07);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}

.bca-contact-app-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bca-gradient-primary);
}

.bca-contact-app-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.bca-contact-app-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bca-primary);
  background: rgba(8, 119, 168, 0.1);
  border: 1px solid rgba(8, 119, 168, 0.2);
  padding: 4px 14px;
  border-radius: var(--bca-radius-pill);
  margin-bottom: 12px;
}

.bca-contact-app-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--bca-heading);
  margin: 0 0 10px;
  line-height: 1.25;
}

.bca-contact-app-header p {
  font-size: 0.94rem;
  color: var(--bca-muted);
  line-height: 1.6;
  margin: 0;
}

.bca-contact-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bca-contact-step-box {
  background: #ffffff;
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(18, 59, 85, 0.04);
  transition: all 0.25s ease;
}

.bca-contact-step-box:hover {
  transform: translateY(-3px);
  border-color: var(--bca-primary);
  box-shadow: 0 8px 24px rgba(8, 119, 168, 0.12);
}

.bca-contact-step-box--wa:hover {
  border-color: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}

.bca-contact-step-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bca-contact-step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--bca-primary);
  opacity: 0.35;
  line-height: 1;
}

.bca-contact-step-num--wa {
  color: #25D366;
}

.bca-contact-step-title-wrap {
  display: flex;
  flex-direction: column;
}

.bca-contact-step-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bca-primary);
  background: rgba(8, 119, 168, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 4px;
}

.bca-contact-step-tag--wa {
  color: #128C7E;
  background: rgba(18, 140, 126, 0.1);
}

.bca-contact-step-title-wrap h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--bca-heading);
  margin: 0;
  line-height: 1.25;
}

.bca-contact-step-box p {
  font-size: 0.88rem;
  color: var(--bca-muted);
  line-height: 1.5;
  margin: 0;
}

/* Step 1: Download PDF Button */
.bca-btn-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  background: #ffffff;
  color: var(--bca-primary, #0877a8) !important;
  border: 2px solid var(--bca-primary, #0877a8);
  border-radius: var(--bca-radius-pill, 50px);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(8, 119, 168, 0.08);
  cursor: pointer;
  box-sizing: border-box;
}

.bca-btn-download-pdf svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  stroke: var(--bca-primary, #0877a8) !important;
  fill: none !important;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}

.bca-btn-download-pdf:hover {
  background: var(--bca-primary, #0877a8);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(8, 119, 168, 0.25);
  transform: translateY(-2px);
}

.bca-btn-download-pdf:hover svg {
  stroke: #ffffff !important;
  transform: translateY(2px);
}

/* Step 2: WhatsApp Submit Button */
.bca-btn-whatsapp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: none;
  border-radius: var(--bca-radius-pill, 50px);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.bca-btn-whatsapp-submit svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  fill: #ffffff !important;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.bca-btn-whatsapp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

.bca-sidebar-img-card {
  background: var(--bca-surface);
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-lg);
  overflow: hidden;
  box-shadow: var(--bca-shadow-sm);
}

.bca-sidebar-img-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.bca-sidebar-img-body {
  padding: 24px;
}

.bca-sidebar-img-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bca-accent);
  margin: 0 0 6px;
}

.bca-sidebar-img-body p {
  font-size: 0.88rem;
  color: var(--bca-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

/* Opening Hours Card */
.bca-hours-card {
  background: var(--bca-accent);
  color: #ffffff;
  border-radius: var(--bca-radius-md);
  padding: 24px;
}

.bca-hours-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bca-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bca-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.85);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bca-hours-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── Map Section ── */
.bca-map-section {
  padding: 0 0 88px;
  background: var(--bca-bg);
}

.bca-map-container {
  border-radius: var(--bca-radius-lg);
  overflow: hidden;
  box-shadow: var(--bca-shadow-md);
  border: 1px solid var(--bca-border);
  height: 420px;
  position: relative;
}

.bca-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── FAQ Section ── */
.bca-faq-section {
  padding: 88px 0;
  background: #ffffff;
}

.bca-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bca-faq-card {
  background: var(--bca-bg);
  border: 1px solid var(--bca-border);
  border-radius: var(--bca-radius-md);
  padding: 28px;
}

.bca-faq-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bca-accent);
  margin: 0 0 10px;
}

.bca-faq-card p {
  font-size: 0.9rem;
  color: var(--bca-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .bca-contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .bca-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .bca-faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .bca-contact-cards-section {
    padding: 48px 0 32px;
    margin-top: -28px;
  }
  .bca-contact-main-section,
  .bca-faq-section {
    padding: 56px 0;
  }
  .bca-contact-app-section {
    padding: 0 0 56px;
  }
  .bca-contact-app-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bca-contact-app-banner {
    padding: 32px 20px;
  }
  .bca-contact-app-header h2 {
    font-size: 1.5rem;
  }
  .bca-map-section {
    padding: 0 0 56px;
  }
  .bca-contact-hero {
    padding: 64px 0 72px;
  }
  .bca-form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .bca-contact-cards-section {
    padding: 40px 0 28px;
    margin-top: -20px;
  }
  .bca-contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bca-contact-info-card {
    padding: 20px 18px;
  }
  .bca-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bca-form-card {
    padding: 24px 18px;
  }
  .bca-form-card h2 {
    font-size: 1.6rem;
  }
  .bca-form-control,
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="number"],
  .wpcf7 select,
  .wpcf7 textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 12px 14px;
  }
  .bca-sidebar-img-body {
    padding: 20px 18px;
  }
  .bca-sidebar-img-body h3 {
    font-size: 1.2rem;
  }
  .bca-btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
  .bca-map-container {
    height: 300px;
  }
  .bca-faq-card {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .bca-contact-hero {
    padding: 48px 0 54px;
  }
  .bca-page-hero-title {
    font-size: 1.6rem;
  }
  .bca-page-hero-sub {
    font-size: 0.92rem;
  }
  .bca-form-card {
    padding: 20px 16px;
  }
  .bca-form-card h2 {
    font-size: 1.45rem;
  }
  .bca-form-card p {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  .bca-form-submit-btn,
  .wpcf7 input[type="submit"] {
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  .bca-map-container {
    height: 260px;
  }
}
