/* ============================================
   CONTACT US PAGE - S N Engineering Consultant
   ============================================ */

/* --- Page Hero / Banner --- */
.contact-hero {
  background: linear-gradient(135deg, #091b31 0%, #152238 50%, #1f355a 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  left: -100px; bottom: -100px;
  width: 350px; height: 350px;
  background: var(--snec-orange);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}
.contact-hero .hero-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  position: absolute; inset: 0;
  mask-image: linear-gradient(to right, black, transparent);
}
.contact-hero .breadcrumb-nav {
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.25rem;
}
.contact-hero .breadcrumb-nav a {
  color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.contact-hero .breadcrumb-nav a:hover { color: #fff; }
.contact-hero .breadcrumb-nav span { color: var(--snec-orange); }
.contact-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 750px;
}
.contact-hero h1 span { color: var(--snec-orange); }
.contact-hero p.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 620px;
  line-height: 1.8;
  margin-top: 1.25rem;
}

/* --- Contact Page Container --- */
.contact-section-wrapper {
  padding: 6rem 0;
  background-color: #f7f9fc;
  position: relative;
}

/* --- Info Cards --- */
.info-card-creative {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}
.info-card-creative:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(9, 27, 49, 0.06);
  border-color: rgba(219, 113, 0, 0.2);
}
.info-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(219, 113, 0, 0.08);
  color: var(--snec-orange);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.info-card-creative:hover .info-card-icon {
  background: var(--snec-orange);
  color: #fff;
  transform: scale(1.05) rotate(5deg);
}
.info-card-title {
  color: var(--snec-navy);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.info-card-desc {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.info-card-desc a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.info-card-desc a:hover {
  color: var(--snec-orange);
}

/* --- Contact Form Card --- */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(9, 27, 49, 0.02);
  height: 100%;
}
.contact-form-card h3 {
  color: var(--snec-navy);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.contact-form-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* --- Animated Input Fields --- */
.creative-input-group {
  position: relative;
  margin-bottom: 1.75rem;
}
.creative-input-group input,
.creative-input-group textarea,
.creative-input-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: var(--snec-navy);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
}
.creative-input-group textarea {
  resize: none;
}
.creative-input-group input:focus,
.creative-input-group textarea:focus,
.creative-input-group select:focus {
  background: #ffffff;
  border-color: var(--snec-orange);
  box-shadow: 0 0 0 4px rgba(219, 113, 0, 0.12);
}
.creative-input-group label {
  position: absolute;
  left: 1.1rem;
  top: 0.9rem;
  color: #64748b;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.95rem;
  background: transparent;
  padding: 0 0.25rem;
}

/* Label transformation when input is active or focused */
.creative-input-group input:focus ~ label,
.creative-input-group input:not(:placeholder-shown) ~ label,
.creative-input-group textarea:focus ~ label,
.creative-input-group textarea:not(:placeholder-shown) ~ label,
.creative-input-group select:focus ~ label,
.creative-input-group select:not([value=""]) ~ label {
  top: -0.6rem;
  left: 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--snec-orange);
  background: #ffffff;
}

/* For browsers support placeholder trick */
.creative-input-group input::placeholder,
.creative-input-group textarea::placeholder {
  color: transparent;
}

/* --- Map Card --- */
.map-card-creative {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(9, 27, 49, 0.02);
  display: flex;
  flex-direction: column;
}
.map-card-creative h3 {
  color: var(--snec-navy);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
}
.map-container-inner {
  flex-grow: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-height: 380px;
}
.map-container-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Responsive Layouts --- */
@media (max-width: 991.98px) {
  .contact-form-card {
    padding: 2.25rem;
  }
}

@media (max-width: 767.98px) {
  .info-card-creative {
    padding: 1.75rem;
  }
  .map-container-inner {
    min-height: 300px;
  }
}
