/* ==========================================================================
   Contact Us Page Styles (Clean Light Theme matching About Us & Career Pages)
   ========================================================================== */

:root {
  --contact-blue: #1D428A;
  --contact-cyan: #00A8CC;
  --contact-dark: #0F172A;
  --contact-text-dark: #1E293B;
  --contact-text-muted: #64748B;
  --contact-card-bg: rgba(255, 255, 255, 0.92);
  --contact-card-border: rgba(15, 23, 42, 0.08);
}

/* Base Body Styling for Contact Page */
body.contact-page {
  background-image: url('../assets/image/Contact.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #F7F5EE;
  color: var(--contact-text-dark);
}

/* Header Navigation Menu Overrides (Contact Page Only) */
body.contact-page .navbar .nav-link {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

body.contact-page .navbar .nav-link:hover,
body.contact-page .navbar .nav-link.active {
  color: #ffffff !important;
}

body.contact-page .navbar .dropdown-chevron {
  stroke: #ffffff !important;
}

.contact-main-container {
  max-width: min(calc(100% - 3rem), 1320px);
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 60px;
}

/* Common Section Spacing */
.contact-section {
  margin-bottom: 70px;
}

/* ==========================================================================
   Full-Screen Entrance Image Hero Banner Section
   ========================================================================== */
.contact-fullscreen-banner-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  height: calc(100vh - 100px);
  min-height: 520px;
  margin-top: -100px;
  margin-bottom: 60px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: transparent;
}

.contact-fullscreen-img-box {
  width: 100%;
  height: 100%;
  position: relative;
}

.contact-fullscreen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ==========================================================================
   Section 1: Hero Banner Layout ("Let's Build Precision Together")
   ========================================================================== */
.contact-hero-content {
  max-width: 760px;
  margin-bottom: 40px;
}

.contact-tag-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--contact-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-tag-line::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--contact-blue);
}

.contact-hero-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  font-family: var(--font-heading);
  color: var(--contact-text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.text-blue-highlight {
  color: var(--contact-blue);
}

.contact-hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--contact-text-muted);
  max-width: 580px;
  margin-bottom: 28px;
  font-weight: 600;
}

.btn-get-in-touch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--contact-blue) 0%, #153472 100%);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(29, 66, 138, 0.3);
  transition: all 0.3s ease;
}

.btn-get-in-touch:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 66, 138, 0.45);
}

/* ==========================================================================
   Section 2: Dual Glass Cards Container (Info Left & Form Right)
   ========================================================================== */
.contact-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 30px;
  align-items: start;
}

/* Common Card Style */
.spatial-contact-card {
  background: var(--contact-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--contact-card-border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.card-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--contact-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.card-header-tag::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--contact-blue);
}

/* Left Card: Contact Info Items */
.info-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.info-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.info-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 168, 204, 0.08);
  border: 1px solid rgba(0, 168, 204, 0.15);
  color: var(--contact-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--contact-text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-highlight-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--contact-blue);
  text-decoration: none;
  display: block;
}

.info-link-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--contact-blue);
  text-decoration: none;
  display: block;
}

.info-sub-detail {
  font-size: 0.82rem;
  color: var(--contact-text-muted);
  margin-top: 2px;
  line-height: 1.45;
  font-weight: 600;
}

/* Socials Section Left Card */
.socials-block-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--contact-text-dark);
  margin-bottom: 14px;
}

.socials-icons-grid {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spatial-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--contact-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.spatial-social-btn:hover {
  background: var(--contact-blue);
  border-color: var(--contact-blue);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 66, 138, 0.25);
}

/* Right Card: Send Us A Message Form */
.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--contact-text-dark);
}

.required-star {
  color: var(--contact-blue);
}

.spatial-input-wrapper {
  position: relative;
  width: 100%;
}

.spatial-field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--contact-text-muted);
  pointer-events: none;
}

.spatial-textarea-icon {
  top: 16px;
  transform: none;
}

.spatial-input,
.spatial-textarea {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--contact-text-dark);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: all 0.25s ease;
}

.spatial-input:focus,
.spatial-textarea:focus {
  outline: none;
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 3px rgba(29, 66, 138, 0.12);
}

.spatial-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Dropzone Upload Box */
.spatial-dropzone {
  border: 2px dashed rgba(15, 23, 42, 0.15);
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.spatial-dropzone:hover {
  border-color: var(--contact-blue);
  background: rgba(0, 168, 204, 0.02);
}

.dropzone-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 168, 204, 0.08);
  color: var(--contact-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone-text-content {
  text-align: left;
}

.dropzone-primary-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--contact-text-dark);
}

.dropzone-sub-text {
  font-size: 0.74rem;
  color: var(--contact-text-muted);
  margin-top: 2px;
}

/* Checkbox Row */
.terms-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--contact-text-muted);
  margin-top: 2px;
}

.custom-checkbox {
  accent-color: var(--contact-blue);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.terms-link {
  color: var(--contact-blue);
  font-weight: 700;
  text-decoration: underline;
}

.btn-send-message {
  width: 100%;
  background: linear-gradient(135deg, var(--contact-blue) 0%, #153472 100%);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(29, 66, 138, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.btn-send-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 66, 138, 0.4);
}

/* ==========================================================================
   Section 3: Interactive Google Map Section
   ========================================================================== */
.contact-map-card {
  background: var(--contact-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--contact-card-border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.map-card-header {
  margin-bottom: 20px;
}

.map-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--contact-text-dark);
  margin-bottom: 4px;
}

.map-section-desc {
  font-size: 0.88rem;
  color: var(--contact-text-muted);
  font-weight: 600;
}

.google-map-container {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.google-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Section 4: 4 Trust Badges Horizontal Bar
   ========================================================================== */
.contact-trust-bar {
  background: var(--contact-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--contact-card-border);
  border-radius: 24px;
  padding: 28px 36px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 168, 204, 0.08);
  border: 1px solid rgba(0, 168, 204, 0.2);
  color: var(--contact-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--contact-text-dark);
  margin-bottom: 3px;
}

.trust-desc {
  font-size: 0.78rem;
  color: var(--contact-text-muted);
  line-height: 1.4;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .contact-dual-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-fullscreen-banner-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: auto;
    min-height: 220px;
    margin-top: -75px;
    margin-bottom: 30px;
  }

  .contact-main-container {
    max-width: calc(100% - 1.5rem);
    padding-top: 75px;
    padding-bottom: 40px;
  }

  .contact-section {
    margin-bottom: 40px;
  }

  .contact-hero-title {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
    line-height: 1.15;
  }

  .btn-get-in-touch,
  .btn-submit-message {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .spatial-contact-card,
  .contact-trust-bar {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .info-item-row {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .contact-main-container {
    max-width: calc(100% - 1rem);
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .spatial-contact-card,
  .contact-trust-bar {
    padding: 20px 14px;
    border-radius: 18px;
  }

  .contact-hero-title {
    font-size: 1.85rem;
  }

  .info-highlight-text {
    font-size: 1.1rem;
  }
}
