/* ============================================================
   Indian Equity Network – N.S. Fidai  |  SEBI RA: INH000024930
   WCAG 2.1 AA / IAAP Compliant Stylesheet
   ============================================================ */

/* ---------- 1. CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 2. CSS Custom Properties ---------- */
:root {
  --primary:       #1A237E;
  --primary-mid:   #283593;
  --primary-light: #3F51B5;
  --primary-pale:  #E8EAF6;
  --gold:          #92690A;
  --gold-bright:   #C49A14;
  --gold-pale:     #FFF8DC;
  --dark:          #0D0D2B;
  --text:          #111827;
  --text-muted:    #475569;
  --bg:            #FFFFFF;
  --bg-alt:        #F4F6F9;
  --bg-section:    #EEF0F7;
  --border:        #CDD0DA;
  --success:       #15803D;
  --success-bg:    #DCFCE7;
  --warning:       #92400E;
  --warning-bg:    #FEF3C7;
  --error:         #B91C1C;
  --error-bg:      #FEE2E2;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.10);
  --shadow-md:     0 4px 12px rgba(0,0,0,.14);
  --shadow-lg:     0 8px 28px rgba(0,0,0,.18);
  --radius:        8px;
  --radius-lg:     14px;
  --focus-color:   #0052CC;
  --focus-width:   3px;
  --header-h:      72px;
  --font-scale:    1rem;
  --transition:    0.3s ease;
}

/* ---------- 3. Skip Link (WCAG 2.4.1) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  z-index: 99999;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; outline: var(--focus-width) solid var(--gold-bright); }

/* ---------- 4. Accessibility Toolbar (top bar) ---------- */
#a11y-toolbar {
  background: #F8FAFC;
  color: #111827;
  border-bottom: 1px solid #E2E8F0;
  padding: 0 1rem;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  position: sticky;
  top: 0;
  z-index: 9999;
  flex-wrap: wrap;
}
#a11y-toolbar .a11y-toolbar-inner {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
#a11y-toolbar .gtranslate_wrapper select {
  background: #fff; color: #111827; border: 1px solid #CBD5E1;
  border-radius: 4px; padding: 2px 6px; font-size: .78rem; height: 26px;
}
.a11y-btn {
  background: #fff;
  color: #1A237E;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: .78rem;
  font-weight: 600;
  min-height: 26px;
  min-width: 26px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.a11y-btn:hover, .a11y-btn:focus { background: var(--primary); color: #fff; border-color: var(--primary); }
.a11y-btn:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.a11y-btn.active { background: var(--primary); color: #fff; font-weight: 700; border-color: var(--primary); }
.a11y-sep { color: #CBD5E1; margin: 0 4px; }

/* ---------- 5. Floating Accessibility Widget ---------- */
#a11y-widget {
  position: fixed;
  left: 0;
  top: calc(50% - 25px);  /* no transform — preserving fixed context for child panel */
  z-index: 99998;
}
#a11y-trigger-btn {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
  border: 2px solid transparent;
}
#a11y-trigger-btn:hover, #a11y-trigger-btn:focus {
  background: var(--gold); color: #000;
  transform: scale(1.08);
  outline: none; border-color: var(--gold-bright);
}
#a11y-trigger-btn:focus { outline: var(--focus-width) solid var(--gold-bright); }
#a11y-panel {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 320px;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0,0,0,.22);
  overflow-y: auto;
  z-index: 99999;
  padding: 1.5rem 1.25rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  border-right: 3px solid var(--primary);
}
#a11y-panel.open { transform: translateX(0); }
#a11y-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--primary-pale);
}
#a11y-panel-header h2 {
  font-size: 1rem; color: var(--primary); margin: 0;
  display: flex; align-items: center; gap: .5rem;
}
#a11y-close-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-alt);
  font-size: 1.1rem; color: var(--text);
  transition: background var(--transition);
}
#a11y-close-btn:hover { background: var(--error-bg); color: var(--error); }
#a11y-close-btn:focus { outline: var(--focus-width) solid var(--focus-color); }
.a11y-section-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
  margin: 1rem 0 .5rem; display: block;
}
.a11y-profile-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem; margin-bottom: .5rem;
}
.a11y-profile-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .3rem; padding: .65rem .4rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--text);
  font-size: .72rem; font-weight: 600; text-align: center;
  transition: all var(--transition); line-height: 1.3;
  min-height: 68px;
}
.a11y-profile-btn i { font-size: 1.3rem; color: var(--primary-light); }
.a11y-profile-btn:hover { border-color: var(--primary); background: var(--primary-pale); }
.a11y-profile-btn.active {
  border-color: var(--primary); background: var(--primary);
  color: #fff;
}
.a11y-profile-btn.active i { color: var(--gold-bright); }
.a11y-profile-btn:focus { outline: var(--focus-width) solid var(--focus-color); }
.a11y-control-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem 0; border-bottom: 1px solid var(--bg-alt);
}
.a11y-control-label {
  font-size: .8rem; color: var(--text); display: flex; align-items: center; gap: .4rem;
}
.a11y-control-label i { color: var(--primary-light); width: 16px; text-align: center; }
.a11y-toggle-btn {
  position: relative; width: 44px; height: 24px;
  background: var(--border); border-radius: 12px;
  transition: background var(--transition); border: none;
  flex-shrink: 0;
}
.a11y-toggle-btn::after {
  content:''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: left var(--transition), background var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.a11y-toggle-btn.on { background: var(--primary); }
.a11y-toggle-btn.on::after { left: 23px; }
.a11y-toggle-btn:focus { outline: var(--focus-width) solid var(--focus-color); }
.a11y-size-controls {
  display: flex; align-items: center; gap: .4rem;
}
.a11y-size-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: var(--text);
  transition: all var(--transition);
}
.a11y-size-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.a11y-size-btn:focus { outline: var(--focus-width) solid var(--focus-color); }
.a11y-size-display {
  font-size: .78rem; font-weight: 600; color: var(--primary);
  min-width: 36px; text-align: center;
}
#a11y-reset-btn {
  width: 100%; margin-top: 1rem;
  background: var(--bg-alt); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .55rem; font-size: .82rem; font-weight: 600;
  transition: all var(--transition);
}
#a11y-reset-btn:hover { background: var(--error-bg); color: var(--error); border-color: var(--error); }
#a11y-reset-btn:focus { outline: var(--focus-width) solid var(--focus-color); }
/* WCAG badge */
.wcag-badge {
  display: flex; align-items: center; gap: .35rem; margin-top: .75rem;
  padding: .4rem .6rem; background: var(--success-bg); border-radius: var(--radius);
  font-size: .7rem; color: var(--success); font-weight: 600;
}
/* Reading Guide */
#reading-guide {
  display: none; position: fixed; left: 0; right: 0;
  height: 26px; background: rgba(255,215,0,.28);
  border-top: 2px solid rgba(180,140,0,.5);
  border-bottom: 2px solid rgba(180,140,0,.5);
  pointer-events: none; z-index: 99990;
}

/* ---------- 6. Accessibility Profile Body Classes ---------- */
/* Seizure Safe */
body.seizure-safe *, body.seizure-safe *::before, body.seizure-safe *::after {
  animation: none !important;
  transition: none !important;
  animation-play-state: paused !important;
}
body.seizure-safe .preloader { display: none !important; }

/* Vision Impaired */
body.vision-impaired {
  --font-scale: 1.15rem;
  filter: contrast(1.1);
}
body.vision-impaired * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='6' cy='6' r='5' fill='%23002855' stroke='white' stroke-width='2'/%3E%3Cline x1='6' y1='11' x2='6' y2='28' stroke='%23002855' stroke-width='3'/%3E%3Cline x1='2' y1='18' x2='10' y2='18' stroke='%23002855' stroke-width='3'/%3E%3C/svg%3E") 6 0, auto !important; }
body.vision-impaired p, body.vision-impaired li, body.vision-impaired td { font-size: 1.1em; line-height: 1.9; }
body.vision-impaired a { text-decoration: underline; text-underline-offset: 4px; }

/* Blind Users */
body.blind-users {
  background: #000 !important;
  color: #fff !important;
}
body.blind-users * { background-color: transparent !important; color: #fff !important; }
body.blind-users a { color: #FFD700 !important; text-decoration: underline !important; }
body.blind-users h1, body.blind-users h2, body.blind-users h3,
body.blind-users h4, body.blind-users h5, body.blind-users h6 { color: #FFD700 !important; }
body.blind-users img { border: 2px solid #fff; }
body.blind-users button, body.blind-users .btn {
  background: #FFD700 !important; color: #000 !important; border: 2px solid #fff !important;
}
body.blind-users *:focus { outline: 4px solid #FFD700 !important; outline-offset: 3px !important; }
body.blind-users #a11y-toolbar { background: #000 !important; border-bottom: 2px solid #FFD700; }

/* ADHD Friendly */
body.adhd-friendly #reading-guide { display: block; }
body.adhd-friendly p { line-height: 1.95; }
body.adhd-friendly a:hover { background: rgba(255,215,0,.35); }
body.adhd-friendly * { animation: none !important; transition: none !important; }
body.adhd-friendly .preloader { display: none !important; }

/* Cognitive Disability */
body.cognitive-disability p,
body.cognitive-disability li { font-size: 1.1em; line-height: 2; letter-spacing: .02em; }
body.cognitive-disability h1, body.cognitive-disability h2,
body.cognitive-disability h3 { letter-spacing: .01em; }
body.cognitive-disability section { padding: 4.5rem 0; }

/* High Contrast */
body.high-contrast {
  background: #000 !important; color: #ffff00 !important;
}
body.high-contrast * { color: #ffff00 !important; background: transparent !important; }
body.high-contrast a { color: #00ffff !important; }
body.high-contrast button, body.high-contrast .btn {
  background: #ffff00 !important; color: #000 !important; border: 2px solid #fff !important;
}
body.high-contrast *:focus { outline: 3px solid #fff !important; }
body.high-contrast header, body.high-contrast #site-header,
body.high-contrast #a11y-toolbar { background: #000 !important; border-bottom: 2px solid #ffff00 !important; color: #ffff00 !important; }
body.high-contrast .card, body.high-contrast .service-card { border: 2px solid #ffff00 !important; }

/* Dark Mode */
body.dark-mode {
  --bg: #121212; --bg-alt: #1E1E1E; --bg-section: #1A1A2E;
  --text: #E0E0E0; --text-muted: #A0A0B0;
  --border: #333355; --primary-pale: #1a1a3e;
}
body.dark-mode #site-header { background: #0D0D2B; }
body.dark-mode .card, body.dark-mode .service-card { background: #1E1E30; }
body.dark-mode .section-alt { background: #1A1A2E; }

/* Large Cursor */
body.large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='8' cy='8' r='7' fill='%231A237E' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 8 8, auto !important;
}

/* Focus Highlight */
body.focus-highlight *:focus {
  outline: 4px solid #FFB300 !important;
  outline-offset: 3px !important;
  background: rgba(255,179,0,.1) !important;
}

/* ---------- 7. Typography ---------- */
body {
  font-family: 'Poppins', sans-serif;
  font-size: var(--font-scale, 1rem);
  color: #111827;
  background: var(--bg);
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; color: var(--primary); line-height: 1.3;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: #374151; }
p:last-child { margin-bottom: 0; }
a { color: #1565C0; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: color var(--transition); }
a:hover { color: var(--gold); }
a:focus { outline: var(--focus-width) solid var(--focus-color); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 700; color: var(--text); }
small { font-size: .82rem; }
.text-gold { color: var(--gold-bright); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ---------- 8. Layout & Container ---------- */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #fff; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header .lead { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-divider {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin: .75rem auto 1.75rem;
}
.section-divider span {
  width: 50px; height: 3px; background: var(--gold-bright); border-radius: 3px; display: block;
}
.section-divider .dot {
  width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: block;
}
.row { display: flex; flex-wrap: wrap; margin: 0 -.75rem; }
.col { flex: 1; padding: 0 .75rem; }
.col-2 { flex: 0 0 calc(50% - 1.5rem); padding: 0 .75rem; }
.col-3 { flex: 0 0 calc(33.333% - 1.5rem); padding: 0 .75rem; }
.col-4 { flex: 0 0 calc(25% - 1.5rem); padding: 0 .75rem; }

/* ---------- 9. Focus Styles (WCAG 2.4.7) ---------- */
*:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- 10. Header & Navigation ---------- */
#site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 42px;
  z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.site-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.logo-icon {
  width: 46px; height: 46px; background: var(--primary);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); font-size: 1.3rem; flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem; font-weight: 800; color: var(--primary); display: block;
}
.logo-tagline { font-size: .7rem; color: var(--text-muted); letter-spacing: .04em; display: block; }
.main-nav { display: flex; align-items: center; gap: .2rem; }
.nav-link {
  padding: .5rem .75rem; font-size: .88rem; font-weight: 600;
  color: #111827; text-decoration: none; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-pale); }
.nav-link:focus { outline: var(--focus-width) solid var(--focus-color); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; min-width: 240px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: .5rem;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
  z-index: 500;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem; font-size: .83rem; font-weight: 500;
  color: var(--text); text-decoration: none; border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item i { width: 16px; color: var(--primary-light); flex-shrink: 0; }
.dropdown-item:hover { background: var(--primary-pale); color: var(--primary); }
.dropdown-item:focus { outline: 2px solid var(--focus-color); outline-offset: -2px; }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: .5rem 1.1rem; border-radius: 20px;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex; align-items: center; gap: .4rem;
}
.nav-cta:hover { background: var(--gold); color: #000 !important; transform: translateY(-1px); }
.nav-cta:focus { outline: var(--focus-width) solid var(--focus-color); }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; border-radius: var(--radius);
  background: var(--bg-alt); width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all .3s; display: block; }

/* ---------- 11. SEBI Registration Badge ---------- */
.sebi-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--primary-pale); color: var(--primary);
  padding: .35rem .8rem; border-radius: 20px;
  font-size: .78rem; font-weight: 700; border: 1.5px solid var(--primary-light);
  letter-spacing: .02em;
}
.sebi-badge i { color: var(--gold-bright); }

/* ---------- 12. Hero Section ---------- */
#hero {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 60%, #F0F4FF 100%);
  color: var(--text); padding: 6rem 0 5rem; position: relative; overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(63,81,181,.06) 0%, transparent 65%);
}
#hero::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner { position: relative; display: flex; align-items: center; gap: 3rem; }
.hero-content { flex: 1; }
.hero-eyebrow {
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.hero-eyebrow .sebi-badge { background: var(--primary-pale); color: var(--primary); border-color: var(--primary-light); }
.hero-title {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 1rem;
}
.hero-title .name-highlight { color: var(--gold); display: block; }
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: #374151; margin-bottom: 2rem;
  max-width: 520px; line-height: 1.75; font-weight: 400;
}
.hero-expertise {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem;
}
.expertise-tag {
  background: var(--primary-pale); color: var(--primary);
  padding: .3rem .8rem; border-radius: 20px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--primary-light);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--primary); color: #fff;
  padding: .75rem 1.75rem; border-radius: 25px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: all var(--transition); display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid var(--primary);
}
.btn-hero-primary:hover { background: var(--primary-mid); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-hero-primary:focus { outline: var(--focus-width) solid var(--focus-color); outline-offset: 3px; }
.btn-hero-outline {
  background: transparent; color: var(--primary);
  padding: .73rem 1.75rem; border-radius: 25px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 2px solid var(--primary);
  transition: all var(--transition); display: inline-flex; align-items: center; gap: .5rem;
}
.btn-hero-outline:hover { background: var(--primary); color: #fff; }
.btn-hero-outline:focus { outline: var(--focus-width) solid var(--focus-color); outline-offset: 3px; }
.hero-avatar-wrap { flex-shrink: 0; }
.hero-avatar {
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--primary-pale);
  border: 4px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 5rem; font-weight: 800; color: var(--primary);
  box-shadow: var(--shadow-lg);
  position: relative;
  flex-shrink: 0;
}
.hero-avatar::after {
  content: 'SEBI RA'; position: absolute;
  bottom: 12px; background: var(--primary); color: #fff;
  padding: 3px 12px; border-radius: 12px; font-size: .68rem; font-weight: 800;
  letter-spacing: .05em;
}
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--primary); display: block;
}
.hero-stat-label { font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; font-weight: 500; }

/* ---------- 13. About Section ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-placeholder {
  font-family: 'Quicksand', sans-serif;
  font-size: 7rem; font-weight: 800; color: rgba(26,35,126,.2);
  user-select: none;
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -15px;
  background: var(--gold-bright); color: #000;
  border-radius: var(--radius-lg); padding: 1rem 1.25rem;
  text-align: center; box-shadow: var(--shadow-md);
}
.about-img-badge .badge-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem; font-weight: 800; display: block; line-height: 1;
}
.about-img-badge .badge-label { font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.about-content .eyebrow {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gold-bright); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .5rem;
}
.about-content .eyebrow::after {
  content: ''; flex: 1; max-width: 40px; height: 2px; background: var(--gold-bright);
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-feature { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.about-feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.about-feature-text h4 { font-size: .95rem; margin-bottom: .2rem; }
.about-feature-text p { font-size: .88rem; margin: 0; color: #374151; }

/* ---------- 14. Services Section ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.75rem; }
.service-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; border: 1.5px solid var(--border);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold-bright));
}
.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .65rem; }
.service-card p { font-size: .9rem; margin: 0; color: #374151; }
.service-badge {
  display: inline-block; margin-top: 1rem;
  padding: .2rem .65rem; border-radius: 12px;
  font-size: .7rem; font-weight: 700;
  background: var(--primary-pale); color: var(--primary);
}

/* ---------- 15. Stats / Numbers Section ---------- */
.stats-section { background: var(--bg-section); color: var(--text); padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.stat-card { text-align: center; padding: 1.5rem 1rem; }
.stat-card .stat-num {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800;
  color: var(--primary); display: block; line-height: 1.1;
}
.stat-card .stat-suffix { font-size: 1.5rem; }
.stat-card .stat-label { font-size: .82rem; color: var(--text-muted); margin-top: .35rem; font-weight: 500; }
.stat-card .stat-icon {
  width: 50px; height: 50px; margin: 0 auto .75rem;
  background: var(--primary-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary);
}

/* ---------- 16. Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.why-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.75rem; border: 1.5px solid var(--border);
  display: flex; gap: 1rem; align-items: flex-start;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.why-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Quicksand', sans-serif; font-size: 1rem; font-weight: 800; flex-shrink: 0;
}
.why-text h4 { font-size: 1rem; margin-bottom: .35rem; }
.why-text p { font-size: .85rem; margin: 0; }

/* ---------- 17. SEBI Compliance Banner ---------- */
.compliance-banner {
  background: var(--primary-pale);
  border-radius: var(--radius-lg); padding: 2.5rem;
  border: 1.5px solid var(--primary-light);
  border-left: 5px solid var(--primary);
  color: var(--text); position: relative; overflow: hidden;
}
.compliance-banner::after {
  content: '⚖'; position: absolute; right: 2rem; top: 50%;
  transform: translateY(-50%); font-size: 6rem;
  opacity: .05; pointer-events: none; color: var(--primary);
}
.compliance-banner h3 { color: var(--primary); margin-bottom: 1rem; }
.compliance-banner p { color: #374151; font-size: .88rem; margin-bottom: .5rem; }
.compliance-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.compliance-link-btn {
  background: #fff; color: var(--primary);
  padding: .4rem 1rem; border-radius: 20px;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--primary-light);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: .4rem;
}
.compliance-link-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.compliance-link-btn:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- 18. Contact Section ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-info { }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item h4 { font-size: .9rem; margin-bottom: .25rem; }
.contact-item p, .contact-item a { font-size: .88rem; margin: 0; color: var(--text-muted); }
.contact-form-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.25rem; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--text); margin-bottom: .4rem;
}
.form-label .required { color: var(--error); margin-left: 2px; }
.form-input {
  width: 100%; padding: .65rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; color: var(--text); background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,35,126,.12);
  outline: none;
}
.form-input.error { border-color: var(--error); }
.form-error-msg { font-size: .78rem; color: var(--error); margin-top: .3rem; display: block; }
.form-input::placeholder { color: #aaa; }
textarea.form-input { min-height: 130px; resize: vertical; }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff;
  padding: .75rem 2rem; border-radius: 25px;
  font-size: .95rem; font-weight: 700; border: none;
  transition: all var(--transition); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn-submit:hover { background: var(--gold-bright); color: #000; transform: translateY(-2px); }
.btn-submit:focus { outline: var(--focus-width) solid var(--focus-color); }
.form-status {
  padding: .75rem 1rem; border-radius: var(--radius);
  font-size: .88rem; margin-top: 1rem; display: none;
}
.form-status.success { background: var(--success-bg); color: var(--success); display: block; }
.form-status.error-msg { background: var(--error-bg); color: var(--error); display: block; }

/* ---------- 19. Footer ---------- */
#site-footer {
  background: var(--dark); color: #fff;
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand .logo-name { color: #fff; }
.footer-brand p { font-size: .82rem; color: #fff; line-height: 1.7; }
.footer-sebi-info { margin-top: 1rem; }
.footer-sebi-item {
  font-size: .78rem; color: #fff;
  display: flex; align-items: center; gap: .4rem; margin-bottom: .3rem;
}
.footer-sebi-item i { color: var(--gold-bright); width: 14px; }
.footer-col h4 {
  font-size: .85rem; font-weight: 700; color: #fff;
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: .5rem; border-bottom: 2px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a {
  font-size: .82rem; color: #fff;
  text-decoration: none; display: flex; align-items: center; gap: .4rem;
  transition: color var(--transition); padding: 2px 0;
}
.footer-col ul li a i { color: var(--primary-light); width: 14px; font-size: .75rem; }
.footer-col ul li a:hover { color: var(--gold-bright); }
.footer-col ul li a:focus { outline: 2px solid var(--gold-bright); outline-offset: 2px; border-radius: 2px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .75rem; font-size: .82rem; color: #fff;
}
.footer-contact-item i { color: var(--gold-bright); width: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: #fff; text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold-bright); }
.footer-disclaimer {
  background: rgba(0,0,0,.3); padding: 1.5rem; border-radius: var(--radius);
  margin-bottom: 1.5rem; border-left: 4px solid var(--gold-bright);
}
.footer-disclaimer p {
  font-size: .78rem; color: #fff;
  margin-bottom: .5rem; line-height: 1.7;
}
.footer-disclaimer p:last-child { margin: 0; }
.footer-disclaimer strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer-copy { font-size: .78rem; color: #fff; font-weight: 400; }
.footer-links-bottom { display: flex; gap: 1rem; }
.footer-links-bottom a {
  font-size: .75rem; color: #fff;
  text-decoration: none; transition: color var(--transition);
}
.footer-links-bottom a:hover { color: var(--gold-bright); }
.footer-links-bottom a:focus { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.social-links { display: flex; gap: .5rem; margin-top: .75rem; }
.social-link {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold-bright); color: #000; transform: translateY(-2px); }
.social-link:focus { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* ---------- 20. Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem 1.5rem; border-radius: 25px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-primary:focus { outline: var(--focus-width) solid var(--focus-color); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-gold { background: var(--gold-bright); color: #000; }
.btn-gold:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }
.btn-lg { padding: .85rem 2.25rem; font-size: 1rem; }

/* ---------- 21. Cards (Generic) ---------- */
.card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }

/* ---------- 22. Tables (Compliance & Logstatus) ---------- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
table caption { font-size: .85rem; font-weight: 600; padding: .75rem; text-align: left; color: var(--text-muted); }
th { background: var(--primary); color: #fff; padding: .75rem 1rem; text-align: left; font-size: .82rem; font-weight: 700; }
td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
tr:nth-child(even) td { background: var(--bg-alt); }
tr:hover td { background: var(--primary-pale); }
tr:focus-within td { background: var(--primary-pale); }
.badge-resolved { background: var(--success-bg); color: var(--success); padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: 600; }
.badge-pending { background: var(--warning-bg); color: var(--warning); padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: 600; }
.badge-received { background: var(--info-bg, #DBEAFE); color: var(--info, #1E40AF); padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: 600; }

/* ---------- 23. Page Header (Inner Pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0F4FF 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text); padding: 3.5rem 0 3rem; text-align: center;
}
.page-hero h1 { color: var(--primary); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.page-hero p { color: #374151; font-size: .95rem; max-width: 600px; margin: 0 auto; font-weight: 400; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--primary); font-size: .82rem; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb a:focus { outline: 2px solid var(--primary); }
.breadcrumb span { color: var(--text-muted); font-size: .78rem; }

/* ---------- 24. Policy Page Content ---------- */
.policy-content { max-width: 860px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.policy-content h2 { font-size: 1.35rem; color: var(--primary); margin: 2.5rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.policy-content h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.policy-content h3 { font-size: 1.1rem; color: var(--primary-mid); margin: 1.5rem 0 .5rem; }
.policy-content ul, .policy-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }
.policy-content li { margin-bottom: .5rem; font-size: .92rem; color: #374151; line-height: 1.8; }
.policy-content p { font-size: .92rem; color: #374151; }
.info-box {
  background: var(--primary-pale); border-radius: var(--radius); padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary); margin: 1.5rem 0;
}
.info-box p { font-size: .85rem; margin: 0; color: var(--primary-mid); font-weight: 500; }
.warning-box {
  background: var(--warning-bg); border-left: 4px solid var(--warning);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.warning-box p { color: var(--warning); font-size: .85rem; margin: 0; font-weight: 500; }
.last-updated { font-size: .78rem; color: var(--text-muted); font-style: italic; margin-bottom: 2rem; }

/* ---------- 25. Admin Panel (logstatus) ---------- */
.admin-login-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 99999;
  align-items: center; justify-content: center;
}
.admin-login-modal.open { display: flex; }
.admin-login-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem; width: 360px; max-width: 90vw;
  box-shadow: var(--shadow-lg);
}
.admin-login-box h3 { color: var(--primary); margin-bottom: 1.5rem; text-align: center; }
.admin-panel-bar {
  background: var(--primary); color: #fff; padding: 1rem 0;
  display: none; position: sticky; top: calc(42px + var(--header-h)); z-index: 100;
}
.admin-panel-bar.active { display: block; }
.admin-panel-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-info { font-size: .78rem; color: #fff; font-weight: 400; }
.btn-admin-add {
  background: var(--gold-bright); color: #000; padding: .45rem 1.1rem;
  border-radius: 20px; font-size: .82rem; font-weight: 700; border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-admin-add:hover { background: #fff; transform: scale(1.03); }
.btn-admin-add:focus { outline: 2px solid #fff; outline-offset: 2px; }
.btn-admin-logout {
  background: rgba(255,255,255,.1); color: #fff; padding: .45rem 1rem;
  border-radius: 20px; font-size: .82rem; border: 1px solid rgba(255,255,255,.3); cursor: pointer;
}
.btn-admin-logout:hover { background: var(--error); border-color: var(--error); }
.add-record-form {
  background: var(--primary-pale); border-radius: var(--radius-lg);
  padding: 2rem; margin: 2rem 0; display: none; border: 1.5px solid var(--primary-light);
}
.add-record-form.open { display: block; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.action-btn {
  padding: 4px 10px; border-radius: 6px; font-size: .75rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s;
}
.btn-edit { background: var(--info-bg, #DBEAFE); color: var(--info, #1E40AF); }
.btn-edit:hover { background: var(--info, #1E40AF); color: #fff; }
.btn-delete { background: var(--error-bg); color: var(--error); }
.btn-delete:hover { background: var(--error); color: #fff; }

/* ---------- 26. Back to Top ---------- */
#back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-md);
  text-decoration: none; opacity: 0; pointer-events: none;
  transition: all var(--transition); z-index: 500;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--gold-bright); color: #000; transform: translateY(-3px); }
#back-to-top:focus { outline: var(--focus-width) solid var(--focus-color); }

/* ---------- 27. Notification / Toast ---------- */
#toast {
  position: fixed; bottom: 5rem; right: 1.5rem;
  background: #333; color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius); font-size: .85rem;
  opacity: 0; transform: translateY(10px);
  transition: all .3s; pointer-events: none; z-index: 9000;
  max-width: 280px;
}
#toast.show { opacity: 1; transform: translateY(0); }
#toast.success { background: var(--success); }
#toast.error { background: var(--error); }

/* ---------- 28. Print Styles (WCAG 1.4.13) ---------- */
@media print {
  #a11y-toolbar, #a11y-widget, #site-header nav, #back-to-top, .hero-actions,
  .admin-panel-bar, .btn-admin-add, .btn-admin-logout, .menu-toggle,
  .skip-link { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; }
  h1, h2, h3, h4 { color: #000; page-break-after: avoid; }
  .page-hero { background: #fff; color: #000; padding: 1rem 0; }
  .page-hero h1 { color: #000; }
  section { padding: 1rem 0; }
  table { border: 1px solid #000; }
  th { background: #eee; color: #000; }
  .footer-disclaimer { border: 1px solid #ccc; background: #f9f9f9; }
}

/* ---------- 29. Responsive (Mobile First) ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: calc(var(--header-h) + 42px);
    left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem; box-shadow: var(--shadow-lg); z-index: 998;
    border-top: 2px solid var(--primary);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: .65rem 1rem; border-radius: var(--radius); }
  .dropdown-menu { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: none; background: var(--bg-alt); padding-left: 1rem; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-avatar-wrap { order: -1; }
  .hero-avatar { width: 200px; height: 200px; font-size: 3.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-expertise { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  #a11y-toolbar { height: auto; padding: .4rem .75rem; }
  .compliance-links { flex-direction: column; }
}
@media (max-width: 480px) {
  section { padding: 3.5rem 0; }
  .hero-avatar { width: 160px; height: 160px; font-size: 3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .a11y-profile-grid { grid-template-columns: 1fr; }
  #a11y-panel { width: 90vw; }
  .col-3 { flex: 0 0 100%; }
}

/* ---------- 30. Photo / Image Enhancements ---------- */
.hero-avatar img {
  transition: transform 0.4s ease;
}
.hero-avatar:hover img { transform: scale(1.03); }
.about-img-card img {
  transition: transform 0.5s ease;
}
.about-img-card:hover img { transform: scale(1.04); }
/* Ensure about-img-badge stays visible over image */
.about-im