/* ========================================
   CSS Variables
   ======================================== */
:root {
  --navy-blue: #003366;
  --gold: #fdb714;
  --green: #5b8c5a;
  --blue: #4a90e2;
  --light-gray: #f5f5f5;
  --light-blue: #eff6ff;
  --white: #ffffff;
  --black: #000000;
  --gray-600: #666666;
  --gray-700: #4a4a4a;
  --gray-800: #333333;
  --gray-300: #d1d1d1;
  --gray-100:#F5F5F5;
}

/* ========================================
   Font Faces
   ======================================== */
@font-face {
  font-family: "Cocogoose Pro";
  src: url("fonts/Cocogoose Pro-trial.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cocogoose Pro";
  src: url("fonts/Cocogoose Pro Semilight-trial.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "system-ui", -apple-system, "sans-serif";
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cocogoose Pro", system-ui, sans-serif;
  letter-spacing: 1px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--navy-blue);
}

.timeline-overview-description{
  text-align: center;
  margin-bottom: 2rem;
  color: white;
  font-size: 1.1rem;
}

.section-description {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-description span{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
  width: 100%;
  margin:1rem auto 0;
  text-align: left;
  border-left:3px solid var(--navy-blue);
  padding:20px;
  background-color: var(--gray-100);
  border-radius: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy-blue);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--gold);
  color: var(--navy-blue);
}

.btn-secondary:hover {
  background-color: rgba(253, 183, 20, 0.9);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--navy-blue);
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  height: 3rem;
  width: auto;
}

.header-text {
  font-size: 9px;
  line-height: 1.2;
  max-width: 200px;
}

.header-title {
  font-weight: bold;
}

.header-subtitle {
  font-size: 7.5px;
  opacity: 0.9;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
}

.desktop-nav li {
  display: flex;
  align-items: center;
}

.desktop-nav li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

.desktop-nav a {
  display: block;
  padding: 0.5rem ;
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.desktop-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color:var(--gold);
}

.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
  width: 1.5rem;
  height: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s ease;
}

.hamburger.active {
  transform: rotate(180deg);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: all 0.5s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.mobile-nav {
  width: 100%;
  padding: 1rem 1rem 1.25rem;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.menu-item {
  border-bottom: 1px solid rgba(253, 183, 20, 0.3);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.menu-item:nth-child(1) {
  animation-delay: 0.1s;
}
.menu-item:nth-child(2) {
  animation-delay: 0.15s;
}
.menu-item:nth-child(3) {
  animation-delay: 0.2s;
}
.menu-item:nth-child(4) {
  animation-delay: 0.25s;
}
.menu-item:nth-child(5) {
  animation-delay: 0.3s;
}
.menu-item:nth-child(6) {
  animation-delay: 0.35s;
}
.menu-item:nth-child(7) {
  animation-delay: 0.4s;
}
.menu-item:nth-child(8) {
  animation-delay: 0.45s;
}

.menu-link {
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
  font-family: "Cocogoose Pro", system-ui, sans-serif;
  font-weight: bold;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.menu-link:hover {
  color: var(--white);
  background-color: var(--navy-blue);
  padding-left: 1.5rem;
  border-left-color: var(--gold);
}

.menu-contact {
  margin-top: 2.75rem;
  padding: 1.25rem;
  background-color: var(--light-blue);
}

.menu-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-section {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.contact-section i {
  font-size: 1.25rem;
  color: var(--navy-blue);
  margin-top: 0.25rem;
}

.contact-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

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

.social-links i {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover i {
  color: var(--navy-blue);
}

/* ========================================
   Hero Section
   ======================================== */
.main-content {
  padding-top: 5rem;
}

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}

.hero-logo {
  width: 100%;
  max-width: 42rem;
  height: auto;
}

.hero-content h2{
  color: white;
  margin-top:20px;
  font-size: 2.5em;
  color:var(--gold);
}

/* ========================================
   Project Overview
   ======================================== */
.project-overview {
  background-color: var(--white);
}

.project-description {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.8;
}

/* ========================================
   Action Cards
   ======================================== */
.action-cards {
  /* Changed from light-gray to light blue to match preview */
  background-color: var(--light-blue);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.action-card {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.card-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  font-size: 2rem;
}

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

.card-description {
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Timeline Section
   ======================================== */
.timeline-section {
  background-color: var(--navy-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

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

.timeline {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--white);
  transform: translateX(-50%);
}

.timeline-year {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.year-badge {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 4px solid var(--gold);
  background-color: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-events {
  margin-bottom: 3rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  opacity: 0;
}

/* Fixed animation to properly work with from-left and from-right classes */
.timeline-item.visible.from-left {
  animation: slideInLeft 0.7s ease-out forwards;
}

.timeline-item.visible.from-right {
  animation: slideInRight 0.7s ease-out forwards;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: white;
  border: 4px solid white;
  transform: translate(-50%, -50%);
  z-index: 20;
  box-shadow: 0 0 10px rgba(253, 183, 20, 0.5);
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.timeline-text {
  padding: 1.5rem;
}

.timeline-month {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--white);
  color: var(--navy-blue);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.timeline-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.timeline-image {
  margin-top: 1.5rem;
}

.timeline-image img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
}

.timeline-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.benefit-card {
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  background-color: var(--light-blue);
}

.benefit-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--navy-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: var(--navy-blue);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   Funding Section
   ======================================== */
.funding-section {
  background-color: var(--light-blue);
}

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

.funding-total {
  text-align: center;
  margin-bottom: 4rem;
}

.funding-total .funding-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.funding-total .funding-amount {
  display: inline-block;
  background-color: var(--navy-blue);
  color: var(--white);
  /* Reduced desktop padding */
  padding: 1.5rem 2.5rem;
  border-radius: 1rem;
  font-size: 3rem;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
}

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

.funding-bars h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--navy-blue);
}

.funding-source {
  margin-bottom: 1.5rem;
}

.funding-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.source-name {
  font-weight: 600;
  color: var(--gray-800);
}

.source-percentage {
  color: var(--gray-600);
}

/* Updated funding bar structure to match preview with gray container and amount on right */
.funding-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.funding-bar-container {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.1);
  height: 2rem;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.funding-bar {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s ease-out;
}

.funding-value {
  min-width: 7rem;
  text-align: right;
  color: var(--gray-800);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.funding-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pie-chart {
  width: 20rem;
  height: 20rem;
  transform: rotate(-90deg);
}

.chart-legend {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
}

.funding-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
  background-color: var(--white);
}

.news-header {
  margin-bottom: 3rem;
}

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

.news-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

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

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

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--gold);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--navy-blue);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-blue);
  font-weight: 600;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: var(--gold);
}

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

/*subpage news section*/



/* ========================================
   Meetings Section
   ======================================== */
.meetings-section {
  background-color: var(--navy-blue);
  color: var(--white);
}

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

.meetings-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.meetings-header {
  margin-bottom: 3rem;
}

.meetings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto 3rem;
}

.meeting-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s ease;
}

.meeting-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.meeting-content {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.meeting-date {
  flex-shrink: 0;
  background-color: var(--gold);
  color: var(--navy-blue);
  border-radius: 0.5rem;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.date-day {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.meeting-details {
  flex: 1;
}

.meeting-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.meeting-info {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.meeting-info i {
  color: var(--gold);
  margin-top: 0.25rem;
}

.meeting-location {
  font-weight: 600;
  color: var(--white);
}

.meeting-address {
  font-size: 0.875rem;
}

.meeting-description {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.meeting-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--navy-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.meeting-btn:hover {
  background-color: var(--white);
}

.meetings-cta {
  text-align: center;
}

/*SUBPAGE MEETING STYLES*/

.subpage-meetings-section {
  background: var(--white);
}

.meeting-card{
  background-color: var(--navy-blue);
}

.subpage-meetings-section .section-title, 
.subpage-meetings-section .section-description{
  color: var(--navy-blue);
}


/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
  background-color: var(--white);
}

.newsletter-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  max-width: 28rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  font-size: 1rem;
  width: 100%;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--navy-blue);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 3rem 0;
}

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

.footer-logo {
  height: 4rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-column p {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social i {
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.footer-social a:hover i {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-links a {
  transition: opacity 0.3s ease;
}

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

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   Tablet Styles (up to 1023px)
   ======================================== */
@media (max-width: 1023px) {

  .timeline-content{
    gap:1rem;
  }

  .timeline-text{
    order:1 !important;
  }

  .timeline-image{
    margin-top:0px;
    order:2 !important;
  }

  .timeline-line{
    display: none;
  }

  .timeline-dot{
    display: none;
  }
}

/* ========================================
   Mobile Styles (up to 767px)
   ======================================== */
@media (max-width: 767px) {
  
  .hero-content h2{
    font-size: 2em;
  }

  /* Funding amount - significantly reduced padding on mobile */
  .funding-total .funding-amount {
    padding: 1rem 1.5rem;
    font-size: 2rem;
  }

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

  .card-title {
    font-size: 1.25rem;
  }

}

/* ========================================
   Tablet Styles (768px and up)
   ======================================== */
@media (min-width: 768px) {
  /* Added 3-column grid for footer on tablet and up */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Reduced padding on tablet */
  .funding-total .funding-amount {
    padding: 1.25rem 2rem;
    font-size: 2.5rem;
  }
}

/* ========================================
   Desktop Styles (1024px and up)
   ======================================== */
@media (min-width: 1024px) {
  .header-content {
    padding: 1rem 2rem;
  }

  /* Show desktop nav, hide hamburger */
  .desktop-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

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

  .timeline-content {
    grid-template-columns: 1fr 1fr;
  }

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

  /* Added two-column layout for funding section on desktop */
  .funding-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

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

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

  /* Removed footer-grid from desktop since it inherits from tablet */

  .contact-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input {
    max-width: none;
  }
}
