/**
 * about-page.css
 * Meridian GeoStrategy - About Us Page Styles
 *
 * Covers the hero banner, rotating circle decorations around statistics,
 * fade-in animations, gallery carousel, and service card link
 * interactions specific to the About Us page.
 *
 * @module about-page
 * @version 2.0.0
 * @see {@link https://meridiangeostrategy.com}
 */

/* ==========================================================================
   Hero Banner
   ========================================================================== */

.about_container {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.about_container img {
  width: 100%;
  height: auto;
  margin-top: -25px;
}

.about-top {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   Typography
   ========================================================================== */

body {
  font-family: "Raleway", sans-serif;
}

.playfair {
  font-family: "Playfair Display", serif;
}

/* ==========================================================================
   Rotating Circle Decorations
   ========================================================================== */

.circle-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(47, 79, 79, 0.1);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 30s linear infinite;
}

.circle-bg-inner {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(47, 79, 79, 0.15);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 20s linear infinite reverse;
}

.circle-bg-innermost {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(47, 79, 79, 0.2);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

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

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   Statistics Counter
   ========================================================================== */

.count-up {
  display: inline-block;
  transition: transform 0.3s ease;
}

.count-up:hover {
  transform: scale(1.1);
}

.stat-container {
  position: relative;
}

/* ==========================================================================
   Gallery & Carousel
   ========================================================================== */

.page-btn {
  flex-direction: row-reverse;
}

#prev-btn {
  margin-right: 15px;
}

.gallery-container {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-card:hover img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.gallery-card img {
  transition: transform 0.3s ease;
}

/* ==========================================================================
   Service Card Links
   ========================================================================== */

.what-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.what-box h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.capabilities-card_arrow__L_plP {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.3s ease-in;
  font-weight: 500;
  color: #fff;
  line-height: 18px;
  font-size: 0.75rem;
  width: 46px;
  height: 14px;
  fill: none;
  margin-left: 10px;
}

.what-box:hover .capabilities-card_arrow__L_plP {
  opacity: 1;
}

.what-box:hover h3 {
  text-decoration: underline;
}
