/* About Page CSS - Ultra Premium Overhaul */

/* Base Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes orbMove {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15vw, -15vh) scale(1.2); }
  66% { transform: translate(-10vw, 10vh) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll Visibility Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* 1. HERO SECTION & ORB */
.about-hero {
  padding: 250px 5% 150px;
  background: #050505;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.orb-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(43, 130, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  animation: orbMove 25s ease-in-out infinite alternate;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/service-web-design.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  z-index: 1;
  mix-blend-mode: overlay;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.about-hero h1 {
  font-size: 110px;
  font-weight: 900;
  margin: 0 0 30px;
  letter-spacing: -4px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #2b82ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.about-hero p {
  color: #b0b0b0;
  font-size: 26px;
  max-width: 750px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.6;
}

/* 2. INFINITE MARQUEE */
.marquee-section {
  background: #050505;
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.marquee-content {
  display: inline-flex;
  white-space: nowrap;
  animation: scrollMarquee 40s linear infinite;
}

.marquee-text {
  font-size: 100px;
  font-weight: 900;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  padding-right: 50px;
  text-transform: uppercase;
  transition: -webkit-text-stroke 0.3s ease;
}

.marquee-text:hover {
  -webkit-text-stroke: 1px rgba(43, 130, 255, 0.6);
}

.marquee-dot {
  color: #2b82ff;
  -webkit-text-stroke: 0;
  padding-right: 50px;
}

/* 3. SLEEK STATS STRIP */
.about-stats {
  padding: 100px 5% 50px;
  background: #050505;
  position: relative;
  z-index: 3;
}

.stats-strip {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 30px 50px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -50%;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-top: 5px;
}

/* 4. MISSION SECTION */
.about-mission {
  padding: 100px 5%;
  background: #050505;
}

.about-mission-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-mission h2 {
  font-size: 14px;
  color: #2b82ff;
  margin: 0 0 30px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.about-mission p {
  font-size: 48px;
  color: #e0e0e0;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -1.5px;
}

.about-mission .highlight {
  color: #fff;
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.about-mission .highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2b82ff;
  opacity: 0.5;
}

/* 5. PROCESS TIMELINE SECTION */
.about-process {
  padding: 100px 5% 150px;
  background: #050505;
}

.process-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(43, 130, 255, 0.3) 10%, rgba(43, 130, 255, 0.3) 90%, transparent);
}

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: 80px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-marker {
  position: absolute;
  left: 10px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #050505;
  border: 2px solid #2b82ff;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(43, 130, 255, 0.5);
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease;
}

.process-step:hover .process-marker {
  transform: scale(1.3);
  background: #2b82ff;
}

.process-step h3 {
  font-size: 36px;
  color: #fff;
  margin: -10px 0 15px;
  letter-spacing: -1px;
  font-weight: 700;
}

.process-step p {
  font-size: 18px;
  color: #999;
  line-height: 1.6;
  margin: 0;
}

/* 6. BENTO GRID SECTION (RESTORED) */
.about-bento {
  padding: 50px 5% 150px;
  background: #050505;
}

.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.bento-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: grayscale(100%);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
  z-index: 0;
  transform: scale(1.05);
}

.bento-card:hover .bento-bg {
  opacity: 0.15;
  filter: grayscale(0%);
  transform: scale(1);
}

.bento-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.bento-card:hover {
  border-color: rgba(43,130,255,0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(43, 130, 255, 0.1);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #2b82ff, #fff);
  transition: left 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2;
}

.bento-card:hover::before {
  left: 0;
}

.bento-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(43,130,255,0.2) 0%, rgba(43,130,255,0.05) 100%);
  border: 1px solid rgba(43,130,255,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  color: #2b82ff;
  animation: float 6s ease-in-out infinite;
}

.bento-icon svg {
  width: 32px;
  height: 32px;
}

.bento-card h3 {
  font-size: 32px;
  color: #fff;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

.bento-card p {
  font-size: 18px;
  color: #999;
  margin: 0;
  line-height: 1.6;
}

/* Make first bento card full width */
.bento-card.full-width {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
}

.bento-card.full-width .bento-content {
  flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-hero h1 { font-size: 80px; }
  .about-mission p { font-size: 38px; }
  .marquee-text { font-size: 70px; }
  .stat-number { font-size: 40px; }
  .bento-card.full-width { gap: 40px; }
}

@media (max-width: 768px) {
  .about-hero { padding: 180px 5% 100px; }
  .about-hero h1 { font-size: 55px; }
  .about-hero p { font-size: 20px; }
  
  .marquee-text { font-size: 50px; }
  .marquee-section { padding: 50px 0; }
  
  .stats-strip { 
    flex-direction: column; 
    border-radius: 30px;
    padding: 40px;
    gap: 40px;
  }
  .stat-item:not(:last-child)::after {
    right: auto;
    left: 20%;
    bottom: -20px;
    top: auto;
    width: 60%;
    height: 1px;
  }
  
  .about-mission p { font-size: 28px; }
  
  .process-step h3 { font-size: 28px; }
  .process-step { padding-left: 60px; padding-bottom: 60px; }
  .process-container::before { left: 15px; }
  .process-marker { left: 5px; }

  /* Bento Grid Mobile */
  .about-bento-grid { grid-template-columns: 1fr; }
  .bento-card.full-width { flex-direction: column; align-items: flex-start; gap: 40px; }
  .bento-card { padding: 40px 30px; }
  .bento-card h3 { font-size: 28px; }
}
