/* ============================================
   NAKUL NATH - Political Website
   Design System & Global Styles
   ============================================ */

/* CSS Custom Properties */
:root {
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-grey: #e8e6e1;
  --mid-grey: #9a9790;
  --dark-grey: #3a3a38;
  --near-black: #1a1a1a;
  --navy: #0a1628;
  --deep-blue: #162d50;
  --accent-blue: #1e3a5f;
  --saffron: #e8732a;
  --saffron-light: #f4a261;
  --green-accent: #2d6a4f;
  --green-light: #40916c;
  --overlay-dark: rgba(10, 22, 40, 0.7);
  --overlay-light: rgba(10, 22, 40, 0.4);

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

  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 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(--near-black);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   PASSWORD SCREEN
   ============================================ */
.password-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 40%, #1a3a4a 70%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.password-screen::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(232, 115, 42, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(45, 106, 79, 0.06) 0%, transparent 50%);
  animation: subtleShift 20s ease-in-out infinite;
}

@keyframes subtleShift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 2%); }
}

.password-container {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.password-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
}

.password-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.password-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 3rem;
}

.password-input-wrap {
  position: relative;
  width: 320px;
  margin: 0 auto 1.5rem;
}

.password-input-wrap input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 2px;
  text-align: center;
  outline: none;
  transition: all 0.4s var(--transition-smooth);
}

.password-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

.password-input-wrap input:focus {
  border-color: rgba(232, 115, 42, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 30px rgba(232, 115, 42, 0.1);
}

.password-input-wrap.error input {
  border-color: #e74c3c;
  animation: shake 0.5s ease;
}

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

.password-btn {
  padding: 0.85rem 3rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  border-radius: 2px;
}

.password-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.password-error-msg {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.password-error-msg.visible {
  opacity: 1;
}

.password-screen.unlocked {
  animation: fadeOutUp 1s var(--transition-smooth) forwards;
}

@keyframes fadeOutUp {
  to {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 4%;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

.nav.scrolled .nav-brand {
  color: var(--navy);
}

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

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav.scrolled .nav-links a {
  color: var(--dark-grey);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--saffron);
  transition: width 0.3s var(--transition-smooth);
}

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

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

.nav.scrolled .nav-links a:hover {
  color: var(--navy);
}

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

.nav-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--transition-smooth);
}

.nav.scrolled .nav-hamburger span {
  background: var(--navy);
}

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

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

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

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-mobile a:hover {
  color: var(--saffron);
}

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8%;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 50px;
}

.hero-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 1px;
  background: var(--saffron);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* Page Heroes (smaller) */
.hero-page {
  height: 60vh;
  min-height: 450px;
}

.hero-page .hero-overlay {
  background: linear-gradient(to top, var(--navy) 0%, rgba(10, 22, 40, 0.6) 50%, rgba(10, 22, 40, 0.3) 100%);
}

.hero-page .hero-content {
  position: absolute;
  bottom: 4rem;
  left: 0;
  padding: 0 8%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--saffron);
  color: var(--white);
}

.btn-primary:hover {
  background: #d4651f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 115, 42, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.3);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 8rem 8%;
}

.section-sm {
  padding: 5rem 8%;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

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

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

.section-desc-light {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center center;
}

.card-body {
  padding: 2rem;
}

.card-tag {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.75rem;
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.95rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* Dark card variant */
.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-dark .card-title {
  color: var(--white);
}

.card-dark .card-text {
  color: rgba(255, 255, 255, 0.5);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--light-grey);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 14px;
  height: 14px;
  background: var(--saffron);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--off-white);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  position: relative;
  padding: 8rem 8%;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}

.quote-section::before {
  content: '\201C';
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

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

.quote-author {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 6rem;
  padding: 4rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number-light {
  color: var(--white);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.stat-label-light {
  color: rgba(255, 255, 255, 0.5);
}

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

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

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.gallery-item-overlay span {
  font-size: 0.8rem;
  color: var(--white);
  letter-spacing: 1px;
}

/* Gallery Filter */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--light-grey);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid-grey);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

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

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

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

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--near-black);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22, 45, 80, 0.08);
}

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

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

.contact-info-icon {
  width: 45px;
  height: 45px;
  background: rgba(232, 115, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--saffron);
  font-size: 1.1rem;
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.95rem;
  color: var(--mid-grey);
}

.contact-info-text a:hover {
  color: var(--saffron);
}

/* ============================================
   SOCIAL ICONS
   ============================================ */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

.social-icon-dark {
  border-color: var(--light-grey);
  color: var(--mid-grey);
}

.social-icon-dark:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 5rem 8% 2rem;
  color: var(--white);
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.4rem 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--saffron);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--saffron);
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  width: 60px;
  height: 3px;
  background: var(--saffron);
  margin-bottom: 2rem;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   IMAGE CONTAINER (prevent face cropping)
   ============================================ */
.img-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img-frame {
  overflow: hidden;
  border-radius: 4px;
}

.img-frame-rounded {
  border-radius: 8px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--transition-smooth);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--transition-smooth);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--transition-smooth);
}

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

/* ============================================
   UTILITY
   ============================================ */
.text-center {
  text-align: center;
}

.text-saffron {
  color: var(--saffron);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.max-w-800 { max-width: 800px; }
.max-w-600 { max-width: 600px; }

/* ============================================
   IMPACT / FEATURE BLOCKS
   ============================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.impact-card {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid var(--saffron);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--transition-smooth);
}

.impact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.impact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.impact-card p {
  font-size: 0.95rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ============================================
   MEDIA / NEWS CARDS
   ============================================ */
.news-card {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--light-grey);
  transition: all 0.3s;
}

.news-card:hover {
  padding-left: 1rem;
}

.news-card-date {
  flex-shrink: 0;
  text-align: center;
  padding-right: 2rem;
  border-right: 2px solid var(--saffron);
}

.news-card-date .day {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.news-card-date .month {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.news-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.news-card-body p {
  font-size: 0.95rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

.news-card-body .news-source {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-top: 0.75rem;
  display: inline-block;
}

/* ============================================
   VISION PILLARS
   ============================================ */
.pillar {
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  transition: all 0.4s var(--transition-smooth);
}

.pillar:hover {
  border-color: var(--saffron);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: rgba(232, 115, 42, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--saffron);
}

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ============================================
   SPLIT CONTENT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

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

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

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--saffron);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .section {
    padding: 5rem 5%;
  }

  .grid-2 {
    gap: 3rem;
  }

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

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

  .stats-row {
    gap: 3rem;
  }

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

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

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .hero-content {
    padding: 0 5%;
  }

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

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

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

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

  .split-content {
    padding: 3rem 5%;
  }

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

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
    padding-left: 50px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 20px;
  }

  .stats-row {
    flex-direction: column;
    gap: 2rem;
  }

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

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

  .gallery-item.wide {
    grid-column: span 1;
  }

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

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

  .hero-page {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 5%;
  }

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

  .password-input-wrap {
    width: 280px;
  }
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--saffron);
  z-index: 1001;
  transition: width 0.1s;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--saffron);
  transform: translateY(-3px);
}

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

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-bar {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--saffron);
  animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderSlide {
  to { left: 100%; }
}
