/* ============================================================
   CONTACT PAGE STYLES — Infinity Power India
   Matches site-wide design language (navy + red accent)
   ============================================================ */

/* ---------- HERO BANNER ---------- */
.contact-hero {
  position: relative;
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(229, 35, 39, 0.22), transparent 60%),
    radial-gradient(900px 380px at -10% 110%, rgba(229, 35, 39, 0.14), transparent 55%),
    linear-gradient(160deg, #031a3a 0%, #021430 55%, #010d20 100%);
  color: #fff;
  text-align: center;
  padding: 84px 0 72px;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 70px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.contact-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff4d4f;
  background: rgba(229, 35, 39, 0.12);
  border: 1px solid rgba(255, 77, 79, 0.4);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 18px;
}

.contact-hero h1 {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 14px;
}

.contact-hero p {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 26px;
}

.contact-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 20px;
}

.contact-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-breadcrumbs a:hover {
  color: #ff4d4f;
}

.contact-breadcrumbs .separator {
  color: #ff4d4f;
}

.contact-breadcrumbs .current {
  color: #fff;
  font-weight: 600;
}

/* ---------- MAIN GRID: INFO + FORM ---------- */
.contact-main {
  background: #ffffff;
  padding: 80px 0;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(380px, 6fr);
  gap: 36px;
  align-items: start;
}

/* ----- LEFT: INFO CARD ----- */
.info-card {
  background: linear-gradient(165deg, #031a3a 0%, #021430 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 34px;
  box-shadow: 0 24px 60px rgba(2, 20, 48, 0.28);
  position: sticky;
  top: 100px;
}

.info-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 35, 39, 0.25), transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

.info-card > * {
  position: relative;
}

.info-card h2 {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.info-intro {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 30px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 14px;
  border-radius: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.info-item + .info-item {
  margin-top: 4px;
}

.info-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(229, 35, 39, 0.15);
  border: 1px solid rgba(255, 77, 79, 0.35);
  color: #ff4d4f;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.info-item p a {
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 77, 79, 0.5);
  transition: color 0.2s ease;
}

.info-item p a:hover {
  color: #ff4d4f;
}

/* ----- RIGHT: FORM CARD ----- */
.form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 18px 50px rgba(2, 20, 48, 0.08);
}

.form-card h2 {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #031a3a;
  margin: 0 0 10px;
}

.form-intro {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #031a3a;
}

.form-field label em {
  color: #e52327;
  font-style: normal;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a3b8;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #e52327;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 35, 39, 0.12);
}

/* ----- FORM ACTIONS ----- */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e52327, #c81e21);
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(229, 35, 39, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-send span {
  transition: transform 0.2s ease;
}

.btn-send:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 32px rgba(229, 35, 39, 0.42);
}

.btn-send:hover span {
  transform: translateX(4px);
}

.btn-send:active {
  transform: translateY(0);
}

.form-safe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.form-safe svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #16a34a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- MAP SECTION ---------- */
.map-section {
  background: #f8fafc;
  padding: 0 0 80px;
}

.map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(2, 20, 48, 0.14);
  border: 1px solid #e5e7eb;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.95);
}

.map-info-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(2, 20, 48, 0.18);
}

.map-info-card h3 {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #031a3a;
  margin: 0 0 8px;
}

.map-info-card p {
  font-size: 0.83rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 10px;
}

.map-info-card a {
  font-size: 0.83rem;
  font-weight: 600;
  color: #e52327;
  text-decoration: none;
}

.map-info-card a:hover {
  text-decoration: underline;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(229, 35, 39, 0.08), transparent 60%),
    #ffffff;
  padding: 70px 0 80px;
}

.trust-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.trust-head h2 {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #031a3a;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.trust-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e52327, #ff4d4f);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.trust-item {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(2, 20, 48, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-item:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 35, 39, 0.35);
  box-shadow: 0 18px 40px rgba(2, 20, 48, 0.12);
}

.trust-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(229, 35, 39, 0.09);
  border: 1px solid rgba(229, 35, 39, 0.22);
  color: #e52327;
}

.trust-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #031a3a;
  margin: 0 0 6px;
}

.trust-item p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    position: static;
  }

  .map-info-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 64px 0 56px;
  }

  .form-card,
  .info-card {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-wrap iframe {
    height: 320px;
  }

  .map-info-card {
    position: static;
    margin-top: 0;
    border-top: 0;
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 420px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}