/* =====================================================
   Nexalent Private Limited — Site Stylesheet
   Palette derived from brand deck:
   Navy:   #122249 / #14264a
   Blue:   #2f6fed / #1c5fd1
   Sky:    #5db3f0
   Ice bg: #eef3fc
   ===================================================== */

:root {
  --navy-900: #0d1b3a;
  --navy-800: #122249;
  --navy-700: #16305e;
  --blue-600: #1d5fd6;
  --blue-500: #2f74e6;
  --sky-400:  #5fb6ef;
  --ice-100:  #eef4fd;
  --ice-50:   #f6f9fe;
  --slate-600: #4b5a72;
  --slate-500: #6b7a90;
  --white:    #ffffff;
  --border:   #e3e9f5;
  --shadow:   0 10px 30px rgba(18, 34, 73, 0.08);
  --shadow-sm:0 4px 14px rgba(18, 34, 73, 0.06);
  --radius:   16px;
  --radius-sm:12px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top gradient accent bar (mirrors deck header) ---------- */
.top-bar {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--navy-800) 0%, var(--blue-500) 55%, var(--sky-400) 100%);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link img { height: 42px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

.nav-cta {
  background: var(--blue-600);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-800); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy-800);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { 
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
  .nav-links a.active, .nav-links a:hover { border-left-color: var(--blue-600); border-bottom-color: var(--border); }
  .nav-cta { margin: 14px 24px; display: inline-block; }
  .nav-toggle { display: block; }
}

/* ---------- Hero (home page, mirrors slide 1) ---------- */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(95,182,239,0.25), transparent 50%),
              radial-gradient(circle at 10% 85%, rgba(47,116,230,0.18), transparent 45%),
              linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--blue-600) 100%);
  color: var(--white);
  padding: 90px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  display: inline-flex;
  padding: 28px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}
.hero-card img { height: 50px; }

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 22px;
  max-width: 820px;
  margin-inline: auto;
  letter-spacing: -0.5px;
}

.hero .tagline {
  color: var(--sky-400);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.hero .pill {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
}
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--sky-400);
  margin-bottom: 10px;
}
.page-header h1 { font-size: 38px; margin: 0 0 12px; font-weight: 800; }
.page-header p { font-size: 17px; opacity: 0.9; max-width: 640px; margin: 0 auto; }

/* ---------- Section basics ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--ice-50); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy-800);
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--sky-400));
  border-radius: 4px;
}

.section-lead {
  font-size: 16px;
  color: var(--slate-600);
  max-width: 720px;
  margin-bottom: 40px;
}

/* ---------- Two column layout (About / Vision) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.info-card {
  background: var(--ice-100);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}
.info-card p { color: var(--slate-600); margin: 0 0 16px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--navy-800); }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Vision & Mission blocks ---------- */
.vm-stack { display: flex; flex-direction: column; gap: 20px; }
.vm-block {
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  gap: 20px;
}
.vm-block.light { background: var(--ice-100); border: 1px solid var(--border); }
.vm-block.dark  { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); }
.vm-block.dark p { color: rgba(255,255,255,0.85); }
.vm-block h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; }
.vm-block p { margin: 0; color: var(--slate-600); }

/* ---------- Icon circles (used everywhere — matches deck motif) ---------- */
.icon-circle {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, var(--blue-500), var(--navy-800));
  color: var(--white);
}
.icon-circle svg { width: 22px; height: 22px; }
.icon-circle.sm { width: 44px; height: 44px; }

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
}

.item-card {
  background: var(--ice-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.item-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.item-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--navy-800); }
.item-card p { margin: 0; font-size: 14px; color: var(--slate-600); }

.item-card.compact { align-items: center; }
.item-card.compact h4 { margin: 0; }

/* Core values special layout (numbered emphasis cards) */
.value-card {
  background: var(--ice-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.value-card h4 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--navy-800); }
.value-card p { margin: 0; color: var(--slate-600); font-size: 14.5px; }

/* ---------- Stat / CTA banner (Careers page bottom) ---------- */
.cta-banner {
  background: linear-gradient(110deg, var(--navy-900), var(--blue-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.cta-banner h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.cta-banner p { margin: 0; opacity: 0.85; font-size: 15px; }
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue-600);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.btn.btn-primary { background: var(--blue-600); color: var(--white); }
.btn.btn-primary:hover { background: var(--navy-800); }
.btn.btn-outline { background: transparent; border: 2px solid var(--blue-600); color: var(--blue-600); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { padding: 50px 44px; background: var(--white); }
.contact-image { position: relative; min-height: 420px; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-image .overlay-text {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(13,27,58,0.75), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--ice-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.contact-detail h4 { margin: 0 0 4px; font-size: 15px; color: var(--navy-800); }
.contact-detail p, .contact-detail a { margin: 0; font-size: 14px; color: var(--slate-600); }
.contact-detail a:hover { color: var(--blue-600); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy-800); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--navy-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(47,116,230,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}
.alert-success { background: #e6f6ec; color: #1c7c43; border: 1px solid #b9e6c9; }
.alert-error { background: #fdeaea; color: #b3261e; border: 1px solid #f5c2c0; }

/* ---------- Job listing cards ---------- */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.job-card h4 { margin: 0 0 6px; font-size: 17px; color: var(--navy-800); }
.job-card .meta { font-size: 13px; color: var(--slate-500); }
.job-card .meta span { margin-right: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 14px; line-height: 1.7; }
.footer-grid h4 { color: var(--white); font-size: 15px; margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--sky-400); }

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.social-row a:hover { background: var(--blue-600); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
