/* ── ABOUT PAGE STYLES - about.css ── */
/* Full modern, responsive styling for about.html */

/* ── HERO ── */
.about-hero {
  min-height: auto !important;
  padding: 120px 5% 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 6rem 5%;
  border-top: 1px solid var(--border);
}

.about-section .section-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-align: center;
}

.about-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 auto 2.5rem;
  max-width: 700px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.about-grid p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ── VALUES SECTION (reuse home.css service cards) ── */

/* ── STATS SECTION ── */
.about-stats {
  padding: 6rem 5%;
  display: flex;
  justify-content: center;
  gap: 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  text-align: center;
  background-color: rgba(163,224,252,0.02);
}

.about-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.about-stats .stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.about-stats .stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.about-stats .stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

.about-stats .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── NEWEST PROJECT ── */
.newest-project {
  padding: 8rem 5%;
  text-align: center;
  background: rgba(163,224,252,0.02);
}

.newest-project .section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.newest-project .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.newest-project .project-card {
  display: flex;
  flex-direction: row;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.newest-project .project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}

.project-image {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.newest-project .project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.1));
}

.project-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 0.4rem 0.8rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
}

.project-content {
  flex: 1 1 50%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 1rem;
  color: #fff;
  line-height: 1.7;
}

.btn-secondary {
  margin-top: 1.25rem;
  align-self: center;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* ── OUR BENEFITS ── */
.our-benefits {
  padding: 8rem 5%;
  text-align: left; /* make headings left-aligned */
}

/* Match heading styles from Values/Services section */
.our-benefits .section-label,
.our-benefits .section-title {
  max-width: 700px;
  margin: 0 0 1.5rem 0; /* top 0, bottom 1.5rem, left aligned */
}

/* Grid for benefits cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Individual benefit card styles */
.benefit-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

/* Icon style */
.benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* Text inside card */
.benefit-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: auto;
    padding-top: 100px;
  }

  .about-stats {
    gap: 2.5rem;
  }

  .newest-project .project-card {
    flex-direction: column;
  }

  .project-image,
  .project-content {
    flex: 1 1 100%;
  }

  .project-image {
    border-radius: 16px 16px 0 0;
  }

  .project-content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .about-section,
  .about-stats,
  .newest-project,
  .our-benefits {
    padding: 4rem 5%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}