/* ============================================
   M.D. RANGANATH — Executive Leadership Website
   Design System & Core Styles
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --navy: #0a1628;
  --navy-light: #132241;
  --navy-mid: #1a2d52;
  --charcoal: #1e2a3a;
  --charcoal-light: #2a3a4e;
  --steel-blue: #4a7c9b;
  --steel-blue-light: #6ba3c7;
  --steel-accent: #5b92b5;
  --silver: #c0c8d4;
  --silver-light: #d8dfe8;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --pale-blue: #e8edf4;

  /* Accents */
  --gold-accent: #c9a84c;
  --gold-light: #dfc06a;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b0bec5;
  --text-muted: #78909c;
  --text-dark: #1a2d52;
  --text-dark-secondary: #4a5568;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --nav-height: 80px;

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg-dark: rgba(10, 22, 40, 0.85);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.35);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s ease;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb {
  background: var(--steel-blue);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--steel-blue-light); }

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--navy);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--steel-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--silver);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ============================================
   PASSWORD GATE / ACCESS PAGE
   ============================================ */
.access-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.access-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.access-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.35);
  transform: scale(1.1);
}

.access-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(26,45,82,0.85) 50%, rgba(10,22,40,0.92) 100%);
}

.access-panel {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: panelFadeIn 1s ease forwards;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.access-icon {
  width: 64px; height: 64px;
  border: 2px solid var(--steel-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--steel-blue-light);
  font-size: 1.5rem;
}

.access-panel h1 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.access-panel .subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 300;
}

.password-field {
  position: relative;
  margin-bottom: 20px;
}

.password-field input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.password-field input::placeholder {
  color: var(--text-muted);
}

.password-field input:focus {
  border-color: var(--steel-blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(74, 124, 155, 0.15);
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.toggle-password:hover { color: var(--white); }

.access-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--steel-blue), var(--steel-blue-light));
  border: none;
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.access-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.access-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 155, 0.4);
}

.access-submit:hover::before { left: 100%; }

.access-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: var(--border-radius-sm);
  color: #ff6b7a;
  font-size: 0.85rem;
  display: none;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.access-error.show { display: block; }

.access-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 5%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  background: transparent;
}

.main-nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--steel-blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--steel-blue-light);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition-fast);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) { opacity: 0; }

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  padding: 100px 40px 40px;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav.active { right: 0; }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--silver);
  font-weight: 500;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--white);
  padding-left: 10px;
}

.mobile-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(26,45,82,0.7) 50%, rgba(10,22,40,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(74, 124, 155, 0.15);
  border: 1px solid rgba(74, 124, 155, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--steel-blue-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero .subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--silver);
  font-weight: 300;
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stat Counters */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 750px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.stat-item {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(74, 124, 155, 0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--steel-blue-light);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  animation: bounce 2s ease infinite;
}

.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--steel-blue), transparent);
  margin: 0 auto 8px;
}

.hero-scroll span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SECTION STYLES (REUSABLE)
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--off-white);
  color: var(--text-dark);
}

.section-alt {
  background: var(--navy-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--steel-blue-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-light .section-label {
  color: var(--steel-blue);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-light .section-title {
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

.section-light .section-subtitle {
  color: var(--text-dark-secondary);
}

.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--steel-blue), var(--steel-blue-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================
   PAGE BANNER (Inner Pages)
   ============================================ */
.page-banner {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.page-banner-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-banner-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(26,45,82,0.8) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.breadcrumb {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--steel-blue-light);
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; }

/* ============================================
   EXECUTIVE SUMMARY / TEXT BLOCKS
   ============================================ */
.exec-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.exec-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.exec-image img {
  width: 100%; height: 500px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.exec-image:hover img {
  transform: scale(1.03);
}

.exec-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(to top, rgba(10,22,40,0.4), transparent);
}

.exec-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.exec-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.section-light .exec-text p {
  color: var(--text-dark-secondary);
}

/* ============================================
   LEADERSHIP PILLARS / CARDS
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.pillar-card {
  padding: 36px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--steel-blue), var(--steel-blue-light));
  transition: height 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.pillar-card:hover::before { height: 100%; }

.pillar-icon {
  width: 52px; height: 52px;
  background: rgba(74, 124, 155, 0.12);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--steel-blue-light);
  font-size: 1.3rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.section-light .pillar-card {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.section-light .pillar-card h3 {
  color: var(--text-dark);
}

.section-light .pillar-card p {
  color: var(--text-dark-secondary);
}

/* ============================================
   CAREER HIGHLIGHTS STRIP
   ============================================ */
.highlights-strip {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 20px 0;
  scrollbar-width: none;
}

.highlights-strip::-webkit-scrollbar { display: none; }

.highlight-item {
  flex: 0 0 280px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  transform: translateY(-4px);
  border-color: var(--steel-blue);
}

.highlight-year {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--steel-blue-light);
  margin-bottom: 8px;
}

.highlight-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  position: relative;
}

.quote-section::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 10rem;
  color: rgba(74, 124, 155, 0.08);
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.quote-author {
  font-size: 0.9rem;
  color: var(--steel-blue-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--steel-blue), var(--steel-blue-light));
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(74, 124, 155, 0.4);
}

.cta-btn-outline {
  background: transparent;
  border: 2px solid var(--steel-blue);
}

.cta-btn-outline:hover {
  background: var(--steel-blue);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--steel-blue), rgba(74, 124, 155, 0.2));
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 16px; height: 16px;
  background: var(--steel-blue);
  border: 3px solid var(--navy);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-card {
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--steel-blue-light);
  margin-bottom: 6px;
}

.timeline-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================
   BIO ALTERNATING LAYOUT
   ============================================ */
.bio-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.bio-block.reverse { direction: rtl; }
.bio-block.reverse > * { direction: ltr; }

.bio-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bio-image img {
  width: 100%; height: 420px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.bio-image:hover img { transform: scale(1.04); }

.bio-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.bio-text p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 14px;
}

.section-light .bio-text h3 { color: var(--text-dark); }
.section-light .bio-text p { color: var(--text-dark-secondary); }

/* ============================================
   INFOSYS / CORPORATE CARDS
   ============================================ */
.corp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.corp-card {
  padding: 40px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.corp-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--steel-blue), var(--steel-blue-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.corp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.corp-card:hover::after { transform: scaleX(1); }

.corp-card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(74, 124, 155, 0.2);
  margin-bottom: 12px;
}

.corp-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.corp-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   PHILOSOPHY QUOTES
   ============================================ */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.philosophy-card {
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--glass-bg), rgba(74, 124, 155, 0.06));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  position: relative;
}

.philosophy-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(74, 124, 155, 0.12);
  position: absolute;
  top: 10px; left: 20px;
  line-height: 1;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 124, 155, 0.3);
  box-shadow: var(--shadow-md);
}

.philosophy-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--steel-blue-light);
}

.philosophy-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10,22,40,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 30px; right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }

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

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--silver);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--steel-blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(74, 124, 155, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--steel-blue), var(--steel-blue-light));
  border: none;
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-smooth);
  align-self: flex-start;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 155, 0.35);
}

/* Contact Info */
.contact-info { }

.contact-info-card {
  padding: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(74, 124, 155, 0.12);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-blue-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.contact-info-text a:hover {
  color: var(--steel-blue-light);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 44px; height: 44px;
  background: rgba(74, 124, 155, 0.12);
  border: 1px solid rgba(74, 124, 155, 0.2);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-blue-light);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--steel-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--charcoal);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  max-width: 350px;
}

.footer-nav h4,
.footer-connect h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-nav a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--steel-blue-light);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--steel-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-contact-line {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-contact-line a {
  color: var(--steel-blue-light);
}

.footer-contact-line a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--steel-blue-light);
}

.footer-bottom a:hover { color: var(--white); }

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .exec-summary,
  .bio-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-block.reverse { direction: ltr; }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
    --nav-height: 70px;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .pillars-grid,
  .corp-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-grid { columns: 2; }

  /* Timeline mobile */
  .timeline::before { left: 20px; }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 50px;
    padding-right: 16px;
  }

  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }

  .page-banner { min-height: 45vh; }

  .highlight-item { flex: 0 0 250px; }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .access-panel {
    padding: 36px 24px;
  }

  .gallery-grid { columns: 1; }

  .hero h1 { font-size: 2rem; }
}
