/* Avinya Care Foundation - Unified Modern Design System */

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

:root {
  /* Global Color Tokens */
  --text-dark: #111817;
  --text-dark-muted: #5F6865;
  --text-muted: #7A8380;
  
  --accent-teal: #087F73;
  --accent-teal-hover: #06665D;
  --accent-teal-light: rgba(8, 127, 115, 0.12);
  
  --accent-green: #62B59F;
  --accent-green-subtle: rgba(98, 181, 159, 0.15);
  
  --accent-coral: #D98B83;
  
  --bg-light: #F6F4EF;
  --bg-light-secondary: #EAF3EF;
  --bg-dark: #0B0D0C;
  --bg-dark-card: #121614;
  --white: #FFFFFF;
  
  --text-dark-section: #FFFFFF;
  --text-dark-section-sub: rgba(255, 255, 255, 0.72);
  --text-dark-section-muted: rgba(255, 255, 255, 0.55);
  
  /* Borders & Shadows */
  --border-light: rgba(17, 24, 23, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  
  /* Modern Unified Inter Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Micro Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Hierarchy */
h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40-48px mobile, 64-80px desktop */
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-family: var(--font-primary);
  font-weight: 700; /* 650-700 */
  font-size: clamp(2.1rem, 4vw, 3.5rem); /* 34-40px mobile, 48-60px desktop */
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--font-primary);
  font-weight: 650;
  font-size: clamp(1.5rem, 2.5vw, 2rem); /* 24-32px */
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body, p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.125rem); /* 16-18px */
  line-height: 1.6;
}

.category-tag, .small-label {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem; /* 12-14px */
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.display-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.body-large {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-dark-muted);
}

.body-large-dark {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-dark-section-sub);
}

/* NAVBAR SYSTEM */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled-dark {
  background-color: rgba(11, 13, 12, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-dark);
}

.navbar.scrolled-light {
  background-color: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.navbar.scrolled-light .nav-brand {
  color: var(--text-dark);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(8, 127, 115, 0.3);
}

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

.nav-link {
  text-decoration: none;
  color: #27312F;
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
  position: relative;
}

.navbar.scrolled-dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* BUTTON SYSTEM */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-teal);
  color: var(--white);
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem; /* 15px */
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(8, 127, 115, 0.25);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary span:last-child {
  transition: transform var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--accent-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 127, 115, 0.35);
}

.btn-primary:hover span:last-child {
  transform: translateX(4px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--text-dark);
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
  background-color: rgba(17, 24, 23, 0.04);
  border-color: rgba(17, 24, 23, 0.2);
  transform: translateY(-2px);
}

.btn-secondary-dark {
  color: var(--white);
  border-color: var(--border-dark);
}

.btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

.navbar.scrolled-light .mobile-toggle {
  color: var(--text-dark);
}

/* HERO SECTION POLISH */
.hero-scroll-container {
  position: relative;
  width: 100%;
  height: 450vh;
}

.hero-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(11, 13, 12, 0.15) 0%, rgba(11, 13, 12, 0.65) 100%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-narrative-card {
  max-width: 840px;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
}

.hero-narrative-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-title {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 4;
  transition: opacity 0.4s ease;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 1.8s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* SECTION 2: UNDERSTANDING CANCER */
.section-understanding {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 5.5rem 5%;
  position: relative;
  z-index: 10;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 3rem;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

.editorial-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.editorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.editorial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 127, 115, 0.2);
}

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

.card-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-dark-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-teal);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

/* SECTION 3: CONTINUUM OF CARE - SCROLL STORYTELLING */
.section-journey {
  background-color: var(--white);
  color: var(--text-dark);
  position: relative;
  height: 400vh; /* 400vh Scroll Container */
}

.journey-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
  overflow: hidden;
}

.timeline-container {
  max-width: 1100px;
  margin: 3rem auto 0;
  width: 100%;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--border-light);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 40px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-green));
  width: 0%;
  z-index: 2;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 3;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.timeline-node.active {
  opacity: 1;
}

.node-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid #D5DDD8;
  margin-bottom: 1.25rem;
  transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.timeline-node.active .node-dot {
  border-color: var(--accent-teal);
  background-color: var(--accent-teal);
  box-shadow: 0 0 0 6px rgba(8, 127, 115, 0.25);
  transform: scale(1.3);
}

.node-step {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.node-title {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Active Stage Detail Card Grid Container */
.journey-detail-card {
  margin-top: 3.5rem;
  background-color: var(--bg-light);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  min-height: 280px;
}

.journey-stage-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-stage-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.journey-detail-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.journey-detail-content p {
  color: var(--text-dark-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.journey-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journey-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* SECTION 4: HUMAN STORIES */
.section-stories {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 5.5rem 5%;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.story-card {
  background-color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.story-image-box {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card:hover .story-image {
  transform: scale(1.06);
}

.story-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(11, 13, 12, 0.75);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.story-content {
  padding: 2rem;
}

.story-quote {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.story-author {
  font-weight: 700;
  font-size: 1.05rem;
}

.story-role {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* SECTION 5: IMPACT METRICS */
.section-impact {
  background-color: var(--bg-dark);
  color: var(--text-dark-section);
  padding: 5.5rem 5%;
  position: relative;
  overflow: hidden;
}

.impact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-dark-section-sub);
  font-weight: 500;
}

/* SECTION 6: COMMUNITY MOSAIC */
.section-community {
  background-color: var(--bg-light-secondary);
  color: var(--text-dark);
  padding: 5.5rem 5%;
  text-align: center;
}

.community-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.community-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.community-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-green-subtle);
}

.community-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.community-badge {
  font-size: 0.75rem;
  color: var(--accent-teal);
  background-color: var(--accent-teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* SECTION 7: GET INVOLVED */
.section-get-involved {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 5.5rem 5%;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.action-card {
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.action-card.donate-theme {
  background: linear-gradient(135deg, #087F73, #04524A);
  color: var(--white);
}

.action-card.volunteer-theme {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
}

.action-card.awareness-theme {
  background-color: #FFF8EA;
  border: 1px solid rgba(217, 139, 131, 0.2);
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.action-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.action-desc {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* SECTION 8: HEALTH & CANCER NEWS */
.section-news {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 5.5rem 5%;
  border-top: 1px solid var(--border-light);
}

.news-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(98, 181, 159, 0.3);
  animation: pulseLive 2s infinite ease-in-out;
}

@keyframes pulseLive {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Category Filter Tabs */
.news-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}

.news-tab-btn {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-dark-muted);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.news-tab-btn:hover {
  background-color: #E6ECE8;
  color: var(--text-dark);
  transform: translateY(-2px);
}

.news-tab-btn.active {
  background-color: var(--accent-teal);
  color: var(--white);
  border-color: var(--accent-teal);
  box-shadow: 0 4px 14px rgba(8, 127, 115, 0.25);
}

/* Gemini AI Topic Generator Button & Badges */
.news-ai-gen-btn {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.news-ai-gen-btn:hover {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
  color: #38BDF8;
}

.news-ai-gen-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.ai-sparkle {
  animation: aiSparklePulse 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes aiSparklePulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.25) rotate(15deg); opacity: 0.85; }
}

.ai-generated-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #38BDF8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ai-news-card {
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.12) !important;
}

/* WhatsApp Float Button (India-First UX) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 2000;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.payment-pill {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-dark-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns desktop */
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

/* News Expand Bar & Show More Button */
.news-expand-bar {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.news-show-more-btn {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  color: var(--accent-teal);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-show-more-btn:hover {
  background-color: var(--accent-teal);
  color: var(--white);
  border-color: var(--accent-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-image-box {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: #E6ECE8;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(8, 127, 115, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.news-card-desc {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.news-source-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-source-name {
  font-weight: 700;
  color: var(--text-dark);
}

.news-date {
  color: var(--text-muted);
}

.news-read-more {
  color: var(--accent-teal);
  font-weight: 700;
}

/* Skeleton Loading Cards */
.skeleton-card {
  pointer-events: none;
}

.skeleton-box {
  background: linear-gradient(90deg, #E6ECE8 25%, #F0F5F2 50%, #E6ECE8 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #E6ECE8 25%, #F0F5F2 50%, #E6ECE8 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 10px;
}

.skeleton-tag { width: 40%; height: 18px; margin-bottom: 16px; }
.skeleton-title { width: 90%; height: 22px; margin-bottom: 16px; }
.skeleton-desc { width: 100%; }

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* MAGAZINE-QUALITY 2-COLUMN NEWS DETAIL PAGE */
.full-screen-news-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-light);
  color: var(--text-dark);
  z-index: 2500;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.full-screen-news-view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Reading Progress Bar */
.news-read-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-green));
  width: 0%;
  z-index: 2600;
  transition: width 0.1s linear;
}

/* Fullscreen Sticky Header */
.news-fullscreen-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 2550;
}

.news-back-btn {
  background: none;
  border: none;
  color: var(--accent-teal);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.news-back-btn:hover {
  transform: translateX(-4px);
}

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

.news-header-brand {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}

.news-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-close-btn:hover {
  background-color: #E2DDD4;
  transform: scale(1.05);
}

/* Editorial Hero Banner */
.news-editorial-hero-banner {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 5% 3rem;
}

.news-hero-container {
  max-width: 1140px;
  margin: 0 auto;
}

.news-meta-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.category-tag-pill {
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
}

.read-time-pill, .verified-pill {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  font-weight: 600;
}

.news-editorial-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 960px;
}

.news-editorial-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.news-publisher-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.publisher-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(8, 127, 115, 0.2);
}

.publisher-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.publisher-role {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

.news-publish-date-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.date-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.date-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* 2-Column Main Layout Grid */
.news-editorial-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 5% 6rem;
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Sticky Sidebar Rail */
.news-sidebar-rail {
  position: sticky;
  top: 96px;
}

.news-sidebar-box {
  background-color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.sidebar-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-meta-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.meta-label {
  color: var(--text-dark-muted);
  font-weight: 500;
}

.meta-val {
  color: var(--text-dark);
  font-weight: 700;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0.5rem;
}

.sidebar-disclaimer-pill {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  line-height: 1.4;
  background-color: var(--bg-light);
  padding: 0.85rem;
  border-radius: 12px;
}

/* Main Article Column */
.news-article-body {
  max-width: 800px;
}

.news-article-hero-image {
  width: 100%;
  height: clamp(340px, 45vh, 520px);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  background-color: #E6ECE8;
}

.news-article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.news-executive-summary {
  background-color: var(--white);
  border-left: 4px solid var(--accent-teal);
  border-radius: 0 20px 20px 0;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.summary-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: block;
  margin-bottom: 0.5rem;
}

.summary-text {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 500;
}

.article-prose h3 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.25rem;
}

.article-prose p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin-bottom: 1.75rem;
}

.article-highlights-card {
  background-color: rgba(98, 181, 159, 0.12);
  border-radius: 20px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlights-list li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
  padding-left: 1.5rem;
  position: relative;
}

.highlights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: 800;
}

.article-quote-block {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-teal);
  border-left: 4px solid var(--accent-teal);
  padding-left: 1.5rem;
  margin: 3rem 0;
  line-height: 1.5;
}

.article-bottom-action-banner {
  background: linear-gradient(135deg, var(--bg-light-secondary), #E2F0EA);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(8, 127, 115, 0.15);
  margin: 4rem 0;
}

.article-bottom-action-banner h3 {
  font-size: 1.8rem;
}

.banner-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Related Stories Section */
.related-news-section {
  border-top: 1px solid var(--border-light);
  padding-top: 4rem;
  margin-top: 5rem;
}

.related-news-header {
  margin-bottom: 2.5rem;
}

.related-news-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

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

.related-card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 127, 115, 0.2);
}

.related-card-image-box {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.related-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-card:hover .related-card-image-box img {
  transform: scale(1.06);
}

.related-category-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(8, 127, 115, 0.9);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.related-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.related-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.related-card-snippet {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.news-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
  margin-top: 5rem;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.news-back-to-top {
  background: none;
  border: none;
  color: var(--accent-teal);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}

/* SECTION 9: FINAL CINEMATIC CTA */
.section-final-cta {
  background-color: var(--bg-dark);
  color: var(--text-dark-section);
  padding: 6rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 127, 115, 0.25) 0%, rgba(98, 181, 159, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background-color: #070908;
  color: var(--text-dark-section-muted);
  padding: 6rem 5% 3rem;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  max-width: 1240px;
  margin: 0 auto 4rem;
}

.footer-brand {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-dark-section-muted);
  max-width: 300px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-dark-section-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-green);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* MODAL DIALOG OVERLAYS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 13, 12, 0.8);
  backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: 28px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem 2.5rem;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background-color: #E2DDD4;
}

/* Donation Toggle */
.donation-toggle {
  display: flex;
  background-color: var(--bg-light);
  padding: 4px;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.toggle-option {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toggle-option.active {
  background-color: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.amount-btn {
  padding: 1rem 0.5rem;
  border-radius: 16px;
  border: 1.5px solid var(--border-light);
  background-color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amount-btn:hover, .amount-btn.active {
  border-color: var(--accent-teal);
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
}

/* RESPONSIVE BREAKPOINTS (Desktop 3 col -> Laptop -> Tablet 2 col -> Mobile 1 col) */
@media (max-width: 1200px) {
  .nav-links {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.84rem;
  }
}

@media (max-width: 1080px) {
  .navbar {
    padding: 0 4%;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 999;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links.active-mobile {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar.scrolled-light .nav-links.active-mobile {
    background-color: rgba(246, 244, 239, 0.98);
  }

  .nav-links.active-mobile .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar.scrolled-light .nav-links.active-mobile .nav-link {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns tablet */
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .journey-detail-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .journey-stage-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .news-sidebar-rail {
    position: static;
  }
  .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 1rem;
  }
  .nav-brand {
    font-size: 1.05rem;
    gap: 8px;
  }
  .btn-primary {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }
  .news-grid {
    grid-template-columns: 1fr; /* 1 column mobile */
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-stages {
    grid-template-columns: repeat(5, 1fr);
    overflow-x: auto;
  }
  .hero-scroll-container {
    height: 380vh;
  }
  .section-journey {
    height: auto;
  }
  .journey-sticky-viewport {
    position: relative;
    height: auto;
  }
}
