/* Styles for the About Us page */

.about-page {
  /* This container just ensures the layout is centered */
  width: 100%;
  padding: 40px 0;
}

.about-layout {
  /* This is the panel */
  width: min(1200px, 94%);
  margin: 40px auto; /* Space from header/footer */
  
  /* === MODIFICATION: Matched to main page's content card style === */
  /* Using the subtle glass effect from your style.css's .card / .usecase */
  background: rgba(255, 255, 255, 0.05); /* Subtle white tint */
  border: 1px solid var(--border, rgba(255,255,255,.12));
  box-shadow: var(--shadow, 0 12px 40px rgba(0,0,0,.45));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text, #eaf4ff);
  /* === END MODIFICATION === */
  
  border-radius: var(--radius, 16px); /* Rounded corners */
  
  /* Main grid layout: 200px sidebar, 1fr content */
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 50px 40px;
}

/* --- Side Navigation --- */
.about-nav {
  border-right: 1px solid var(--border, rgba(255,255,255,.12)); /* MODIFIED */
  padding-right: 20px;
}

.about-nav .nav-link {
  display: block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted, #9fb3c9); /* MODIFIED */
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.about-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.05); /* MODIFIED */
  color: var(--text, #eaf4ff); /* MODIFIED */
}

.about-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.1); /* MODIFIED */
  color: #8A73FF; /* MODIFIED: Changed to muted blue-violet */
  font-weight: 700;
}

/* --- Main Content Area --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 50px; /* Space between sections */
  color: var(--muted, #9fb3c9); /* MODIFIED */
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text, #eaf4ff); /* MODIFIED */
  border-bottom: 1px solid var(--border, rgba(255,255,255,.12)); /* MODIFIED */
  padding-bottom: 15px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  margin-bottom: 1.2em;
}

.about-content .hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 20px;
  border: 1px solid var(--border, rgba(255,255,255,.12)); /* MODIFIED */
}

/* --- Vision/Quote Section --- */
.vision-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background: rgba(0, 0, 0, 0.15); /* MODIFIED: Darker sub-panel */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255,255,255,.12)); /* MODIFIED */
}

.vision-quote {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text, #eaf4ff); /* MODIFIED */
  line-height: 1.5;
  border-left: 5px solid #8A73FF; /* MODIFIED: Changed to muted blue-violet */
  padding-left: 25px;
  font-style: italic;
  position: relative;
}

.vision-quote .quote-marks {
  color: #8A73FF; /* MODIFIED: Changed to muted blue-violet */
  font-size: 2.5rem;
  line-height: 1;
}

.vision-quote cite {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted, #9fb3c9); /* MODIFIED */
  margin-top: 15px;
  font-style: normal;
}

.vision-section .side-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}


.details-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.details-images img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-layout {
    /* Stack sidebar and content on mobile */
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .about-nav {
    /* Horizontal nav on mobile */
    display: flex;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid var(--border, rgba(255,255,255,.12)); /* MODIFIED */
    padding-right: 0;
    padding-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .about-nav .nav-link {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .vision-section,
  .details-section {
    /* Stack columns on mobile */
    grid-template-columns: 1fr;
  }

}