:root {
  --blue: #0a4da2;
  --green: #2e8b57;
  --sand: #f7f4ef;
  --light: #f3f6fa;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }


/* --- Header & Footer --- */
header { background: var(--bg-white); border-bottom: 1px solid var(--border-color); padding: 15px 0; position: sticky; top: 0; z-index: 1000; width: 100%; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.5rem; font-weight: 700; color: var(--dark-text); }
.logo-icon { background-color: var(--primary-blue); color: white; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; }
.nav-links { display: flex; align-items: center; }
.nav-links ul { list-style: none; display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--dark-text); font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-blue); }
.btn-primary { background-color: var(--primary-blue); color: var(--bg-white); padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-text); }
footer { background: #1e2a39; color: #aab2bd; padding: 20px 0; text-align: center; font-size: 0.9rem; }




/* HERO */
.mosquito-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 90px;
background: linear-gradient(135deg, #e8f2ff, #f5f9ff);
color: #1f3a5f;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-carousel {
  overflow: hidden;
  border-radius: 24px;
}

.slides {
  display: flex;
  animation: slide 14s infinite;
}

.slides img {
  width: 50%;
  flex-shrink: 0;
}

@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
}

/* BUTTONS */
.btn-primary,
.btn-light {
  padding: 14px 34px;
  border-radius: 30px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
}

/* STATS */
.mosquito-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 50px;
  background: #fff;
}

.stat-card {
  text-align: center;
}

.stat-card h3 {
  font-size: 2.4rem;
  color: var(--blue);
}

.stat-card.highlight h3 {
  color: var(--green);
}

/* SECTIONS */
.section {
  padding: 90px;
}

.light-bg { background: var(--light); }
.sand-bg { background: var(--sand); }
.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.rounded-img {
  width: 100%;
  border-radius: 24px;
}

.facts-list ul {
  padding: 0;
  list-style: none;
}

.facts-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #333;
}

.fact-card li:before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* SIGNS */
.signs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.sign-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.sign-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.sign-icon {
  font-size: 2rem;
  color: var(--blue);
}

.sign-item h4 {
  color: var(--blue);
  margin-bottom: 5px;
}

.sign-item p {
  color: #333;
  margin: 0;
}

/* .subtitle {
  max-width: 700px;
  margin: 10px auto 40px;
  color: #555;
} */

.inspection-report {
  background: #f7f5f0;
  padding: 90px 0;
}

.inspection-report h2 {
  margin-bottom: 10px;
}

.report-box {
  margin-top: 50px;
  background: #fff;
  border-radius: 18px;
  padding: 10px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.report-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 26px 40px;
  border-bottom: 1px solid #eee;
}

.report-row:last-child {
  border-bottom: none;
}

.report-label {
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.85rem;
}
.info-box {
  background: var(--sand);
  padding: 30px;
  border-left: 5px solid var(--green);
  width:100%;
  max-width:100%;
}
.india-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
  width: 100%; /* IMPORTANT */
}
.stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  width:100%;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #555;
}

/* .subtitle {
  max-width: 700px;
  margin: 10px auto 40px;
  color: #555;
  
} */



/* Section Subtitle (used under headings) */
/* Section Subtitle */

/* FACTS */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.fact-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  border-top: 5px solid var(--blue);
}

.fact-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
}

.fact-card h4 {
  color: var(--blue);
  margin-bottom: 10px;
}

.fact-card ul {
  color: #333;
  padding-left: 20px;
}

.fact-card li {
  margin-bottom: 5px;
}

/* WHY MOSQUITO CONTROL */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 5px solid var(--blue);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.why-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.why-card h4 {
  color: var(--blue);
  font-size: 1.3rem;
  margin: 15px 0;
}

.why-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* COMPARE */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  margin-top: 50px;
}

.compare-card {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.compare-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.compare-card img {
  width: 60%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

.compare-card h4 {
  color: var(--green);
  margin-bottom: 10px;
}

.compare-card p {
  color: var(--blue);
}

/* TIPS */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.tip-card {
  background: #fff;
  padding: 0;
  border-radius: 20px;
  border-top: 5px solid var(--blue);
  overflow: hidden;
}

.tip-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.tip-card h4 {
  color: var(--blue);
  margin: 20px 30px 10px 30px;
}

.tip-card p {
  color: #333;
  margin: 0 30px 20px 30px;
}

.tip-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.tip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* MOSQUITO SPECIES */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.species-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.species-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.species-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.species-card h4 {
  color: var(--blue);
  margin: 20px 20px 5px 20px;
  font-size: 1.2rem;
}

.species-info {
  margin: 0 20px;
  color: var(--green);
  font-size: 0.95rem;
  font-style: italic;
}

.species-card p {
  color: #555;
  padding: 0 20px 20px 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* INSPECTION */
.inspection-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.inspection-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.inspection-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.inspection-card h4 {
  margin: 20px;
  color: var(--blue);
}

.inspection-card p {
  margin: 0 20px 20px;
}


/* FLOW */
/* FLOW */
/* FLOW */
/* FORCE 5 in one row */
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); /* important fix */
  gap: 10px;
  margin-top: 30px;
}
/* Make cards taller + slimmer */

.flow-step {
  background: #fff;
  padding: 14px 8px; /* reduce horizontal space */
  border-radius: 12px;
  text-align: center;

  min-width: 0; /* IMPORTANT: prevents overflow */
}

/* Smaller text so it fits */
.flow-step h4 {
  font-size: 0.85rem;
  line-height: 1.2;
  margin: 6px 0;
}

.flow-step p {
  font-size: 0.7rem;
  line-height: 1.3;
}

.flow-step span {
  font-size: 0.75rem;
}


/* BENEFITS */
.gradient {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-top: 40px;
}

/* CTA */
.cta {
  padding: 90px;
  text-align: center;
  background: var(--blue);
  color: #fff;
}

/* --- Contact Section --- */
#contact {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: flex-start;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3,
.contact-form-card h3 {
    margin-top: 0;
    margin-bottom: 35px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.icon-circle.phone { background-color: #1a9cff; }
.icon-circle.email { background-color: #31c471; }
.icon-circle.address { background-color: #f8af45; }

.contact-detail-text strong {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-text);
    display: block;
    margin-bottom: 2px;
}

.contact-detail-text p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.btn-expert {
    background-color: #f8b045;
    color: white;
    width: 100%;
    justify-content: center;
    padding: 16px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
}

.btn-expert:hover {
    background-color: #e69c2e;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e6f0;
    border-radius: 16px;
    background-color: #f8fafc;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a9b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 153, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-gradient {
    width: 100%;
    background: linear-gradient(90deg, #0d99ff, #68c058);
    color: white;
    border: none;
    font-weight: 600;
    padding: 16px;
    font-size: 1.1rem;
    cursor: pointer;
    justify-content: center;
    border-radius: 16px;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

.footer-text {
  margin: 0;
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}





.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.chatbot-toggler:hover {
    transform: scale(1.1);
}

.chatbot-toggler .fa-times { display: none; }
body.show-chatbot .chatbot-toggler .fa-times { display: block; }
body.show-chatbot .chatbot-toggler .fa-comments { display: none; }

.chatbot {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 380px;
    max-width: 90%;
    max-height: 520px;
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.chatbot-header-logo .logo-icon { background: rgba(255,255,255,0.2); }
.chatbot-close-btn { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }

.chatbot-log {
    flex-grow: 1;
    padding: 20px;
    list-style: none;
    overflow-y: auto;
}

.chatbot-log li { display: flex; margin-bottom: 15px; max-width: 90%; word-wrap: break-word; }
.chatbot-log .bot p { background-color: var(--bg-light-gray); color: var(--text-dark); border-radius: 0 15px 15px 15px; padding: 10px 15px; font-size: 0.9rem; }
.chatbot-log .user { justify-content: flex-end; }
.chatbot-log .user p { background-color: var(--primary-green); color: white; border-radius: 15px 0 15px 15px; padding: 10px 15px; font-size: 0.9rem; }

.chatbot-input-area { display: flex; padding: 10px 20px; border-top: 1px solid var(--border-color); gap: 10px; }
.chatbot-input { flex-grow: 1; border: 1px solid var(--border-color); padding: 10px; border-radius: 8px; outline: none; transition: border-color 0.2s; }
.chatbot-input:focus { border-color: var(--primary-blue); }

.chatbot-send-btn { background-color: var(--primary-blue); color: white; border: none; width: 45px; height: 45px; border-radius: 8px; font-size: 1.2rem; cursor: pointer; transition: background-color 0.2s; }
.chatbot-send-btn:hover { background-color: #1c66e0; }



@media (max-width: 490px) {
    .chatbot {
        right: 15px;
        bottom: 80px;
        width: calc(100% - 30px);
        max-height: 70vh;
    }
    .chatbot-toggler {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 15px;
        font-size: 1.8rem;
    }
}


.chat-options {
  list-style: none;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chat-options li {
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  border: 1px solid #e2e8f0;
  transition: 0.2s;
}

.chat-options li:hover {
  background: var(--primary-blue);
  color: white;
}

.chat-options li.selected {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.chat-options button {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #28a745;
  color: white;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}


/* FORCE override everything */
.flow {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 10px !important;
}

.flow-step {
  padding: 16px 10px !important;
  min-height: 300px !important; /* KEY: increases height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.flow-step h4 {
  font-size: 0.95rem !important;
  line-height: 1.3;
  margin: 8px 0;
}

.flow-step p {
  font-size: 1.0rem !important;
  line-height: 1.5;
}


/* Action Section (renamed from CTA) */
.action-section {
    padding: 0 0 1.5rem 0;  /* remove top space */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EEF5FD;
}

/* Action Button */
.action-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.action-button:hover {
    background-color: #d90429;
    transform: translateY(-3px);
}


/* ================================
   MOBILE OPTIMIZATION (TABLET)
================================ */
@media (max-width: 1024px) {

  .section {
    padding: 60px 20px;
  }

  .mosquito-hero {
    grid-template-columns: 1fr;
    padding: 50px 20px;
    text-align: center;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mosquito-stats {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
  }

  .india-stats {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 25px;
  }

  .contact-detail-item {
    gap: 12px;
    margin-bottom: 20px;
  }

  .icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .contact-detail-text strong {
    font-size: 0.95rem;
  }

  .contact-detail-text p {
    font-size: 0.95rem;
  }

  .btn-expert {
    padding: 14px;
    font-size: 0.95rem;
  }

  .report-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}


/* ================================
   MOBILE OPTIMIZATION (PHONE)
================================ */
@media (max-width: 768px) {

  /* GENERAL */
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 16px;
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* HERO */
  .mosquito-hero {
    grid-template-columns: 1fr;
    padding: 40px 16px;
    gap: 25px;
  }

  .slides img {
    width: 100%;
  }

  /* BUTTONS */
  .btn-primary,
  .btn-light,
  .action-button {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  /* GRIDS */
  .facts-grid,
  .why-grid,
  .compare-grid,
  .inspection-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .species-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Center last item if odd number of items */
  .species-grid .species-card:last-child:nth-child(odd),
  .tips-grid .tip-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 320px;
  }

  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .compare-card img {
    height: 150px;
  }

  /* FLOW (IMPORTANT) */
  .flow {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile */
    gap: 12px;
  }

  .flow-step {
    min-height: auto !important;
    padding: 12px 8px;
  }

  .flow-step h4 {
    font-size: 0.9rem !important;
  }

  .flow-step p {
    font-size: 0.75rem !important;
  }

  /* Center last flow-step if odd number */
  .flow .flow-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 320px;
  }

  /* CARDS */
  .species-card img {
    height: 160px;
  }

  .tip-card img {
    height: 140px;
  }

  /* NAVBAR */
  .nav-links ul {
    display: none; /* hide desktop nav */
  }

  .hamburger {
    display: block;
  }

  /* CONTACT */
  .contact-info-card,
  .contact-form-card {
    padding: 25px 20px;
  }

  .contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

}


/* ================================
   SMALL MOBILE (EXTRA SMALL)
================================ */
@media (max-width: 480px) {

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .section {
    padding: 40px 14px;
  }

  .action-button {
    width: 100%;
    text-align: center;
  }

  .btn-primary,
  .btn-light {
    width: 100%;
    text-align: center;
  }

}




@media (max-width: 768px) {

  /* STACK SECTIONS PROPERLY */
  .split {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* TEXT FIRST, BOX AFTER (clean reading flow) */
  .split > div:first-child {
    order: 1;
  }

  .split > .info-box {
    order: 2;
  }

  /* FIX INFO BOX (make it card-like) */
  .info-box {
    padding: 20px;
    border-radius: 12px;
    border-left: none;
    border-top: 4px solid var(--green);
  }

  /* STATS INSIDE INFO BOX */
  .india-stats {
    grid-template-columns: 1fr 1fr !important; /* force 2 columns */
    gap: 12px;
  }

  .stat-item {
    text-align: left;
    padding: 12px;
  }

  /* FACTS SECTION IMAGE FIX */
  .rounded-img {
    margin-bottom: 15px;
  }

  /* FACTS TEXT */
  .facts-list li {
    font-size: 0.9rem;
    line-height: 1.5;
  }

}







/* 🔥 FORCE FIX FOR MOBILE OVERFLOW */
@media (max-width: 768px) {

  body {
    overflow-x: hidden; /* prevent sideways scroll */
  }

  .section {
    padding: 40px 16px !important; /* reduce huge padding */
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  /* FORCE FULL WIDTH */
  .split {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
  }

  .split > * {
    width: 100%;
  }

  /* FIX INFO BOX */
  .info-box {
    width: 100%;
    box-sizing: border-box;
  }

  /* FIX ANY IMAGE OVERFLOW */
  img {
    max-width: 100%;
    height: auto;
  }

  /* ===== GET IN TOUCH - MOBILE OPTIMIZATION (SMALL SCREENS) ===== */
  #contact {
    padding: 30px 0;
  }

  #contact .container {
    padding: 0 12px;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100%;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 12px 12px;
    border-radius: 12px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info-card h3,
  .contact-form-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
  }

  .contact-detail-item {
    gap: 10px;
    margin-bottom: 15px;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .contact-detail-text strong {
    font-size: 0.9rem;
  }

  .contact-detail-text p {
    font-size: 0.85rem;
    margin: 2px 0 0;
  }

  .btn-expert {
    padding: 12px;
    font-size: 0.9rem;
    margin-top: 8px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .btn-gradient {
    padding: 12px;
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

}

/* ===== ULTRA-SMALL SCREENS (375px - 390px) ===== */
@media (max-width: 390px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  #contact {
    padding: 20px 0;
    width: 100%;
    overflow-x: hidden;
  }

  #contact .container {
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .contact-grid {
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 10px 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
    border-radius: 12px;
  }

  .contact-info-card h3,
  .contact-form-card h3 {
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .contact-detail-item {
    gap: 8px;
    margin-bottom: 12px;
  }

  .icon-circle {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .contact-detail-text strong {
    font-size: 0.85rem;
  }

  .contact-detail-text p {
    font-size: 0.8rem;
  }

  .btn-expert {
    padding: 10px;
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
    box-sizing: border-box;
    width: 100%;
  }

  .form-group textarea {
    min-height: 90px;
  }

  .btn-gradient {
    padding: 10px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .section-header p {
    font-size: 0.85rem;
  }
}


@media (max-width: 768px) {
  .slides img {
    height: 200px;
    object-fit: cover;
  }
}


.section.light-bg h2.center {
    font-size: 1.8rem;
}

.center.subtitle {
    font-size: 1.2rem;
}

.section.light-bg h2.center {
    margin-bottom: 13px;
}


/* Laptop/Desktop only */
@media (min-width: 769px) {

    .hero-carousel img {
        height: 300px; /* reduce image size */
        object-fit: cover;
    }

}


.section.sand-bg .center{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}

/* 3D82C8 */

.section .container.split h2{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}


.info-box h4{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}