/* ==========================================================================
   Dr. M.S. Mathivanan - Executive Portfolio Design System
   Aesthetic: Sovereign Academic & Diplomatic Luxury (Light Executive Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Root Variables: Executive Diplomat Light Theme (Default) --- */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Executive Light Palette */
  --bg-base: #f8fafd;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-input: #f8fafc;

  /* Warm Royal Gold & Accoutrements */
  --gold-primary: #b38827;
  --gold-light: #d4af37;
  --gold-dark: #8c6712;
  --gold-glow: rgba(179, 136, 39, 0.12);
  --gold-border: rgba(179, 136, 39, 0.24);
  --gold-border-strong: rgba(179, 136, 39, 0.5);

  /* Royal Navy & High Contrast Text Spectrum */
  --text-pure: #0b1a30;
  --text-high: #1e293b;
  --text-medium: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Highlights & Elevation */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(179, 136, 39, 0.2);
  --shadow-ambient: 0 12px 32px -4px rgba(11, 26, 48, 0.06), 0 4px 12px -2px rgba(11, 26, 48, 0.03);
  --shadow-hover: 0 20px 40px -8px rgba(11, 26, 48, 0.12), 0 6px 16px -2px rgba(179, 136, 39, 0.15);
  --shadow-gold: 0 10px 25px -5px rgba(179, 136, 39, 0.22);

  /* Nav & Layout */
  --nav-height: 80px;
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Optional Sovereign Dark Theme (Toggled) --- */
html[data-theme="dark"] {
  --bg-base: #070d1e;
  --bg-surface: #0d1730;
  --bg-card: rgba(16, 28, 58, 0.75);
  --bg-card-hover: rgba(22, 38, 76, 0.85);
  --bg-glass: rgba(12, 21, 43, 0.7);
  --bg-input: rgba(255, 255, 255, 0.06);

  --gold-primary: #d4af37;
  --gold-light: #f3cf65;
  --gold-dark: #aa8620;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.25);
  --gold-border-strong: rgba(212, 175, 55, 0.55);

  --text-pure: #ffffff;
  --text-high: #f1f5f9;
  --text-medium: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(212, 175, 55, 0.2);
  --shadow-ambient: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 24px 50px -12px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.2);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   Global Reset & Base Foundation
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-high);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Luminous Ambient Background Glows */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 10% 12%, rgba(212, 175, 55, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(30, 64, 175, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

html[data-theme="dark"] .ambient-bg {
  background: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(26, 60, 140, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-pure);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: capitalize;
}

p {
  color: var(--text-medium);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--gold-primary);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

/* Gold Shimmer Text */
.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Navigation Bar (Glassmorphic & Crisp)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: var(--bg-surface);
  box-shadow: var(--shadow-ambient);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand-monogram {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.crest-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #e6c875, #b38827);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1a30;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(179, 136, 39, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.brand-text h1 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text-pure);
  white-space: nowrap;
}

.brand-text p {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: capitalize;
  color: var(--gold-primary);
  font-weight: 700;
  white-space: nowrap;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.35vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  font-size: clamp(0.82rem, 0.92vw, 0.9rem);
  font-weight: 600;
  color: var(--text-medium);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.4rem 0.35rem;
  white-space: nowrap;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--gold-glow);
  border-color: var(--gold-primary);
  transform: rotate(15deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b38827 70%, #8c6712 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(179, 136, 39, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(179, 136, 39, 0.45);
}

.btn-outline-gold {
  background: var(--bg-surface);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-outline-gold:hover {
  background: var(--gold-glow);
  color: var(--gold-dark);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Mobile Menu Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cavalier-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(179, 136, 39, 0.1);
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-primary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: capitalize;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1.12;
  color: var(--text-pure);
}

.hero-designation {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--gold-primary);
  font-weight: 600;
  font-style: italic;
}

.hero-degrees-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.degree-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-high);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.hero-bio {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-medium);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Portrait Visual Stage */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.45), rgba(255, 255, 255, 0.85), rgba(179, 136, 39, 0.3));
  box-shadow: var(--shadow-ambient), var(--shadow-gold);
}

.portrait-inner {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: var(--bg-surface);
  position: relative;
}

.portrait-inner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.04) brightness(1.02);
  transition: transform var(--transition-smooth);
}

.portrait-frame:hover .portrait-inner img {
  transform: scale(1.03);
}

/* Floating Accolade Card */
.floating-accolade {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-ambient);
  max-width: 290px;
}

.accolade-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--gold-glow);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.accolade-text h4 {
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--text-pure);
}

.accolade-text p {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Metrics Counter Section
   ========================================================================== */
.metrics-section {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.metrics-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  box-shadow: var(--shadow-ambient);
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-value sup {
  font-size: 0.48em;
  vertical-align: super;
  font-weight: 700;
  margin-left: 2px;
  line-height: 0;
  position: relative;
  top: -0.2em;
}

.metric-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.metric-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Cavalier Investiture & Royal Feature
   ========================================================================== */
.feature-section {
  padding: 5rem 0;
}

.cavalier-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf8f3 100%);
  border: 2px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

html[data-theme="dark"] .cavalier-card {
  background: linear-gradient(135deg, #0e1b38 0%, #091328 100%);
  border-color: var(--gold-border-strong);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
}

.cavalier-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cavalier-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cavalier-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.investiture-stamp {
  background: var(--gold-glow);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  transition: all var(--transition-fast);
}

html[data-theme="dark"] .investiture-stamp {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.cavalier-content h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-pure);
}

.cavalier-subtitle {
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  line-height: 1.5;
}

html[data-theme="dark"] .cavalier-subtitle {
  color: var(--gold-light);
}

.cavalier-desc,
.cavalier-content p {
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 0.98rem;
}

html[data-theme="dark"] .cavalier-desc,
html[data-theme="dark"] .cavalier-content p {
  color: var(--text-medium);
}

.cavalier-details-box {
  background: rgba(179, 136, 39, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
}

html[data-theme="dark"] .cavalier-details-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 175, 55, 0.25);
}

.cavalier-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cavalier-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cavalier-details-list li strong {
  color: var(--text-pure);
}

.cavalier-details-list .bullet {
  color: var(--gold-primary);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.2rem;
}

html[data-theme="dark"] .cavalier-details-list .bullet {
  color: var(--gold-light);
}

/* Founder Legacy Card */
.founder-card {
  margin-top: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-ambient);
}

.founder-lead {
  border-right: 1px solid var(--border-subtle);
  padding-right: 2rem;
}

.founder-lead h4 {
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.founder-lead p {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: capitalize;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ==========================================================================
   Institutions Showcase
   ========================================================================== */
.institutions-section {
  padding: 5rem 0;
}

.institutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.institution-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
}

.institution-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #8c6712);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.institution-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-strong);
  box-shadow: var(--shadow-hover);
}

.institution-card:hover::after {
  opacity: 1;
}

.inst-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.inst-logo-box {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(11, 26, 48, 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.institution-card:hover .inst-logo-box {
  border-color: var(--gold-border-strong);
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(179, 136, 39, 0.18);
}

.inst-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.inst-meta {
  display: flex;
  gap: 0.5rem;
}

.inst-est {
  background: rgba(179, 136, 39, 0.1);
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
}

.inst-title {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--text-pure);
}

.inst-tagline {
  color: var(--gold-primary);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1rem;
}

.inst-affiliation {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inst-overview {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.inst-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.inst-highlights li {
  font-size: 0.85rem;
  color: var(--text-high);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.inst-highlights li::before {
  content: "✦";
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.inst-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.inst-loc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   VIP Archive & Photo Gallery
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-high);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(179, 136, 39, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-ambient);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border-strong);
  box-shadow: var(--shadow-hover);
}

.gallery-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--gold-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: capitalize;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1.05rem;
  color: var(--text-pure);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Fullscreen Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.88);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--gold-primary);
  color: #fff;
}

.lightbox-image-box {
  width: 100%;
  height: 520px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-details {
  padding: 1.5rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-card);
}

.lightbox-details h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--text-pure);
}

.lightbox-details p {
  font-size: 0.92rem;
  color: var(--text-medium);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================================================
   Leadership & Academic Pedigree Sections
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.leadership-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-ambient);
}

.leadership-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-strong);
  box-shadow: var(--shadow-hover);
}

.role-pill {
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.leadership-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-pure);
}

.leadership-body {
  color: var(--gold-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

/* Academics Table / Cards */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.academic-chip-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-ambient);
}

.academic-chip-card:hover {
  border-color: var(--gold-border-strong);
  box-shadow: var(--shadow-hover);
}

.degree-badge-circle {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  padding: 0 4px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(179, 136, 39, 0.12);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.degree-badge-circle span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  will-change: transform;
}

/* Character-length adapted font sizing for perfect circular fit */
.degree-badge-circle.deg-len-3 { font-size: 0.96rem; }
.degree-badge-circle.deg-len-4 { font-size: 0.88rem; }
.degree-badge-circle.deg-len-5 { font-size: 0.82rem; }
.degree-badge-circle.deg-len-wide { font-size: 0.74rem; letter-spacing: -0.02em; } /* FWAPS */
.degree-badge-circle.deg-len-6 { font-size: 0.76rem; letter-spacing: -0.02em; } /* M.Com. */
.degree-badge-circle.deg-len-7 { font-size: 0.72rem; letter-spacing: -0.025em; } /* M.Phil. */

.academic-chip-card:hover .degree-badge-circle {
  transform: scale(1.05);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 14px rgba(179, 136, 39, 0.22);
}

.degree-info h4 {
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--text-pure);
}

.degree-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Executive Contact Section
   ========================================================================== */
.contact-section {
  padding: 5rem 0 6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.office-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-ambient);
}

.office-card h4 {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.office-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--text-medium);
}

.office-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-high);
}

.office-contact-links a:hover {
  color: var(--gold-primary);
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-ambient);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-high);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--bg-surface);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.9rem;
}

.form-alert.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #15803d;
}

/* ==========================================================================
   Site Footer (Anchor of Authority)
   ========================================================================== */
.site-footer {
  background: #0b162c;
  border-top: 1px solid var(--gold-border);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
  color: #f1f5f9;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
}

.site-footer p {
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-intro {
    align-items: center;
  }
  .cavalier-pill {
    align-self: center;
  }
  .hero-degrees-badge {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .cavalier-layout {
    grid-template-columns: 1fr;
  }
  .institutions-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .metrics-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-lead {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 1080px) {
  .nav-wrapper, .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .metrics-wrapper {
    grid-template-columns: 1fr;
  }
  .metric-item::after {
    display: none;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .academics-grid {
    grid-template-columns: 1fr;
  }
  .cavalier-card {
    padding: 2rem;
  }
  .contact-form-box {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Slide-out Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--gold-border);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  box-shadow: var(--shadow-ambient);
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer a {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  color: var(--text-pure);
}

/* ==========================================================================
   Executive Sections & Enhanced Components
   ========================================================================== */

/* Founder Quote Box */
.founder-quote-box {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold-primary);
  background: var(--gold-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.quote-symbol {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-primary);
}
.founder-quote-box p {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-high);
  line-height: 1.6;
}

/* Honors Grid */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.honor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}
.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-border-strong);
}
.honor-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border: 1px solid var(--gold-border);
}
.honor-content {
  flex: 1;
}
.honor-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}
.honor-authority {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.45rem;
}
.honor-detail {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.55;
}

/* Educational Governance Grid */
.edu-gov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.edu-gov-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
}
.edu-gov-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.edu-gov-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-glow);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.edu-gov-header h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: var(--text-pure);
}
.edu-gov-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.edu-gov-list li {
  position: relative;
}
.gov-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gov-body {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-pure);
  margin: 0.2rem 0;
}
.gov-desc {
  font-size: 0.86rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Industrial Portfolios Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-border-strong);
}
.industry-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.industry-role-pill {
  background: var(--gold-glow);
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
}
.industry-scope {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}
.industry-company {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
}
.industry-desc {
  font-size: 0.89rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Apex Organizations & Statutory Governance: Filter Tabs & Balanced Grid */
.org-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.org-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-medium);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.org-filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.org-filter-btn.active {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 70%, var(--gold-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(179, 136, 39, 0.35);
  transform: translateY(-1px);
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.org-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-border-strong);
}

.org-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.org-pillar-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.org-card h4 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.org-card-body {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.45rem;
}

.org-card-detail {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Delegations Grid */
.delegations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.delegation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth);
}
.delegation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.delegation-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.delegation-countries {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-glow);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}
.delegation-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.delegation-card h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: var(--text-pure);
  margin-bottom: 0.55rem;
}
.delegation-card p {
  font-size: 0.91rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* WOCO Assemblies Grid */
.woco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.woco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}
.woco-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}
.woco-cities {
  font-size: 0.84rem;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.woco-card p {
  font-size: 0.89rem;
  color: var(--text-medium);
  line-height: 1.55;
}

/* Seminars Grid */
.seminars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.seminar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-smooth);
}
.seminar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.seminar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.seminar-forum {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.seminar-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.seminar-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
  font-style: italic;
  line-height: 1.4;
}
.seminar-abstract {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Countries Visited Cloud */
.countries-section {
  margin-top: 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.countries-header h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}
.countries-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}
.countries-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.country-pill {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-high);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}
.country-pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* Publications Special Badges */
.publication-card .pub-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pub-genre-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Additional Responsive Breakpoints for New Components */
@media (max-width: 1024px) {
  .honors-grid,
  .edu-gov-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .honors-grid,
  .edu-gov-grid,
  .industry-grid,
  .org-grid,
  .delegations-grid,
  .woco-grid,
  .seminars-grid {
    grid-template-columns: 1fr;
  }
  .honor-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .countries-section {
    padding: 1.5rem;
  }
}
