/* ============================================================
   Everest Infra Ventures India – Main Stylesheet
   ============================================================ */

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

:root {
  --blue:     #0C3280;
  --blue-mid: #1445A0;
  --blue-lt:  #E8EDF8;
  --gold:     #C9A84C;
  --gold-lt:  #E0BF6A;
  --ink:      #0D1B2A;
  --ink-mid:  #3A4A5C;
  --ink-lt:   #6B7A8D;
  --bg:       #F5F7FA;
  --white:    #FFFFFF;
  --border:   #DDE2EA;
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ink); background: var(--white); overflow-x: hidden; }

::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--blue); }

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

/* ── UTILITY BAR ─────────────────────────────────────────────── */
#util { background: var(--blue); padding: 0 5%; display: flex; justify-content: flex-end; height: 34px; }
.ub-link { color: rgba(255,255,255,.7); font-size: 11.5px; padding: 0 16px; height: 34px; display: flex; align-items: center; border-left: 1px solid rgba(255,255,255,.1); transition: color .2s; }
.ub-link:first-child { border-left: none; }
.ub-link:hover { color: #fff; }

/* ── NAV ─────────────────────────────────────────────────────── */
#nav { position: sticky; top: 0; z-index: 999; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.06); height: 68px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; }
.nl { display: flex; align-items: center; gap: 12px; }
.nl img { height: 38px; object-fit: contain; }
.nl-txt b { font-size: 17px; font-weight: 700; color: var(--blue); letter-spacing: -.3px; display: block; }
.nl-txt s { font-size: 9px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-lt); text-decoration: none; display: block; }
.nm { display: flex; gap: 0; list-style: none; height: 68px; }
.nm > li { position: relative; display: flex; align-items: center; }
.nm > li > a { display: flex; align-items: center; gap: 5px; height: 68px; padding: 0 17px; font-size: 13px; font-weight: 500; color: var(--ink); transition: color .2s; position: relative; }
.nm > li > a::after { content: ''; position: absolute; bottom: 0; left: 17px; right: 17px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nm > li > a:hover, .nm > li > a.act { color: var(--blue); }
.nm > li > a:hover::after, .nm > li > a.act::after { transform: scaleX(1); }
.nm > li > a .chev { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.nm > li:hover > a .chev { transform: rotate(180deg); }
.drop { display: none; position: absolute; top: 68px; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--blue); box-shadow: 0 16px 48px rgba(0,0,0,.1); z-index: 100; }
.nm > li:hover .drop { display: block; }
.drop a { display: block; padding: 12px 22px; font-size: 13px; color: var(--ink-mid); transition: all .2s; border-bottom: 1px solid #f2f2f2; }
.drop a:last-child { border-bottom: none; }
.drop a:hover { background: var(--blue-lt); color: var(--blue); padding-left: 28px; }
.nav-btn { background: var(--blue); color: #fff; padding: 9px 22px; font-size: 13px; font-weight: 600; border-radius: 2px; transition: background .2s; }
.nav-btn:hover { background: var(--blue-mid); }
.hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hbg span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero { min-height: 92vh; background: var(--ink); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
#heroBg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,15,28,.92) 0%, rgba(8,15,28,.65) 50%, rgba(8,15,28,.2) 100%); z-index: 1; }
.hero-ct { position: relative; z-index: 2; padding: 40px 5% 0; max-width: 960px; }
.h-ey { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.3); padding: 6px 16px 6px 10px; }
.h-ey-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.h-ey span { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-lt); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(46px,6.2vw,84px); font-weight: 700; line-height: 1.03; color: #fff; letter-spacing: -1px; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-d { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 44px; font-weight: 300; }
.hero-btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 64px; }
.btn-p { background: var(--blue); color: #fff; padding: 14px 32px; font-size: 13px; font-weight: 600; border-radius: 2px; transition: all .25s; display: inline-block; }
.btn-p:hover { background: var(--blue-mid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(12,50,128,.4); }
.btn-g { color: rgba(255,255,255,.85); padding: 13px 28px; font-size: 13px; font-weight: 500; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; transition: all .25s; display: inline-block; }
.btn-g:hover { background: rgba(255,255,255,.08); }
.stats-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,255,255,.05); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,.08); }
.sb-item { padding: 26px 36px; border-right: 1px solid rgba(255,255,255,.06); }
.sb-item:last-child { border-right: none; }
.sb-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--gold-lt); line-height: 1; }
.sb-lbl { font-size: 11px; color: rgba(255,255,255,.48); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 7px; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.sec { padding: 96px 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; flex-shrink: 0; }
.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(30px,4vw,50px); font-weight: 700; line-height: 1.1; letter-spacing: -.5px; color: var(--ink); margin-bottom: 16px; }
.sec-title-w { color: #fff; }
.sec-sub { font-size: 15.5px; color: var(--ink-lt); line-height: 1.8; max-width: 560px; font-weight: 300; }
.sec-sub-w { color: rgba(255,255,255,.55); }
.sec-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 24px; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { font-size: 15.5px; line-height: 1.95; color: var(--ink-mid); margin-bottom: 20px; font-weight: 300; }
.about-pull { border-left: 4px solid var(--blue); padding: 18px 24px; margin: 28px 0; font-family: 'Playfair Display', serif; font-style: italic; font-size: 18.5px; color: var(--ink); line-height: 1.6; background: var(--blue-lt); }
.as-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.as-box { background: #fff; border: 1px solid var(--border); padding: 30px 26px; transition: all .3s; position: relative; overflow: hidden; }
.as-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .35s; transform-origin: left; }
.as-box:hover::before { transform: scaleX(1); }
.as-box:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.as-num { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--blue); line-height: 1; }
.as-lbl { font-size: 11.5px; font-weight: 500; color: var(--ink-lt); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 8px; }

/* ── SERVICES ────────────────────────────────────────────────── */
#comp { background: var(--ink); }
.serv-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.06); margin-top: 52px; }
.sc { background: var(--ink); padding: 42px 30px; transition: all .35s; cursor: default; border-top: 3px solid transparent; }
.sc:hover { background: #0f2035; border-top-color: var(--gold); }
.sc-icon { width: 46px; height: 46px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.2); border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; transition: all .3s; }
.sc-icon svg { width: 22px; height: 22px; }
.sc:hover .sc-icon { background: rgba(201,168,76,.18); }
.sc h3 { font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 18px; line-height: 1.3; }
.sc ul { list-style: none; }
.sc ul li { font-size: 12.5px; color: rgba(255,255,255,.48); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); display: flex; gap: 10px; line-height: 1.5; transition: color .3s; }
.sc:hover ul li { color: rgba(255,255,255,.65); }
.sc ul li:last-child { border-bottom: none; }
.sc ul li::before { content: "›"; color: var(--gold); flex-shrink: 0; }

/* ── PROJECTS ────────────────────────────────────────────────── */
.proj-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.pt { padding: 12px 26px; font-size: 13px; font-weight: 600; cursor: pointer; background: none; border: none; color: var(--ink-lt); font-family: 'Plus Jakarta Sans', sans-serif; position: relative; transition: color .2s; }
.pt::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--blue); transition: width .3s; }
.pt.on { color: var(--blue); }
.pt.on::after { width: 100%; }
.pp { display: none; }
.pp.on { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pc { background: #fff; border: 1px solid var(--border); overflow: hidden; transition: all .3s; }
.pc:hover { box-shadow: 0 16px 48px rgba(0,0,0,.1); transform: translateY(-4px); border-color: var(--blue); }
.pc-top { background: var(--ink); padding: 30px 26px; min-height: 175px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.pc-top::after { content: ''; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(201,168,76,.05); }
.pc-badge { position: absolute; top: 20px; left: 26px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.badge-c { background: rgba(26,122,74,.15); color: #6ee7b7; border: 1px solid rgba(26,122,74,.3); }
.badge-o { background: rgba(201,168,76,.12); color: var(--gold-lt); border: 1px solid rgba(201,168,76,.25); }
.pc-top h3 { font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.4; margin-bottom: 11px; position: relative; z-index: 1; }
.pc-amt { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; color: var(--gold-lt); line-height: 1; position: relative; z-index: 1; }
.pc-bot { padding: 22px 26px; }
.pc-bot p { font-size: 13.5px; color: var(--ink-lt); line-height: 1.75; margin-bottom: 16px; font-weight: 300; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pc-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); background: var(--blue-lt); padding: 4px 11px; border-radius: 20px; }

/* ── REACH ───────────────────────────────────────────────────── */
.reach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.rc { background: #fff; border: 1px solid var(--border); padding: 34px 30px; transition: all .3s; position: relative; overflow: hidden; }
.rc::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--blue); transform: scaleX(0); transition: transform .35s; transform-origin: left; }
.rc:hover::before { transform: scaleX(1); }
.rc:hover { box-shadow: 0 12px 36px rgba(0,0,0,.08); transform: translateY(-3px); }
.rc-num { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: var(--blue-lt); line-height: 1; margin-bottom: 14px; }
.rc h4 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.rc-sub { font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; display: block; }
.rc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.rc-tag { font-size: 12px; color: var(--ink-mid); background: var(--bg); border: 1px solid var(--border); padding: 5px 13px; border-radius: 20px; font-weight: 500; }
.reach-cta { margin-top: 36px; background: var(--blue); padding: 32px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.reach-cta p { font-size: 15.5px; color: rgba(255,255,255,.82); line-height: 1.7; font-weight: 300; max-width: 600px; }
.reach-cta strong { color: #fff; font-weight: 600; }
.reach-cta a { flex-shrink: 0; background: #fff; color: var(--blue); padding: 12px 26px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: all .2s; }
.reach-cta a:hover { background: var(--gold-lt); color: var(--ink); }

/* ── LEADERSHIP ──────────────────────────────────────────────── */
.ld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.lc { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--blue); padding: 38px; display: flex; gap: 22px; transition: all .3s; }
.lc:hover { box-shadow: 0 12px 36px rgba(0,0,0,.08); transform: translateY(-3px); }
.lc-photo { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; object-fit: cover; object-position: top center; border: 3px solid var(--blue-lt); box-shadow: 0 4px 16px rgba(12,50,128,.15); }
.lc-info h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.lc-role { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 13px; display: block; }
.lc-info p { font-size: 13.5px; line-height: 1.8; color: var(--ink-lt); font-weight: 300; }
.mg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.mc { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--border); padding: 30px 34px; transition: all .3s; }
.mc:hover { border-left-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.mc h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.mc-role { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 13px; display: block; }
.mc p { font-size: 13.5px; line-height: 1.8; color: var(--ink-lt); font-weight: 300; }

/* ── PARTNERS ────────────────────────────────────────────────── */
#part { background: var(--ink); }
.part-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.05); margin-top: 52px; }
.pg { background: var(--ink); padding: 30px 18px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5); line-height: 1.6; transition: all .3s; min-height: 88px; display: flex; align-items: center; justify-content: center; }
.pg:hover { background: #0f2035; color: var(--gold-lt); }

/* ── CONTACT ─────────────────────────────────────────────────── */
#cont { background: var(--bg); }
.cont-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; margin-top: 52px; }
.ci { display: flex; flex-direction: column; gap: 22px; }
.ci-card { background: #fff; border: 1px solid var(--border); padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; transition: all .3s; }
.ci-card:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.ci-icon { width: 38px; height: 38px; background: var(--blue-lt); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 17px; height: 17px; fill: var(--blue); }
.ci-card h5 { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.ci-card p, .ci-card a { font-size: 14px; color: var(--ink-mid); line-height: 1.75; font-weight: 300; }
.ci-card a:hover { color: var(--blue); }
.cf-card { background: #fff; border: 1px solid var(--border); padding: 38px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.fg:last-child { margin-bottom: 0; }
.fg label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-lt); }
.fg input, .fg textarea, .fg select { background: var(--bg); border: 1px solid var(--border); color: var(--ink); padding: 12px 15px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; transition: all .25s; resize: none; width: 100%; }
.fg input:focus, .fg textarea:focus, .fg select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(12,50,128,.06); }
.fg textarea { height: 108px; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--ink-lt); opacity: .6; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-btn { background: var(--blue); color: #fff; border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 15px; transition: all .25s; width: 100%; }
.cf-btn:hover { background: var(--blue-mid); }
.form-error { background: #fde8e8; border: 1px solid #f0a8a8; color: #7a1a1a; padding: 16px 20px; margin-bottom: 22px; font-size: 14px; font-weight: 500; border-radius: 2px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.foot-top { background: var(--ink); padding: 60px 5% 44px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; max-width: 1280px; margin: 0 auto; }
.foot-brand-name b { font-size: 19px; font-weight: 700; color: #fff; display: block; }
.foot-brand-name s { font-size: 9px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); text-decoration: none; display: block; margin-top: 3px; }
.foot-brand p { font-size: 13px; color: rgba(255,255,255,.42); line-height: 1.8; margin-top: 16px; font-weight: 300; max-width: 270px; }
.foot-col h5 { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 13px; color: rgba(255,255,255,.52); margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--gold-lt); }
.foot-btm { background: #06101A; padding: 16px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-btm p { font-size: 12px; color: rgba(255,255,255,.28); }
.foot-btm-links { display: flex; gap: 22px; }
.foot-btm-links a { font-size: 12px; color: rgba(255,255,255,.36); transition: color .2s; }
.foot-btm-links a:hover { color: var(--gold-lt); }

/* ── MOBILE NAV ──────────────────────────────────────────────── */
#mob-nav { display: none; position: fixed; top: 102px; left: 0; right: 0; background: #fff; z-index: 998; border-top: 3px solid var(--blue); padding: 18px 5%; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
#mob-nav.open { display: block; }
#mob-nav a { display: block; padding: 13px 0; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); }
#mob-nav a:last-child { border-bottom: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .foot-grid       { grid-template-columns: 1fr 1fr; }
  .serv-grid       { grid-template-columns: repeat(2,1fr); }
  .reach-grid      { grid-template-columns: 1fr 1fr; }
  .about-layout,
  .cont-layout     { grid-template-columns: 1fr; gap: 44px; }
  .stats-bar       { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nm, .nav-btn          { display: none; }
  .hbg                   { display: flex; }
  .hero h1               { font-size: 40px; }
  .stats-bar,
  .about-layout .as-grid { display: none; }
  .serv-grid, .reach-grid,
  .ld-grid, .mg-grid,
  .pp.on, .part-grid     { grid-template-columns: 1fr; }
  .fr                    { grid-template-columns: 1fr; }
  .foot-grid             { grid-template-columns: 1fr; }
  .reach-cta             { flex-direction: column; align-items: flex-start; }
  .sec                   { padding: 60px 0; }
}
