/* ===== MAURYAN INFRATECH — GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --navy: #1a3a4a;
  --teal: #2a6b5e;
  --teal-light: #3a8f7e;
  --gold: #c8962a;
  --gold-light: #f0b83a;
  --white: #ffffff;
  --off-white: #f4f6f5;
  --gray-light: #e8ecea;
  --gray: #8a9ba6;
  --dark: #0d1f28;
  --text: #1e3240;
  --text-muted: #5a7280;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--gray-light);
  box-shadow: 0 2px 20px rgba(26,58,74,0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.logo-wrap img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* ===== NAVIGATION ===== */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active { background: var(--off-white); color: var(--teal); }

.nav-link .chevron {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.nav-item:hover .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(26,58,74,0.15);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
}

.dropdown a:hover { background: var(--off-white); color: var(--teal); padding-left: 18px; }

.dropdown a .di { font-size: 1.1rem; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-wrap img { height: 65px; filter: brightness(0) invert(1); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--gold-light); }

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.footer-links a::before { content: '›'; color: var(--teal-light); font-size: 1.1rem; }

.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 32px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse-wa 2.5s infinite;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.8); }
}

/* ===== HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 60%, var(--teal) 100%);
  padding: 90px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  position: relative;
}

.page-hero .breadcrumb a { color: var(--gold-light); }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* ===== SECTION BASICS ===== */
.section { padding: 80px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.section-title span { color: var(--teal); }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.card:hover { box-shadow: 0 12px 40px rgba(26,58,74,0.12); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: inline-block;
  background: var(--off-white);
  width: 60px; height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,107,94,0.3); }

.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  padding: 60px 32px;
  text-align: center;
}

.cta-strip h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1rem; }

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--gray-light);
}

.stat-box {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
}

.stat-box .num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-box .num span { color: var(--teal); }
.stat-box .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px; border-top: 1px solid var(--gray-light); box-shadow: 0 12px 30px rgba(0,0,0,0.1); gap: 0; }
  .main-nav.open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--off-white); border-radius: 8px; margin-top: 4px; margin-left: 12px; display: none; }
  .nav-item.open .dropdown { display: block; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 60px 20px; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .logo-wrap img { height: 56px; }
}
