/* ==========================================================================
   ABOUT PAGE STYLES
   Focus: Company introduction, values, team, timeline & contact form
   Design Language: Premium Dark Mode, Glassmorphism, Neon Accents, Smooth Animations
   ========================================================================== */

:root {
  --accent-neon: #00f3ff;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-dim: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   About Hero Section
   -------------------------------------------------------------------------- */
.about-page-body {
  background: var(--bg-primary);
  /* Assume dark theme background from aboxcc.css */
}

.about-hero {
  padding: 100px 20px 80px 20px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top center, rgba(0, 243, 255, 0.1) 0%, transparent 60%);
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
  opacity: 0.5;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease-out forwards;
}

.badge-glow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(0, 243, 255, 0.05);
  border: 1px solid rgba(0, 243, 255, 0.2);
  color: var(--accent-neon);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
  text-transform: uppercase;
}

.about-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: -0.02em;
}

.about-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 10px;
}

.about-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Core Mission Grid (Glass Cards)
   -------------------------------------------------------------------------- */
.mission-section {
  padding: 80px 20px;
  position: relative;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 243, 255, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.mission-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 243, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 243, 255, 0.1) inset;
}

.mission-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 25px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: var(--accent-neon);
}

.mission-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.mission-card p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Timeline Section
   -------------------------------------------------------------------------- */
.timeline-section {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.2);
}

.lg-timeline-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.lg-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px; /* Start at the center of the node */
  bottom: -118px; /* Reach exactly to the center of the next node (100px margin + 18px) */
  left: 30%;
  width: 2px;
  background: var(--accent-neon);
  transform: translateX(-50%);
  z-index: 0;
  box-shadow: 0 0 10px var(--accent-neon);
}

.lg-timeline-item:last-child::after {
  content: '';
  position: absolute;
  top: 18px; /* Start at the center of the node */
  height: 250px; /* Extend downwards */
  left: 30%;
  width: 2px;
  background: var(--accent-neon);
  transform: translateX(-50%);
  z-index: 0;
  box-shadow: 0 0 10px var(--accent-neon);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

.lg-timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 100px;
  width: 100%;
}

.lg-timeline-item:last-child {
  margin-bottom: 0;
}

.lg-timeline-left {
  width: 30%;
  padding-right: 60px;
  text-align: right;
  position: relative;
  z-index: 1;
}

.lg-timeline-year {
  color: var(--accent-neon);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

.lg-timeline-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.lg-timeline-node {
  position: absolute;
  left: 30%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
  top: 0;
  font-family: 'Outfit', sans-serif;
}

.lg-timeline-right {
  width: 70%;
  padding-left: 60px;
  position: relative;
  z-index: 1;
}

.lg-timeline-media {
  margin-bottom: 25px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
}

.lg-timeline-media img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.lg-timeline-item:hover .lg-timeline-media img {
  transform: scale(1.05);
}

.lg-timeline-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.team-section {
  padding: 80px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  background: linear-gradient(180deg, rgba(0, 243, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  border-color: rgba(0, 243, 255, 0.2);
}

.team-icon {
  font-size: 40px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.team-card h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.team-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Inquiry Form Section
   -------------------------------------------------------------------------- */
.inquiry-section {
  padding: 100px 20px;
  background: linear-gradient(0deg, rgba(0, 243, 255, 0.03) 0%, transparent 100%);
}

.inquiry-wrapper {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.inquiry-info {
  flex: 1;
}

.inquiry-info h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 25px;
}

.inquiry-info p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-method .icon {
  font-size: 24px;
  color: var(--accent-neon);
  background: rgba(0, 243, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-method p {
  color: var(--text-dim);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.inquiry-form-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group .required {
  color: var(--accent-neon);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 20px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
}

.form-group select option {
  background: #12141d;
  /* Solid dark background for dropdown options */
  color: #fff;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent-neon);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-submit:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  background: #555;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .about-title {
    font-size: 3rem;
  }

  .inquiry-wrapper {
    flex-direction: column;
  }

  .inquiry-info,
  .inquiry-form-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .lg-timeline-item:not(:last-child)::after {
    left: 40px;
    bottom: -78px; /* Reach the center of next node on mobile (60px margin + 18px) */
  }

  .lg-timeline-item:last-child::after {
    left: 40px;
  }

  .lg-timeline-item {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .lg-timeline-left {
    width: 100%;
    padding-left: 90px;
    padding-right: 20px;
    text-align: left;
    margin-bottom: 25px;
  }

  .lg-timeline-node {
    left: 40px;
  }

  .lg-timeline-right {
    width: 100%;
    padding-left: 90px;
    padding-right: 20px;
  }

  .lg-timeline-title {
    font-size: 1.5rem;
  }

  .about-hero {
    padding-top: 120px;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .inquiry-form-card {
    padding: 30px 20px;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}