/* ============================================================
   Technocrats India — Global Stylesheet
   ============================================================ */

/* 1 — Design tokens */
:root {
  --warm-white: #FAFAF8;
  --near-black: #1A1714;
  --muted:      #3A3836;
  --orange:     #F4883A;
  --violet:     #4A2FC0;
  --white:      #FFFFFF;
  --navy:       #0B1E3D;
}

/* 2 — Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--warm-white);
  background-image: radial-gradient(circle, rgba(11,30,61,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--near-black);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* 3 — Layout */
.container { max-width: 1520px; margin: 0 auto; padding: 0 48px; }
section { padding: 120px 0; }

/* 4 — Typography utilities */
.label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--near-black);
  display: block;
  margin-bottom: 24px;
}
.section-opener {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--near-black);
  margin-bottom: 48px;
}
.body-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* 5 — Navigation */
/* Dropdown */
.has-dropdown { position: relative; }
.nav-links .dropdown {
  position: absolute;
  top: 100%;           /* flush to parent bottom — no gap */
  left: -16px;
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 230px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 200;
  pointer-events: none;
  padding-top: 16px;   /* visual gap lives inside dropdown — always hoverable */
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-links .dropdown li { border-bottom: 0.5px solid rgba(0,0,0,0.06); }
.nav-links .dropdown li:last-child { border-bottom: none; }
.nav-links .dropdown a {
  display: block;
  padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--near-black);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms, background 200ms;
  border-bottom: none;
}
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover { color: var(--near-black); background: rgba(244,136,58,0.06); }
.dropdown-all a { color: var(--orange) !important; font-weight: 500; }
.dropdown-all a:hover { background: rgba(244,136,58,0.08) !important; }


nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 5vw;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: opacity 180ms; }
.nav-logo:hover { opacity: 0.72; }
.nav-logo-img { height: 48px; width: auto; display: block; }
.nav-logo-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--near-black);
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--near-black);
  text-decoration: none;
  position: relative;
  transition: color 400ms ease;
}
.nav-links a.active { color: var(--near-black); }
.nav-links a:hover { color: var(--near-black); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 600ms ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  display: inline-block;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 600ms ease, color 600ms ease;
  margin-left: 24px;
}
.nav-cta:hover { background: linear-gradient(135deg, #f5a550 0%, #e07020 45%, #c96010 100%); color: #ffffff; border-color: transparent; }

/* 6 — Buttons */
.btn-primary {
  display: inline-block;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 600ms ease, color 600ms ease;
}
.btn-primary:hover { background: linear-gradient(135deg, #f5a550 0%, #e07020 45%, #c96010 100%); color: #ffffff; border-color: transparent; }

/* 7 — Inner page hero */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #ffd080 0%, #f59538 20%, #e07828 50%, #f59538 82%, #ffd080 100%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.page-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  display: block;
  margin-bottom: 18px;
}
.page-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
}
.page-breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.page-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.page-breadcrumb a:hover { color: rgba(255,255,255,0.85); }

/* 8 — Footer */
footer {
  background: var(--warm-white);
  border-top: 0.5px solid rgba(0,0,0,0.08);
}
.footer-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-tagline { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 12px; color: var(--muted); }
.footer-copy    { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 11px; color: rgba(26,23,20,0.4); }

/* 9 — Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms ease;
  }
}

/* 10 — Mobile base */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .page-hero { padding: 120px 0 56px; }
  .page-title { font-size: 40px; }
  .section-opener { font-size: 26px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; align-items: center; }
}
