/* ============================================
   ABOUT.CSS - About Section Styles
   ============================================ */

/* ===== Section Container ===== */
.about-section {
  background-color: #000;
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Hero Video Section */
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.about-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(110, 110, 110, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2em;
  max-width: 900px;
  margin: 0 auto;
}

.about-title {
  font-size: clamp(3.5em, 10vw, 7em);
  font-weight: 700;
  margin-bottom: 0.5em;
  font-family: "Allenia", sans-serif;
  background: linear-gradient(135deg, #fff 0%, #ccc 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5))
    drop-shadow(0 4px 12px rgba(60, 130, 200, 0.6));
  animation: shimmer 3s linear infinite;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-title.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.about-subtitle {
  font-size: clamp(1.8em, 5vw, 3em);
  font-weight: 500;
  margin-bottom: 1em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(60, 130, 200, 0.8),
    0 0 30px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s,
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.about-subtitle.animated {
  opacity: 1;
  transform: translateY(0);
}

.about-intro {
  font-size: clamp(1.1em, 2.5vw, 1.3em);
  line-height: 1.9;
  color: #eee;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.about-intro.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Image Gallery ===== */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5em;
  margin: 5em 0;
  padding: 0 1em;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4/3;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.6s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item.animated {
  opacity: 1;
  transform: scale(1);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(60, 130, 200, 0.4);
}

.gallery-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover img {
  transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(60, 130, 200, 0.5) 50%,
    transparent 100%
  );
  padding: 2.5em;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  color: #fff;
  font-size: 1.8em;
  margin: 0 0 0.5em 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gallery-overlay p {
  color: #eee;
  font-size: 1em;
  margin: 0;
  line-height: 1.6;
}

/* ===== Main Content ===== */
.about-content-wrapper {
  margin: 5em 0;
}

.about-text-content {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-text-content.animated {
  opacity: 1;
  transform: translateX(0);
}

.about-text {
  max-width: 100%;
  text-align: left;
  color: #ccc;
  line-height: 1.9;
  font-size: 1.15em;
}

.about-text p {
  margin-bottom: 1.8em;
}

.about-text strong {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(60, 130, 200, 0.5);
}

/* ===== Features Grid (Unused - keeping for potential future use) ===== */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5em;
  margin: 5em 0;
  padding: 0 1em;
}

.feature-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 3em 2.5em;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8) translateY(50px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-box.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.feature-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(60, 130, 200, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.feature-box:hover::after {
  left: 100%;
}

.feature-box:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(60, 130, 200, 0.5);
  border-color: rgba(60, 130, 200, 0.6);
}

.feature-icon-wrapper {
  margin-bottom: 2em;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.feature-icon {
  font-size: 5em;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 5px 15px rgba(60, 130, 200, 0.5));
}

.feature-box:hover .feature-icon {
  transform: scale(1.3) rotate(10deg);
}

.feature-box h3 {
  font-size: 1.6em;
  margin-bottom: 1.2em;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(60, 130, 200, 0.5);
}

.feature-box p {
  color: #ccc;
  line-height: 1.8;
  font-size: 1.05em;
  position: relative;
  z-index: 1;
}

/* ===== Stats Section ===== */
.about-stats-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.about-stats-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1920&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 1;
  filter: blur(2px);
}

.about-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  padding: 2em;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stat-number {
  font-size: clamp(3em, 8vw, 5em);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8em;
  font-family: "Allenia", sans-serif;
  background: linear-gradient(135deg, #fff 0%, #ccc 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(60, 130, 200, 0.8))
    drop-shadow(0 4px 15px rgba(255, 255, 255, 0.5));
  animation: shimmer 3s linear infinite;
}

.stat-label {
  font-size: clamp(1em, 2vw, 1.2em);
  color: #eee;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(60, 130, 200, 0.5);
}

/* ===== Conclusion Section ===== */
.about-conclusion-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  margin: 5em 0;
  align-items: center;
}

.about-conclusion-image {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(60, 130, 200, 0.4);
  position: relative;
}

.about-conclusion-image.animated {
  opacity: 1;
  transform: translateX(0);
}

.about-conclusion-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(60, 130, 200, 0.2) 0%,
    transparent 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-conclusion-image:hover::before {
  opacity: 1;
}

.about-conclusion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.about-conclusion-image:hover img {
  transform: scale(1.1) rotate(2deg);
}

.about-conclusion {
  text-align: left;
  padding: 2.5em;
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s ease 0.2s,
    transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.about-conclusion.animated {
  opacity: 1;
  transform: translateX(0);
}

.about-conclusion p {
  color: #ccc;
  line-height: 1.9;
  margin-bottom: 2em;
  font-size: 1.15em;
}

.about-tagline {
  font-size: 1.5em;
  color: #fff;
  margin-top: 2em;
  font-weight: 700;
  text-shadow: 0 2px 15px rgba(60, 130, 200, 0.6);
  line-height: 1.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
  .about-main-content {
    grid-template-columns: 1fr;
    gap: 3em;
  }

  .about-conclusion-wrapper {
    grid-template-columns: 1fr;
    gap: 3em;
  }

  .about-conclusion-image {
    order: 2;
  }

  .about-conclusion {
    order: 1;
    text-align: center;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    gap: 2em;
  }

  .about-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3em;
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 70vh;
    min-height: 500px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 2em;
  }

  .about-stats-wrapper {
    padding: 4em 1.5em;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 3em;
  }

}

@media (max-width: 480px) {
  .about-hero {
    height: 60vh;
    min-height: 400px;
  }

  .about-hero-content {
    padding: 1.5em;
  }

  .about-gallery {
    gap: 1.5em;
    margin: 3em 0;
  }

  .about-content-wrapper {
    margin: 3em 0;
  }

  .about-main-content {
    gap: 2.5em;
    margin: 3em 0;
  }

  .about-features {
    margin: 3em 0;
    padding: 0;
    gap: 1.5em;
  }

  .feature-box {
    padding: 2em 1.5em;
  }

  .about-stats-wrapper {
    margin: 4em 0;
    padding: 3em 1em;
  }

  .about-conclusion-wrapper {
    margin: 3em 0;
    gap: 2.5em;
  }

  .about-conclusion {
    padding: 1.5em;
  }
}
