/* ============================================================
   IJDO — Indo Japan Development Organisation
   Design System & Styles
   Color Palette: Deep Crimson (Japan) + Saffron/White (India)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Colors */
  --crimson: #BC002D;
  --crimson-dark: #8B0020;
  --crimson-light: #E8264D;
  --saffron: #FF9933;
  --saffron-dark: #E07D1B;
  --saffron-light: #FFB366;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-grey: #F3F4F6;
  --mid-grey: #E5E7EB;
  --charcoal: #1F2937;
  --dark-charcoal: #111827;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;

  /* Accent */
  --gold: #D4A843;
  --navy: #1E3A5F;
  --soft-red: rgba(188, 0, 45, 0.06);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(188, 0, 45, 0.85) 0%, rgba(31, 41, 55, 0.9) 100%);
  --gradient-crimson: linear-gradient(135deg, #BC002D 0%, #8B0020 100%);
  --gradient-saffron: linear-gradient(135deg, #FF9933 0%, #E07D1B 100%);
  --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Noto Serif JP', 'Georgia', serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1280px;
  --container-wide: 1440px;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

/* ---------- 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-sans);
  color: var(--text-primary);
  background: 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 var(--transition-fast);
}

ul, ol { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--wide {
  max-width: var(--container-wide);
}

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--crimson);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-crimson);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(188, 0, 45, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(188, 0, 45, 0.4);
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--crimson);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--saffron {
  background: var(--gradient-saffron);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
}

.btn--saffron:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
}

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

.btn--dark:hover {
  background: var(--dark-charcoal);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-fast);
  z-index: 1001;
}

.navbar.scrolled .navbar__logo {
  color: var(--charcoal);
}

.navbar__logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.navbar__logo-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

/* Rising sun rays */
.navbar__logo-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    rgba(255, 255, 255, 0.15) 0deg 10deg,
    transparent 10deg 20deg
  );
  border-radius: 50%;
}

.navbar__logo-text span {
  display: block;
  font-size: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: -2px;
}

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

.navbar__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar.scrolled .navbar__link {
  color: var(--text-secondary);
}

.navbar.scrolled .navbar__link:hover {
  color: var(--crimson);
}

.navbar__cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar__cta {
    display: inline-flex;
  }
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .hamburger span {
  background: var(--charcoal);
}

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

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: right var(--transition-base);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

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

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu__overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--mid-grey);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--crimson);
}

.mobile-menu__cta {
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu__overlay {
    display: none !important;
  }

  .navbar__links {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .navbar__links {
    display: none;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-charcoal);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.75) 0%,
    rgba(188, 0, 45, 0.3) 50%,
    rgba(17, 24, 39, 0.8) 100%
  );
  z-index: 1;
}

/* Japanese circle motif */
.hero__circle {
  position: absolute;
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero__circle::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__circle::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: clamp(6rem, 12vh, 10rem) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero__title span {
  display: inline;
  background: linear-gradient(135deg, var(--saffron), var(--crimson-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Decorative thin line */
.hero__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 153, 51, 0.3) 30%,
    rgba(188, 0, 45, 0.5) 50%,
    rgba(255, 153, 51, 0.3) 70%,
    transparent 100%
  );
  z-index: 3;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Stats bar at bottom of hero */
.hero__stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero__stat {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--saffron);
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* ---------- About / Mission Section ---------- */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle mandala pattern - top-right decorative */
.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(188, 0, 45, 0.06);
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(188, 0, 45, 0.04);
  pointer-events: none;
}

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

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about__image:hover img {
  transform: scale(1.03);
}

/* Corner accent on image */
.about__image::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 60px;
  height: 60px;
  border-top: 3px solid var(--crimson);
  border-left: 3px solid var(--crimson);
  border-radius: var(--radius-lg) 0 0 0;
  z-index: 2;
}

.about__image::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 60px;
  height: 60px;
  border-bottom: 3px solid var(--saffron);
  border-right: 3px solid var(--saffron);
  border-radius: 0 0 var(--radius-lg) 0;
  z-index: 2;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about__highlight {
  background: linear-gradient(135deg, var(--soft-red), rgba(255, 153, 51, 0.06));
  border-left: 3px solid var(--crimson);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.about__highlight p {
  font-weight: 500;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 0 !important;
}

/* ---------- Why India / Investment Section ---------- */
.investment {
  background: var(--light-grey);
  position: relative;
}

.investment__header {
  text-align: center;
  margin-bottom: 3rem;
}

.investment__header .section-subtitle {
  margin: 0 auto;
}

.investment__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.invest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.invest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-crimson);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.invest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(188, 0, 45, 0.1);
}

.invest-card:hover::before {
  transform: scaleX(1);
}

.invest-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--soft-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--crimson);
}

.invest-card__icon svg {
  width: 28px;
  height: 28px;
}

.invest-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.invest-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Investment ties subsection */
.invest-ties {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .invest-ties {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.invest-ties__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.invest-ties__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invest-ties__content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.invest-ties__item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.invest-ties__item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.invest-ties__item-icon svg {
  width: 14px;
  height: 14px;
  color: var(--white);
}

.invest-ties__item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Objectives Section (Tabbed) ---------- */
.objectives {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.objectives__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.objectives__header .section-subtitle {
  margin: 0 auto;
}

.objectives__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--mid-grey);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.tab-btn.active {
  background: var(--gradient-crimson);
  color: var(--white);
  border-color: var(--crimson);
  box-shadow: 0 4px 16px rgba(188, 0, 45, 0.25);
}

.tab-btn svg {
  width: 18px;
  height: 18px;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.5s var(--ease-out);
}

.tab-panel.active {
  display: block;
}

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

.objectives__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.objective-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--light-grey);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.objective-card:hover {
  background: var(--white);
  border-color: rgba(188, 0, 45, 0.1);
  box-shadow: var(--shadow-sm);
}

.objective-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Economic = crimson theme */
.tab-panel[data-tab="economic"] .objective-card__icon {
  background: rgba(188, 0, 45, 0.08);
  color: var(--crimson);
}

/* Cultural = saffron theme */
.tab-panel[data-tab="cultural"] .objective-card__icon {
  background: rgba(255, 153, 51, 0.1);
  color: var(--saffron-dark);
}

/* Social = navy theme */
.tab-panel[data-tab="social"] .objective-card__icon {
  background: rgba(30, 58, 95, 0.08);
  color: var(--navy);
}

.objective-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Timeline / Background Section ---------- */
.timeline-section {
  background: var(--dark-charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative circle in background */
.timeline-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transform: translateY(-50%);
}

.timeline-section .section-label {
  color: var(--saffron);
}

.timeline-section .section-label::before {
  background: var(--saffron);
}

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

.timeline-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.timeline__header {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline__header .section-subtitle {
  margin: 0 auto;
}

/* Vertical Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--crimson),
    var(--saffron),
    rgba(255, 255, 255, 0.1)
  );
}

.timeline__item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* Timeline dot */
.timeline__dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--crimson);
  border: 3px solid var(--dark-charcoal);
  box-shadow: 0 0 0 2px var(--crimson);
  z-index: 1;
}

.timeline__item:nth-child(even) .timeline__dot {
  background: var(--saffron);
  box-shadow: 0 0 0 2px var(--saffron);
}

.timeline__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.timeline__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.timeline__year {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--crimson);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.timeline__item:nth-child(even) .timeline__year {
  background: var(--saffron-dark);
}

.timeline__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.timeline__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ---------- Gallery Section ---------- */
.gallery {
  background: var(--off-white);
}

.gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery__header .section-subtitle {
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

/* Make some items span 2 columns/rows for masonry effect */
.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-caption {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Video Section ---------- */
.video-section {
  background: var(--white);
  position: relative;
}

.video-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.video-section__header .section-subtitle {
  margin: 0 auto;
}

.video__wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
}

.video__wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video__caption {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-charcoal);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--saffron), transparent);
}

.footer__main {
  padding-top: var(--section-pad);
  padding-bottom: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: rgba(255, 255, 255, 0.6);
}

.footer__social-link:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.35rem 0;
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--saffron);
  padding-left: 4px;
}

/* Newsletter */
.footer__newsletter-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer__newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer__newsletter-input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-input:focus {
  border-color: var(--saffron);
}

.footer__newsletter-btn {
  padding: 0.7rem 1.25rem;
  background: var(--gradient-saffron);
  border: none;
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 153, 51, 0.3);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* Scale-in animation */
.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s var(--ease-out);
}

.reveal--scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide-in from left */
.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-out);
}

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

/* Slide-in from right */
.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-out);
}

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

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-crimson);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(188, 0, 45, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(188, 0, 45, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

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

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.open img {
  transform: scale(1);
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 767px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--large {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline__item {
    padding-left: 2rem;
  }

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

  .footer__newsletter-form {
    flex-direction: column;
  }
}

/* ---------- Indian Border Pattern (decorative) ---------- */
.border-pattern {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--crimson) 0px,
    var(--crimson) 20px,
    var(--white) 20px,
    var(--white) 24px,
    var(--saffron) 24px,
    var(--saffron) 44px,
    var(--white) 44px,
    var(--white) 48px
  );
}

/* Subtle loading animation for images */
.lazy-img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* Print styles */
@media print {
  .navbar, .hamburger, .mobile-menu, .mobile-menu__overlay,
  .back-to-top, .hero__scroll, .lightbox {
    display: none !important;
  }

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