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

/* Root Variables - Deep Red, Black, Grey */
:root {
  --primary-color: #8B1A1A;
  --primary-light: #A52422;
  --primary-dark: #6B1414;
  --primary-darker: #4A0E0E;
  --secondary-color: #C43E3C;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --red-subtle: #fdf2f2;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --grey-medium: #999999;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

a:hover {
  color: var(--secondary-color);
}

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

ul {
  padding-left: 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.25rem;
  text-decoration: none;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.5px;
  line-height: 1;
  padding-right: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-logo:hover .logo-circle {
  background: var(--primary-color);
  color: var(--white);
}

.logo-text {
  color: var(--text-dark);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-dark);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
}

.nav-link:hover {
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: '\25BC';
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.nav-item:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--primary-color);
  margin-top: 0;
  overflow: hidden;
  z-index: 1001;
}

.nav-item:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: var(--red-subtle);
  color: var(--primary-color);
  padding-left: 1.75rem;
}

.cta-button {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 26, 26, 0.3);
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-color) 50%, var(--dark-bg) 100%);
  overflow: hidden;
  padding: 6rem 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

/* Dark overlay — sits above photo, below text */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 28, 0.60) 0%,
    rgba(12, 12, 12, 0.80) 100%
  );
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.hero h1,
.hero-headline {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subheadline {
  display: block;
  font-size: 2rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0.5rem;
}

.hero-highlight {
  color: #FF8A8A;
  font-size: 4.5rem;
  display: block;
}

.hero-description,
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn,
.hero-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary,
.hero-buttons a.btn-primary {
  background: var(--primary-color);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--secondary-color);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 26, 26, 0.4);
}

.btn-secondary,
.hero-buttons a.btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color) !important;
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366 !important;
  color: var(--white) !important;
}

.btn-whatsapp:hover {
  background: #1DA851 !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ============================================
   PAGE BANNER (Sub-pages)
   ============================================ */
.page-banner {
  background: linear-gradient(to bottom, #1c1c1c 0%, #0a0a0a 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background photo layer — first child div with style="background-image: url(...);" */
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

/* Dark grey to darker grey overlay — sits above photo, below text */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 28, 0.3) 0%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

/* Alias for pages using .banner-content instead of .page-banner-content */
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.page-tagline {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.page-banner h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* All banner text explicitly white */
.page-banner,
.page-banner h1,
.page-banner h2,
.page-banner h3,
.page-banner p,
.page-banner span,
.page-banner a:not(.cta-button):not(.btn) {
  color: white;
}

.page-banner-subtitle {
  font-size: 1.25rem;
  color: white;
  opacity: 0.92;
  margin-bottom: 2rem;
  font-family: 'Merriweather', serif;
  font-weight: 300;
}

.scroll-arrow {
  display: inline-block;
  animation: bounce 2s infinite;
  color: white;
  font-size: 2rem;
  margin-top: 2rem;
  cursor: pointer;
  text-decoration: none;
}

.scroll-arrow a {
  color: white;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.88rem;
  color: var(--grey-medium);
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

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

.content {
  margin: 3rem 0;
}

.content-section {
  margin: 4rem 0;
}

.content-section p {
  margin-bottom: 1.5rem;
}

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

.section-header h2 {
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

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

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

@media (max-width: 768px) {
  .cards-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .cards-grid--4col {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.12);
}

.card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.35rem;
}

.card h4 {
  color: var(--primary-color);
  margin-top: 0;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card li {
  padding: 0.5rem 0;
  color: var(--text-light);
  padding-left: 1.5rem;
  position: relative;
}

.card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.card p {
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
  letter-spacing: 0.5px;
}

.card-link:hover {
  gap: 0.65rem;
  color: var(--secondary-color);
}

.read-more {
  font-size: 0.8rem;
  text-transform: uppercase;

}

/* Stat Cards */
.stat-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 4px solid var(--primary-color);
}

.stat-number {
  font-family: 'Inter Tight', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   TABLES
   ============================================ */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

thead {
  background: var(--primary-color);
  color: white;
}

th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
}

td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.95rem;
}

tbody tr:hover {
  background-color: var(--red-subtle);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   ELIGIBILITY SECTION
   ============================================ */
.eligibility-list {
  margin: 2rem 0;
}

.eligibility-item {
  padding: 1.25rem;
  margin: 1rem 0;
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
}

.eligibility-item h4 {
  color: var(--primary-color);
  margin-top: 0;
}

.eligibility-item p {
  margin-bottom: 0;
}

/* Highlight Box */
.highlight-box {
  background: var(--red-subtle);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.highlight-box p {
  color: var(--primary-darker);
  margin: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--red-subtle);
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--primary-color);
  transform: rotate(180deg);
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  stroke: var(--grey-medium);
  stroke-width: 2.5;
  fill: none;
}

.faq-item.active .faq-toggle svg {
  stroke: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  counter-reset: step-counter;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.step-content p {
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-color));
  color: white;
  padding: 4rem 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 4rem;
}

.cta-section h2,
.cta-section h3 {
  color: white;
  margin-top: 0;
}
.cta-button-primary {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.9rem 2.5rem;
  border-radius: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.cta-button-primary:hover {
  background: #f0f0f0;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* CTA button variant used in article pages */
.cta-button-light {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.9rem 2.5rem;
  border-radius: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.cta-button-light:hover {
  background: #f0f0f0;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}


.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-light {
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.cta-button-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(139,26,26,0.12);
  transform: translateY(-4px);
}

.article-card-img {
  height: 200px;
  background-color: var(--primary-darker);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-img-placeholder {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.article-card-body {
  padding: 1.5rem;
}

.article-card-meta {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.75rem;
  color: var(--grey-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.article-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
  line-height: 1.4;
}

.article-card-body h3 a {
  color: var(--text-dark);
}

.article-card-body h3 a:hover {
  color: var(--primary-color);
}

/* ============================================
   UPDATES GRID
   ============================================ */
.updates-grid {
  padding-bottom: 3rem;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-column h4 {
  color: white;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

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

.footer-column a {
  color: #b0b0b0;
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column a:hover {
  color: white;
  padding-left: 0.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand .logo-circle {
  width: 45px;
  height: 45px;
  font-size: 0.88rem;
  border-width: 2px;
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}

.footer-brand-text {
  color: white;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
}

.footer-description {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.footer-contact-item {
  margin-bottom: 1rem;
}

.footer-contact-label {
  display: block;
  color: #888;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-divider {
  border-top: 1px solid #333333;
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: #888888;
  font-size: 0.55rem;
  padding-top: 0.5rem;
}

.footer-bottom p {
  color: #888888;
  margin: 0;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.eligibility-form {
  max-width: 700px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.result-box {
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  display: none;
}

.result-box.success {
  background: #E8F5E9;
  border: 2px solid #4CAF50;
}

.result-box.warning {
  background: #FFF3E0;
  border: 2px solid #FF9800;
}

.result-box h3 {
  margin-top: 0;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-red { color: var(--primary-color); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* External link icon for body links (not nav/footer/buttons) */
.content-section a[target="_blank"]::after,
.content a[target="_blank"]::after {
  content: " \2197";
  font-size: 0.8em;
}

/* ============================================
   BACKWARD-COMPATIBLE ALIASES
   Sub-pages may use slightly different class names.
   These aliases ensure consistent rendering.
   ============================================ */

/* Nav aliases */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar .logo,
.navbar .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Dropdown inside ul-based menus */
.dropdown > .dropdown-menu,
.nav-dropdown > .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--primary-color);
  z-index: 1001;
  list-style: none;
  padding: 0;
}

.dropdown:hover > .dropdown-menu,
.nav-dropdown:hover > .dropdown-menu,
.nav-item.dropdown:hover > .dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* Dropdown items inside ul-based menus */
.dropdown-menu li a,
.dropdown-menu a:not(.dropdown-item) {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  background-color: var(--red-subtle);
  color: var(--primary-color);
  padding-left: 1.75rem;
}

/* Dropdown button triggers */
.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-btn:hover {
  color: var(--primary-color);
}

.dropdown-btn::after {
  content: '\25BC';
  font-size: 0.6rem;
  opacity: 0.5;
}

/* ── Burger button (hidden on desktop, visible on mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.open .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta,
.btn-sm {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.nav-cta:hover,
.btn-sm:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Button aliases */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

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

.btn.btn-primary:hover {
  background: var(--secondary-color);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 26, 26, 0.4);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* Grant card icons */
.card-icon,
.grant-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--red-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-color);
}

.grant-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.grant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.12);
}

.grant-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.35rem;
}

/* Benefit cards */
.benefit-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.12);
}

.benefit-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.75rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-color);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.stats-grid .stat-value,
.stat-value {
  font-family: 'Inter Tight', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

/* Steps container */
.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.steps-container .step {
  flex: 1;
  min-width: 250px;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 1rem;
}

.step-arrow svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-color);
  stroke-width: 2;
}

/* Section padding for pages */
.overview,
.grant-cards,
.why-edge,
.how-it-works {
  padding: 5rem 0;
}

.grant-cards,
.why-edge {
  background: var(--light-bg);
}

/* Section header line */
.section-header .section-line {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto;
}

/* Footer bottom in sub-page style */
footer .footer-bottom p {
  color: #888;
  margin: 0;
}

/* Page content sections */
section > .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Checklist card styling used in some pages */
.checklist-item {
  padding: 1rem 1.25rem;
  margin: 0.5rem 0;
  background: var(--light-bg);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 6px 6px 0;
}

/* Update card (latest info page) */
.update-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.update-card:hover {
  box-shadow: 0 4px 16px rgba(139,26,26,0.08);
}

.update-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.2rem;
}

.update-date {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.8rem;
  color: var(--grey-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
  .stats-grid,
  .benefits-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .navbar-container,
  .navbar .container {
    flex-wrap: wrap;
  }
  .cta-section {
    margin: 2rem 1.5rem;
    padding: 3rem 1.5rem;
  }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-menu {
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 2px solid var(--primary-color);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .dropdown-menu {
    position: static;
    display: none !important;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--primary-color);
    border-radius: 0;
    margin-left: 1.5rem;
    padding: 0;
  }

  .nav-item.open .dropdown-menu {
    display: flex !important;
    flex-direction: column;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle:hover {
    background: var(--red-subtle);
  }

  /* WhatsApp / CTA button inside mobile menu */
  .nav-menu .cta-button {
    display: block;
    width: calc(100% - 3rem);
    margin: 0.5rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
    transform: none;
  }

  .nav-menu .cta-button:hover {
    transform: none;
  }

  .nav-container {
    position: relative;
    justify-content: space-between;
  }

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

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

  .hero-subheadline {
    font-size: 1.4rem;
  }

  .hero-highlight {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-banner {
    padding: 4rem 1.5rem;
  }

  .page-banner h1 {
    font-size: 2.25rem;
  }

  .page-banner-subtitle {
    font-size: 1.05rem;
  }

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

  .cta-section {
    padding: 2.5rem 1.25rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3rem; }

  /* Responsive comparison table — stacked cards */
  .table-wrapper {
    overflow-x: visible;
  }

  .table-wrapper table,
  .table-wrapper thead,
  .table-wrapper tbody,
  .table-wrapper th,
  .table-wrapper td,
  .table-wrapper tr {
    display: block;
  }

  /* Hide the header row */
  .table-wrapper thead tr {
    display: none;
  }

  /* Each row becomes a card */
  .table-wrapper tbody tr {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }

  /* First cell (feature label) becomes a card header */
  .table-wrapper tbody td:first-child {
    background: var(--primary-color);
    color: white;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  .table-wrapper tbody td:first-child strong {
    color: white;
  }

  /* Grant value cells */
  .table-wrapper tbody td[data-label] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
  }

  .table-wrapper tbody td[data-label]:last-child {
    border-bottom: none;
  }

  /* Grant name label */
  .table-wrapper tbody td[data-label]::before {
    content: attr(data-label);
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  table { font-size: 0.88rem; }
  th, td { padding: 0.75rem; }

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

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

  .floating-whatsapp {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 25px;
    height: 25px;
  }

  .step {
    flex-direction: column;
  }
}

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

  .logo-circle {
    width: 35px;
    height: 35px;
    font-size: 0.68rem;
    border-width: 2px;
  }

  .hero h1,
  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }

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

  .page-banner h1 {
    font-size: 1.75rem;
  }

  .page-banner-subtitle {
    font-size: 1rem;
  }

  h2 { font-size: 1.5rem; }

  .footer-grid { gap: 1.5rem; }

  .stat-number { font-size: 2.5rem; }
  .cta-section {
    margin: 1.5rem 1rem;
    padding: 2.5rem 1.25rem;
  }
}
