/* =========================
   ABOUT PAGE STYLES
========================= */

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Page wrapper */
.about-page {
  background: #ffffff;
}

/* =========================
   HERO SECTION
========================= */

.about-hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, 
    rgba(5, 5, 8, 1) 0%, 
    rgba(20, 20, 33, 0.98) 100%);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 400px;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(255, 77, 90, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 159, 60, 0.1) 0%, transparent 50%);
  pointer-events: none;
  animation: heroGradient 20s ease-in-out infinite;
}

@keyframes heroGradient {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5%, 5%) rotate(2deg); }
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.about-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.about-hero-lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #cbd5e1;
}

/* =========================
   TEXT HIGHLIGHTING STYLES
========================= */

/* Subtle highlight with underline */
.highlight {
  color: #ff4d5a;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding: 0 0.15em;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff4d5a 0%, #ff9f3c 100%);
  opacity: 0.5;
}

/* Text highlight with background */
.highlight-text {
  background: linear-gradient(135deg, 
    rgba(255, 77, 90, 0.12) 0%, 
    rgba(255, 159, 60, 0.08) 100%);
  padding: 0.1em 0.3em;
  border-radius: 4px;
  font-weight: 600;
  color: #dc2626;
  position: relative;
  transition: background 0.3s ease;
}

.highlight-text:hover {
  background: linear-gradient(135deg, 
    rgba(255, 77, 90, 0.18) 0%, 
    rgba(255, 159, 60, 0.12) 100%);
}

/* Bold highlight */
.highlight-bold {
  font-weight: 700;
  color: #1e293b;
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   SECTION STYLES
========================= */

.about-section {
  padding: 3.5rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Light sections */
.about-light {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.about-light::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 35%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(139, 92, 246, 0.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
  animation: gradientFloat 25s ease-in-out infinite;
}

@keyframes gradientFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.02); }
}

.about-light > * {
  position: relative;
  z-index: 1;
}

/* Dark sections */
.about-dark {
  background: linear-gradient(180deg,
    #0b1120 0%,
    #020617 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.about-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(2, 6, 23, 0.9) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.about-dark::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 150%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 77, 90, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(147, 51, 234, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-dark > * {
  position: relative;
  z-index: 1;
}

.about-dark h2,
.about-dark h3,
.about-dark h4 {
  color: #ffffff;
}

.about-dark .highlight-text {
  background: linear-gradient(135deg, 
    rgba(255, 77, 90, 0.2) 0%, 
    rgba(255, 159, 60, 0.15) 100%);
  color: #fecaca;
}

.about-dark .highlight-bold {
  background: linear-gradient(135deg, #fca5a5 0%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   CONTENT BLOCKS
========================= */

.about-content-block {
  max-width: 800px;
  margin: 0 auto;
}

.about-content-block h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1e293b 0%, #3730a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: #475569;
}

.about-emphasis {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08) 0%, 
    rgba(139, 92, 246, 0.05) 100%);
  padding: 1.25rem 1.75rem;
  border-radius: 12px;
  border-left: 4px solid #6366f1;
  margin-top: 1.5rem;
}

/* =========================
   VISION & MISSION GRID
========================= */

.about-vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-card {
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease-out;
}

.about-card.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-vision-card.animate-in {
  animation: slideInLeft 0.8s ease-out forwards;
}

.about-mission-card.animate-in {
  animation: slideInRight 0.8s ease-out forwards;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 77, 90, 0.3) 0%,
    rgba(255, 159, 60, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-card:hover::before {
  opacity: 1;
}

.about-mission-card::before {
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(147, 51, 234, 0.2) 100%);
}

.card-icon {
  color: #ff4d5a;
  margin-bottom: 1rem;
}

.about-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.mission-list li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.5;
}

.mission-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ff4d5a;
  font-weight: bold;
}

/* =========================
   PHILOSOPHY SECTION
========================= */

.about-philosophy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-philosophy h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1e293b 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.philosophy-quote {
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 600;
  color: #1e293b;
  margin: 2rem 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, 
    rgba(255, 77, 90, 0.08) 0%, 
    rgba(255, 159, 60, 0.05) 100%);
  border-radius: 16px;
  border-left: 5px solid #ff4d5a;
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.philosophy-quote.animate-in {
  opacity: 1;
  transform: scale(1);
}

.philosophy-quote::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: rgba(255, 77, 90, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.about-philosophy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin: 1.25rem 0;
  text-align: left;
}

.philosophy-closing {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: #1e293b;
}

/* =========================
   DISTINCTIONS GRID
========================= */

.section-title-center {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.distinctions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.distinction-card {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease, opacity 0.6s ease-out, transform 0.6s ease-out;
}

.distinction-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.distinction-card:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.distinction-card:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.distinction-card:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.distinction-card:nth-child(4).animate-in {
  transition-delay: 0.4s;
}

.distinction-card:hover {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 77, 90, 0.3);
  transform: translateY(-4px);
}

.distinction-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.distinction-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.distinction-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* =========================
   CLIENTS SECTION
========================= */

.about-clients {
  max-width: 900px;
  margin: 0 auto;
}

.about-clients h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, #1e293b 0%, #3730a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clients-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #475569;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.client-type {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.05) 0%, 
    rgba(139, 92, 246, 0.03) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease, opacity 0.6s ease-out, transform 0.6s ease-out;
}

.client-type.animate-in {
  opacity: 1;
  transform: scale(1);
}

.client-type:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.client-type:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.client-type:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.client-type:nth-child(4).animate-in {
  transition-delay: 0.4s;
}

.client-type:hover {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08) 0%, 
    rgba(139, 92, 246, 0.05) 100%);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.client-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.client-type h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.clients-note {
  text-align: center;
  font-size: 1.05rem;
  margin-top: 2rem;
  color: #475569;
}

/* =========================
   COMMITMENT SECTION
========================= */

.about-commitment {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-commitment h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.about-commitment > p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: #cbd5e1;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.commitment-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.3s ease, opacity 0.6s ease-out, transform 0.6s ease-out;
}

.commitment-item.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.commitment-item:nth-child(1).animate-in {
  transition-delay: 0.1s;
}

.commitment-item:nth-child(2).animate-in {
  transition-delay: 0.2s;
}

.commitment-item:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.commitment-item:nth-child(4).animate-in {
  transition-delay: 0.4s;
}

.commitment-item:hover {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 77, 90, 0.3);
}

.commitment-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
}

.commitment-item span {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
}

.commitment-closing {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 2.5rem;
  color: #cbd5e1;
}

/* =========================
   CLOSING SECTION
========================= */

.about-closing {
  background: linear-gradient(170deg, #ffffff 0%, #fef3f2 35%, #fefce8 70%, #ffffff 100%);
  padding: 4rem 0;
}

.closing-quote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
  color: #1e293b;
  padding: 2.5rem;
  background: linear-gradient(135deg, 
    rgba(255, 77, 90, 0.08) 0%, 
    rgba(255, 159, 60, 0.05) 100%);
  border-radius: 16px;
  border: 2px solid rgba(255, 77, 90, 0.2);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.closing-quote.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   CTA SECTION
========================= */

.about-cta {
  padding: 3.5rem 0;
  background: linear-gradient(180deg,
    #0b1120 0%,
    #020617 100%);
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 77, 90, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.cta-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* About page specific CTA button */
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 
    0 10px 30px rgba(255, 77, 90, 0.3),
    0 4px 12px rgba(255, 159, 60, 0.2);
  transition: all 0.3s ease;
}

.about-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(255, 77, 90, 0.4),
    0 8px 20px rgba(255, 159, 60, 0.3);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .about-vision-mission-grid,
  .distinctions-grid,
  .clients-grid,
  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero-lead {
    font-size: 1.2rem;
  }

  .philosophy-quote {
    font-size: 1.3rem;
    padding: 2rem;
  }

  .closing-quote {
    font-size: 1.5rem;
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 2.5rem 0;
  }

  .about-hero {
    padding: 4rem 0 3rem;
  }

  .about-hero h1 {
    font-size: 1.75rem;
  }

  .about-hero-lead {
    font-size: 1.05rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .distinction-card {
    padding: 1.25rem;
  }

  .philosophy-quote {
    font-size: 1.1rem;
    padding: 1.5rem;
  }

  .closing-quote {
    font-size: 1.2rem;
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  .about-hero  {
    min-height: 400px;
    padding: 4rem 0 3rem;
  }
}
/* Mouse trail - Plus signs */
.trail-plus {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  opacity: 1;
  transition: all 0.5s ease-out;
}

.trail-plus::before,
.trail-plus::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 77, 90, 0.9) 0%, rgba(255, 159, 60, 0.5) 100%);
}

.trail-plus::before {
  width: 2px;
  height: 12px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.trail-plus::after {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}