/* ============================================
   RAHUL NAVIN - OFFICIAL WEBSITE
   Institutional & Intelligence Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #0a1628;
  --navy-light: #12233d;
  --charcoal: #1a1a2e;
  --steel: #8a9bb5;
  --steel-light: #b0bec5;
  --white: #ffffff;
  --off-white: #f0f2f5;
  --accent-blue: #2c5f8a;
  --accent-blue-light: #3a7cb8;
  --border-color: rgba(138, 155, 181, 0.15);
  --gold: #c4a35a;
  --gold-muted: rgba(196, 163, 90, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Barlow Condensed', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--navy);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-position: center top;
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Grid Background Pattern --- */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(138, 155, 181, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 181, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* --- Scan Line Effect --- */
.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(44, 95, 138, 0.3), transparent);
  z-index: 1;
  animation: scanMove 8s linear infinite;
  pointer-events: none;
}

@keyframes scanMove {
  0% { top: -2px; }
  100% { top: 100vh; }
}

/* ============================================
   PASSWORD PAGE
   ============================================ */
.password-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.password-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(138, 155, 181, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 155, 181, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.password-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  animation: scanMove 6s linear infinite;
}

.password-container {
  text-align: center;
  z-index: 10;
  padding: 3rem;
}

.password-lock-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 2rem;
  border: 2px solid var(--steel);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lockPulse 3s ease-in-out infinite;
}

.password-lock-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 2;
}

@keyframes lockPulse {
  0%, 100% { border-color: var(--steel); box-shadow: 0 0 0 0 rgba(138, 155, 181, 0); }
  50% { border-color: var(--accent-blue-light); box-shadow: 0 0 20px rgba(44, 95, 138, 0.2); }
}

.password-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 2.5rem;
}

.password-input-group {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.password-input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-align: center;
  outline: none;
  transition: var(--transition);
}

.password-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 30px rgba(44, 95, 138, 0.1);
}

.password-input::placeholder {
  color: rgba(138, 155, 181, 0.3);
  letter-spacing: 2px;
}

.password-submit {
  margin-top: 1.5rem;
  padding: 0.85rem 3rem;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--steel);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.password-submit:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

.password-error {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #c0392b;
  opacity: 0;
  transition: var(--transition);
}

.password-error.show {
  opacity: 1;
  animation: errorShake 0.5s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.password-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.password-transition.active {
  opacity: 1;
  pointer-events: all;
}

.password-transition .loading-bar {
  width: 200px;
  height: 2px;
  background: rgba(138, 155, 181, 0.1);
  position: relative;
  overflow: hidden;
}

.password-transition .loading-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-blue);
  animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
  to { left: 0; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav.scrolled {
  padding: 0.6rem 0;
  background: rgba(10, 22, 40, 0.95);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--steel);
  transition: var(--transition);
}

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

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

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

/* Mobile Nav Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

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

.nav-mobile .nav-link {
  font-size: 0.9rem;
  letter-spacing: 3px;
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.5;
  filter: grayscale(20%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-designation {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-designation::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--steel-light);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  border: 1px solid var(--steel);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll-text {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--steel), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   HIGHLIGHTS / CARDS
   ============================================ */
.highlights {
  position: relative;
  z-index: 2;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.highlight-card {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.highlight-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 155, 181, 0.25);
  transform: translateY(-4px);
}

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

.highlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ============================================
   INTRO SECTION (Homepage)
   ============================================ */
.intro {
  position: relative;
  z-index: 2;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.intro-image {
  position: relative;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
}

.intro-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--navy), transparent);
}

.intro-text p {
  font-size: 1rem;
  color: var(--steel-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}

.intro-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: var(--transition);
}

.intro-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  padding: 10rem 0 4rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-header-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 600px;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--border-color));
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.35rem;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border: 2px solid var(--gold);
  background: var(--navy);
  border-radius: 50%;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-block {
  margin-top: 3rem;
}

.content-block h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.content-block p {
  font-size: 0.95rem;
  color: var(--steel-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-block ul {
  margin-top: 1rem;
}

.content-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--steel-light);
  line-height: 1.7;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

/* Two Column Content */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.content-image {
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: var(--transition);
}

.content-image img:hover {
  filter: grayscale(0);
}

/* ============================================
   EXPERTISE CARDS
   ============================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.expertise-card {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.expertise-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.expertise-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.expertise-card:hover::after {
  width: 100%;
}

.expertise-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(196, 163, 90, 0.15);
  margin-bottom: 1rem;
  line-height: 1;
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.expertise-card p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ============================================
   MEDIA / NEWS
   ============================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.media-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.media-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(138, 155, 181, 0.25);
}

.media-card-image {
  width: 120px;
  min-height: 100px;
  flex-shrink: 0;
  overflow: hidden;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
}

.media-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.media-card-content p {
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.6;
}

.media-card-date {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
  transition: all 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery featured (larger) */
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* Gallery Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.3rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.95rem;
  color: var(--white);
}

.contact-info-item a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--steel);
  transition: var(--transition);
}

.social-link:hover svg {
  fill: var(--gold);
}

/* Form */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(44, 95, 138, 0.1);
}

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

.contact-form button {
  padding: 1rem 3rem;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--steel);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-credit {
  text-align: right;
}

.footer-credit p {
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-credit a {
  color: var(--gold);
  transition: var(--transition);
}

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

.footer-credit .footer-contact {
  font-size: 0.75rem;
  color: rgba(138, 155, 181, 0.6);
  margin-top: 0.25rem;
}

/* ============================================
   ANIMATIONS (Scroll Reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-name {
    font-size: 3.5rem;
  }

  .highlights-grid,
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.15;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .highlights-grid,
  .expertise-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .content-two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .section-padding {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .media-card {
    flex-direction: column;
  }

  .media-card-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

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

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

  .social-links {
    flex-wrap: wrap;
  }
}
