.about-banner {
  position: relative;
  background-image: url("../images/about-me/banner.webp");
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.about-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-banner-content {
  position: relative;
  z-index: 2;
}

.about-banner-content h1 {
  font-family: "Alice", serif;
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0 1rem;
}

.about-content {
  padding: 4rem 1rem;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.about-content-wrapper {
  max-width: 900px;
  text-align: center;
}

.about-content-wrapper h2 {
  font-family: "Alice", serif;
  font-size: 2.4rem;
  font-weight: 300;
  margin: 1.5rem 0;
  color: #111;
}

.about-content-wrapper p {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 5rem;
}

.about-section {
  width: 70rem;
  margin: 0 auto;
  background-color: #fff;
}

.about-background {
  background-image: url("../images/about-me/banner-2.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 4rem;
}

.about-card {
  background-color: #ffffff;
  max-width: 550px;
  padding: 3rem 2.2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-card h2 {
  font-family: "Alice", serif;
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  color: #111;
}

.about-card p {
  font-family: "Lato", sans-serif;
  font-size: 0.94rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-card button {
  background-color: #1a1a1a;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border: none;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.about-card button:hover {
  background-color: #333;
}

@media screen and (max-width: 768px) {
  .about-banner-content h1 {
    font-size: 2rem;
  }

  .about-banner {
    height: 350px;
    padding: 0 1rem;
  }

  .about-content-wrapper h2 {
    font-size: 1.7rem;
  }

  .about-content-wrapper p {
    font-size: 1rem;
  }

  .about-card {
    padding: 2rem 1.2rem;
  }

  .about-card h2 {
    font-size: 1.6rem;
  }

  .about-card p {
    font-size: 0.9rem;
  }
}


@media screen and (max-width: 1280px) {
  .about-section {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
  }
}
