/* ============================================================
   CONTACT FORM — PROFESSIONAL & CLEAN VERSION
============================================================ */

/* SECTION BACKGROUND */
.contact-section {
  background: linear-gradient(180deg, #fff6ee 0%, #ffffff 100%);
  padding: 70px 14px;
}

/* WRAPPER */
.contact-wrap {
  max-width: var(--content-max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: stretch;
}

@media (max-width:900px){
  .contact-wrap{ grid-template-columns:1fr; }
}

/* LEFT FORM */
.contact-left {
  background: #ffffff;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--sun1);
}

#contact-form{
  scroll-margin-top:130px;
}

/* GRID INPUTS */
.form-grid {
  display: grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap: 16px;
}

/* INPUTS */
.contact-left input,
.contact-left select,
.contact-left textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #ddd;
  background: #fafafa;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* FOCUS STATE (rgba bug fixed) */
.contact-left input:focus,
.contact-left select:focus,
.contact-left textarea:focus {
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
  outline: none;
}

/* TEXTAREA */
.contact-left textarea {
  grid-column: 1 / -1;
  margin-top: 16px;
  resize: vertical;
  min-height: 120px;
}

/* OTP ROW */
.otp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  align-items: center;
}

/* ===============================
   BUTTON SYSTEM
================================ */

/* ============================================================
   OTP BUTTONS
============================================================ */

.send-otp-btn{
display:inline-flex;
align-items:center;
justify-content:center;

padding:12px 20px;
border:none;
border-radius:8px;

font-size:15px;
font-weight:600;

cursor:pointer;

background:linear-gradient(135deg,#ff6a00,#ff2d7a);
color:#fff;

box-shadow:0 6px 16px rgba(0,0,0,0.15);

transition:all .25s ease;
}

/* Hover */

.send-otp-btn:hover{
transform:translateY(-1px);
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* Active click */

.send-otp-btn:active{
transform:scale(.97);
}


/* Disabled / Resend timer */

.send-otp-btn:disabled{
background:#e3e3e3;
color:#777;
cursor:not-allowed;
box-shadow:none;
transform:none;
}


/* OTP ROW LAYOUT */

.otp-row{
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
margin-top:12px;
}


/* OTP INPUT */

.otp-input{
padding:11px 14px;
border:1px solid #ddd;
border-radius:8px;
font-size:15px;
width:140px;

transition:border .2s ease;
}

.otp-input:focus{
border-color:#ff2d7a;
outline:none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.25s ease;
  user-select: none;
  white-space: nowrap;
}

/* SEND OTP — OUTLINE */
.btn-outline {
  background: #ffffff;
  color: #ff6a00;
  border: 2px solid #ff6a00;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #ffffff;
  border-color: transparent;
}

/* VERIFY — PRIMARY */
.btn-primary {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(238, 9, 121, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(238, 9, 121, 0.38);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* DISABLED STATE */
.btn:disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* OTP INPUT */
.otp-input {
  flex: 1;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid #ddd;
  font-size: 15px;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-input:focus {
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
  outline: none;
}

/* RIGHT IMAGE */
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }

  .otp-row {
    flex-direction: column;
    align-items: stretch;
  }

  .otp-input {
    max-width: 100%;
  }
}

/* ===============================
   PHONE WITH COUNTRY CODE — FIXED
================================ */

/* makes phone block full-row to avoid squeezing */
.phone-wrap{
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* compact country dropdown — does NOT stretch */
.phone-wrap select{
  width: 120px;
  flex-shrink: 0;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1.5px solid #ddd;
  background: #fafafa;
}

/* phone input grows full space */
.phone-wrap input{
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #ddd;
  background: #fafafa;
}

/* SUCCESS POPUP */

.lead-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.lead-popup-box{
background:#fff;
padding:30px;
border-radius:12px;
text-align:center;
max-width:420px;
width:90%;
box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

.lead-popup-box h3{
margin-bottom:10px;
}

.lead-popup-sub{
font-size:14px;
opacity:.7;
margin-bottom:20px;
}

.lead-popup-buttons{
display:flex;
gap:12px;
justify-content:center;
flex-wrap:wrap;
}

.btn-whatsapp{
background:#25D366;
color:#fff;
border:none;
padding:12px 18px;
border-radius:6px;
cursor:pointer;
font-weight:600;
}

.btn-close{
background:#eee;
border:none;
padding:12px 18px;
border-radius:6px;
cursor:pointer;
}

/* ===============================
   PROCESS CONNECTOR — FINAL FIX
================================ */

.process-connector {
  position: relative;
  width: 56px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #ff6a00,
    transparent
  );
  overflow: hidden;
  flex-shrink: 0;
}

/* FLOW ANIMATION */
.process-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.9),
    transparent
  );
  animation: flowMove 1.8s infinite ease-in-out;
}

/* ARROW HEAD */
.process-connector::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #ff6a00;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* DESKTOP FLOW */
@keyframes flowMove {
  0%   { left: -40%; opacity: 0; }
  40%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ACTIVE STEP HIGHLIGHT — DESKTOP */
.process-step.active + .process-connector {
  background: linear-gradient(
    90deg,
    transparent,
    #ee0979,
    transparent
  );
}

@media(max-width:768px){

.process-step{
width:100%;
max-width:320px;
margin:auto;
}

}

/* ============================================================
   OUR PROCESS — ENTERPRISE FLOW (OPTIMIZED)
============================================================ */

.process-section{ padding:56px 0;
  background: #fff;
}

.process-flow {
  max-width: var(--content-max);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===============================
   PROCESS STEP
================================ */

.process-step {
  cursor: pointer;
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  width: 220px;

  /* 🔶 DEFAULT ORANGE BORDER */
  border: 1.6px solid rgba(255, 106, 0, 0.55);

  /* GPU SAFE TRANSITION */
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;

  will-change: transform;
}

.process-step:hover {
  border-color: rgba(238, 9, 121, 0.45);
}

.process-step.active {
  border-color: rgba(238, 9, 121, 0.75);

  /* DARKER + DEPTH GLOW */
  box-shadow:
    0 10px 28px rgba(238, 9, 121, 0.35),
    0 0 0 6px rgba(238, 9, 121, 0.12);

  transform: translateY(-4px) scale(1.03);
}

/* ===============================
   STEP CONTENT
================================ */

.step-short {
  font-size: 14px;
  opacity: 0.9;
}

.step-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-top: 10px;

  transition:
    max-height 0.35s ease,
    opacity 0.35s ease;
}

.process-step.open .step-details {
  max-height: 180px;
  opacity: 1;
}

/* ===============================
   CONNECTOR ARROW
================================ */

.process-connector {
  position: relative;
  width: 56px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,106,0,0.8),
    transparent
  );
  overflow: hidden;
}

/* Flow animation — only visual line */
.process-connector::before {
  content: "";
  position: absolute;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    #ffffff,
    transparent
  );
  animation: flowMove 1.8s infinite ease-in-out;
}

/* Arrow head */
.process-connector::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #ff6a00;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@keyframes flowMove {
  0%   { left: -40%; opacity: 0; }
  40%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ===============================
   MOBILE — VERTICAL FLOW (PERFECT)
================================ */

@media (max-width: 900px) {

  .process-flow {
    flex-direction: column;
  }

  .process-connector {
    width: 2px;
    height: 48px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(255,106,0,0.8),
      transparent
    );
  }

  .process-connector::before {
    top: -40%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
      180deg,
      transparent,
      #ffffff,
      transparent
    );
    animation: flowMoveVertical 1.8s infinite ease-in-out;
  }
}

  .process-connector::after {
    left: 50%;
    top: auto;
    bottom: -6px;
    transform: translateX(-50%);
    border-top: 8px solid #ff6a00;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: none;
  }

  @keyframes flowMoveVertical {
    0%   { top: -40%; opacity: 0; }
    40%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
