/* ========================================
   FACILITI About Us Page Styles
   ======================================== */

/* ==================== Hero Section ==================== */
.aboutus-hero {
  position: relative;
  height: 70vh;
  width: 70vw;
  margin: auto;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aboutus-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.aboutus-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aboutus-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(40, 41, 97, 0.25) 0%,
    rgba(62, 107, 224, 0.25) 100%
  );
  z-index: 2;
}

.aboutus-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.aboutus-hero-text {
  width: 70vw;
  text-align: center;
  color: #ffffff;
}

.aboutus-hero-line {
  width: 80px;
  height: 4px;
  background: #5584ff;
  margin: 0 auto 30px;
  border-radius: 2px;
}

.aboutus-hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -1px;
  color: #ffffff;
}

.aboutus-hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================== Description Section ==================== */
.aboutus-description {
  padding: 100px 0;
  background: #ffffff;
}

.aboutus-section-title {
  font-size: 42px;
  font-weight: 700;
  color: #282961;
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.aboutus-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5584ff 0%, #3e6be0 100%);
  margin: 0 auto 50px;
  border-radius: 2px;
}

.aboutus-text-columns {
  margin-top: 40px;
}

.aboutus-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 20px;
  text-align: justify;
}

/* ==================== Timeline Section ==================== */
.aboutus-timeline-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.aboutus-timeline-header {
  margin-bottom: 80px;
}

.aboutus-timeline-intro {
  text-align: center;
  font-size: 18px;
  color: #666666;
  margin-top: 15px;
}

.aboutus-timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.aboutus-timeline {
  position: relative;
  padding: 20px 0;
}

/* Center Line */
.aboutus-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #5584ff 0%, #3e6be0 100%);
  transform: translateX(-50%);
}

/* Timeline Item */
.aboutus-timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
}

.aboutus-timeline-item:last-child {
  margin-bottom: 0;
}

/* Left Side Items */
.aboutus-timeline-left {
  justify-content: flex-end;
}

.aboutus-timeline-left .aboutus-timeline-content {
  margin-right: calc(50% + 40px);
  text-align: right;
}

/* Right Side Items */
.aboutus-timeline-right {
  justify-content: flex-start;
}

.aboutus-timeline-right .aboutus-timeline-content {
  margin-left: calc(50% + 40px);
  text-align: left;
}

/* Timeline Content */
.aboutus-timeline-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(40, 41, 97, 0.1);
  max-width: 400px;
  position: relative;
  transition: all 0.3s ease;
  border-left: 4px solid #5584ff;
}

.aboutus-timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(85, 132, 255, 0.2);
}

.aboutus-timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.aboutus-timeline-title {
  font-size: 22px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 12px;
  line-height: 1.3;
}

.aboutus-timeline-description {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
}

.aboutus-timeline-icon {
  position: absolute;
  top: 30px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(85, 132, 255, 0.3);
}

.aboutus-timeline-icon i {
  pointer-events: none;
  color: #ffffff;
}

.aboutus-timeline-left .aboutus-timeline-icon {
  right: -22.5px;
}

.aboutus-timeline-right .aboutus-timeline-icon {
  left: -22.5px;
}

/* Timeline Dot */
.aboutus-timeline-dot {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 4px solid #5584ff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(85, 132, 255, 0.1);
}

/* ==================== Gallery ==================== */
.aboutus-gallery {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.aboutus-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.aboutus-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.aboutus-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(85, 132, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aboutus-gallery-overlay i {
  color: #ffffff;
  font-size: 40px;
}

.aboutus-gallery-item:hover img {
  transform: scale(1.05);
}

.aboutus-gallery-item:hover .aboutus-gallery-overlay {
  opacity: 1;
}

/* ==================== Contact CTA ==================== */
/* ==================== Contact CTA ==================== */
.aboutus-contact-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #282961 0%, #3e6be0 100%);
  position: relative;
  overflow: hidden;
}

.aboutus-contact-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.aboutus-contact-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.aboutus-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.aboutus-cta-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.aboutus-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.aboutus-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.aboutus-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.aboutus-btn-primary {
  background: #ffffff;
  color: #282961;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.aboutus-btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #282961;
  text-decoration: none;
}

.aboutus-btn-primary i {
  transition: transform 0.3s ease;
}

.aboutus-btn-primary:hover i {
  transform: translateX(5px);
}

.aboutus-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.aboutus-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
  color: #ffffff;
  text-decoration: none;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
  .aboutus-hero {
    width: 100%;
  }

  .aboutus-hero-text {
    width: 100%;
  }

  .aboutus-hero h1 {
    font-size: 44px;
  }

  .aboutus-hero-subtitle {
    font-size: 18px;
  }

  .aboutus-section-title {
    font-size: 36px;
  }

  .aboutus-description,
  .aboutus-timeline-section {
    padding: 70px 0;
  }

  /* Stack Timeline on Tablet */
  .aboutus-timeline::before {
    left: 30px;
  }

  .aboutus-timeline-left,
  .aboutus-timeline-right {
    justify-content: flex-start;
  }

  .aboutus-timeline-left .aboutus-timeline-content,
  .aboutus-timeline-right .aboutus-timeline-content {
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
  }

  .aboutus-timeline-left .aboutus-timeline-icon,
  .aboutus-timeline-right .aboutus-timeline-icon {
    left: -22.5px;
    right: auto;
  }

  .aboutus-timeline-dot {
    left: 30px;
  }

  .aboutus-contact-cta {
    padding: 70px 0;
  }

  .aboutus-cta-title {
    font-size: 36px;
  }

  .aboutus-cta-text {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .aboutus-hero {
    width: 100%;
    height: 60vh;
    min-height: 400px;
  }

  .aboutus-hero-text {
    width: 100%;
  }

  .aboutus-hero h1 {
    font-size: 36px;
  }

  .aboutus-hero-subtitle {
    font-size: 16px;
  }

  .aboutus-section-title {
    font-size: 30px;
  }

  .aboutus-description,
  .aboutus-timeline-section,
  .aboutus-contact-cta {
    padding: 50px 0;
  }

  .aboutus-timeline-content {
    padding: 25px;
    max-width: 100%;
  }

  .aboutus-timeline-title {
    font-size: 20px;
  }

  .aboutus-timeline-description {
    font-size: 14px;
  }

  .aboutus-contact-cta {
    padding: 50px 0;
  }

  .aboutus-cta-title {
    font-size: 30px;
  }

  .aboutus-cta-text {
    font-size: 16px;
  }

  .aboutus-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .aboutus-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .absolute-hero {
    width: 100%;
  }

  .aboutus-hero-text {
    width: 100%;
  }

  .aboutus-hero h1 {
    font-size: 28px;
  }

  .aboutus-hero-subtitle {
    font-size: 15px;
  }

  .aboutus-section-title {
    font-size: 26px;
  }

  .aboutus-timeline::before {
    left: 20px;
  }

  .aboutus-timeline-left .aboutus-timeline-content,
  .aboutus-timeline-right .aboutus-timeline-content {
    margin-left: 60px;
  }

  .aboutus-timeline-dot {
    left: 20px;
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .aboutus-timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .aboutus-cta-title {
    font-size: 26px;
  }

  .aboutus-cta-text {
    font-size: 15px;
  }
}
