/* ============================================================
   THE UNI GROUP INDIA — design tokens
   Navy = group authority · Gold = Academy · Teal = Holidays
   ============================================================ */
:root {
  --navy: #0B2545;
  --navy-light: #13315C;
  --gold: #E8A03C;
  --teal: #0FA9A6;
  --ink: #16202E;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --line: rgba(11, 37, 69, 0.10);

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
section[id] { scroll-margin-top: 84px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.delay-1.in-view { transition-delay: .1s; }
.delay-2.in-view { transition-delay: .2s; }
.delay-3.in-view { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { transition: none; transform: none; opacity: 1; }
}

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(232,160,60,0.35); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { box-shadow: 0 10px 24px rgba(15,169,166,0.35); }
.btn-navy { background: var(--navy); color: var(--white); width: 100%; justify-content: center; }
.btn-navy:hover { background: var(--navy-light); }

.brand-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1.5px solid;
  white-space: nowrap;
}
.pill-gold { color: var(--gold); border-color: var(--gold); }
.pill-gold:hover { background: var(--gold); color: var(--navy); }
.pill-teal { color: var(--teal); border-color: var(--teal); }
.pill-teal:hover { background: var(--teal); color: var(--white); }
.pill-navy { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.4); }
.pill-navy:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--white);
}
.logo span { color: var(--gold); }
.nav-links { display: none; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 24px 22px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-brand-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.mobile-brand-row .brand-pill { text-align: center; flex: 1; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 168px 24px 90px;
  background:
    linear-gradient(180deg, rgba(11,37,69,0.88), rgba(19,49,92,0.94)),
    linear-gradient(135deg, #0B2545 0%, #13315C 60%, #0B2545 100%);
  text-align: center;
  overflow: hidden;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--navy); }
.hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-seam {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 48%, var(--teal) 52%, var(--teal) 100%);
}

/* ---------- trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}
.trust-item p { font-size: 0.82rem; color: #5b6b80; margin-top: 4px; }
@media (min-width: 700px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- split section (two brand cards) ---------- */
.split-section { position: relative; padding: 90px 24px; overflow: hidden; }
.split-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(232,160,60,0.06), rgba(15,169,166,0.06));
  z-index: 0;
}
.split-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.split-heading { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.split-heading h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.split-heading p { color: #4d5c70; }

.brand-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 780px) {
  .brand-cards { grid-template-columns: 1fr 1fr; }
}
.brand-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(11,37,69,0.09);
  border-top: 5px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(11,37,69,0.14); }
.card-gold { border-top-color: var(--gold); }
.card-teal { border-top-color: var(--teal); }
.card-media { height: 190px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.card-logo-link { display: inline-block; transition: transform .2s ease, filter .2s ease; align-self: flex-start; }
.card-logo-link:hover { transform: scale(1.03); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15)); }
.card-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.gold-text { color: var(--gold); }
.teal-text { color: var(--teal); }
.card-body p { color: #4d5c70; font-size: 0.95rem; }
.card-body .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- about ---------- */
.about-section { background: var(--white); padding: 90px 24px; }
.about-inner { max-width: 1100px; margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 70px;
}
@media (min-width: 850px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.about-copy h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 18px;
}
.about-copy p { color: #4d5c70; margin-bottom: 14px; }
.about-media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(11,37,69,0.1); }
.about-media img { height: 320px; width: 100%; object-fit: cover; }
.leader-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(11,37,69,0.88);
  padding: 16px 20px;
  color: var(--white);
}
.leader-name { font-weight: 700; }
.leader-title { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 70px;
}
@media (min-width: 700px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 28px;
  border-left: 4px solid var(--navy);
}
.mv-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.1rem; }
.mv-card p { color: #4d5c70; font-size: 0.94rem; }

.milestones h3 { text-align: center; color: var(--navy); margin-bottom: 30px; font-size: 1.2rem; }
.milestone-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .milestone-row { grid-template-columns: repeat(3, 1fr); } }
.milestone {
  background: var(--paper);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.m-year { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.1rem; margin-bottom: 6px; }
.milestone p:not(.m-year) { color: #4d5c70; font-size: 0.9rem; }

/* ---------- brands deep ---------- */
.brands-deep { padding: 90px 24px; }
.brands-deep-inner { max-width: 1100px; margin: 0 auto; }
.deep-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 64px;
}
.deep-row:last-child { margin-bottom: 0; }
@media (min-width: 850px) {
  .deep-row { grid-template-columns: 1fr 1fr; }
  .deep-row-reverse .deep-media { order: 2; }
  .deep-row-reverse .deep-copy { order: 1; }
}
.deep-media { border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(11,37,69,0.1); }
.deep-media img { height: 280px; width: 100%; object-fit: cover; }
.deep-copy .card-logo-link { margin-bottom: 16px; }
.deep-copy p { color: #4d5c70; margin-bottom: 20px; }
.hl-list { margin-bottom: 24px; }
.hl-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.hl-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  font-weight: 800;
}
.hl-gold li::before { color: var(--gold); }
.hl-teal li::before { color: var(--teal); }

/* ---------- contact ---------- */
.contact-section { background: var(--navy); padding: 90px 24px; }
.contact-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 850px) { .contact-inner { grid-template-columns: 1fr 1fr; } }
.contact-copy h2 { color: var(--white); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.contact-copy p { color: rgba(255,255,255,0.78); margin-bottom: 26px; }
.contact-copy a { color: var(--gold); font-weight: 600; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-detail .ci { font-size: 1.1rem; }
.contact-detail p { color: rgba(255,255,255,0.85); }

.contact-form-card { background: var(--white); border-radius: 16px; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.contact-form-card label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--paper);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-success {
  display: none;
  margin-top: 14px;
  text-align: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}
.form-success.show { display: block; }

/* ---------- footer ---------- */
.site-footer { background: #071B33; color: rgba(255,255,255,0.8); padding: 60px 24px 0; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
@media (min-width: 750px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-logo { margin-bottom: 14px; display: inline-block; }
.footer-col-wide p { font-size: 0.9rem; max-width: 380px; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.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: 0.78rem; font-weight: 700;
  transition: background .2s ease;
}
.social-row a:hover { background: rgba(255,255,255,0.18); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 10px; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-brand-link { display: flex; align-items: center; gap: 10px; }
.footer-brand-logo { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
}
