/**
 * OM SAI SPORTS — Contact / Get A Query Page Presentation (Page ID: 1131)
 *
 * Scoped strictly to .page-id-1131.
 * - Suppresses legacy contact block, visible address, location pin, map, and giant logo.
 * - Enforces clean centered 2-column desktop grid (Form dominant on left, Contact Card on right).
 * - Restructures Contact Form 7 controls and 50px Get A Query CTA.
 * - Sizing, spacing, typography, and no-wrap values for email and phone numbers.
 * - Clean mobile stacking and touch accessibility.
 */

/* ==========================================================================
   1. SUPPRESSIONS (PERMANENT & SCOPED TO PAGE 1131)
   ========================================================================== */

/* 1.1 Google Maps Section */
.page-id-1131 .elementor-element.elementor-element-96f9634 {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 1.2 Giant Left Logo Column / Widget */
.page-id-1131 .oss-contact-logo-col,
.page-id-1131 .elementor-section:has(.wpcf7) .elementor-column:has(.elementor-widget-image):not(:has(.wpcf7)):not(:has(.oss-contact-card)),
.page-id-1131 .elementor-section:has(.wpcf7) .elementor-column:first-child:not(:has(.wpcf7)):not(:has(.oss-contact-card)) {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  flex: 0 0 0% !important;
  max-width: 0 !important;
}

/* 1.3 Entire Old Legacy Contact Block & Visible Address */
.page-id-1131 [data-oss-contact-address="true"],
.page-id-1131 .oss-legacy-address-hidden,
.page-id-1131 .oss-legacy-contact-hidden,
.page-id-1131 .oss-contact-info-col > *:not(.oss-contact-card),
.page-id-1131 .oss-contact-info-col .elementor-widget-wrap > *:not(.oss-contact-card),
.page-id-1131 .elementor-column:has(.oss-contact-card) > *:not(.oss-contact-card),
.page-id-1131 .elementor-column:has(.oss-contact-card) .elementor-widget-wrap > *:not(.oss-contact-card),
.page-id-1131 :is(.elementor-icon-list-item, .elementor-widget-icon-box, .xs-contact-item, li):has(:is(i.fa-map-marker, i.fa-map-marker-alt, i.fa-map-pin, i.fa-location-dot, i[class*="location"], i[class*="map-marker"], svg[data-icon*="map-marker"], svg[data-icon*="location"])) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* 1.4 Floating Dotted Line / Divider Under Heading */
.page-id-1131 .elementor-widget-divider,
.page-id-1131 .elementor-divider,
.page-id-1131 .elementor-widget-spacer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   2. HEADING SECTION ("GET IN TOUCH")
   ========================================================================== */

.page-id-1131 .oss-contact-heading-section,
.page-id-1131 .elementor-section:has(.elementor-heading-title:is(:contains("Get in touch"), :contains("touch"))) {
  padding-top: clamp(40px, 5vw, 60px) !important;
  padding-bottom: 0 !important;
  margin-bottom: clamp(24px, 3.5vw, 40px) !important;
  text-align: center !important;
}

.page-id-1131 .oss-contact-main-heading,
.page-id-1131 .elementor-widget-heading .elementor-heading-title {
  text-align: center !important;
  color: #0f1d2f !important;
  font-weight: 800 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin: 0 auto 10px !important;
}

.page-id-1131 .oss-contact-subtitle {
  text-align: center !important;
  color: #5a6876 !important;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem) !important;
  line-height: 1.5 !important;
  margin: 0 auto 28px !important;
  max-width: 600px !important;
}

/* ==========================================================================
   3. TWO-COLUMN CENTERED PAGE LAYOUT
   ========================================================================== */

/* Desktop Layout (>= 992px) */
@media (min-width: 992px) {
  .page-id-1131 :is(.oss-contact-main-section, .elementor-section:has(.wpcf7)) > .elementor-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 380px) !important;
    gap: 48px !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 24px !important;
    align-items: start !important;
    box-sizing: border-box !important;
  }

  /* Form Column (Dominant) */
  .page-id-1131 :is(.oss-contact-form-col, .elementor-column:has(.wpcf7)) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  /* Contact Information Column */
  .page-id-1131 :is(.oss-contact-info-col, .elementor-column:has(.oss-contact-card)) {
    width: 100% !important;
    max-width: 380px !important;
    flex: 0 0 380px !important;
    margin: 0 !important;
  }
}

/* Tablet & Mobile Layout (<= 991px) */
@media (max-width: 991px) {
  .page-id-1131 :is(.oss-contact-main-section, .elementor-section:has(.wpcf7)) > .elementor-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-inline: 16px !important;
    box-sizing: border-box !important;
  }

  .page-id-1131 :is(.oss-contact-form-col, .elementor-column:has(.wpcf7)),
  .page-id-1131 :is(.oss-contact-info-col, .elementor-column:has(.oss-contact-card)) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* ==========================================================================
   4. CONTACT FORM 7 REDESIGN
   ========================================================================== */

.page-id-1131 .wpcf7 {
  width: 100% !important;
  box-sizing: border-box !important;
}

.page-id-1131 .wpcf7 form p,
.page-id-1131 .wpcf7-form > p {
  margin-bottom: 20px !important;
}

.page-id-1131 .wpcf7 form label,
.page-id-1131 .wpcf7-form label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f1d2f !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.page-id-1131 .wpcf7 input[type="text"],
.page-id-1131 .wpcf7 input[type="email"],
.page-id-1131 .wpcf7 input[type="tel"],
.page-id-1131 .wpcf7 input[type="url"],
.page-id-1131 .wpcf7 select {
  height: 52px !important;
  min-height: 52px !important;
  width: 100% !important;
  border: 1px solid #d8e0e8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  color: #0f1d2f !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.page-id-1131 .wpcf7 textarea {
  min-height: 150px !important;
  width: 100% !important;
  border: 1px solid #d8e0e8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  padding: 14px 16px !important;
  font-size: 16px !important;
  color: #0f1d2f !important;
  box-sizing: border-box !important;
  resize: vertical !important;
  line-height: 1.5 !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.page-id-1131 .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select):focus {
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12) !important;
  outline: none !important;
}

/* Two-column layout for Name + Email on desktop */
.page-id-1131 .wpcf7 .row,
.page-id-1131 .wpcf7-form .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-inline: -8px !important;
}

.page-id-1131 .wpcf7 .row > [class*="col-"],
.page-id-1131 .wpcf7-form .row > [class*="col-"] {
  padding-inline: 8px !important;
}

@media (max-width: 600px) {
  .page-id-1131 .wpcf7 .row > [class*="col-"],
  .page-id-1131 .wpcf7-form .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
  }
}

/* "GET A QUERY" Submit Button */
.page-id-1131 .wpcf7 input[type="submit"],
.page-id-1131 .wpcf7 button[type="submit"],
.page-id-1131 .wpcf7-submit {
  min-height: 50px !important;
  height: 50px !important;
  padding: 0 32px !important;
  border-radius: 8px !important;
  background: #0f1d2f !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  box-shadow: 0 2px 8px rgba(15, 29, 47, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-id-1131 .wpcf7 input[type="submit"]:hover,
.page-id-1131 .wpcf7 button[type="submit"]:hover,
.page-id-1131 .wpcf7-submit:hover {
  background: #1b2f48 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(15, 29, 47, 0.2) !important;
}

@media (max-width: 600px) {
  .page-id-1131 .wpcf7 input[type="submit"],
  .page-id-1131 .wpcf7 button[type="submit"],
  .page-id-1131 .wpcf7-submit {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
  }
}

.page-id-1131 :is(.wpcf7-response-output, .wpcf7-not-valid-tip) {
  max-width: 100%;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 14px;
}

/* ==========================================================================
   5. MODERN CONTACT CARD (.oss-contact-card)
   ========================================================================== */

.page-id-1131 .oss-contact-card {
  width: 100% !important;
  max-width: 380px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #e2e7ec !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(15, 29, 47, 0.05) !important;
  padding: 28px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.page-id-1131 .oss-contact-card__header {
  margin-bottom: 24px !important;
}

.page-id-1131 .oss-contact-card__title {
  margin: 0 0 8px 0 !important;
  color: #0f1d2f !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

.page-id-1131 .oss-contact-card__subtitle {
  margin: 0 !important;
  color: #5a6876 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.page-id-1131 .oss-contact-card__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.page-id-1131 .oss-contact-card__item {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  border: 1px solid #e2e7ec !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  text-decoration: none !important;
  color: #0f1d2f !important;
  min-height: 64px !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
}

.page-id-1131 .oss-contact-card__item:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(15, 29, 47, 0.06) !important;
  transform: translateY(-1px) !important;
}

.page-id-1131 .oss-contact-card__icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 10px !important;
  background: #edf5ff !important;
  color: #1d4ed8 !important;
  flex-shrink: 0 !important;
  transition: transform 0.18s ease !important;
}

.page-id-1131 .oss-contact-card__item:hover .oss-contact-card__icon-box {
  transform: scale(1.05) !important;
}

.page-id-1131 .oss-contact-card__icon-box--whatsapp {
  background: #ecfdf5 !important;
  color: #25d366 !important;
}

.page-id-1131 .oss-contact-card__details {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.page-id-1131 .oss-contact-card__label {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #5a6876 !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.page-id-1131 .oss-contact-card__value {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f1d2f !important;
  line-height: 1.4 !important;
  transition: color 0.15s ease !important;
  white-space: nowrap !important;
}

.page-id-1131 .oss-contact-card__item--phone .oss-contact-card__value,
.page-id-1131 .oss-contact-card__item--whatsapp .oss-contact-card__value {
  white-space: nowrap !important;
  word-break: normal !important;
}

.page-id-1131 .oss-contact-card__item--email .oss-contact-card__value {
  white-space: nowrap !important;
}

.page-id-1131 .oss-contact-card__item:hover .oss-contact-card__value {
  color: #1d4ed8 !important;
}

/* ==========================================================================
   6. MOBILE RESPONSIVENESS & BREAKPOINTS
   ========================================================================== */

@media (max-width: 767.98px) {
  .page-id-1131 .oss-contact-card {
    max-width: 100% !important;
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }

  .page-id-1131 .oss-contact-card__title {
    font-size: 20px !important;
  }

  .page-id-1131 .oss-contact-card__subtitle {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }

  .page-id-1131 .oss-contact-card__item {
    min-height: 60px !important;
    padding: 10px 12px !important;
    gap: 12px !important;
  }

  .page-id-1131 .oss-contact-card__icon-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .page-id-1131 .oss-contact-card__value {
    font-size: 14px !important;
  }
}

/* Ultra-compact phones (<= 350px) */
@media (max-width: 350px) {
  .page-id-1131 .oss-contact-card {
    padding: 16px 12px !important;
  }

  .page-id-1131 .oss-contact-card__item {
    padding: 8px 10px !important;
  }

  .page-id-1131 .oss-contact-card__item--email .oss-contact-card__value {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    font-size: 13px !important;
  }

  .page-id-1131 .oss-contact-card__item--phone .oss-contact-card__value,
  .page-id-1131 .oss-contact-card__item--whatsapp .oss-contact-card__value {
    font-size: 13px !important;
  }
}
