/* --- 1. LAYOUT CONTAINERS --- */
.about-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- 2. HERO SECTION --- */
.about-hero {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("/assets/images/about/about-banner.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.about-hero h1 {
  position: relative;
  font-size: 4em;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 8px;
  text-align: center;
  z-index: 1;
  margin: 0;
  font-family: "Playfair Display", serif;
}

/* Mobile: Hero */
@media (max-width: 768px) {
  .about-hero {
    height: 300px;
  }
  .about-hero h1 {
    font-size: 2.5em;
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    height: 250px;
  }
  .about-hero h1 {
    font-size: 2em;
    letter-spacing: 2px;
  }
}

/* --- 3. GRAY CONTENT BOX --- */
.gray-content-box {
  background-color: #f4f4f4;
  padding: 50px 60px;
  margin: 60px 0 80px 0;
  border-radius: 4px;
}

/* Mobile: Gray Box */
@media (max-width: 768px) {
  .gray-content-box {
    padding: 30px 20px;
    margin: 40px 0;
  }
}

@media (max-width: 480px) {
  .gray-content-box {
    padding: 20px 15px;
    margin: 30px 0;
  }
}

/* --- 4. TYPOGRAPHY & TITLES --- */
.about-text {
  font-size: 1.05em;
  color: #666;
  margin-bottom: 25px;
  text-align: justify;
  font-weight: 300;
}

.about-text strong {
  font-weight: 600;
  color: #444;
}

.gray-content-box .section-title {
  font-size: 2.2em;
  color: #63d2ff !important;
  margin: 50px 0 30px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

/* Mobile: Typography */
@media (max-width: 768px) {
  .gray-content-box .section-title {
    font-size: 1.8em;
  }
  .about-text {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .gray-content-box .section-title {
    font-size: 1.5em;
  }
  .about-text {
    font-size: 0.9em;
  }
}

/* --- 5. SLIDESHOW / CAROUSEL --- */
.team-photo-section {
  margin-bottom: 40px;
  width: 100%;
}

.slideshow-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fade Animation */
.fade {
  animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

/* Dots Navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dcdcdc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #333;
  width: 30px;
  border-radius: 6px;
}

/* Mobile: Carousel */
@media (max-width: 480px) {
  .carousel-dots {
    gap: 8px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .dot.active {
    width: 25px;
  }
}
