/* ============================================================================
   PREMIUM ABOUT SECTION REDESIGN
   Premium storytelling layout with sophisticated animations and effects
   ============================================================================ */

/* ============================================================================
   SECTION BACKGROUNDS & GRADIENTS
   ============================================================================ */

.about-story-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 40%, #f0f8ff 70%, #fafbfc 100%);
  padding: 5rem 0 6rem;
}

.about-story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(251, 146, 60, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30, 58, 138, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-story-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, rgba(30, 58, 138, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(30, 58, 138, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================================
   SECTION WRAPPER & CONTAINER
   ============================================================================ */

.about-content-wrapper {
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================================
   LEFT COLUMN: CONTENT STORYTELLING
   ============================================================================ */

.about-story-content {
  position: relative;
  z-index: 2;
}

.about-story-content::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: float-slow 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ============================================================================
   HEADING & TYPOGRAPHY ENHANCEMENT
   ============================================================================ */

.about-story-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-story-heading::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c50000 0%, #EF0000 100%);
  border-radius: 2px;
  animation: expand-width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

@keyframes expand-width {
  0% {
    width: 0;
    opacity: 1;
  }
  100% {
    width: 60px;
    opacity: 1;
  }
}

.about-story-heading .gradient-text {
  background: linear-gradient(135deg, #ea5252 0%, #EF0000 50%, #c50000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline;
}

/* ============================================================================
   BODY TEXT & PARAGRAPHS
   ============================================================================ */

.about-story-paragraph {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-story-paragraph:nth-of-type(1) { animation-delay: 0.4s; }
.about-story-paragraph:nth-of-type(2) { animation-delay: 0.5s; }

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   STATS CARDS - PREMIUM STYLING
   ============================================================================ */

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-stat-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, 
    rgba(239, 0, 0, 0.1) 0%, 
    rgba(197, 0, 0, 0.05) 100%);
  border: 1px solid rgba(239, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  animation: slide-in-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-stat-card:nth-child(1) { animation-delay: 0.6s; }
.about-stat-card:nth-child(2) { animation-delay: 0.7s; }
.about-stat-card:nth-child(3) { animation-delay: 0.8s; }

.about-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 60, 60, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes slide-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-stat-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, 
    rgba(197, 0, 0, 0.15) 0%, 
    rgba(239, 0, 0, 0.1) 100%);
  border-color: rgba(197, 0, 0, 0.4);
  box-shadow: 
    0 8px 32px rgba(197, 0, 0, 0.15),
    0 0 1px rgba(239, 0, 0, 0.5);
}

.about-stat-card:hover::before {
  opacity: 1;
}

.about-stat-card:hover::after {
  opacity: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #EF0000 0%, #c50000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #333333;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ============================================================================
   RIGHT COLUMN: IMAGE & VISUAL EFFECTS
   ============================================================================ */

.about-image-container {
  position: relative;
  z-index: 2;
}

.about-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  opacity: 0;
  animation: scale-fade-in 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes scale-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(251, 146, 60, 0.4) 0%, 
    rgba(30, 58, 138, 0.2) 100%);
  border-radius: 1.5rem;
  z-index: -1;
  pointer-events: none;
}

.about-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #f0f8ff 0%, #f8fbff 100%);
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image-container:hover .about-image-inner img {
  transform: scale(1.05);
}

/* ============================================================================
   IMAGE LABEL BADGE (Glassmorphism)
   ============================================================================ */

.about-image-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  z-index: 10;
  animation: slide-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-image-label img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.about-label-text {
  flex: 1;
}

.about-label-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.about-label-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.2;
}

/* ============================================================================
   DECORATIVE FLOATING SHAPES
   ============================================================================ */

.about-shape-top {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float-slow-2 10s ease-in-out infinite;
  animation-delay: 0s;
  pointer-events: none;
  z-index: 1;
}

.about-shape-bottom {
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float-slow-2 12s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
  z-index: 1;
}

@keyframes float-slow-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

/* ============================================================================
   PARALLAX EFFECT SUPPORT
   ============================================================================ */

.parallax-scroll {
  position: relative;
  will-change: transform;
}

.parallax-content {
  position: relative;
}

/* ============================================================================
   SECTION DIVIDER (Accent Lines)
   ============================================================================ */

.about-divider {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(251, 146, 60, 0.3) 25%, 
    rgba(251, 146, 60, 0.6) 50%, 
    rgba(251, 146, 60, 0.3) 75%, 
    transparent 100%);
  margin: 4rem 0;
  opacity: 0;
  animation: fade-in 0.8s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ============================================================================
   RESPONSIVE OPTIMIZATION
   ============================================================================ */

@media (max-width: 768px) {
  .about-story-section {
    padding: 3rem 0 4rem;
  }
  
  .about-story-heading {
    font-size: 2rem;
  }
  
  .about-grid {
    gap: 2rem;
  }
  
  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .about-image-label {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

/* ============================================================================
   ACCESSIBILITY - Reduced Motion Support
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .about-story-section::before,
  .about-shape-top,
  .about-shape-bottom,
  .about-story-content::before {
    animation: none !important;
  }
  
  .about-story-heading::before,
  .about-story-paragraph,
  .about-stat-card,
  .about-image-wrapper,
  .about-image-label,
  .about-divider {
    animation: none !important;
  }
  
  .about-image-container:hover .about-image-inner img,
  .about-stat-card:hover {
    transition: none;
    transform: none;
  }
}

/* ============================================================================
   DARK MODE SUPPORT (Optional)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  .about-story-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
  }
  
  .about-story-heading {
    color: #f0f9ff;
  }
  
  .about-story-paragraph {
    color: #d1d5db;
  }
  
  .about-divider {
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(251, 146, 60, 0.5) 25%, 
      rgba(251, 146, 60, 0.8) 50%, 
      rgba(251, 146, 60, 0.5) 75%, 
      transparent 100%);
  }
}
