/* ============================================================
   CONTACT US PAGE — Modern Redesign
   Theme: #005680 (blue) · #E5781D (orange)
   ============================================================ */

/* ── Hero section ─────────────────────────────────────────── */
.contactus_head,
.contactus_head * {
  background: transparent !important;
}

.contactus_head {
  background: linear-gradient(135deg, #005680 0%, #003d5c 60%, #002c42 100%) !important;
  height: auto !important;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 6% 60px;
  position: relative;
  overflow: hidden;
}

.contactus_head::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,120,29,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contactus_head::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contactus-head-badge {
  display: inline-block;
  background: rgba(229,120,29,0.18) !important;
  border: 1px solid rgba(229,120,29,0.5);
  color: #E5781D !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.heading_contact,
.heading_contact span,
#heading-contact {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.heading_contact {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: transparent !important;
  line-height: 1.3 !important;
  text-align: center !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 1;
}

.heading_contact .hc-white {
  color: #ffffff !important;
  text-decoration: underline #E5781D !important;
  text-underline-offset: 8px !important;
  text-decoration-thickness: 3px !important;
}

.heading_contact .hc-orange {
  color: #E5781D !important;
  text-decoration: underline #ffffff !important;
  text-underline-offset: 8px !important;
  text-decoration-thickness: 3px !important;
}

/* ── Contact form section ─────────────────────────────────── */
.service_contact {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
  padding: 60px 8% !important;
  background: #f8fbfd !important;
  background-image: none !important;
  max-width: 1400px;
  margin: 0 auto;
}

/* Form card */
.service_contact .modalinputs {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 40px !important;
  box-shadow: 0 12px 48px rgba(0,86,128,0.12) !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative;
  overflow: hidden;
}

.service_contact .modalinputs::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005680, #E5781D);
}

.service_contact .modalinputs h1 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #005680 !important;
  background: transparent !important;
  margin-bottom: 28px !important;
  line-height: 1.4;
}

.service_contact .modalinputs label {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #444 !important;
  background: transparent !important;
  display: block;
  margin-bottom: 6px !important;
  letter-spacing: 0.03em;
}

.service_contact .modalinputs input[type="text"],
.service_contact .modalinputs input[type="email"],
.service_contact .modalinputs select,
.service_contact .modalinputs textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #d0e4ef !important;
  border-radius: 10px !important;
  background: #f8fbfd !important;
  padding: 12px 16px !important;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 46px !important;
}

.service_contact .modalinputs textarea {
  height: auto !important;
  resize: vertical;
  min-height: 100px;
}

.service_contact .modalinputs input:focus,
.service_contact .modalinputs select:focus,
.service_contact .modalinputs textarea:focus {
  outline: none;
  border-color: #005680 !important;
  box-shadow: 0 0 0 4px rgba(0,86,128,0.1);
}

/* Country code + phone on same row */
.service_contact .phone-input-group {
  display: grid !important;
  grid-template-columns: 90px 1fr !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  align-items: center !important;
}

.service_contact #countrycode {
  height: 46px !important;
  box-sizing: border-box !important;
  padding: 12px 12px !important;
  line-height: 22px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  border: 1px solid #d0e4ef !important;
  border-radius: 10px !important;
  background: #f8fbfd !important;
  margin: 0 !important;
}

.service_contact #modalcontact {
  height: 46px !important;
  box-sizing: border-box !important;
  padding: 12px 16px !important;
  line-height: 22px !important;
  border: 1px solid #d0e4ef !important;
  border-radius: 10px !important;
  background: #f8fbfd !important;
  margin: 0 !important;
  width: 100% !important;
}

.service_contact .close {
  background: transparent !important;
  color: #aaa !important;
  font-size: 28px !important;
  transition: color 0.2s !important;
}

.service_contact .close:hover {
  color: #E5781D !important;
}

#modalsubmit {
  background: linear-gradient(135deg, #E5781D, #c9630f) !important;
  border: none !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  cursor: pointer;
  width: 100% !important;
  height: auto !important;
  padding: 14px 0 !important;
  margin-top: 8px !important;
  font-size: 1rem !important;
  box-shadow: 0 6px 24px rgba(229,120,29,0.3);
  transition: all 0.25s ease !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
}

#modalsubmit:hover {
  background: linear-gradient(135deg, #005680, #003d5c) !important;
  box-shadow: 0 8px 32px rgba(0,86,128,0.3);
  transform: translateY(-2px);
}

/* ── Map section ───────────────────────────────────────────── */
.map {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  width: 100% !important;
}

.map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 500px;
  border-radius: 24px !important;
  box-shadow: 0 12px 48px rgba(0,86,128,0.15) !important;
  border: 4px solid #ffffff !important;
}

/* ── Contact info cards ─────────────────────────────────────── */
.contact_through {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
  margin: 48px 0 0 !important;
  padding: 48px 0 !important;
  background: #f5f7fa !important;
  width: 100% !important;
  height: auto !important;
}

.contact_through > div {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 36px 24px 32px !important;
  text-align: center !important;
  box-shadow: 0 4px 20px rgba(0,86,128,0.08) !important;
  border: 1px solid rgba(0,86,128,0.06) !important;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.contact_through > div::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005680, #E5781D);
  transition: background 0.3s;
}

.contact_through > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

.contact_through > div:hover::before {
  background: linear-gradient(90deg, #E5781D, #005680);
}

/* ── Icon circle ── */
.ct-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,86,128,0.08), rgba(0,86,128,0.15)) !important;
  border: 2px solid rgba(0,86,128,0.12) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  color: #005680;
  flex-shrink: 0;
}

.contact_through > div:hover .ct-icon {
  background: linear-gradient(135deg, rgba(0,86,128,0.15), rgba(0,86,128,0.25)) !important;
  border-color: rgba(0,86,128,0.25) !important;
  transform: scale(1.1);
}

.ct-icon i,
.ct-icon svg {
  width: 30px !important;
  height: 30px !important;
  display: block;
  color: inherit !important;
  stroke: currentColor;
  background: transparent !important;
  margin: 0 !important;
  flex-shrink: 0;
  transition: color 0.3s, stroke 0.3s;
}

.contact_through > div:hover .ct-icon i,
.contact_through > div:hover .ct-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* ── Card title ── */
.ct-title {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1a2a3a !important;
  background: transparent !important;
  margin: 0 0 12px !important;
  line-height: 1.4;
}

/* ── Card content ── */
.ct-content {
  color: #4a5568 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  background: transparent !important;
  margin: 0 !important;
  font-weight: 500;
}

.ct-content a {
  color: #E5781D !important;
  font-weight: 700 !important;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.ct-content a:hover {
  color: #c9630f !important;
}

.contact_through img {
  width: 36px !important;
  height: 36px !important;
  margin: 6px 8px !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-color: transparent !important;
  display: inline-block !important;
  transition: transform 0.25s;
}

.contact_through img:hover {
  transform: scale(1.2);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .service_contact {
    grid-template-columns: 1fr !important;
    padding: 40px 6% !important;
  }

  .map iframe {
    min-height: 350px;
  }

  .contact_through {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    margin-top: 32px !important;
    padding: 40px 6% !important;
  }
}

@media (max-width: 768px) {
  .contactus_head {
    min-height: 260px;
    padding: 80px 5% 50px;
  }

  .heading_contact {
    font-size: 1.8rem !important;
  }

  .service_contact .modalinputs {
    padding: 30px 24px !important;
  }

  .map iframe {
    min-height: 300px;
  }

  .contact_through {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 40px !important;
    padding: 50px 5% !important;
  }

  .contact_through > div {
    padding: 44px 28px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    min-height: 200px;
    box-shadow: 0 4px 20px rgba(0,86,128,0.08) !important;
  }

  .ct-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px !important;
    flex-shrink: 0;
  }

  .ct-icon svg {
    width: 32px !important;
    height: 32px !important;
  }

  .ct-title {
    font-size: 0.92rem !important;
    margin-bottom: 14px !important;
  }

  .ct-content {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  .contact_through img {
    width: 42px !important;
    height: 42px !important;
    margin: 10px 12px !important;
  }
}

@media (max-width: 480px) {
  .contactus_head {
    min-height: 220px;
    padding: 60px 5% 40px;
  }

  .heading_contact {
    font-size: 1.5rem !important;
  }

  .service_contact .modalinputs {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  .contact_through {
    gap: 18px !important;
    margin-top: 32px !important;
    padding: 36px 4% !important;
  }

  .contact_through > div {
    padding: 32px 20px 28px !important;
    min-height: 160px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  }

  .ct-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px !important;
  }

  .ct-icon svg {
    width: 26px !important;
    height: 26px !important;
  }

  .ct-title {
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
  }

  .ct-content {
    font-size: 0.9rem !important;
  }

  .contact_through img {
    width: 34px !important;
    height: 34px !important;
    margin: 6px 8px !important;
  }
}
