/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #f9f9f9;
}

/* Navbar */
.navbar {
  position: relative; /* For logo positioning */
  display: flex;
  justify-content: center; /* Keep links centered */
  align-items: center;
  padding: 15px 30px;
  background-color: #0288d1;
  border-radius: 12px;
  width: max-content; /* Shrinks navbar to content width */
  margin: 15px auto; /* Center the navbar horizontally */
}

.logo {
  position: absolute;
  left: -375px; /* Move logo to left side */
}

.logo img {
  height: 200px;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 25px;
  transition: background 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
  background: #fff;
  color: #0288d1;
}

/* About Hero Banner */
.about-hero {
  position: relative;
  background: url('image/about-banner.jpg') center/cover no-repeat;
  height: 60vh;
  border-radius: 10px;
  margin: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.about-hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(2, 136, 209, 0.45);
  border-radius: 10px;
}

.about-text {
  position: relative;
  text-align: center;
  z-index: 2;
}

.about-text h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.about-text span {
  color: #0288d1;
}

.about-text p {
  font-size: 1.2em;
}

/* About Content */
.about-content {
  background: white;
  margin: 40px auto;
  border-radius: 12px;
  padding: 40px;
  max-width: 900px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.about-content h2 {
  color: #0288d1;
  margin-top: 25px;
}

.about-content p {
  margin-top: 10px;
  line-height: 1.7;
  color: #555;
}

/* Impact Section */
.impact-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 40px 20px;
}

.impact-card {
  background: #0288d1;
  color: white;
  padding: 30px;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.impact-card:hover {
  transform: translateY(-5px);
}

.impact-card h3 {
  font-size: 2em;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #0277bd;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #b3e5fc;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .about-text h1 {
    font-size: 2em;
  }
  .about-content {
    padding: 20px;
  }
  .impact-section {
    flex-direction: column;
    align-items: center;
  }
}