/* ==========================================================================
   About Us Page Stylesheet
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&display=swap");

/* Typography Utilities */
.about-serif {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.about-handwriting {
  font-family: "Caveat", cursive, sans-serif;
}

/* Gradient Text Utilities */
.text-gradient-purple {
  background: linear-gradient(135deg, #5a2a9c 0%, #7c3aed 50%, #9061f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
  background: linear-gradient(135deg, #0a032b 0%, #3b1b6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Prevent Mobile Horizontal Overflow */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Hero Full-Width Banner Section */
.about-hero-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  background-image: url("/assets/images/about-us/top banner.png?v=3");
  background-size: cover;
  /* background-position: right center; */
  background-repeat: no-repeat;
  min-height: 680px;
}

.about-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.97) 32%,
    rgba(255, 255, 255, 0.72) 46%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1023px) {
  .about-hero-section {
    background-image: url("/assets/images/about-us/top banner.png") !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: auto;
  }
  .about-hero-section::before {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.88) 50%,
      rgba(255, 255, 255, 0.97) 100%
    );
  }
}

/* Timeline Scroll Container */
.journey-scroll-container {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-behavior: smooth;
}

.journey-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Journey Timeline Connector */
.journey-track-wrapper {
  position: relative;
}

.journey-track-line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(90, 42, 156, 0.1) 0%,
    rgba(124, 58, 237, 0.35) 50%,
    rgba(90, 42, 156, 0.1) 100%
  );
  z-index: 1;
}

@media (max-width: 768px) {
  .journey-track-line {
    display: none;
  }
}

/* Card Hover Lift */
.about-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(90, 42, 156, 0.12);
}

/* Smooth Image Hover Effect */
.about-img-zoom {
  overflow: hidden;
  border-radius: 1.25rem;
}

.about-img-zoom img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-zoom:hover img {
  transform: scale(1.025);
}

/* Bottom CTA Banner (Full Width Edge-to-Edge) */
.about-bottom-cta-section {
  position: relative;
  width: 100%;
  background-image: url("/assets/images/about-us/bottom banner.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-bottom-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0.38) 72%,
    rgba(255, 255, 255, 0.12) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .about-bottom-cta-section::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.88) 100%
    );
  }
}

/* Hand-drawn Brush Stroke Underline */
.brush-stroke-underline {
  position: relative;
  display: inline-block;
}

.brush-stroke-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: #c49751;
  border-radius: 999px;
  opacity: 0.9;
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */

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

/* Hero Section Entrance Stagger */
.hero-animate-badge {
  animation: aboutFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-animate-title {
  animation: aboutFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-animate-desc {
  animation: aboutFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-animate-stat-0 {
  animation: aboutFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-animate-stat-1 {
  animation: aboutFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-animate-stat-2 {
  animation: aboutFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

/* Scroll Reveal Classes (Scoped to .has-scroll-reveal so fallback is 100% visible) */
.about-reveal,
.about-reveal-left,
.about-reveal-right,
.about-reveal-scale {
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.has-scroll-reveal .about-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateY(26px);
}

.has-scroll-reveal .about-reveal-left:not(.is-revealed) {
  opacity: 0;
  transform: translateX(-28px);
}

.has-scroll-reveal .about-reveal-right:not(.is-revealed) {
  opacity: 0;
  transform: translateX(28px);
}

.has-scroll-reveal .about-reveal-scale:not(.is-revealed) {
  opacity: 0;
  transform: scale(0.94);
}

/* Revealed state */
.about-reveal.is-revealed,
.about-reveal-left.is-revealed,
.about-reveal-right.is-revealed,
.about-reveal-scale.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-350 { transition-delay: 350ms; }
.delay-400 { transition-delay: 400ms; }
.delay-450 { transition-delay: 450ms; }
.delay-500 { transition-delay: 500ms; }

/* Enhanced Button Shimmer Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 80%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.75s ease-in-out;
}

.btn-shimmer:hover::after {
  transform: rotate(30deg) translateX(100%);
}

