/* About Section CSS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  animation: fadeInPage 0.8s ease-in-out;
  line-height: 1.6;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  background-color: #000;
  color: #fff;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo {
  font-size: 1.8rem;
  font-weight: bold;
}

header nav {
  display: flex;
  gap: 1rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

header nav a:hover {
  color: #ccc;
}

footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-heading {
  text-align: center;
}

.about-heading h1 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.about-heading p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.about-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  display: block;
  max-height: 400px;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #111;
}

.about-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.2rem;
}

.about-text ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.about-text li {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0.6rem;
  list-style-type: disc;
}

.contact-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #444;
}

@media screen and (max-width: 992px) {
  .about-heading h1 {
    font-size: 2.2rem;
  }

  .about-heading p {
    font-size: 1rem;
  }

  .about-text h2 {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .about-container {
    flex-direction: column;
  }

  .about-heading h1 {
    font-size: 2rem;
  }

  .about-text h2 {
    font-size: 1.3rem;
  }

  .about-text p,
  .about-text li {
    font-size: 0.95rem;
  }

  .about-image img {
    max-height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .about-wrapper {
    padding: 2rem 1.2rem;
  }

  .about-heading h1 {
    font-size: 1.7rem;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
  }

  .about-text p,
  .about-text li {
    font-size: 0.9rem;
  }

  .about-image img {
    max-height: 220px;
  }
}
