/* ================================================================
   BHUPINDER SHAH & CO. — Chartered Accountants
   Premium Stylesheet — 2026 Redesign
   Domains: bshah.co · shahca.com
   ================================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Palette */
  --navy:        #0A1A2F;
  --navy-2:      #102A47;
  --navy-3:      #16365C;
  --navy-deep:   #06101D;
  --blue:        #1C5A8E;
  --gold:        #C8A24C;
  --gold-2:      #E2C77B;
  --gold-deep:   #A07E2E;
  --gold-soft:   rgba(200, 162, 76, 0.14);
  --cream:       #FBF9F4;
  --cream-2:     #F3EFE5;
  --ink:         #25313F;
  --ink-2:       #56657A;
  --ink-3:       #8A98AB;
  --line:        #E7E2D6;
  --line-2:      #EFEBE0;
  --green:       #2E8B57;
  --white:       #FFFFFF;

  /* Type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Space */
  --pad:   clamp(72px, 9vw, 130px);
  --max:   1200px;
  --gut:   clamp(20px, 4vw, 40px);

  /* Motion */
  --exp: cubic-bezier(0.16, 1, 0.3, 1);
  --smo: cubic-bezier(0.4, 0, 0.2, 1);
  --t:   0.45s var(--smo);

  /* Shadow */
  --sh-s: 0 2px 10px rgba(10, 26, 47, 0.06);
  --sh-m: 0 12px 36px rgba(10, 26, 47, 0.10);
  --sh-l: 0 26px 70px rgba(10, 26, 47, 0.16);
  --sh-gold: 0 14px 40px rgba(200, 162, 76, 0.30);

  /* Radius */
  --r:   14px;
  --r-l: 22px;
  --r-xl:30px;

  /* Legacy aliases (used by inline styles in markup) */
  --font-heading: var(--serif);
  --font-body:    var(--sans);
  --text:         var(--ink);
  --text-light:   var(--ink-2);
  --gray-200:     var(--line);
  --off-white:    var(--cream);
}

/* ---------- 2. RESET ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy-deep);
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.25s var(--smo); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: var(--navy); }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); border-radius: 4px; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1,h2,h3,h4,h5 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
p  { color: var(--ink-2); }

.gold-text {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}
.shimmer {
  background: linear-gradient(100deg, var(--white) 30%, var(--gold-2) 50%, var(--white) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }

/* ---------- 4. LAYOUT ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--pad) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-dark {
  background:
    radial-gradient(ellipse 70% 60% at 15% 10%, rgba(28,90,142,0.30), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(200,162,76,0.10), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.62); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 70px); }
.section-subtitle {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding: 0 18px;
}
.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-subtitle::before { right: 100%; }
.section-subtitle::after { left: 100%; transform: scaleX(-1); }
.section-header h2 { margin-bottom: 18px; }
.section-header p { font-size: 1.08rem; color: var(--ink-2); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }
.section-line {
  width: 64px; height: 3px; margin: 26px auto 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  border-radius: 2px; position: relative;
}
.section-line::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); transform: translate(-50%,-50%);
  box-shadow: 0 0 0 4px rgba(200,162,76,0.18);
}

/* ---------- 5. PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; background: var(--navy-deep);
  transition: opacity 0.7s var(--smo), visibility 0.7s var(--smo);
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 600;
  letter-spacing: 2px; color: var(--gold); position: relative;
}
.preloader-bar {
  width: 200px; height: 2px; background: rgba(200,162,76,0.18);
  border-radius: 2px; overflow: hidden; position: relative;
}
.preloader-bar::after {
  content: ''; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: sweep 1.2s var(--smo) infinite;
}
@keyframes sweep { 0%{transform:translateX(-120%);} 100%{transform:translateX(360%);} }

/* ---------- 6. NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0; transition: var(--t);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8, 18, 32, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(200,162,76,0.16);
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 13px; }
.nav-logo-icon {
  width: 50px; height: auto; background: var(--white);
  padding: 5px 7px; border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: var(--t);
}
.navbar.scrolled .nav-logo-icon { width: 44px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-main { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--gold); letter-spacing: 0.4px; }
.nav-logo-sub  { font-size: 0.6rem; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(255,255,255,0.62); font-weight: 600; }
.navbar:not(.scrolled) .nav-logo-main { color: var(--gold-2); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 16px; font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.82); border-radius: 8px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--exp);
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-2); }

.hamburger { display: none; flex-direction: column; gap: 6px; width: 30px; height: 22px; justify-content: center; z-index: 1001; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--gold-2); border-radius: 2px; transition: var(--t); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 7. MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--smo), visibility 0.5s var(--smo);
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu ul { text-align: center; }
.mobile-menu li { margin: 6px 0; opacity: 0; transform: translateY(20px); }
.mobile-menu.active li { animation: menuIn 0.5s var(--exp) forwards; }
.mobile-menu.active li:nth-child(1){animation-delay:.08s}
.mobile-menu.active li:nth-child(2){animation-delay:.14s}
.mobile-menu.active li:nth-child(3){animation-delay:.20s}
.mobile-menu.active li:nth-child(4){animation-delay:.26s}
.mobile-menu.active li:nth-child(5){animation-delay:.32s}
.mobile-menu.active li:nth-child(6){animation-delay:.38s}
.mobile-menu.active li:nth-child(7){animation-delay:.44s}
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.mobile-menu a:hover { color: var(--gold-2); }

/* ---------- 8. HERO ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background: var(--navy-deep); text-align: center;
}
.hero-bg {
  position: absolute; inset: -25%;
  background:
    radial-gradient(ellipse 55% 45% at 22% 38%, rgba(200,162,76,0.20), transparent 60%),
    radial-gradient(ellipse 50% 55% at 78% 26%, rgba(28,90,142,0.30), transparent 58%),
    radial-gradient(ellipse 65% 40% at 50% 82%, rgba(200,162,76,0.10), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy) 100%);
  animation: heroShift 18s ease-in-out infinite alternate;
}
@keyframes heroShift {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.07) translate(1.5%, -1%); }
  100% { transform: scale(1) translate(-1.5%, 1%); }
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape { position: absolute; border: 1px solid rgba(200,162,76,0.10); animation: float 24s ease-in-out infinite; }
.hero-shape:nth-child(1){ width:360px;height:360px;border-radius:50%;top:6%;left:-7%;animation-delay:0s; }
.hero-shape:nth-child(2){ width:230px;height:230px;border-radius:50%;top:56%;right:-5%;animation-delay:-7s;border-color:rgba(28,90,142,0.18); }
.hero-shape:nth-child(3){ width:150px;height:150px;border-radius:28%;bottom:16%;left:16%;animation-delay:-12s; }
.hero-shape:nth-child(4){ width:440px;height:440px;border-radius:50%;top:-14%;right:12%;animation-delay:-4s;border-color:rgba(28,90,142,0.10); }
@keyframes float {
  0%,100%{ transform: translateY(0) rotate(0); opacity:.3; }
  50%    { transform: translateY(-26px) rotate(4deg); opacity:.55; }
}
.hero::before {
  content:''; position:absolute; top:18%; left:7%; width:1px; height:130px;
  background: linear-gradient(180deg, transparent, rgba(200,162,76,0.4), transparent); z-index:1;
}
.hero-content { position: relative; z-index: 2; padding: 0 var(--gut); max-width: 940px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 20px; border: 1px solid rgba(200,162,76,0.30); border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-2); background: rgba(200,162,76,0.06);
  opacity: 0; animation: fadeUp 1s 0.2s var(--exp) forwards;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200,162,76,0.2); }
.hero-content h1 { color: #fff; margin-bottom: 18px; opacity: 0; transform: translateY(38px); animation: fadeUp 1.1s 0.4s var(--exp) forwards; }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.75rem); color: rgba(255,255,255,0.74);
  margin-bottom: 26px; opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s 0.7s var(--exp) forwards;
}
.hero-tagline .gold-text { font-style: normal; font-weight: 600; }
.hero-desc {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem); color: rgba(255,255,255,0.55);
  max-width: 600px; margin: 0 auto 42px; line-height: 1.85;
  opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s 1s var(--exp) forwards;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s 1.3s var(--exp) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.scroll-indicator { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; opacity: 0; animation: fadeUp 1s 2s var(--exp) forwards; }
.scroll-indicator .mouse { width: 24px; height: 38px; border: 2px solid rgba(200,162,76,0.4); border-radius: 12px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-indicator .wheel { width: 3px; height: 7px; background: var(--gold); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0%{opacity:0;transform:translateY(-3px);} 50%{opacity:1;} 100%{opacity:0;transform:translateY(8px);} }

/* ---------- 9. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 100px; font-family: var(--sans);
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.3px;
  position: relative; overflow: hidden; transition: var(--t); cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--exp); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: linear-gradient(120deg, var(--gold-deep), var(--gold), var(--gold-2)); color: var(--navy); box-shadow: var(--sh-gold); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(200,162,76,0.4); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(200,162,76,0.06); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--sh-l); }

/* ---------- 10. STATS ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.stat-item { padding: 34px 18px; position: relative; }
.stat-item:not(:last-child)::after { content:''; position:absolute; top:24%; right:0; width:1px; height:52%; background: linear-gradient(180deg, transparent, var(--line), transparent); }
.section-dark .stat-item:not(:last-child)::after { background: linear-gradient(180deg, transparent, rgba(200,162,76,0.25), transparent); }
.stat-number { font-family: var(--serif); font-size: clamp(2.8rem, 5.5vw, 4rem); font-weight: 700; color: var(--gold); line-height: 1; position: relative; display: inline-block; }
.stat-number::after { content:''; position:absolute; left:18%; right:18%; bottom:-6px; height:2px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.stat-label { margin-top: 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-3); }
.section-dark .stat-label { color: rgba(255,255,255,0.5); }

/* ---------- 11. CARDS ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr)); gap: 30px; }
.card {
  background: #fff; border-radius: var(--r-l); padding: 42px 34px;
  border: 1px solid var(--line-2); position: relative; overflow: hidden; transition: var(--t);
}
.card::before { content:''; position:absolute; top:0; left:0; width:4px; height:100%; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--exp); }
.card::after  { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--exp); }
.card:hover { transform: translateY(-10px); box-shadow: var(--sh-l); border-color: rgba(200,162,76,0.2); }
.card:hover::before { transform: scaleY(1); }
.card:hover::after  { transform: scaleX(1); }
.card-icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--gold-soft), rgba(200,162,76,0.04));
  color: var(--gold-deep); transition: var(--t);
}
.card-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.card:hover .card-icon { background: linear-gradient(140deg, var(--gold), var(--gold-2)); color: var(--navy); transform: scale(1.06) rotate(-3deg); }
.card h3 { margin-bottom: 13px; transition: color 0.3s; }
.card:hover h3 { color: var(--blue); }
.card p { font-size: 0.96rem; line-height: 1.75; }
.section-dark .card { background: rgba(16,40,68,0.55); border-color: rgba(200,162,76,0.10); backdrop-filter: blur(8px); }
.section-dark .card:hover { background: rgba(16,40,68,0.8); border-color: rgba(200,162,76,0.25); box-shadow: 0 26px 70px rgba(0,0,0,0.45); }
.section-dark .card-icon { background: rgba(200,162,76,0.10); color: var(--gold-2); }
.section-dark .card:hover .card-icon { background: linear-gradient(140deg, var(--gold), var(--gold-2)); color: var(--navy); }
.section-dark .card:hover h3 { color: var(--gold-2); }

/* ---------- 12. TEAM ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr)); gap: 34px; }
.team-card { background: #fff; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-2); transition: var(--t); display: flex; flex-direction: column; }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--sh-l); border-color: rgba(200,162,76,0.2); }
.team-photo-wrap { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.team-photo-wrap::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(10,26,47,0.55), transparent 45%); opacity:0; transition: opacity 0.45s; }
.team-card:hover .team-photo-wrap::after { opacity: 1; }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.7s var(--exp); }
.team-card:hover .team-photo { transform: scale(1.05); }
.team-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 4rem; font-weight: 700; color: var(--gold-2); }
.team-info { padding: 30px 30px 36px; }
.team-name { font-size: 1.5rem; margin-bottom: 4px; }
.team-designation { color: var(--gold-deep); font-weight: 700; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.team-qualifications { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.team-badge { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.4px; padding: 5px 13px; border-radius: 100px; background: var(--gold-soft); color: var(--gold-deep); border: 1px solid rgba(200,162,76,0.22); }
.team-bio { font-size: 0.92rem; line-height: 1.72; margin-bottom: 14px; }
.team-roles { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.team-role-item { position: relative; padding-left: 22px; font-size: 0.86rem; color: var(--ink-2); line-height: 1.5; }
.team-role-item::before { content:''; position:absolute; left:0; top:8px; width:8px; height:8px; border-radius:50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

/* ---------- 13. EMPANELMENTS ---------- */
.empanel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px,1fr)); gap: 24px; }
.empanel-card { display: flex; align-items: center; gap: 20px; padding: 28px; background: #fff; border-radius: var(--r); border: 1px solid var(--line-2); position: relative; overflow: hidden; transition: var(--t); }
.empanel-card::before { content:''; position:absolute; left:0; top:0; width:3px; height:100%; background: linear-gradient(180deg, var(--green), var(--gold)); opacity:0; transition: opacity 0.3s; }
.empanel-card:hover { transform: translateY(-5px); box-shadow: var(--sh-m); border-color: rgba(46,139,87,0.22); }
.empanel-card:hover::before { opacity: 1; }
.empanel-icon { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--navy), var(--navy-3)); color: var(--gold-2); position: relative; transition: var(--t); }
.empanel-icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
.empanel-icon::after { content:''; position:absolute; inset:-3px; border-radius:50%; border:2px solid rgba(46,139,87,0.35); opacity:0; transition: opacity 0.3s; }
.empanel-card:hover .empanel-icon::after { opacity: 1; }
.empanel-card:hover .empanel-icon { transform: scale(1.05); }
.empanel-card h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.empanel-card p { font-size: 0.85rem; line-height: 1.5; }

/* ---------- 14. OFFICES ---------- */
.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 30px; }
.office-card { background: #fff; border-radius: var(--r-l); padding: 40px; border: 1px solid var(--line-2); position: relative; overflow: hidden; transition: var(--t); }
.office-card::after { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
.office-card:hover { transform: translateY(-8px); box-shadow: var(--sh-l); }
.office-label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.office-card h3 { margin-bottom: 20px; }
.office-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 0.94rem; color: var(--ink-2); line-height: 1.7; }
.office-detail svg { min-width: 18px; margin-top: 3px; color: var(--gold-deep); }

/* ---------- 15. SECTORS ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px,1fr)); gap: 18px; }
.sector-item { display: flex; align-items: center; gap: 14px; padding: 22px 22px; border-radius: var(--r); background: rgba(255,255,255,0.04); border: 1px solid rgba(200,162,76,0.10); transition: var(--t); }
.sector-item:hover { background: rgba(200,162,76,0.10); border-color: rgba(200,162,76,0.30); transform: translateY(-5px); }
.sector-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(200,162,76,0.12); color: var(--gold-2); }
.sector-icon svg { width: 21px; height: 21px; stroke-width: 1.7; }
.sector-name { font-size: 0.88rem; font-weight: 600; color: #fff; line-height: 1.3; }

/* ---------- 16. CTA BANNER ---------- */
.cta-banner {
  padding: clamp(70px, 9vw, 120px) 0; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,162,76,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.cta-banner::before { content:''; position:absolute; top:-60px; left:50%; transform:translateX(-50%); width:480px; height:480px; border:1px solid rgba(200,162,76,0.10); border-radius:50%; }
.cta-banner h2 { color: #fff; margin-bottom: 18px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.6); max-width: 600px; margin: 0 auto 36px; font-size: 1.05rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- 17. CONTACT FORM ---------- */
.contact-form { max-width: 640px; margin: 0 auto; background: #fff; padding: clamp(28px, 5vw, 50px); border-radius: var(--r-l); border: 1px solid var(--line-2); box-shadow: var(--sh-m); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--navy); margin-bottom: 9px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: 0.96rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; transition: var(--t); -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-3); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select {
  cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A98AB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* ---------- 18. FOOTER ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.62); padding: clamp(56px,7vw,84px) 0 0; position: relative; }
.footer::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); position: relative; transition: padding-left 0.3s var(--exp), color 0.3s; }
.footer-links a:hover { color: var(--gold-2); padding-left: 14px; }
.footer-links a::before { content:''; position:absolute; left:0; top:50%; width:8px; height:1px; background: var(--gold); opacity:0; transition: opacity 0.3s; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; line-height: 1.6; }
.footer-contact-item svg { min-width: 16px; margin-top: 4px; color: var(--gold); }
.footer-contact-item a:hover { color: var(--gold-2); }
.footer-bottom { padding: 26px 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ---------- 19. PAGE HEADER (inner pages) ---------- */
.page-header {
  padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 90px); text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 20% 20%, rgba(28,90,142,0.30), transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(200,162,76,0.10), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.page-header::before { content:''; position:absolute; top:30%; right:8%; width:200px; height:200px; border:1px solid rgba(200,162,76,0.10); border-radius:50%; }
.page-header h1 { color: #fff; margin-bottom: 16px; position: relative; }
.page-header p { color: rgba(255,255,255,0.6); max-width: 600px; margin: 0 auto; font-size: 1.08rem; position: relative; }
.page-header .section-line { margin-top: 28px; }

/* ---------- 20. WAVE DIVIDER ---------- */
.wave-divider { line-height: 0; margin-top: -1px; }
.wave-divider svg { width: 100%; height: clamp(40px, 6vw, 80px); display: block; }

/* ---------- 21. SERVICES PAGE ---------- */
.services-intro { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.services-intro p { font-size: 1.15rem; color: var(--ink-2); line-height: 1.85; }
.service-section { padding: clamp(56px,7vw,86px) 0; position: relative; }
.service-section:nth-child(even) { background: var(--cream); }
.service-section:nth-child(odd)  { background: #fff; }
.service-section .container { max-width: 1100px; }
.service-header { display: flex; align-items: flex-start; gap: 26px; margin-bottom: 34px; }
.service-icon { width: 74px; height: 74px; min-width: 74px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 10px 28px rgba(200,162,76,0.28); transition: var(--t); }
.service-icon svg { width: 34px; height: 34px; stroke-width: 1.6; }
.service-section:hover .service-icon { transform: scale(1.05) rotate(-3deg); }
.service-header-text h2 { color: var(--navy); font-size: clamp(1.6rem,3vw,2.3rem); margin-bottom: 12px; }
.service-header-text > p { font-size: 1.08rem; color: var(--ink-2); line-height: 1.75; max-width: 760px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 22px; margin-top: 40px; }
.service-item { display: flex; align-items: flex-start; gap: 16px; background: #fff; border-radius: var(--r); padding: 26px 24px; border: 1px solid var(--line-2); transition: var(--t); }
.service-section:nth-child(odd) .service-item { background: var(--cream); }
.service-item:hover { transform: translateY(-5px); box-shadow: var(--sh-m); border-color: rgba(200,162,76,0.3); }
.service-item-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold-deep); transition: var(--t); }
.service-item-icon svg { width: 22px; height: 22px; stroke-width: 1.7; }
.service-item:hover .service-item-icon { background: var(--gold); color: var(--navy); transform: scale(1.06); }
.service-item h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.service-item p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.62; }
.service-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); margin-top: 16px; border-radius: 2px; }
.service-highlight { margin-top: 44px; padding: clamp(28px,4vw,46px); border-radius: var(--r-l); position: relative; overflow: hidden; color: #fff; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-3) 100%); }
.service-highlight::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 18% 50%, rgba(200,162,76,0.12), transparent 60%); }
.service-highlight h4 { font-family: var(--serif); color: var(--gold-2); font-size: 1.3rem; margin-bottom: 14px; position: relative; }
.service-highlight p { color: rgba(255,255,255,0.78); line-height: 1.78; position: relative; }
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; }
.service-tag { padding: 6px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 600; background: rgba(200,162,76,0.14); color: var(--gold-2); border: 1px solid rgba(200,162,76,0.2); }

/* ---------- 22. CAREERS PAGE ---------- */
.careers-intro { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.careers-intro p { font-size: 1.15rem; color: var(--ink-2); line-height: 1.85; }
.why-join { max-width: 980px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 24px; margin-top: 44px; }
.why-item { text-align: center; padding: 34px 24px; background: #fff; border-radius: var(--r); border: 1px solid var(--line-2); transition: var(--t); }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--sh-m); border-color: rgba(200,162,76,0.25); }
.why-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold-deep); }
.why-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.why-item h4 { color: var(--navy); margin-bottom: 8px; font-size: 1.08rem; }
.why-item p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }
.job-cards { display: grid; gap: 30px; max-width: 920px; margin: 0 auto; }
.job-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-l); padding: clamp(28px,4vw,42px); position: relative; overflow: hidden; transition: var(--t); }
.job-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.job-card:hover { transform: translateY(-5px); box-shadow: var(--sh-l); border-color: rgba(200,162,76,0.22); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.job-title { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); }
.job-type { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); padding: 7px 17px; border-radius: 100px; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.job-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
.job-meta-item { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 0.92rem; }
.job-meta-item svg { color: var(--gold-deep); min-width: 18px; }
.job-description { color: var(--ink-2); line-height: 1.75; margin-bottom: 24px; }
.job-section-title { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: 0.95rem; margin: 22px 0 12px; }
.job-list { display: flex; flex-direction: column; gap: 8px; }
.job-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-2); font-size: 0.94rem; line-height: 1.6; }
.job-list li::before { content:''; width:7px; height:7px; min-width:7px; margin-top:8px; border-radius:50%; background: var(--gold); }
.job-apply { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.job-apply-text { color: var(--ink-2); font-size: 0.92rem; }
.job-apply-text a { color: var(--gold-deep); font-weight: 700; }
.job-apply-text a:hover { text-decoration: underline; }

/* ---------- 23. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--exp), transform 0.9s var(--exp); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-left.revealed, .reveal-right.revealed { transform: translateX(0); }
.reveal-delay-1.revealed { transition-delay: 0.1s; }
.reveal-delay-2.revealed { transition-delay: 0.2s; }
.reveal-delay-3.revealed { transition-delay: 0.3s; }
.reveal-delay-4.revealed { transition-delay: 0.4s; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); z-index: 1200; }

/* ---------- 24. RESPONSIVE ---------- */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
  .service-header { flex-direction: column; gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .nav-logo-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-header { flex-direction: column; }
}
@media (max-width: 540px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .nav-logo-main { font-size: 1.15rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- 25. ACCESSIBILITY ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 26. PRINT ---------- */
@media print {
  .navbar, .mobile-menu, .preloader, .hamburger, .scroll-indicator, .hero-shapes, .scroll-progress, .cta-banner { display: none !important; }
  body { color: #000; }
  .section, .service-section { padding: 20px 0; }
}
