/* About Us Page Only */

.about-us-page {
  overflow-x: hidden;
}

.about-us-page .hero-section {
  position: relative;
  min-height: auto;
  padding-bottom: 32px;
  overflow: hidden;
}

.about-us-page .hero-section > img {
  display: block;
}

.about-us-page .about-section {
  margin-top: -32px;
  padding-top: 64px;
}

.about-us-page .hero-tabs {
  padding: 20px;
}

.about-us-page .about-tab-sections {
  position: relative;
  z-index: 10;
}

.about-us-page .about-tab-sections,
.about-us-page .about-tab-sections * {
  text-align: right;
}

.about-us-page .about-tab-section {
  display: none;
}

.about-us-page .about-tab-section.is-active {
  display: block;
}

.about-us-page .tab-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.about-us-page .tab-button span {
  color: var(--text-white);
  transition: color 0.25s ease, transform 0.25s ease;
}

.about-us-page .tab-button:hover span {
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.about-us-page .tab-button.active span {
  color: var(--primary-gold);
}

.about-us-page .tab-indicator {
  width: 38px;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease, width 0.25s ease;
}

.about-us-page .tab-button.active .tab-indicator {
  background: var(--primary-gold);
}

.about-us-page .tab-button:hover .tab-indicator {
  background: var(--primary-gold);
  width: 50px;
}

.about-us-page .section-badge {
  animation: aboutFadeInRight 0.6s ease;
}

@keyframes aboutFadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-us-page .content-area h1 {
  animation: aboutFadeInUp 0.8s ease 0.2s both;
}

.about-us-page .content-area p {
  animation: aboutFadeInUp 0.8s ease 0.4s both;
}

@keyframes aboutFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-us-page .images-gallery img {
  animation: aboutFadeIn 1s ease;
}

@keyframes aboutFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.about-us-page .stats-badge {
  background: #ffffff;
  color: #0c1e23;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: absolute;
  top: auto !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  width: clamp(220px, 28vw, 360px);
  height: auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: aboutSlideInUp 0.6s ease 0.8s both;
}

.about-us-page .stats-badge img {
  filter: none;
  width: 56px;
  height: 56px;
}

.about-us-page .stats-badge .font-arabic {
  line-height: 1.2;
}

.about-us-page .stats-badge .text-2xl {
  font-size: 20px !important;
}

.about-us-page .stats-badge .text-xl {
  font-size: 16px !important;
}

.about-us-page .stats-badge .text-white {
  color: #0c1e23 !important;
}

.about-us-page .stats-badge .text-primary {
  color: var(--primary-gold) !important;
}

@keyframes aboutSlideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .about-us-page .about-navbar {
    padding: 0 24px;
  }

  .about-us-page .about-navbar__container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .about-us-page .about-navbar__links {
    flex-direction: column;
    gap: 16px;
  }

  .about-us-page .hero-tabs {
    flex-wrap: wrap;
    gap: 12px;
  }

  .about-us-page .about-section {
    padding: 40px 20px;
  }

  .about-us-page .images-gallery {
    height: auto;
    min-height: 400px;
  }

  .about-us-page .stats-badge {
    right: 16px !important;
    bottom: 16px !important;
    width: min(92vw, 340px);
  }
}

@media (max-width: 768px) {
  .about-us-page .about-navbar {
    padding: 0 16px;
    margin-top: 20px;
  }

  .about-us-page .about-navbar__container {
    padding: 16px;
  }

  .about-us-page .about-navbar__links {
    gap: 12px;
  }

  .about-us-page .about-navbar__link {
    font-size: 18px;
  }

  .about-us-page .about-navbar__cta {
    padding: 16px 40px;
    font-size: 18px;
  }

  .about-us-page .about-section {
    margin-top: 0;
    padding-top: 32px;
  }

  .about-us-page .hero-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 14px 12px;
    max-width: 100%;
  }

  .about-us-page .hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .about-us-page .hero-tabs .tab-button {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .about-us-page .images-gallery {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .about-us-page .images-gallery .image-main,
  .about-us-page .images-gallery .image-secondary {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: 360px;
    border-radius: 16px;
  }

  .about-us-page .images-gallery .image-secondary {
    border-width: 8px !important;
  }

  .about-us-page .stats-badge {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: min(92vw, 420px);
    margin: 8px auto 0;
  }
}

@media (max-width: 480px) {
  .about-us-page .about-navbar__link {
    font-size: 16px;
  }

  .about-us-page .about-navbar__actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .about-us-page .about-navbar__cta {
    width: 100%;
    padding: 14px 20px;
  }
}
