/* ============================================================
   B. SRIRAM — Executive Legacy Website
   Premium Corporate Design System
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --color-primary: #0A1628;
  --color-secondary: #1A2744;
  --color-accent: #C8A961;
  --color-accent-light: #E2CA82;
  --color-accent-dark: #A88B3D;
  --color-surface: #0E1D35;
  --color-surface-alt: #14253F;
  --color-card: #132240;
  --color-text: #E8ECF1;
  --color-text-muted: #8A9AB5;
  --color-text-dim: #5A6E8A;
  --color-border: rgba(200, 169, 97, 0.15);
  --color-border-strong: rgba(200, 169, 97, 0.3);
  --color-white: #FFFFFF;
  --color-overlay: rgba(10, 22, 40, 0.85);
  --color-glass: rgba(20, 37, 63, 0.6);

  --gradient-gold: linear-gradient(135deg, #C8A961, #E2CA82, #C8A961);
  --gradient-hero: linear-gradient(160deg, #0A1628 0%, #1A2744 40%, #0E1D35 100%);
  --gradient-radial: radial-gradient(ellipse at 30% 0%, rgba(200,169,97,0.08), transparent 60%);
  --gradient-card: linear-gradient(145deg, rgba(19,34,64,0.9), rgba(14,29,53,0.95));

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 30px rgba(200,169,97,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(200,169,97,0.08);

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1280px;
  --header-height: 80px;
}

/* ── 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);
  background: var(--color-primary);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-accent-light);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── Utility ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 100px 0;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.gold-line-center {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

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

/* ── Animated Background Particles ── */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particles::before,
.bg-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.03;
}

.bg-particles::before {
  width: 600px;
  height: 600px;
  background: var(--color-accent);
  top: -200px;
  right: -200px;
  animation: floatBlob 20s ease-in-out infinite alternate;
}

.bg-particles::after {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  bottom: -150px;
  left: -150px;
  animation: floatBlob 25s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.header-logo span {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-accent);
  background: rgba(200, 169, 97, 0.08);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.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);
}

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
  position: relative;
  height: 550px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
  z-index: 1;
}

.page-banner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.page-banner h1 {
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.page-banner .breadcrumb a {
  color: var(--color-accent);
}

.page-banner .breadcrumb span {
  color: var(--color-text-dim);
}

/* ============================================================
   HERO SECTION (Home Page)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(200, 169, 97, 0.1);
  border: 1px solid var(--color-border-strong);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 .gold-text {
  color: var(--color-accent);
  font-style: italic;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.hero-stat h3 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.hero-stat p {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
  animation: fadeIn 1.2s ease-out 0.5s both;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

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

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.4) 100%);
}

.hero-image-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-image-decoration.top-right {
  top: -20px;
  right: -20px;
}

.hero-image-decoration.bottom-left {
  bottom: -20px;
  left: -20px;
}

/* ── CTA Buttons ── */
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient-gold);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--color-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.btn-secondary:hover {
  background: rgba(200, 169, 97, 0.08);
  border-color: var(--color-accent);
  color: var(--color-accent-light);
  transform: translateY(-2px);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 97, 0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--color-accent);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.75;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-border), var(--color-accent));
}

.timeline-item {
  display: flex;
  width: 100%;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-primary);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(200,169,97,0.2);
}

.timeline-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
  max-width: 500px;
}

.timeline-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.timeline-year {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(200, 169, 97, 0.12);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-card h4 {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  font-size: 0.9rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

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

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.split-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top center;
}

.split-content h2 {
  margin-bottom: 1.25rem;
}

.split-content p {
  margin-bottom: 1.25rem;
}

/* ── Feature List ── */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '◆';
  color: var(--color-accent);
  font-size: 0.6rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ============================================================
   CREDENTIAL CARDS
   ============================================================ */
.credential-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.credential-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.credential-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: rgba(200, 169, 97, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.75rem;
}

.credential-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.credential-card h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.credential-card p {
  font-size: 0.88rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2.5rem 3rem;
  margin: 3rem 0;
  position: relative;
}

.quote-block::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.quote-block p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-secondary);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gold);
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '›';
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* ============================================================
   PASSWORD GATE (index.html)
   ============================================================ */
.gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.gate-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
}

.gate-card {
  position: relative;
  z-index: 2;
  background: var(--gradient-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  width: 90%;
  max-width: 460px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.8s ease-out;
}

.gate-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--color-accent);
  box-shadow: var(--shadow-gold);
}

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

.gate-card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.gate-card .subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.gate-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.gate-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.gate-input::placeholder {
  color: var(--color-text-dim);
}

.gate-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 97, 0.1);
}

.gate-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.gate-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.gate-error {
  color: #E74C3C;
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}

.gate-error.show {
  display: block;
  animation: shake 0.4s ease-in-out;
}

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

.gate-label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-top: 1.5rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-smooth);
}

.contact-info-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 97, 0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-info-card p {
  font-size: 0.88rem;
}

.contact-form {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

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

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 97, 0.1);
}

/* ============================================================
   INFO PANELS / HIGHLIGHT BOXES
   ============================================================ */
.highlight-box {
  background: rgba(200, 169, 97, 0.05);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.highlight-box h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.highlight-box p {
  font-size: 0.9rem;
}

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.stat-card h3 {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.stat-card p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-top: 140px;
  }

  .hero-description {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-image img {
    height: 400px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-secondary);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 1.5rem 2rem;
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-smooth);
    gap: 0.25rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .page-banner {
    height: 320px;
    padding-bottom: 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .hero-image img {
    height: 350px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-grid {
    padding-top: 120px;
  }

  .hero-image img {
    height: 300px;
  }

  .gate-card {
    padding: 2.5rem 2rem;
  }

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