/* ================= ROOT ================= */
:root {
  --primary: #002D62;
  --secondary: #1f4e8c;
  --accent: #00d4ff;
  --text: #1A1A1A;
  --text-light: #555;
  --bg: #ece7de;
  --white: #ffffff;
  --radius: 10px;
  --transition: 0.3s ease;
  --shadow: 0 8px 25px rgba(0,0,0,0.08);
  --shadow-hover: 0 18px 40px rgba(0,0,0,0.12);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Cambria, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= SECTION & CONTAINER LOGIC ================= */
section {
  width: 100%;
  padding: 40px 5%; 
  display: block; /* Flex hata diya taaki layout natural rahe */
}

/* 🔥 UNIVERSAL CONTAINER: Har screen par content ko safe zone mein rakhega */
.split,
.impact-box,
.case-box,
.why-container,
.tabs ul,
.cap-grid,
.services-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto !important; /* Center align for Mac/Windows */
  display: grid; /* Grid wapas enable kiya */
}

/* ================= GRID SETTINGS ================= */
.split,
.impact-box,
.case-box,
.why-container {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ================= CARDS GRID ================= */
.cap-grid,
.services-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 20px;
}

/* ================= IMAGES ================= */
img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ================= TYPOGRAPHY ================= */
.tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 6px;
  display: inline-block;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 15px;
  color: var(--primary);
  line-height: 1.2;
}

p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ================= BUTTONS ================= */
.btn-outline,
.btn-outline1 {
  display: inline-block;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-outline1 {
  background: #fff;
  border: 1px solid #ddd;
  color: var(--primary);
}

/* ================= TABS ================= */
.tabs {
  position: sticky;
  top: 0;
  background: #f5f7fb;
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tabs ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.tabs li {
  font-size: 18px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  white-space: nowrap;
}

/* ================= CARDS ================= */
.cap-card,
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cap-card:hover,
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ================= IMPACT (BLUE SECTION) ================= */
section.impact.reveal:last-of-type {
  background: linear-gradient(135deg, #002D62, #1f4e8c);
  color: white;
  text-align: center;
}

section.impact.reveal:last-of-type h2,
section.impact.reveal:last-of-type p,
section.impact.reveal:last-of-type .tag {
  color: white;
}






/* FROM CSS  */


/* ===== MAIN WRAPPER ===== */
#eva-dynamic-form {
  position: fixed;
  width: 380px;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);

  transition: all 0.25s ease;
}

/* ACTIVE STATE */
#eva-dynamic-form.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ===== CONTAINER ===== */
.eva-form-container {
  height: 420px;                  /* ✅ FIXED HEIGHT */
  padding: 22px;
  border-radius: 22px;
position: relative;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;               /* ❌ NO SCROLL */

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 25px 60px rgba(0, 0, 0, 0.12);
}

.eva-consult-msg {
  display: flex;
  flex-direction: column;
  gap: 6px;

  max-height: 100px;   /* 🔥 reduced */
  overflow: hidden;

  margin-bottom: 8px;
}

/* ===== MESSAGE STYLE ===== */
.eva-msg {
  font-size: 14px;           /* 🔥 smaller */
  padding: 6px 10px;         /* 🔥 tighter */
  margin: 0;
  border-radius: 8px;
  max-width: 85%;
  line-height: 1.2;
}

.eva-msg.bot {
  background: #f1f4f9;
  color: #1a202c;
}

.eva-msg.user {
  background: #d6e9ff;
  margin-left: auto;
  text-align: right;
}

/* ===== FORM ===== */
#eva-static-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== TITLE ===== */
.eva-form-container h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #001a3d;
}

/* ===== INPUTS ===== */
.eva-form-container input,
#eva-static-service {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  font-size: 16px;
  background: #ffffff;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

/* INPUT FOCUS */
.eva-form-container input:focus,
#eva-static-service:focus {
  outline: none;
  border-color: #0052ff;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

/* ===== SELECT ===== */
#eva-static-service {
  appearance: none;
  cursor: pointer;
}

/* ===== PHONE ROW ===== */
.phone-row {
  display: flex;
  gap: 8px;
}

.country-code {
  width: 60px;
  text-align: center;
  background: #f0f6ff;
  font-weight: 600;
  color: #0052ff;
}

/* ===== BUTTON ===== */
.eva-form-container button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;

  background: linear-gradient(135deg, #0052ff, #0037a3);
  color: #ffffff;

  font-size: 18px;
  font-weight: 600;
gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.eva-form-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 255, 0.3);
}
.eva-success-msg {
  position: absolute;          /* 🔥 KEY FIX */
  top: 15px;
  left: 15px;
  right: 15px;

  background: #edf7f1;
  color: #1e7a4d;

  padding: 10px;
  border-radius: 10px;

  font-size: 16px;
  text-align: center;

  z-index: 10;

  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== SMALL SCREEN FIX ===== */
@media (max-width: 768px) {
  #eva-dynamic-form {
    width: 92%;
    left: 4% !important;
    right: auto !important;
    top: auto !important;
    bottom: 20px;
  }
}
/* For Mac & Windows Ultra-Wide */
@media (min-width: 1600px) {
  .split, .why-container { max-width: 1300px !important; gap: 80px; }
}



/* ================= ALL DEVICE RESPONSIVE ================= */

/* For Tablets and Smaller Laptops */
@media (max-width: 1024px) {
  .split, .why-container { gap: 30px; }
  section { padding: 40px 5%; }
}

/* For Mobile (Jo images mein khrab ho raha tha) */
@media (max-width: 768px) {
  /* Box ko full width karne ke liye columns 1 kar diye */
  .split,
  .impact-box,
  .case-box,
  .why-container,
  .cap-grid,
  .services-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 40px;
  }

  /* Image ko text ke upar lane ke liye */
  .split img, .why-container img {
    order: -1;
    max-width: 100%;
  }

  section { padding: 50px 20px; }

  h2 { font-size: 26px; }

  .btn-outline, .btn-outline1 {
    width: 100%; /* Mobile par full width buttons ache lagte hain */
    text-align: center;
  }

  .tabs ul {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 10px;
    gap: 20px;
  }
}

