/* -------------  RESET  ------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: white;
  color: #333;
  padding-top: 80px; /* space for externally-loaded navbar */
}

/* -------------  HERO  ------------- */
.hero {
  height: 100vh;
  width: 100%;
  background: url('img/hero image 3.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  margin: 0;
  border: 0;
  padding-left: 5%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem 1.5rem;
  animation: fadeInLeft 1.2s ease-in-out;
}

.hero-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: #d1d5db; /* smokey grey */
}

.hero-text p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: #9ca3af;
  max-width: 90%;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* -------------  ABOUT  ------------- */
.about-section {
  padding: 4rem 1rem;
}

.about-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image-wrapper {
  flex: 0 0 45%;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.about-text-wrapper {
  flex: 0 0 55%;
}

.about-text-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text-wrapper p,
.about-text-wrapper li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* -------------  RESPONSIVE  ------------- */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
  }
  .about-image-wrapper,
  .about-text-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-text {
    padding: 1.2rem;
  }
  .hero-text h3 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .slide {
    flex: 0 0 100%;
  }
}