/* ====================================
   Redesigned Contact Us Page Styles
   ==================================== */

.page-content-section {
  padding: 80px 0;
  background: #fdfdfd;
}

.contact-intro {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

/* Top Block: Form + Image Wrap */
.contact-top-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: stretch;
}

.contact-form-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f6;
}

.contact-form-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 25px;
  position: relative;
}

.contact-form-box h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #ffb703;
  margin-top: 8px;
  border-radius: 2px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 8px;
}

.required-star {
  color: #e74c3c;
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dbe2eb;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2c3e50;
  background: #f8fafc;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ffb703;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-form .submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a3a5c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 36px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.15);
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form .submit-btn:hover {
  background: #ffb703;
  color: #1a3a5c;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
  transform: translateY(-2px);
}

.contact-form .submit-btn i {
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.contact-form .submit-btn:hover i {
  transform: translate(2px, -2px);
}

/* Contact Image Layout */
.contact-image-wrap {
  position: relative;
  height: 100%;
}

.image-inner {
  position: relative;
  height: 100%;

  overflow: hidden;
  box-shadow: none;
  border: none;
}

.image-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(26, 58, 92, 0.9);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
  border: none;
}

.overlay-text {
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.overlay-author {
  font-size: 0.78rem;
  color: #ffb703;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Bottom Block: Map + Info Cards */
.contact-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  height: 100%;
  min-height: 400px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(26, 58, 92, 0.08);
  border-color: #6dbfe8;
}

.card-icon-badge {
  width: 44px;
  height: 44px;
  background: rgba(26, 58, 92, 0.05);
  color: #1a3a5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover .card-icon-badge {
  background: #1a3a5c;
  color: #ffffff;
}

.card-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 10px 0;
}

.card-content p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.contact-detail {
  margin-bottom: 8px !important;
}

.contact-detail:last-child {
  margin-bottom: 0 !important;
}

.contact-detail a {
  color: #1a3a5c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: #ffb703;
}

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

  .contact-map-wrap {
    min-height: 350px;
  }
}

@media (max-width: 600px) {
  .form-row-two,
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-box {
    padding: 24px;
  }

  .page-content-section {
    padding: 50px 0;
  }
}
