/* About Page Styles */
@import url("../css/main.css");
@import url("../css/testimonials.css");
@import url("../css/contact-footer.css");

/* Page-specific hero overrides if needed */
/* About TWB Section */
.about-twb {
  padding: 100px 0 0 0;
  background: #1a1a1a;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 111px 0;
  border: 3px solid #ffd700;
}

.about-text {
  padding-left: 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.title-underline {
  border: 1px solid #ffb200;
  width: 70%;
  margin-bottom: 2rem;
}

.subtitle {
  font-size: 1.3rem;
  color: #ffd700;
  font-weight: 500;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 2rem;
}

/* Our History Section */
.our-history {
  padding: 100px 0;
  background: #1a1a1a;
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.history-text {
  padding-right: 2rem;
}

.history-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 2rem;
}

.history-image {
  position: relative;
}

.history-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 111px 0;
  border: 3px solid #ffd700;
}

.image-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #ffd700;
}

/* Mobile Large (768px and below) */
@media (max-width: 768px) {
  /* Layout Adjustments */
  .about-content,
  .history-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Reorder About TWB section to show text first, then image */
  .about-text {
    order: 1;
    padding: 0;
    text-align: center;
  }

  .about-image {
    order: 2;
  }

  .history-text {
    padding: 0;
    text-align: center;
  }

  .about-image img,
  .history-image img {
    height: 300px;
  }

  .title-underline {
    border: 1px solid #ffb200;
    width: 60%;
    margin: auto;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    width: 98%;
    height: 60px;
    top: 10px;
  }

  .section-title {
    font-size: 2rem;
  }
}
