/* Base Styles */
:root {
  --primary-color: #1e5631; /* Dark green from logo */
  --secondary-color: #e6b325; /* Gold/Yellow from logo */
  --light-green: #8dc63f; /* Light green from logo */
  --medium-green: #3a7728; /* Medium green from logo */
  --dark-green: #0c3618; /* Darker shade of green */
  --yellow: #e6b325; /* Gold/Yellow from logo */
  --dark-color: #111111;
  --light-color: #ffffff;
  --gray-color: #f5f5f5;
  --text-color: #333333;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Preloader - HIDDEN to allow immediate access to the webpage */
.preloader {
  display: none !important; /* Force hide the preloader */
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.2s ease, visibility 0.2s ease; /* Reduced from 0.5s to 0.2s */
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  animation: pulse 2s infinite;
  max-width: 200px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  opacity: 0.7;
}

.cursor-follower {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 1px solid var(--secondary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
  opacity: 0.5;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0; /* Slightly reduced to maintain overall header height */
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

header.scrolled {
  padding: 5px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo img {
  height: 50px; /* Slightly smaller when scrolled but still larger than original */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  z-index: 1001;
}

.logo img {
  height: 60px; /* Increased from 40px */
  width: auto;
  transition: var(--transition);
}

nav {
  transition: var(--transition);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--dark-color);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

.menu-toggle.active .hamburger span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

/* Hero Stats Section */
.hero-stats {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  margin-top: 70px; /* Account for fixed header */
}

/* Hero Section Overlay Fixes */
.cityscape-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
}

.hero-text {
  animation: fadeInDown 1.5s ease forwards;
  opacity: 0;
}

.hero-text2 {
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero-text h1,
.hero-text2 h1 {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin: 10px 0;
  letter-spacing: 1px;
}

.centered {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px 30px;
  border-radius: 5px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  z-index: 3;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1s;
  opacity: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animation keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive adjustments for hero section */
@media (max-width: 1400px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 1200px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 3rem;
  }

  .centered {
    width: 85%;
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 2.8rem;
  }

  .centered {
    width: 90%;
    font-size: 1.05rem;
    top: 68%;
  }
}

@media (max-width: 768px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 2.5rem;
  }

  .centered {
    width: 90%;
    font-size: 1rem;
    padding: 15px 20px;
    top: 70%;
  }

  /* Ensure proper z-index stacking for mobile */
  .cityscape-bg {
    z-index: 1;
  }

  .hero-image {
    z-index: 2;
  }

  .centered {
    z-index: 3;
  }

  .stats-container {
    z-index: 4;
    position: relative;
  }
}

@media (max-width: 576px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 2rem;
  }

  .centered {
    width: 95%;
    font-size: 0.9rem;
    padding: 12px 15px;
    top: 72%;
  }
}

@media (max-width: 480px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 1.8rem;
  }

  .centered {
    width: 95%;
    font-size: 0.85rem;
    padding: 10px;
    top: 75%;
  }
}

/* Extra large screens */
@media (min-width: 1800px) {
  .hero-text h1,
  .hero-text2 h1 {
    font-size: 5rem;
  }

  .centered {
    max-width: 1000px;
    font-size: 1.4rem;
    padding: 25px 40px;
  }
}

/* Fix for stats container on mobile */
@media (max-width: 768px) {
  .hero-stats {
    height: auto;
    min-height: 100vh;
  }

  .stats-container {
    flex-direction: column;
    height: auto;
    position: relative;
    margin-top: 50vh;
    bottom: auto;
  }

  .stat-column {
    clip-path: none !important;
    margin-left: 0 !important;
    padding: 15px 5px;
  }

  .stat-column:not(:first-child) {
    margin-top: -1px;
  }
}

/* Fix for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-text,
  .hero-text2,
  .centered {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("images/radar-grid.png");
  background-size: cover;
  background-position: center;
}

/* Video Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 3;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Stats Container */
.stats-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 4;
  height: 50%;
}

.stat-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 10px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.stat-column:not(:first-child) {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -5%;
}

/* Mobile Responsiveness for Hero Section */
@media (max-width: 768px) {
  /* Menu toggle for mobile */
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    padding-top: 80px;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 15px 0;
  }

  /* Hero section adjustments */
  .hero-stats {
    height: auto;
    min-height: 100vh;
  }

  .hero-image {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .centered {
    width: 90%;
    font-size: 1rem;
    padding: 15px;
    margin-top: 20px;
  }

  .stats-container {
    flex-direction: column;
    height: auto;
    position: relative;
    margin-top: 50vh;
  }

  .stat-column {
    clip-path: none !important;
    margin-left: 0 !important;
    padding: 15px 5px;
  }

  .stat-column:not(:first-child) {
    margin-top: -1px;
  }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .centered {
    width: 80%;
    font-size: 1.1rem;
  }

  .stats-container {
    height: 40%;
  }
}

.light-blue {
  background-color: var(--light-green);
}

.yellow {
  background-color: var(--yellow);
}

.teal {
  background-color: var(--primary-color);
  color: white;
}

.dark-teal {
  background-color: var(--dark-green);
  color: white;
}

.light-blue-2 {
  background-color: var(--light-green);
}

.stat-content {
  text-align: center;
  z-index: 2;
}

.stat-content h2 {
  font-size: 1.8rem; /* Reduced from 2.2rem */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 5px;
  opacity: 0;
  animation: typing 1s forwards;
  animation-delay: 0.3s;
}

.stat-content p {
  font-size: 0.9rem; /* Reduced from 1rem */
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  opacity: 0;
  animation: typing 1s forwards;
  animation-delay: 0.6s;
}

.stat-content .description {
  font-size: 0.8rem; /* Reduced from 0.85rem */
  font-weight: 500;
  display: block;
  line-height: 1.3;
  opacity: 0;
  animation: typing 1s forwards;
  animation-delay: 0.9s;
}

/* Form message styles */
.form-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(0, 128, 0, 0.1);
  color: green;
  border: 1px solid green;
}

.form-message.error {
  display: block;
  background-color: rgba(255, 0, 0, 0.1);
  color: red;
  border: 1px solid red;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  text-align: center;
  background-color: var(--light-color);
  position: relative;
  z-index: 3;
}

.mission-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.mission-icon {
  margin-bottom: 15px;
}

.mission-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.highlight {
  color: var(--secondary-color);
}

.mission-content p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #555;
}

/* Energy Management Section */
.energy-management {
  padding: 60px 0 80px;
  background-color: var(--light-color);
}

.energy-management-header {
  text-align: center;
  margin-bottom: 50px;
}

.energy-management-header h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.highlight-text {
  color: var(--secondary-color);
  margin-top: 5px;
}

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background-color: var(--gray-color);
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  margin-bottom: 10px;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--light-color);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.underline {
  height: 3px;
  width: 60px;
  background-color: var(--secondary-color);
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 20px;
  color: #666;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border-color: var(--secondary-color);
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reveal-image {
  transform: scale(1.1);
  transition: transform 1.5s ease;
}

.about-image:hover .reveal-image {
  transform: scale(1);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--gray-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-card p {
  color: #666;
}

/* Resources Section */
.resources {
  padding: 80px 0;
  background-color: var(--light-color);
}

.resources-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--secondary-color);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.resource-card {
  background-color: var(--gray-color);
  padding: 25px;
  border-radius: 10px;
  transition: var(--transition);
}

.resource-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.resource-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 10px;
}

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.resource-card p {
  color: #666;
  margin-bottom: 15px;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.read-more:hover::after {
  width: 100%;
}

/* Careers Section */
.careers {
  padding: 80px 0;
  background-color: var(--gray-color);
}

.careers-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.careers-text {
  flex: 1;
}

.careers-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.careers-text p {
  margin-bottom: 25px;
  color: #666;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.careers-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--light-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item svg {
  margin-right: 15px;
  min-width: 24px;
}

.info-item p {
  color: #666;
}

.contact-info .social-links {
  display: flex;
  margin-top: 20px;
}

.contact-info .social-links a {
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.contact-info .social-links a:hover {
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 20px 0;
  text-align: center;
}

/* Partner Section */
.partner-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.partner-header {
  text-align: center;
  margin-bottom: 40px;
}

.partner-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.highlight-text {
  color: #00b388;
}

.partner-image-container {
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-image {
  width: 100%;
  height: auto;
  display: block;
}

.partner-description {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.partner-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.partner-features {
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  margin-bottom: 50px;
}

.feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-content {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-content p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* Impact Section */
.impact-section {
  padding: 80px 0;
  background-color: var(--light-color);
  text-align: center;
}

/* Fix for the impact-header to center the logo-icon */
.impact-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.impact-divider {
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-bottom: 20px;
}

.impact-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.impact-card p {
  color: #555;
  line-height: 1.6;
}

/* Track Record Section */
.track-record-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

/* Add this CSS to center the work-with-us section */
.work-with-us {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.track-record-header {
  text-align: center;
}

@keyframes typing {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .stat-content h2 {
    font-size: 1.8rem;
  }

  .stat-content p {
    font-size: 0.9rem;
  }

  .stat-content .description {
    font-size: 0.8rem;
  }

  /* Make sure the overlay works on all screen sizes */
  .centered {
    width: 95%;
  }

  .centered h1 {
    font-size: 2rem;
  }

  .centered p {
    font-size: 1rem;
  }

  /* Fix z-index stacking for mobile */
  .hero-image {
    z-index: 1;
  }

  .video-overlay {
    z-index: 2;
  }

  .centered {
    z-index: 3;
  }

  .stats-container {
    z-index: 4;
  }

  /* About section */
  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Careers section */
  .careers-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Contact section */
  .contact-content {
    grid-template-columns: 1fr;
  }

  /* Resources tabs */
  .resources-tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    margin: 5px 0;
  }

  /* Partner features */
  .feature-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Responsive styles for stats section */
@media (min-width: 769px) and (max-width: 1200px) {
  .stat-content h2 {
    font-size: 1.6rem;
  }

  .stat-content p {
    font-size: 0.8rem;
  }

  .stat-content .description {
    font-size: 0.75rem;
  }

  .stat-column {
    padding: 12px 8px;
  }
}

@media (min-width: 1201px) {
  .stat-content h2 {
    font-size: 1.8rem;
  }

  .stat-content p {
    font-size: 0.9rem;
  }

  .stat-content .description {
    font-size: 0.8rem;
  }

  .stat-column {
    padding: 15px 12px;
  }
}

/* Impact Grid and Cards */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.impact-card .impact-icon {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.impact-card .impact-icon img {
  max-width: 80px;
  max-height: 80px;
}

/* Large screen adjustments for impact section */
@media (min-width: 1200px) {
  .impact-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1400px;
  }

  .impact-card .impact-icon {
    width: 120px;
    height: 120px;
  }

  .impact-card .impact-icon img {
    max-width: 100px;
    max-height: 100px;
  }
}
