/* ============================================
   CONTACT PAGE - SPECIFIC STYLES
   ============================================ */

/* ============ CONTACT HERO ============ */
.contact-hero {
  background:
    linear-gradient(90deg, rgba(225,238,255,0.95) 0%, rgba(225,238,255,0.55) 45%, rgba(225,238,255,0) 70%),
    url('image/cont.webp') center/cover no-repeat;
  padding: 70px 0 90px;
}
.contact-hero h1 {
  font-size: 45px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.1;
}
.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  margin-bottom: 22px;
}
.contact-hero .hero-text {
  color: #303030;
  font-size: 15px;
  max-width: 480px;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* ============ CONTACT INFO CARDS ============ */
.contact-info-section {
  padding: 0 0 30px;
  margin-top: -30px;
  position: relative;
  z-index: 5;
}
.contact-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.col-info {
  border-right: 1px solid var(--border-light);
}
.col-info:last-child { border-right: none; }
.info-item {
  text-align: center;
  padding: 0 8px;
}
.info-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.info-item h6 {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.info-main {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.6;
}
.info-main a {
  color: var(--text-dark);
  text-decoration: none;
      font-size: 15px;
    line-height: 1.8;
}
.info-main a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}
.info-sub {
  color: #252525;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* ============ FORM + MAP SECTION ============ */
.contact-form-section {
  padding: 15px 0;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  height: 100%;
}
.form-card h2 {
  font-weight: 700;
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-divider {
  width: 50px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  margin-bottom: 18px;
}
.form-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

/* Form Fields */
.form-group-c {
  position: relative;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group-c:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 56, 159, 0.08);
}
.form-group-c label {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin: 0 0 2px;
}
.form-group-c .req {
  color: #DC2626;
  margin-left: 2px;
}
.form-group-c input,
.form-group-c select,
.form-group-c textarea {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
  padding: 0;
  resize: vertical;
}
.form-group-c textarea { min-height: 50px; }
.form-group-c select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 24px;
}
.form-group-c .select-arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 12px;
}

.btn-send {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}
.btn-send:hover { background: var(--primary-blue-dark); }

.form-success {
  display: none;
  background: #D1FAE5;
  color: #065F46;
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
  text-align: center;
}
.form-success.show { display: block; }
.form-success i { font-size: 28px; margin-bottom: 8px; }
.form-success h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #065F46;
}
.form-success p { font-size: 13px; margin: 0; }

/* ============ MAP CARD ============ */
.map-card { display: flex; flex-direction: column; }
.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 22px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

.address-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.address-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 56, 159, 0.1);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.address-block h6 {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.address-block p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* ============ WHY REACH OUT ============ */
.why-reach-out { padding: 30px 0 30px; }
.why-reach-card {
  background: #EEF3FB;
  border-radius: 14px;
  padding: 40px 30px;
}
.why-reach-head {
  text-align: center;
  margin-bottom: 30px;
}
.why-reach-head h2 {
  font-weight: 600;
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.why-reach-divider {
  width: 50px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  margin: 0 auto;
}

.reach-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reach-icon {
  width: 55px;
  height: 55px;
  color: var(--primary-blue);
  font-size: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.reach-247 {
  font-weight: 700;
  font-size: 10px;
  color: var(--primary-blue);
  position: absolute;
  z-index: 2;
}
.reach-icon .fa-sync-alt {
  font-size: 55px;
  opacity: 0.85;
}
.reach-item h6 {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.reach-item p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .contact-hero h1 { font-size: 42px; }
  .contact-hero {
    padding: 50px 0 70px;
    background:
      linear-gradient(180deg, rgba(225,238,255,0.95) 0%, rgba(225,238,255,0.6) 60%, rgba(225,238,255,0.3) 100%),
      url('https://images.unsplash.com/photo-1556388158-158ea5ccacbd?w=1200&auto=format&fit=crop&q=80') center/cover no-repeat;
  }

  /* Info cards 2x grid on tablet */
  .col-info {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 25px;
  }
  .col-info:last-child { border-bottom: none; padding-bottom: 0; }
  .col-info:nth-last-child(2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-hero h1 { font-size: 34px; }
  .contact-hero .hero-text { font-size: 14px; }
  .contact-info-card { padding: 25px 15px; }
  .form-card { padding: 22px; }
  .form-card h2 { font-size: 22px; }
  .why-reach-card { padding: 30px 18px; }
  .map-wrap iframe { height: 280px; }

  /* On tablet/mobile last item gets bottom border too because the layout is 2 columns */
  .col-info:nth-last-child(2) {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 25px;
  }
  .col-info:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 576px) {
  .contact-hero { padding: 40px 0 60px; }
  .contact-hero h1 { font-size: 28px; }
  .info-icon { width: 50px; height: 50px; font-size: 20px; }
  .contact-info-section { margin-top: -20px; }

  /* Single column for info cards on small mobile */
  .col-info { border-bottom: 1px solid var(--border-light) !important; padding-bottom: 25px !important; }
  .col-info:last-child { border-bottom: none !important; padding-bottom: 0 !important; }

  .map-wrap iframe { height: 240px; }
  .address-block { gap: 12px; }
  .address-icon { width: 44px; height: 44px; font-size: 18px; }
  .reach-item { padding: 4px 0; }
}