/* ==========================================================================
   Air Display - Complete Support & Contact Page Stylesheet
   Location: /assets/css/support.css
   ========================================================================== */

:root {
  --primary-red: #e50914;
  --dark-navy: #07090e;
  --card-border: #e2e8f0;
  --txt-dark: #0f172a;
  --txt-body: #475569;
  --txt-muted: #64748b;
  --bg-light: #f8fafc;
}

.dot-red { 
  color: var(--primary-red); 
}

.tag-bar {
  display: inline-block;
  width: 14px;
  height: 3px;
  background-color: var(--primary-red);
  margin-right: 8px;
  vertical-align: middle;
}

/* ==========================================================================
   1. Full-Width Panoramic Hero Section (CSS Background Implementation)
   ========================================================================== */
.spt-hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  padding: 60px 0 80px;
  background: radial-gradient(70% 120% at 85% 40%, #3a0a12, #07090e 70%); /* shows if no photo is uploaded */
}
.spt-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: -2;
}
.spt-hero-banner::after {            /* dark fade on the left keeps the text readable */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #07090e 0%, rgba(7,9,14,.95) 30%, rgba(7,9,14,.7) 52%, rgba(7,9,14,.2) 78%, rgba(7,9,14,.05) 100%);
}
@media (max-width: 768px) {
  .spt-hero-banner { padding: 40px 0 60px; }
  .spt-hero-banner::after { background: linear-gradient(180deg, rgba(7,9,14,.92), rgba(7,9,14,.8)); }
  .spt-hero-img { object-position: center; }
}

.spt-hero-container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.spt-crumbs ol {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.spt-crumbs a { 
  color: #94a3b8; 
  text-decoration: none; 
}

.spt-crumbs a:hover { 
  color: #ffffff; 
}

.spt-crumbs li+li::before { 
  content: "›"; 
  margin-right: 8px; 
  color: #64748b; 
}

.spt-hero-text {
  max-width: 580px;
}

.spt-hero-text .tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-red);
  margin: 0 0 14px;
}

.spt-hero-text h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.spt-hero-text .lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

/* Mobile & Tablet Optimization */
@media (max-width: 768px) {
  .spt-hero-banner {
    padding: 40px 0 60px;
    background-image: 
      linear-gradient(
        180deg, 
        rgba(7, 9, 14, 0.95) 0%, 
        rgba(7, 9, 14, 0.85) 100%
      ),
      url('/assets/img/contact-centre.jpg');
    background-position: center;
  }
  .spt-hero-text {
    max-width: 100%;
  }
}
/* ==========================================================================
   2. Fast Action Cards (3 Box Layout - Centered & Justified)
   ========================================================================== */
.spt-channels-sec {
  background: #ffffff !important;
  color: var(--txt-dark) !important;
  padding: 30px 0;
  border-bottom: 1px solid var(--card-border);
}

.spt-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0 auto;
}

.spt-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--txt-dark);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.spt-channel-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.spt-channel-card .card-text {
  display: flex;
  flex-direction: column;
}

.channel-bubble.red {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-bubble svg { 
  width: 22px; 
  height: 22px; 
}

.spt-channel-card strong { 
  font-size: 1.02rem; 
  font-weight: 700; 
  color: var(--txt-dark); 
}

.spt-channel-card span { 
  font-size: 0.86rem; 
  color: var(--txt-muted); 
}

.channel-arr { 
  margin-left: auto; 
  color: #94a3b8; 
  font-weight: 700; 
  font-size: 1.15rem; 
}

/* ==========================================================================
   3. Upper Section: Form (Left) + Resources & Map (Right)
   ========================================================================== */
.spt-main-sec {
  background: #ffffff !important;
  color: var(--txt-dark) !important;
  padding: 60px 0 50px;
}

.spt-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.spt-form-col h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--txt-dark);
  margin: 10px 0 20px;
}

.spt-form {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.spt-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--txt-dark);
}

.spt-form input, 
.spt-form select, 
.spt-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--txt-dark);
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.spt-form input:focus, 
.spt-form select:focus, 
.spt-form textarea:focus {
  border-color: var(--primary-red);
}

.tel-box {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
}

.country-badge {
  padding: 0 10px;
  font-size: 0.85rem;
  color: var(--txt-body);
  background: #f1f5f9;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid #cbd5e1;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.tel-box input { 
  border: none !important; 
}

.f-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--txt-body);
}

.f-check input { 
  width: auto; 
  margin-top: 3px; 
}

.btn-block { 
  width: 100%; 
  text-align: center; 
  padding: 14px; 
  font-size: 1rem; 
}

/* Downloads Section */
.spt-dl-block h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--txt-dark);
  margin: 10px 0 8px;
}

.spt-dl-block .sub-txt {
  font-size: 0.92rem;
  color: var(--txt-muted);
  margin-bottom: 20px;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 35px;
}

.dl-card {
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dl-pdf-icon { 
  color: var(--primary-red); 
  margin-bottom: 8px; 
}

.dl-pdf-icon svg { 
  width: 28px; 
  height: 28px; 
}

.dl-title { 
  font-size: 0.82rem; 
  line-height: 1.3; 
  color: var(--txt-dark); 
  margin-bottom: 12px; 
}

.dl-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--txt-muted);
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
}

.dl-btn { 
  color: var(--txt-dark); 
  display: inline-flex; 
}

.dl-btn svg { 
  width: 15px; 
  height: 15px; 
}

.dl-btn:hover { 
  color: var(--primary-red); 
}

/* Map Block */
.spt-map-block h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--txt-dark);
  margin: 0 0 8px;
}

.spt-map-block .sub-txt {
  font-size: 0.9rem;
  color: var(--txt-muted);
  margin-bottom: 18px;
}

.world-map-wrapper {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.world-map-wrapper img { 
  width: 100%; 
  height: auto; 
  display: block; 
  opacity: 0.9; 
}

.map-marker {
  position: absolute;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--txt-dark);
}

.map-marker::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-red);
  margin-right: 5px;
}

.m-na { top: 30%; left: 16%; }
.m-eu { top: 25%; left: 49%; }
.m-me { top: 40%; left: 55%; }
.m-as { top: 38%; left: 74%; }
.m-sa { top: 65%; left: 26%; }
.m-af { top: 58%; left: 51%; }
.m-au { top: 72%; left: 81%; }

/* ==========================================================================
   4. Lower Section: FAQ (Left) + Branches Directory (Right)
   ========================================================================== */
.spt-lower-sec {
  background: #ffffff !important;
  color: var(--txt-dark) !important;
  padding: 60px 0 80px;
  border-top: 1px solid var(--card-border);
}

.spt-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}

/* FAQ Column */
.spt-faq-col h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--txt-dark);
  margin: 10px 0 8px;
}

.spt-faq-col .sub-txt {
  font-size: 0.92rem;
  color: var(--txt-muted);
  margin-bottom: 20px;
}

.faq-accordion {
  border-top: 1px solid var(--card-border);
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-q {
  padding: 16px 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--txt-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-q::-webkit-details-marker { 
  display: none; 
}

.faq-icon {
  font-size: 1.3rem;
  color: #64748b;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] .faq-icon { 
  transform: rotate(45deg); 
  color: var(--primary-red); 
}

.faq-a {
  padding-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--txt-body);
}

/* Branches Column */
.branch-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.f-pill {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--txt-body);
  cursor: pointer;
  transition: all 0.2s;
}

.f-pill.active, 
.f-pill:hover {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.branch-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.b-card {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 14px;
  align-items: center;
}

.b-media img {
  width: 95px;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.b-media-fallback {
  width: 95px;
  height: 85px;
  background: #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.b-media-fallback svg { 
  width: 30px; 
  height: 30px; 
}

.b-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--txt-dark);
}

.b-detail {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--txt-body);
  margin: 2px 0;
}

.b-detail a { 
  color: inherit; 
  text-decoration: none; 
}

.b-detail a:hover { 
  color: var(--primary-red); 
}

.ico-pin { 
  color: var(--primary-red); 
  font-style: normal; 
  margin-right: 4px; 
}

.ico-call, 
.ico-mail { 
  color: var(--primary-red); 
  font-style: normal; 
  margin-right: 4px; 
}

/* ==========================================================================
   5. Bottom CTA Strip
   ========================================================================= */
.spt-bottom-cta {
  background: linear-gradient(90deg, #07090e 0%, #151b28 50%, #1c0b0e 100%);
  color: #ffffff;
  padding: 60px 0;
}

.spt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tag-inline { 
  font-size: 0.85rem; 
  font-weight: 700; 
  color: #ffffff; 
  opacity: 0.85; 
  margin: 0 0 10px; 
}

.tag-inline span { 
  color: var(--primary-red); 
}

.spt-bottom-cta h2 { 
  font-size: clamp(2rem, 3.2vw, 2.6rem); 
  font-weight: 800; 
  color: #ffffff; 
  margin: 0 0 10px; 
}

.spt-bottom-cta p { 
  color: #cbd5e1; 
  font-size: 1.05rem; 
  margin: 0; 
}

/* ==========================================================================
   6. Contact Dialog Popups (Call, Email, WhatsApp Channels)
   ========================================================================== */
dialog.spt-modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

dialog.spt-modal::backdrop {
  background: rgba(9, 12, 18, 0.7);
  backdrop-filter: blur(4px);
}

.spt-modal-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  border: 1px solid #e2e8f0;
}

.spt-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.spt-modal-close:hover { 
  color: var(--primary-red); 
}

.spt-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.spt-modal-header .modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.modal-icon.red { 
  background: #fee2e2; 
  color: var(--primary-red); 
}

.modal-icon svg { 
  width: 28px; 
  height: 28px; 
}

.spt-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--txt-dark);
  margin: 0 0 6px;
}

.spt-modal-header p {
  font-size: 0.9rem;
  color: var(--txt-muted);
  margin: 0;
}

.spt-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  gap: 12px;
}

.modal-contact-item strong { 
  display: block; 
  font-size: 0.88rem; 
  color: var(--txt-dark); 
}

.modal-contact-item span { 
  font-size: 0.78rem; 
  color: var(--txt-muted); 
}

.btn-call {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--txt-dark);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-call:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

.btn-wa {
  background: #25d366;
  border: 1px solid #25d366;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn-wa:hover { 
  background: #1ebc59; 
}

/* ==========================================================================
   7. Responsive Design Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .spt-split-layout,
  .spt-lower-grid { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  .spt-channels-grid { 
    grid-template-columns: 1fr; 
  }
  .dl-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
  .branch-cards-grid { 
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 768px) {
  .spt-hero-full {
    min-height: auto;
    padding: 40px 0 50px;
  }
  .spt-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 9, 14, 0.92) 0%,
      rgba(7, 9, 14, 0.85) 100%
    );
  }
  .spt-hero-text {
    max-width: 100%;
  }
  .f-row,
  .branch-cards-grid,
  .dl-grid { 
    grid-template-columns: 1fr; 
  }
  .spt-cta-inner { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 20px; 
  }
  .modal-contact-item { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 10px; 
  }
  .btn-call, 
  .btn-wa { 
    width: 100%; 
    text-align: center; 
  }
}