/* ══════════════════════════════════════════════
   CONTACT.CSS — Sudhanshu Associates
   Extends style.css with contact-specific styles
══════════════════════════════════════════════ */

/* ── CONTACT HERO ── */
.contact-hero {
  min-height: 85vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
#contactHeroBg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.contact-hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 110px 24px 70px; max-width: 900px; width: 100%;
}
.contact-hero-title {
  margin-bottom: 20px;
}
.contact-hero-title .brand-row {
  line-height: .88;
}
.contact-hero-title .bl {
  font-size: clamp(4rem, 10vw, 10rem);
}

/* Quick contact pills */
.hero-contact-pills {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  padding: 10px 10px;
  flex-wrap: wrap; justify-content: center;
  backdrop-filter: blur(12px);
  margin-top: 24px;
}
.hcp {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}
.hcp:hover { background: rgba(200,146,42,.1); }
.hcp-icon { font-size: 1.3rem; }
.hcp-label { display: block; font-size: .65rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); }
.hcp-val   { display: block; font-size: .85rem; font-weight: 600; color: var(--white); }
.hcp-sep   { width: 1px; height: 40px; background: rgba(255,255,255,.1); margin: 0 4px; }
@media(max-width:700px){ .hcp-sep{ display:none; } .hero-contact-pills{ flex-direction:column; border-radius:var(--radius-lg); } }

/* ── CINFO SECTION — Oval cards ── */
.cinfo-section {
  position: relative;
  background: var(--off-white);
  padding: 90px 0;
  overflow: hidden;
}
.cinfo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 52px;
}
@media(max-width:900px){ .cinfo-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px){ .cinfo-grid{ grid-template-columns: 1fr; } }

.cinfo-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,146,42,.1);
  transition: var(--transition);
}
.cinfo-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: rgba(200,146,42,.3);
}

.cinfo-oval-wrap {
  position: relative; width: 90px; height: 90px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.cinfo-oval-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid transparent;
  animation: spinOval linear infinite;
}
.cr1 {
  inset: -8px;
  border-color: rgba(200,146,42,.3) transparent transparent transparent;
  animation-duration: 6s;
}
.cr2 {
  inset: -16px;
  border-color: transparent rgba(200,146,42,.15) transparent transparent;
  animation-duration: 10s; animation-direction: reverse;
}
.cinfo-icon-circle {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(200,146,42,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; position: relative; z-index: 1;
  transition: var(--transition);
}
.cinfo-card:hover .cinfo-icon-circle {
  background: var(--gold); transform: scale(1.1);
}
.cinfo-card h4 {
  font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.cinfo-card > p {
  font-size: .8rem; color: var(--mid-gray); margin-bottom: 12px; line-height: 1.5;
}
.cinfo-link {
  display: block; font-size: .85rem; font-weight: 600; color: var(--gold);
  text-decoration: none; transition: var(--transition);
  line-height: 1.8;
}
.cinfo-link:hover { color: var(--navy); }
.cinfo-link-alt {
  display: block; font-size: .78rem; color: var(--mid-gray);
  text-decoration: none; transition: var(--transition);
}
.cinfo-link-alt:hover { color: var(--gold); }

/* ── CONTACT MAIN SECTION ── */
.contact-main-section {
  padding: 90px max(40px, calc((100vw - 1300px)/2 + 24px));
  background: var(--white);
  position: relative; overflow: hidden;
}
.contact-bg-text {
  position: absolute; right: -2%;  top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(6rem,14vw,14rem);
  color: rgba(13,27,42,.03); line-height: 1; pointer-events: none; user-select: none;
}
.contact-main-inner {
  display: grid; grid-template-columns: 1fr 480px; gap: 72px;
  align-items: start; position: relative; z-index: 1;
}
@media(max-width:1100px){ .contact-main-inner{ grid-template-columns:1fr; gap:48px; } }

/* ── FORM SIDE ── */
.contact-form-side { }
.cform-header { margin-bottom: 36px; }

.cform-body { display: flex; flex-direction: column; gap: 20px; }
.cform-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media(max-width:600px){ .cform-row{ grid-template-columns:1fr; } }
.cform-group-full { grid-column: 1/-1; }
.cform-group { display: flex; flex-direction: column; gap: 7px; }

.cform-label {
  font-size: .78rem; font-weight: 700; color: var(--navy);
  letter-spacing: .5px; text-transform: uppercase;
}
.cform-label span { color: var(--gold); }

/* Input with icon */
.cform-input-wrap, .cform-select-wrap, .cform-textarea-wrap {
  position: relative;
}
.cfi-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; pointer-events: none; z-index: 1;
}
.cform-input-wrap input,
.cform-select-wrap select {
  width: 100%; padding: 13px 14px 13px 42px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: .9rem; color: var(--dark-text);
  background: var(--off-white);
  transition: var(--transition); outline: none;
  appearance: none;
}
.cform-input-wrap input:focus,
.cform-select-wrap select:focus {
  border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(200,146,42,.1);
}
.cfs-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--mid-gray); font-size: 1rem;
}

/* Textarea */
.cform-textarea-wrap textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: .9rem; color: var(--dark-text);
  background: var(--off-white); resize: vertical; min-height: 130px;
  transition: var(--transition); outline: none;
  line-height: 1.6;
}
.cform-textarea-wrap textarea:focus {
  border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(200,146,42,.1);
}
.cform-charcount {
  position: absolute; bottom: 10px; right: 14px;
  font-size: .72rem; color: var(--mid-gray);
}

/* Chips */
.cform-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  padding: 8px 16px; border-radius: var(--radius-full);
  border: 2px solid var(--light-gray);
  background: var(--off-white); color: var(--body-text);
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); letter-spacing: .3px;
}
.chip:hover, .chip.active {
  background: var(--navy); color: var(--gold-light);
  border-color: var(--navy);
}

/* Submit button */
.cform-submit {
  position: relative; overflow: hidden;
  width: 100%; padding: 18px 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold-light); border: none; cursor: pointer;
  border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  box-shadow: 0 8px 24px rgba(13,27,42,.3); transition: var(--transition);
  letter-spacing: .5px; margin-top: 8px;
}
.csb-icon svg {
  width: 20px; height: 20px; stroke: var(--gold-light);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: var(--transition);
}
.cform-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(13,27,42,.4);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.cform-submit:hover .csb-icon svg { stroke: var(--navy); }
.csb-ripple {
  position: absolute; border-radius: 50%; width: 0; height: 0;
  background: rgba(255,255,255,.15); transform: translate(-50%,-50%);
  transition: width .6s ease, height .6s ease, opacity .6s ease;
  opacity: 0;
}
.cform-submit:active .csb-ripple { width: 300px; height: 300px; opacity: 1; }
.cform-note {
  font-size: .78rem; color: var(--mid-gray); text-align: center;
  line-height: 1.5;
}

/* ── INFO SIDE ── */
.contact-info-side { display: flex; flex-direction: column; gap: 24px; }

/* Map card */
.contact-map-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); height: 280px; position: relative;
}
.map-inner {
  width: 100%; height: 100%; position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
#mapCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,146,42,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,146,42,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin-wrap {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.map-pin { position: relative; display: flex; align-items: center; justify-content: center; }
.pin-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
  position: relative; z-index: 3;
}
.pin-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0;
  animation: mapPing 2s ease-out infinite;
}
.pin-ring.r1 { width:36px; height:36px; animation-delay: 0s; }
.pin-ring.r2 { width:60px; height:60px; animation-delay: .5s; }
.pin-ring.r3 { width:90px; height:90px; animation-delay: 1s; }
@keyframes mapPing {
  0%{ transform:scale(.5); opacity:.8; }
  100%{ transform:scale(1); opacity:0; }
}
.map-label {
  background: rgba(13,27,42,.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(200,146,42,.3); border-radius: var(--radius-md);
  padding: 10px 16px; color: var(--white); font-size: .82rem; font-weight: 600;
  text-align: center; white-space: nowrap;
}
.map-label small { display: block; color: var(--gold-light); font-size: .72rem; font-weight: 400; margin-top: 2px; }
.map-open-btn {
  position: absolute; bottom: 14px; right: 14px; z-index: 3;
}
.map-open-btn a {
  display: inline-block; padding: 8px 16px;
  background: rgba(200,146,42,.9); color: var(--navy);
  font-size: .75rem; font-weight: 700; border-radius: var(--radius-full);
  transition: var(--transition); text-decoration: none;
}
.map-open-btn a:hover { background: var(--gold); transform: scale(1.05); }

/* Side blocks */
.cside-blocks { display: flex; flex-direction: column; gap: 14px; }
.csb-block {
  display: flex; align-items: center; gap: 16px;
  background: var(--off-white); padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,146,42,.1);
  transition: var(--transition);
}
.csb-block:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(200,146,42,.3); }
.csbb-icon-wrap {
  position: relative; width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.csbb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(200,146,42,.25);
  animation: spinOval 10s linear infinite;
}
.csbb-content h5 { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.csbb-content a, .csbb-content span {
  display: block; font-size: .78rem; color: var(--mid-gray); line-height: 1.7;
  text-decoration: none; transition: var(--transition);
}
.csbb-content a:hover { color: var(--gold); }

/* Social links */
.csb-social {
  background: var(--off-white); padding: 20px;
  border-radius: var(--radius-md); border: 1px solid rgba(200,146,42,.1);
}
.csb-social h5 { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.css-links { display: flex; gap: 12px; }
.cssl {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 64px; height: 64px; border-radius: var(--radius-md);
  text-decoration: none; transition: var(--transition);
  font-weight: 700; font-size: .9rem;
  justify-content: center;
}
.cssl span { font-size: 1rem; font-weight: 800; }
.cssl small { font-size: .6rem; letter-spacing: .5px; }
.linkedin  { background: rgba(10,102,194,.1); color: #0A66C2; border: 1px solid rgba(10,102,194,.2); }
.linkedin:hover { background: #0A66C2; color: white; }
.indiamart { background: rgba(200,146,42,.1); color: var(--gold); border: 1px solid rgba(200,146,42,.2); }
.indiamart:hover { background: var(--gold); color: var(--navy); }
.whatsapp  { background: rgba(37,211,102,.1); color: #25D366; border: 1px solid rgba(37,211,102,.2); }
.whatsapp:hover { background: #25D366; color: white; }

/* ── CWHY SECTION ── */
.cwhy-section {
  position: relative; background: var(--off-white); padding: 90px 0; overflow: hidden;
}

/* ── FAQ SECTION ── */
.faq-section {
  padding: 90px 0;
  background: var(--white);
}
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 52px;
}
@media(max-width:800px){ .faq-grid{ grid-template-columns:1fr; } }

.faq-item {
  border: 1px solid rgba(200,146,42,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(200,146,42,.3); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
  background: var(--off-white); border: none; cursor: pointer;
  text-align: left; font-family: var(--font-body); font-size: .9rem;
  font-weight: 600; color: var(--navy); transition: var(--transition);
}
.faq-q:hover { background: var(--gold-pale); color: var(--gold); }
.faq-q.open { background: var(--navy); color: var(--gold-light); }
.faq-arrow {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(200,146,42,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: var(--transition);
  color: var(--gold);
}
.faq-q.open .faq-arrow { transform: rotate(180deg); background: var(--gold); color: var(--navy); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
  padding: 0 22px;
}
.faq-a.open { max-height: 200px; padding: 16px 22px; }
.faq-a p { font-size: .88rem; color: var(--body-text); line-height: 1.7; }

/* ── SUCCESS OVERLAY ── */
.success-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(13,27,42,.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.success-overlay.show { opacity: 1; pointer-events: all; }

.success-modal {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 52px 48px; text-align: center; max-width: 440px; width: 90%;
  box-shadow: var(--shadow-xl);
  transform: scale(.85); transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  border: 1px solid rgba(200,146,42,.2);
}
.success-overlay.show .success-modal { transform: scale(1); }

.success-ring {
  width: 100px; height: 100px; margin: 0 auto 24px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.success-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.success-circle-anim { transition: stroke-dashoffset 1s ease .3s; }
.success-overlay.show .success-circle-anim { stroke-dashoffset: 0 !important; }
.success-check {
  font-size: 2.8rem; position: relative; z-index: 1;
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) .8s both;
}
@keyframes popIn { from{transform:scale(0)} to{transform:scale(1)} }

.success-modal h3 {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: 2px;
  color: var(--navy); margin-bottom: 12px;
}
.success-modal p { color: var(--body-text); font-size: .92rem; line-height: 1.6; margin-bottom: 16px; }
.success-ref {
  font-size: .8rem; background: var(--gold-pale); color: var(--gold);
  padding: 8px 20px; border-radius: var(--radius-full);
  font-weight: 700; letter-spacing: 1px; margin-bottom: 24px; display: inline-block;
}
.success-close-btn {
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold-light); border: none; cursor: pointer;
  border-radius: var(--radius-full); font-family: var(--font-body);
  font-size: .9rem; font-weight: 700; letter-spacing: .5px;
  transition: var(--transition); box-shadow: 0 6px 20px rgba(13,27,42,.25);
}
.success-close-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
