/* home.css */

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.7;
}

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

/* Navbar */
.navbar {
  background-color: #3F2E56;
  padding: 15px 0;
  color: white;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #C49A6C;
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(63,46,86,0.8), rgba(0,0,0,0.2));
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.hero-text {
  color: white;
  background-color: rgba(63, 46, 86, 0.7);
  padding: 20px 30px;
  border-radius: 8px;
}

.hero-text h1 {
  font-size: 2.8rem;
}

.hero-text p {
  font-size: 1.3rem;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  color: #3F2E56;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.section p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.light-bg {
  background-color: #FAF7F2;
}

/* Layout */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.two-column .text {
  flex: 1;
  min-width: 300px;
}

.two-column .image-box {
  flex: 1;
  min-width: 300px;
}

.image-box img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Icon Grid */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.icon-box {
  background-color: #F9F4EF;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

/* Lists */
.why-list, .sdg-list, .service-highlight {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.why-list li, .sdg-list li, .service-highlight li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.why-list li::before, .sdg-list li::before, .service-highlight li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #C49A6C;
  font-weight: bold;
}

/* CTA */
.cta-banner {
  background-color: #3F2E56;
  text-align: center;
  color: white;
}

.cta-banner h2 {
  font-size: 2rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #C49A6C;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #b58655;
}

/* Scroll Animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background-color: #3F2E56;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-content p {
  font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section p, .section li {
    font-size: 0.95rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .cta-banner p {
    font-size: 1rem;
  }
}
