/* Specific background image for the "Our Story" section */
.story-image-mpho {
  background-image: url("../images/speaker_Mr.Mpho_Mutaurirwa.jpg");
}
:root {
--midnight: #0b2c47;
--forest: #1f4d2e;
--wheat: #d4a017;
--charcoal: #333333;
--offwhite: #f7f7f5;
--beige: #f3eee6;
--white: #ffffff;
--shadow: rgba(0, 0, 0, 0.25);
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
}

body {
font-family: "Montserrat", sans-serif;
color: var(--charcoal);
background-color: var(--offwhite);
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem; /* Less padding on smaller screens */
box-sizing: border-box; /* Include padding in width calculation */
}

/* Header Styles */
.header {
position: sticky;
top: 0;
z-index: 50;
background-color: rgba(255, 255, 255, 0.9);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
box-shadow: 0 2px 4px var(--shadow);
transition: transform 0.3s ease;
}

.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
}

.brand {
display: flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
color: var(--forest);
font-weight: 700;
font-size: 1.25rem;
}

.brand .logo {
width: 40px;
height: 40px;
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--wheat), #f7d97a);
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3);
}

.logo img {
height: 40px;
width: auto;
}

.nav-links {
display: none;
align-items: center;
gap: 2rem;
font-size: 0.875rem;
}

.nav-links a {
color: var(--charcoal);
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
color: var(--forest);
transform: translateY(-2px);
}

.nav-links .active {
color: var(--forest);
font-weight: 700;
}

.cta-btn {
background-color: var(--forest);
color: var(--white);
padding: 0.625rem 1.25rem;
border-radius: 6px;
font-weight: 700;
text-decoration: none;
transition: background-color 0.3s ease, transform 0.2s ease;
border: none;
cursor: pointer;
}

.cta-btn:hover {
background-color: #1a3c26;
transform: translateY(-2px);
}

.menu-toggle {
display: block;
background: none;
border: none;
cursor: pointer;
color: var(--forest);
transition: transform 0.3s ease;
}

.menu-toggle:hover {
transform: scale(1.1);
}

.menu-toggle svg {
width: 28px;
height: 28px;
}

#mobileDrawer {
position: fixed;
top: 64px;
left: 0;
width: 100%;
height: calc(100vh - 64px);
background-color: var(--white);
padding: 1rem 0;
box-shadow: 0 4px 6px var(--shadow);
transform: translateX(-100%);
transition: transform 0.3s ease-in-out;
display: flex;
flex-direction: column;
z-index: 40;
}

#mobileDrawer.is-open {
transform: translateX(0);
}

#mobileDrawer a {
display: block;
padding: 0.75rem 1.5rem;
font-weight: 600;
color: var(--charcoal);
text-decoration: none;
transition: background-color 0.2s ease;
}

#mobileDrawer a:hover {
background-color: var(--offwhite);
}

#mobileDrawer .cta-btn {
margin: 1rem 1.5rem;
}

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

.menu-toggle {
    display: none;
}
}

/* Hero Section */
.hero {
position: relative;
padding: 8rem 1.5rem;
color: var(--white);
text-align: center;
overflow: hidden;
}

/* Beautiful gradient background that matches the website theme */
.hero-gradient {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--midnight) 0%, var(--forest) 60%, var(--forest) 100%);
z-index: -1;
animation: gradientShift 15s ease infinite alternate;
}

@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

/* Add a subtle pattern overlay for more texture */
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
z-index: -1;
}

.hero-content {
position: relative;
background: rgba(0, 0, 0, 0.6);
padding: 30px;
border-radius: 12px;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
max-width: 800px;
margin: 0 auto;
}

/* Hero CTA styling */
.hero-cta {
margin-top: 2rem;
text-align: center;
}

.pitch-cta-button {
display: inline-flex;
align-items: center;
background: var(--wheat);
color: var(--midnight);
font-weight: 700;
font-size: 1rem;
padding: 0.85rem 1.5rem;
border-radius: 50px;
text-decoration: none;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
transition: all 0.3s ease;
border: 2px solid rgba(255, 255, 255, 0.2);
position: relative;
overflow: hidden;
}

.pitch-cta-button::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
border-radius: inherit;
}

.pitch-cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
background: #e4b02a;
}

.pitch-cta-button:active {
transform: translateY(-1px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.pitch-icon {
margin-right: 10px;
font-size: 1.1rem;
}

.pitch-arrow {
margin-left: 10px;
font-weight: bold;
transition: transform 0.3s ease;
}

.pitch-cta-button:hover .pitch-arrow {
transform: translateX(4px);
}

.hero h1 {
font-size: 2.5rem;
font-weight: 800;
line-height: 1.2;
margin-bottom: 1rem;
animation: fadeInDown 1s ease-out;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
font-size: 1rem;
max-width: 700px;
margin: 0 auto;
animation: fadeInDown 1s ease-out 0.2s;
animation-fill-mode: forwards;
opacity: 0;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
.hero {
    padding: 12rem 1.5rem;
}
.hero h1 {
    font-size: 4rem;
}
.hero p {
    font-size: 1.25rem;
}
.pitch-cta-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}
}

/* Extra media query for mobile responsiveness */
@media (max-width: 480px) {
  .pitch-cta-button {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }
  .pitch-icon, .pitch-arrow {
    font-size: 0.9rem;
  }
}

/* Conference Overview Section */
.conference-overview {
  background-color: var(--beige);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Container for all overview content */
.overview-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Header area with title and theme badge */
.overview-header {
  text-align: center;
  margin-bottom: 1rem;
}

.overview-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--midnight);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Theme badge styling */
.theme-badge {
  background-color: var(--forest);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Description paragraphs */
.overview-description {
  text-align: center;
}

.overview-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.overview-description p:last-child {
  margin-bottom: 0;
}

/* Focus areas section */
.focus-areas {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .focus-areas {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual focus area items */
.focus-area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.focus-area-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Icon container for focus areas */
.focus-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--wheat);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s ease;
}

.focus-icon svg {
  width: 30px;
  height: 30px;
  color: var(--midnight);
  transition: transform 0.3s ease;
}

.focus-area-item:hover .focus-icon {
  background-color: var(--midnight);
}

.focus-area-item:hover .focus-icon svg {
  transform: scale(1.1);
  color: var(--white);
}

/* Focus area title */
.focus-area-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--midnight);
  text-align: center;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .overview-header h2 {
    font-size: 2rem;
  }
  
  .theme-badge {
    font-size: 0.9rem;
  }
  
  .overview-description p {
    font-size: 1rem;
  }
}

/* Story Section */
.story-section {
background-color: var(--white);
padding: 5rem 0;
}

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

@media (min-width: 768px) {
.story-content {
    grid-template-columns: 1fr 1fr;
}

.story-text h2 {
    font-size: 2.25rem; /* Larger on medium screens */
}
}

.story-text h2 {
font-size: 1.8rem; /* Smaller on mobile */
font-weight: 700;
margin-bottom: 1rem;
animation: fadeInRight 0.8s ease-out;
}

.story-text p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1.5rem;
animation: fadeInRight 0.8s ease-out 0.2s;
animation-fill-mode: forwards;
opacity: 0;
}

.story-image {
width: 100%;
height: 300px;
background-size: cover;
background-position: center;
border-radius: 8px;
box-shadow: 0 6px 15px var(--shadow);
animation: fadeInLeft 0.8s ease-out;
}

/* Conference History Timeline Section */
.history-section {
  background-color: var(--beige);
  padding: 5rem 0;
  position: relative;
}

.history-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--midnight);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d0d0d0;
  left: 25px;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  width: 30px;
  height: 30px;
  left: 25px;
  background-color: var(--wheat);
  border-radius: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--white);
  z-index: 1;
}

.timeline-item.current .timeline-marker {
  background-color: var(--forest);
}

.year {
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.timeline-content {
  margin-left: 50px;
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.timeline-content h3 {
  font-size: 1.4rem;
  color: var(--midnight);
  margin-bottom: 0.75rem;
}

.timeline-summary p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.toggle-details {
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-details:hover {
  background: var(--midnight);
}

.timeline-details {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.timeline-details.show {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.timeline-details p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.timeline-details ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.timeline-details li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
  }
  
  .timeline-marker {
    left: 50%;
    width: 40px;
    height: 40px;
  }
  
  .year {
    font-size: 1rem;
  }
  
  .timeline-content {
    width: 45%;
    margin-left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    float: left;
    margin-right: 55%;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    float: right;
  }
  
  .timeline-item::after {
    content: "";
    display: table;
    clear: both;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: 2px -2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.05);
  }
}

/* Video CTA Section */
.video-cta-section {
  background-color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.video-cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--midnight);
}

.cta-wrapper {
  margin: 2rem auto;
  text-align: center;
  max-width: 600px;
}

.video-cta-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: var(--charcoal);
}

.video-cta-section .cta-btn {
  display: inline-block;
  background-color: var(--forest);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-cta-section .cta-btn:hover {
  transform: translateY(-3px);
  background-color: var(--midnight);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .video-cta-section {
    padding: 4rem 0;
  }
  
  .video-cta-section .cta-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

/* Stats Section */
.stats-section {
background-color: var(--beige);
padding: 3rem 0; /* Less padding on mobile */
text-align: center;
}

.stats-section h2 {
font-size: 1.8rem; /* Smaller font size for mobile */
font-weight: 700;
margin-bottom: 2rem; /* Less margin on mobile */
animation: fadeIn 1s ease-out;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(1, 1fr); /* Single column on very small screens */
gap: 1.5rem; /* Smaller gap on mobile */
padding: 0 1rem; /* Add horizontal padding */
}

.stat-item {
background-color: var(--white);
padding: 1.5rem; /* Less padding on mobile */
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: fadeInUp 0.8s ease-out forwards;
opacity: 0;
width: 100%; /* Ensure it doesn't overflow */
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-item:nth-child(4) { animation-delay: 0.8s; }

.stat-item:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
font-size: 2.25rem; /* Smaller size for mobile */
font-weight: 800;
color: var(--forest);
margin-bottom: 0.5rem;
}

.stat-label {
font-size: 1rem;
font-weight: 600;
color: var(--charcoal);
}

@media (min-width: 480px) {
.stats-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
}
}

@media (min-width: 640px) {
.stats-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on medium screens */
}

.stats-section h2 {
    font-size: 2.25rem; /* Larger heading on medium screens */
}

.stat-number {
    font-size: 2.5rem; /* Larger numbers on medium screens */
}

.stat-item {
    padding: 1.75rem; /* More padding on medium screens */
}
}

@media (min-width: 768px) {
.pitch-content h2 {
    font-size: 2.25rem; /* Larger heading on medium screens */
}

.pitch-box {
    padding: 2rem; /* More padding on medium screens */
}

.stats-section, .pitch-section {
    padding: 4rem 0; /* More vertical padding on medium screens */
}

.container {
    padding: 0 2rem; /* More container padding on medium screens */
}
}

/* Pitch Competition Section */
.pitch-section {
background-color: var(--white);
padding: 3rem 0; /* Less padding on mobile */
}

.pitch-content {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem; /* Smaller gap for mobile */
align-items: center;
max-width: 100%; /* Full width on mobile first */
width: 100%;
box-sizing: border-box;
margin: 0 auto;
text-align: center;
padding: 0 1rem; /* Add horizontal padding for small screens */
}

@media (min-width: 640px) {
.pitch-content {
    max-width: 800px; /* Set max width on larger screens */
}
}

.pitch-content h2 {
font-size: 1.8rem; /* Smaller font size for mobile */
font-weight: 800;
margin-bottom: 1.5rem;
animation: fadeIn 1s ease-out;
}

.pitch-box {
background-color: var(--forest);
color: var(--white);
padding: 1.5rem; /* Smaller padding for mobile */
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
animation: scaleIn 0.8s ease-out;
overflow-wrap: break-word; /* Prevent text overflow */
word-break: break-word; /* Better handling of long words */
}

.pitch-box h3 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1rem;
}

.pitch-box ul {
list-style: none;
text-align: left;
padding-left: 0;
margin-top: 1.5rem;
width: 100%; /* Ensure full width */
box-sizing: border-box; /* Include padding in width calculation */
}

.pitch-box li {
margin-bottom: 1rem;
position: relative;
padding-left: 1.5rem;
font-weight: 400;
text-align: left; /* Ensure text is left-aligned */
font-size: 0.95rem; /* Slightly smaller text on mobile */
}

.pitch-box li::before {
content: "•";
position: absolute;
left: 0;
font-size: 1.5rem;
line-height: 1;
color: var(--wheat);
}

@media (min-width: 768px) {
.pitch-box li {
    font-size: 1rem; /* Return to normal size on larger screens */
}
}

.pitch-link {
color: var(--wheat);
font-weight: 600;
text-decoration: none;
transition: color 0.3s ease-in-out;
font-size: 0.9rem; /* Smaller font size for mobile */
word-break: break-word; /* Prevent overflow */
}

.pitch-link:hover {
text-transform: capitalize;
}

.pitch-cta {
margin-top: 1.5rem; /* Less margin on mobile */
}

.pitch-cta a {
display: inline-block;
background-color: var(--white);
color: var(--forest);
padding: 0.75rem 1.25rem; /* Smaller padding for mobile */
border-radius: 6px;
font-weight: 700;
font-size: 0.95rem; /* Smaller font size for mobile */
text-decoration: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 6px var(--shadow);
max-width: 100%; /* Prevent overflow */
word-break: break-word; /* Handle long text */
}

.pitch-cta a:hover {
transform: translateY(-3px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive styles for larger screens */
@media (min-width: 768px) {
.pitch-cta a {
    padding: 1rem 2rem; /* Larger padding on medium screens */
    font-size: 1rem; /* Normal font size on medium screens */
}

.pitch-link {
    font-size: 1rem; /* Normal font size on medium screens */
}

.pitch-cta {
    margin-top: 2rem; /* More margin on medium screens */
}
}


/* Footer - Optimized for Performance and Accessibility */
.footer {
background-color: var(--white);
padding: 3rem 0;
}

/* Optimized footer styles */
.footer-info {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.copyright {
margin-bottom: 8px;
}

.footer-address {
font-style: normal;
font-size: 14px;
opacity: 0.9;
line-height: 1.5;
}

.footer-address a {
color: inherit;
text-decoration: none;
transition: color 0.2s ease;
}

.footer-address a:hover {
color: var(--wheat);
text-decoration: underline;
}

.footer-nav {
display: flex;
gap: 1.5rem;
margin-bottom: 1rem;
}

/* Screen reader only class */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}

.footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
}

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

.footer-links a {
color: #6b7280;
text-decoration: none;
transition: color 0.3s ease;
}

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

.copyright {
font-size: 0.875rem;
color: #6b7280;
text-align: center;
}

@media (min-width: 576px) {
.footer-content {
    flex-direction: row;
    justify-content: space-between;
}
.footer-links {
    gap: 1.5rem;
}
}

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

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

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

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

/* Large screen optimizations */
@media (min-width: 1024px) {
.story-content {
    gap: 4rem; /* Just add gap, columns already set in 768px query */
}

.story-text h2 {
    font-size: 2.5rem; /* Full size on large screens */
}

.pitch-content h2 {
    font-size: 2.5rem; /* Full size heading on large screens */
}

.stat-number {
    font-size: 3rem; /* Full size numbers on large screens */
}

.stats-section h2 {
    font-size: 2.5rem; /* Full size heading on large screens */
}

.pitch-section, .stats-section {
    padding: 5rem 0; /* Full padding on large screens */
}
}

@keyframes fadeIn {
from {
    opacity: 0;
}
to {
    opacity: 1;
}
}

@keyframes scaleIn {
from {
    opacity: 0;
    transform: scale(0.9);
}
to {
    opacity: 1;
    transform: scale(1);
}
}

.animate-on-scroll {
opacity: 0;
transform: translateY(50px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
opacity: 1;
transform: translateY(0);
}

/* Footer */
    footer {
      background: var(--midnight);
      color: rgba(255,255,255,0.9);
      padding: 40px 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
    }
    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr auto;
      }
    }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }
    .social-links {
      display: flex;
      gap: 20px;
      margin-top: 10px;
    }
    .social-link {
      width: 24px;
      height: 24px;
      color: rgba(255,255,255,0.6);
      transition: transform 0.2s ease, color 0.2s ease;
    }
    .social-link:hover {
      color: var(--white);
      transform: translateY(-2px);
    }

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