/* =========================================================
   INDIA SOURCE – style.css (FULL REPLACE)
   Goal:
   - Clean desktop + perfect mobile
   - Mobile menu dropdown stable (no overlap issues)
   - Bilingual cards text ALWAYS visible (fix white-on-white bug)
   - Forms + buttons modern and user-friendly
   ========================================================= */

/* =========================
   RESET & BASE
   ========================= */
*{ margin:0; padding:0; box-sizing:border-box; }

:root{
  --brand:#0b3c5d;
  --brand2:#082f49;
  --bg:#f4f6f8;
  --text:#1b1f24;
  --muted:#5a6772;

  --card:#ffffff;
  --shadow:0 10px 26px rgba(0,0,0,0.08);

  --radius:16px;
  --gap:20px;

  --success-bg:#eaffea;
  --success-border:#1a7f37;
  --success-text:#0f5a23;

  --danger-bg:#ffecec;
  --danger-border:#b42318;
  --danger-text:#7a1212;

  --wa:#25D366;
}

html,body{ height:100%; }
body{
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Links */
a{ color: inherit; }
a:hover{ opacity:0.92; }

/* Media */
img,iframe,video{ max-width:100%; height:auto; }

/* =========================
   CONTAINER
   ========================= */
.container{
  max-width:1100px;
  margin: 28px auto;
  padding: 0 var(--gap);
}

/* =========================
   HEADER (DESKTOP + MOBILE)
   ========================= */
.site-header{
  background: var(--brand);
  width: 100%;
  position: sticky; /* stays on top */
  top: 0;
  z-index: 5000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.header-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* for mobile dropdown */
  gap: 14px;
}

.brand h1{
  color:#fff;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.brand span{
  display:block;
  color:#cfe4f2;
  font-size: 12px;
  margin-top: 2px;
  opacity: 0.95;
}

/* Desktop nav */
.main-nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

.main-nav a{
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 6px;
  border-radius: 10px;
}

.main-nav a:hover,
.main-nav a.active{
  background: rgba(255,255,255,0.12);
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color:#fff;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
  padding: 10px 12px;
  border-radius: 12px;
}

/* MOBILE HEADER DROPDOWN */
@media (max-width: 768px){
  :root{ --gap: 12px; }

  .header-wrap{
    padding: 12px 12px;
  }

  .brand h1{ font-size: 20px; }
  .brand span{ font-size: 11px; }

  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .main-nav{
    /* dropdown */
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;

    display:none;
    flex-direction: column;
    gap: 0;

    background: var(--brand);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  }

  .main-nav.open{ display:flex; }

  .main-nav a{
    width:100%;
    padding: 14px 14px;
    font-size: 15px;
    border-radius: 0;
    background: transparent;
  }

  .main-nav a + a{
    border-top: 1px solid rgba(255,255,255,0.12);
  }
}

/* =========================
   HERO / SECTION / CARD
   ========================= */
.hero,
.section,
.service-card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  margin: 16px 0;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--brand);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero h1, .hero h2{
  color: var(--brand);
  margin: 0 0 8px;
  line-height: 1.2;
}

.hero p{ margin: 10px 0; }

.section h2, .section h3,
.service-card h2, .service-card h3{
  color: var(--brand);
  margin: 0 0 10px;
  line-height: 1.25;
}

.page-title{
  text-align:center;
  margin: 22px 0 14px;
}
.page-title h2{
  margin:0 0 6px;
  color: var(--brand);
  font-size: 26px;
}
.page-title p{
  margin:0;
  color: var(--muted);
}

/* lists */
.section ul, .service-card ul{
  padding-left: 18px;
  margin: 10px 0;
}
.section li, .service-card li{
  margin: 6px 0;
}

/* =========================
   CTA
   ========================= */
.cta{
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  margin: 16px 0;
  box-shadow: var(--shadow);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.cta h2, .cta h3{
  color:#fff;
  margin:0 0 10px;
}

/* =========================
   BUTTONS / PILLS
   ========================= */
.btn,
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight: 900;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.08s ease, opacity 0.12s ease;
}

.btn:active, .pill:active{ transform: scale(0.99); }

.btn{
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
}

.btn-primary{ background: var(--brand); color:#fff; }
.btn-primary:hover{ background: var(--brand2); }

.btn-wa{ background: var(--wa); color:#fff; }
.btn-danger{ background:#d9534f; color:#fff; }
.btn-dark{ background:#111; color:#fff; }

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill{
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,0.12);
  background:#fff;
  color:#111;
}

.pill.primary{ background: var(--brand); border-color: var(--brand); color:#fff; }
.pill.wa{ background: var(--wa); border-color: var(--wa); color:#fff; }
.pill.danger{ background:#d9534f; border-color:#d9534f; color:#fff; }

@media (max-width: 768px){
  .btn{ width:100%; }
  .pill{ width:100%; border-radius: 12px; }
}

/* =========================
   SERVICES GRID
   ========================= */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card.highlight{
  border-left-color:#d9534f;
  background: #fff5f5;
}

.service-card .tag{
  display:inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  color:#fff;
  background:#d9534f;
  border-radius: 999px;
}

@media (max-width: 900px){
  .services-grid{ grid-template-columns: 1fr; }
  .page-title h2{ font-size: 22px; }
}

/* =========================
   BILINGUAL / LANG BLOCKS (FIXED)
   Default: dark text on light cards
   CTA: white text (scoped)
   ========================= */
.lang-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:start;
  margin-top:10px;
}

.lang-card{
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.70);
  color: var(--text);
  text-align:left;
}

.lang-title{
  margin:0 0 8px;
  font-size:15px;
  font-weight:900;
  color: var(--brand);
}

.muted{
  opacity:0.95;
  color: var(--text);
}

/* Note / checklist / hint boxes */
.note,
.checklist,
.hint-box{
  margin-top:10px;
  padding:12px 14px;
  border-radius:12px;
  line-height:1.7;
  background: rgba(11,60,93,0.04);
  border:1px dashed rgba(11,60,93,0.22);
  color: var(--text);
  text-align:left;
}

.checklist ul{ margin: 8px 0 0; padding-left:18px; }
.checklist li{ margin: 6px 0; }

/* CTA scoped overrides only */
.cta .lang-card{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color:#fff;
}
.cta .lang-title{ color:#fff; }
.cta .muted{ color:#fff; opacity: 1; }
.cta .note,
.cta .checklist,
.cta .hint-box{
  background: rgba(255,255,255,0.10);
  border: 1px dashed rgba(255,255,255,0.28);
  color:#fff;
}

@media (max-width: 768px){
  .lang-grid{ grid-template-columns:1fr; }
}

/* =========================
   INQUIRY FORM
   ========================= */
.inquiry-form{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.inquiry-form input,
.inquiry-form textarea{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.16);
  font-size: 16px;
  outline: none;
  background: #fff;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus{
  border-color: rgba(11,60,93,0.55);
  box-shadow: 0 0 0 4px rgba(11,60,93,0.12);
}

.inquiry-form textarea{
  grid-column: 1 / -1;
  min-height: 140px;
  resize: vertical;
}

.inquiry-form .full{ grid-column: 1 / -1; }

.btn-row{
  grid-column: 1 / -1;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.small-note{
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

@media (max-width: 768px){
  .inquiry-form{ grid-template-columns: 1fr; }
}

/* =========================
   SUCCESS / ERROR ALERTS
   ========================= */
.success-msg,
.alert-success{
  background: var(--success-bg);
  border: 2px solid var(--success-border);
  color: var(--success-text);
  padding: 14px 14px;
  border-radius: 12px;
  margin: 12px 0 16px;
  line-height: 1.7;
  font-weight: 900;
}

.error-msg,
.alert-error{
  background: var(--danger-bg);
  border: 2px solid var(--danger-border);
  color: var(--danger-text);
  padding: 14px 14px;
  border-radius: 12px;
  margin: 12px 0 16px;
  line-height: 1.7;
  font-weight: 900;
}

/* =========================
   FOOTER
   ========================= */
.site-footer{
  background: var(--brand);
  color:#fff;
  text-align:center;
  padding: 16px 12px;
  margin-top: 28px;
}

/* =========================
   FLOATING WHATSAPP (optional)
   ========================= */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
}
.wa-float svg{ width: 28px; height: 28px; fill:#fff; }

@media (max-width: 768px){
  .wa-float{ right: 12px; bottom: 12px; }
}
