/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #FFFFFF;
  color: #34331C;
  line-height: 1.6;
}

/* Navbar Styles */
header {
  background-color: #FFFFFF;
  padding: 20px;
  border-bottom: 1px solid #E0E0E0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  height: 40px; /* Adjust height as needed */
  width: auto; /* Maintain aspect ratio */
  transition: transform 0.3s ease; /* Replace color transition with a subtle transform */
}

.logo:hover .logo-image {
  transform: scale(1.05); /* Subtle zoom effect on hover */
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: #34331C;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: #34331C;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 5px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Navbar Styles */
.nav-links a.active {
  background-color: #21871E;
  color: #FFFFFF;
}

.nav-links a:hover {
  color: #FFFFFF;
  background-color: #21871E;
}

.apply-btn {
  background-color: #21871E;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.apply-btn:hover {
  background-color: #065401;
  transform: scale(1.05);
}

/* Hero Section Styles */
.hero-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  padding-right: 20px;
}

.hero-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #34331C;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #34331C;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #34331C;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #065401;
  transform: scale(1.05);
}

.hero-image {
  flex: 1;
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* Solutions Section Styles (Revised) */
.solutions {
  background-color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.solutions h2 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #34331C;
  margin-bottom: 10px;
}

.solutions h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #34331C;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.solutions p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #34331C;
  margin-bottom: 40px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}

.solution-card {
  background-color: #F5F5F5;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.solution-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-color: #CEE3B5; /* Hexagon background */
  display: flex; /* Center the icon */
  justify-content: center;
  align-items: center;
}

.solution-icon i {
  font-size: 20px; /* Adjust size to fit within hexagon */
  color: #21871E; /* Match your brand’s green color */
}

.solution-card:hover .solution-icon i {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon i {
  color: #065401; /* Darker green on hover */
}

.solution-icon:empty {
  background-color: #D3D3D3; /* Grey fallback if icon doesn’t load */
}

.solution-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #34331C;
  margin-bottom: 10px;
}

.solution-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #34331C;
}

.solution-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.solution-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.solution-btn {
  background-color: #21871E;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  font-family: 'Syne', sans-serif;
  transition: background-color 0.3s ease;
}

.solution-btn:hover {
  background-color: #065401;
}

/* Discover Section */
.discover {
  background-color: #FFFFFF;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.discover-content {
  flex: 1;
  padding-right: 20px;
  text-align: left;
}

.discover-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #34331C;
  margin-bottom: 10px;
}

.discover-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #34331C;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.discover-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #34331C;
  margin-bottom: 20px;
}

.discover-benefits {
  list-style: none;
  margin-bottom: 20px;
}

.discover-benefits li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #34331C;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px; /* Space for the icon */
}

.discover-benefits li i {
  position: absolute;
  left: 0;
  top: 2px; /* Align with text */
  font-size: 20px; /* Size of the icon */
  color: #21871E; /* Match your brand’s green */
}

.discover-benefits li span {
  font-weight: 700; /* Bold the title */
  color: #34331C;
}


.discover-benefits li:before {
  content: none; /* Disable the green bullet */
  content: "•";
  color: #21871E;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.discover-buttons {
  display: flex;
  gap: 10px;
}

.discover-btn {
  background-color: #21871E;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.discover-btn:hover {
  background-color: #065401;
}

.discover-image {
  flex: 1;
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* Square aspect ratio */
  overflow: hidden;
}

.discover-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop to fit square */
  border-radius: 5px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .discover {
    flex-direction: column;
    padding: 20px;
  }

  .discover-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .discover-content h1 {
    font-size: 28px;
  }

  .discover-content p {
    font-size: 16px;
  }

  .discover-benefits li {
    font-size: 14px;
  }

  .discover-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .discover-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
  }

  .discover-image {
    width: 100%;
    padding-bottom: 100%; /* Maintain square on mobile */
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .discover-content h1 {
    font-size: 32px;
  }

  .discover-image {
    padding-bottom: 100%; /* Maintain square on tablets */
  }
}

/* Other Homepage Sections */
.discover, .impact, .expert-solutions, .newsletter, .project-showcase, .faq, .contact, .footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  color: #34331C;
}

h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.discover, .impact, .expert-solutions {
  background-color: #FFFFFF;
}

.impact {
  background-color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.impact h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.impact h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.impact p {
  font-size: 18px;
  margin-bottom: 30px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.impact-card {
  background-color: #F5F5F5;
  padding: 25px; /* Increased padding */
  border-radius: 5px;
  position: relative;
}

.impact-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.impact-icon i {
  font-size: 24px;
  color: #21871E; /* Brand green */
}

.impact-card:hover .impact-icon i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Expert Solutions Section */
.expert-solutions {
  background-color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.expert-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1256px;
  height: 360px;
  margin: 20px auto;
  overflow: hidden;
}

.expert-image img {
  width: 100%;
  height: 310px;
  max-width: 1256px;
  border-radius: 5px;
  display: block;
}

.expert-image.fade-in {
    animation: fadeIn 1s ease-in 1s forwards;
}

/* Expert Button (already defined) */
.expert-btn {
  background-color: #21871E;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  font-family: 'Syne', sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none; /* Ensure no underline on link */
  display: inline-block; /* Ensure proper button behavior as a link */
}

.expert-btn:hover {
  background-color: #065401;
  transform: scale(1.05);
}

/* ... (other sections remain unchanged) */

/* Responsive Design */
@media screen and (max-width: 480px) {
    .expert-image {
        padding-bottom: 75%; /* Aspect ratio for small screens (e.g., 4:3) */
    }

    .expert-solutions h2 {
        font-size: 24px;
    }

    .expert-solutions p {
        font-size: 14px;
    }

    .expert-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
      .expert-image {
        height: 300px;
    }
    .expert-solutions h2 {
        font-size: 28px;
    }
    .expert-solutions h2 {
        font-size: 28px;
    }

    .expert-solutions p {
        font-size: 16px;
    }

    .expert-btn {
        padding: 10px 18px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
      .expert-image {
        height: 300px;
    }

    .expert-solutions h2 {
        font-size: 32px;
    }

    .expert-btn {
        padding: 10px 20px;
    }
}

@media screen and (min-width: 1025px) {
      .expert-image {
        height: 360px;
    }

    .expert-solutions h2 {
        font-size: 36px;
    }
}

.discover-grid, .impact-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.discover-card, .impact-card, .project-card {
  background-color: #F5F5F5;
  padding: 20px;
  border-radius: 5px;
}

.discover-btn, .expert-btn, .newsletter-btn {
  background-color: #044201;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  font-family: 'Syne', sans-serif;
}

.discover-btn:hover, .expert-btn:hover, .newsletter-btn:hover {
  background-color: #065401;
}

.testimonial {
  background-color: #F5F5F5;
  padding: 25px;
  margin: 20px 0;
  border-radius: 5px;
  position: relative;
  text-align: left;
}

.testimonial-icon {
  position: absolute;
  top: 10px;
  left: 10px;
}

.testimonial-icon i {
  font-size: 20px;
  color: #21871E;
}

.testimonial p {
  font-size: 16px;
  margin-left: 30px; /* Space for the icon */
}

.testimonial-author {
  font-style: italic;
  color: #065401; /* Darker green for contrast */
  margin-top: 10px;
  margin-left: 30px;
}

.newsletter input {
  padding: 10px;
  width: 300px;
  margin-right: 10px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
}

.faq-item {
  background-color: #F5F5F5;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  text-align: left;
}

.faq-item h3 {
  cursor: pointer;
  margin-bottom: 10px;
}

/* Contact Section */
.contact {
  background-color: #F5F5F5;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 60px;
}

/* Responsive Design (no changes needed, but confirmed compatibility) */
@media screen and (max-width: 768px) {
  .contact h2 {
      font-size: 24px;
  }

  .contact p {
      font-size: 14px;
  }

  .expert-btn {
      padding: 8px 16px;
      font-size: 14px;
  }
  /* ... (other mobile styles remain unchanged) */
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .contact h2 {
      font-size: 28px;
  }

  .expert-btn {
      padding: 10px 18px;
  }
  /* ... (other tablet styles remain unchanged) */
}

/* Footer Styles */
footer {
  background-color: #FFFFFF;
  color: #34331C;
  width: 100%;
  padding: 40px 0;
  margin: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-image {
  height: 40px; /* Adjust height as needed */
  width: auto; /* Maintain aspect ratio */
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
  transform: scale(1.05);
}
.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #34331C;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #21871E;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  width: 200px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  color: #34331C;
}

.subscribe-btn {
  background-color: #044201;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #065401;
}

.privacy-text {
  font-size: 12px;
  color: #34331C;
}

.privacy-text a {
  color: #21871E;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 20px;
  border-top: 1px solid #E0E0E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.bottom-left {
  display: flex;
  gap: 15px;
}

.bottom-left a {
  color: #34331C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-left a:hover {
  color: #21871E;
}

.bottom-right {
  color: #34331C;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid #E0E0E0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links a {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .apply-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px 20px;
  }

  .hero-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image {
    width: 100%;
    padding-bottom: 100%;
  }

  .solutions h1 {
    font-size: 28px;
  }

  .solutions p {
    font-size: 16px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-image {
    width: 100%;
    padding-bottom: 100%;
  }

  .solution-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-right {
    align-items: flex-start;
    width: 100%;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }

  .bottom-left, .bottom-right {
    text-align: left;
  }

  .logo {
    font-size: 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .expert-image {
    height: 200px;
  }

  .discover-grid, .impact-grid, .project-grid {
    grid-template-columns: 1fr;
  }

  .discover-btn, .expert-btn, .newsletter-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .newsletter input {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 15px;
  }

  .apply-btn {
    padding: 10px 18px;
  }

  .hero-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image {
    width: 100%;
    padding-bottom: 100%;
  }

  .solutions h1 {
    font-size: 32px;
  }

  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-left {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-right {
    align-items: flex-end;
  }

  .newsletter-form input {
    width: 250px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .expert-image {
    height: 300px;
  }

  .discover-grid, .impact-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Project Showcase Section */
.project-showcase {
  background-color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.project-card {
  background-color: #E0E0E0; /* Light grey background like the screenshot placeholders */
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Remove extra space below image */
}

.project-card:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.project-card:empty {
  min-height: 300px; /* Match placeholder height when no image */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .project-grid {
      grid-template-columns: 1fr; /* Single column on mobile */
  }

  .project-card:empty {
      min-height: 200px; /* Reduced height for mobile */
  }

  /* ... (other mobile styles remain unchanged) */
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .project-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }

  .project-card:empty {
      min-height: 250px; /* Adjusted height for tablets */
  }
}