/* Reset margins and paddings to remove any white borders */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: url('https://i.ibb.co/dJxJyVGD/Homepage-background.webp'); 
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 20px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
}

.navbar a {
  color: white; /* changed from black */
  text-decoration: none;
  font-weight: 500;
  font-size: 18;
}

.navbar a:hover {
  color: #228B22; /* yellow hover effect for contrast */
}

.menu {
  display: flex;
  gap: 40px;
}

.logo img{
  width: 140px;
}

.hero-content {
  font-size: 44px;
  line-height: 1.2;
  margin-top: 80px;
  margin-left: 70px;
}

.white-text {
  color: #fff;
}

.green-text {
  color: #228B22;
}

.learn-btn {
  background-color: #228B22;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.learn-btn:hover {
  background-color: #1a6f1a;
}

.arrow {
  font-size: 20px;
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 60px 20px 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
    padding: 0 10px;
  }

  .learn-btn {
    margin-top: 20px;
    font-size: 16px;
    padding: 12px 24px;
  }

  .navbar {
    flex-direction: column;
    padding: 20px;
  }

  .menu {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .logo img {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 15px 30px;
  }

  .hero-content {
    font-size: 26px;
  }

  .learn-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Stats Section */
.stats-section {
  background-color: #FFFFFF;
  padding: 40px 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.stat {
  flex: 1 1 200px;
  margin: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.stat h2 {
  font-size: 54px;
  color: #92A7B0;
  margin: 0;
}

.stat p {
  font-size: 16px;
  font-weight: 800;
  color: #92A7B0;
  margin-left: 10px;
  text-align: left;
}

/* Responsive Design for Stats Section */
@media (max-width: 768px) {
  .stats-section {
    padding: 40px 60px;
    flex-direction: row;
    justify-content: center;
  }

  .stat {
    flex: 1 1 45%;
    justify-content: center;
  }

  .stat h2 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .stats-section {
    padding: 40px 30px;
    flex-direction: column;
    align-items: center;
  }

  .stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat p {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .stat h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .stat h2 {
    font-size: 28px;
  }

  .stat p {
    font-size: 14px;
  }

  .stats-section {
    padding: 30px 20px;
  }
}

/* What We Do Section */
.what-we-do {
  padding: 20px 60px;
  background-color: #FFFFFF;
  text-align: center;
}

.section-title {
  font-size: 54px;
  color: #228B22;
  margin-bottom: 50px;
  font-weight: 900;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.what-box {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.what-box img {
  width: 100%;
  height: auto;
  display: block;
}

.what-box h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 20px;
  color: #000;
}

.green-num {
  font-size: 36px;
  color: #228B22;
  margin-right: 8px;
  font-weight: 900;
}

.what-box p {
  font-size: 16px;
  margin: 0 20px 20px;
  color: #000;
}

/* Responsive Design for What we do Section*/
@media (max-width: 768px) {
  .what-we-do {
    padding: 40px 60px;
    flex-direction: row;
    justify-content: center;
  }
  .section-title {
    font-size: 28px;
    color: #228B22;
    margin-bottom: 50px;
    font-weight: 800;
  }
  .what-box h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 20px;
    color: #000;
  }
  .green-num {
    font-size: 20px;
    color: #228B22;
    margin-right: 8px;
    font-weight: 900;
  }
  
  .what-box p {
    font-size: 12px;
    margin: 0 20px 20px;
    color: #000;
  }
}
/* Take Action Section */
.take-action {
  background-color: #043A53;
  padding: 50px 60px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.take-action-title {
  color: white;
  font-size: 54px;
  margin-bottom: 60px;
  font-weight: 700;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.action-box {
  background-color: #043A53;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
}

.action-box img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 0px solid #ddd;
}

.action-box h3 {
  font-size: 24px;
  margin: 20px 0 10px;
  font-weight: 700;
  color: #fff;
}

.action-box p {
  font-size: 16px;
  margin: 0 20px 20px;
  color: #fff;
}

.subscribe-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background-color: #3e9c42;

}

/* Responsive Design for Take Action */
@media (max-width: 768px) {
  .take-action {
    padding: 40px 60px;
    flex-direction: row;
    justify-content: center;
  }
  
  .take-action-title {
    color: white;
    font-size; 28px;
    margin-bottom: 60px;
    font-weight: 700;
  }

  .action-box p {
    font-size: 10px;
    margin: 0 20px 20px;
    color: #fff;
  }
  
} 

/* Meet Our Amazing Team Section */
.team-section {
  padding: 100px 60px;
  background-color: #fff;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.team-title {
  color: #198754; /* Green */
  font-size: 54px;
  margin-bottom: 60px;
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 40px;
  justify-items: center;
}

.team-member {
  width: 265px;
  text-align: center;
}

.team-member img {
  width: 265px;
  height: 295px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.team-member h3 {
  font-size: 24px;
  margin: 10px 0 4px;
  color: #000;
  font-weight: 600;
}

.team-member p {
  font-size: 16px;
  margin-bottom: 12px;
  color: #000;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.social-icons a {
  color: #000;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #198754;
}

/* Logo Carousel Section */
.logo-carousel {
  background-color: #fff;
  padding: 40px 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.carousel-track img {
  width: 197px;
  height: 197px;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Articles Section */
.articles-section {
  background-color: #043A53;
  padding: 100px 60px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.articles-title {
  font-size: 54px;
  color: white;
  font-weight: 700;
  margin-bottom: 60px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: left;
}

.article-box {
  background: none;
  color: white;
}

.article-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.article-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.article-box p {
  font-size: 18px;
  color: white;
}

/*Responsive Design for Articles Section*/
@media (max-width: 1024px) {
  .articles-section {
    padding: 80px 40px;
  }

  .articles-title {
    font-size: 42px;
    margin-bottom: 40px;
  }

  .article-box h3 {
    font-size: 20px;
  }

  .article-box p {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .articles-section {
    padding: 60px 30px;
    text-align: center;
  }

  .articles-title {
    font-size: 36px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-box {
    text-align: left;
  }
  .article-box p {
    font-size: 12px;
  }
}
}

@media (max-width: 480px) {
  .articles-section {
    padding: 40px 20px;
  }

  .articles-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .article-box h3 {
    font-size: 18px;
  }

  .article-box p {
    font-size: 14px;
  }
}

/* Footer Section */
.footer {
  background-color: white;
  padding: 40px 80px 20px 50px;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  max-width: 200px;
}

.site-name {
  font-size: 32px;
  color: #228B22;
  font-weight: 700;
  margin-bottom: 20px;
}

.social-icons a {
  margin-right: 15px;
  display: inline-block;
}

.social-icons img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.link-group h3 {
  font-size: 24px;
  color: #228B22;
  margin-bottom: 15px;
}

.link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #000;
}

.footer-bar {
  height: 30px;
  background-color: #228B22;
  margin-top: 20px;
}

