:root {
  --about-card: #ffffff;
  --about-border: #dbe8f7;
  --about-muted: #5d7288;
  --about-accent: #e8f2ff;
}

.page-main-about {
  padding: 2rem 0 3rem;
}
/* 
.hero-card-about {
  width: min(980px, 100%);
  margin: 0 auto 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(15, 63, 131, 0.08);
  padding: 2.5rem 2rem;
}

.hero-card-about h1 {
  margin: 0 0 1rem;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-card-about p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
} */
 
.hero-card-about {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 50vh;
  margin: 0 auto 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(15, 63, 131, 0.08);
  padding: 2.5rem 2rem;
  background: url("../images/gym.jpeg") center/cover no-repeat;
}

.hero-card-about {
  position: relative;
  color: white;
}

.hero-card-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* adjust 0.25–0.5 */
  border-radius: 24px;
} 


.hero-card-about h1 {
  display: inline-block;
  position: relative;
  z-index: 1;

  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  border-bottom: 4px solid #fff;

  opacity: 0;
  transform: translateY(-30px);
  animation: slideDownFade 0.8s ease-out forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.about-image-card,
.about-text-card {
  background: var(--about-card);
  border: 1px solid var(--about-border);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 14px 26px rgba(15, 63, 131, 0.06);
}

.about-image {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.about-text-card h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

.about-text-card p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.8;
}

.about-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--about-border);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 12px 24px rgba(15, 63, 131, 0.05);
}

.info-card-highlight {
  background: var(--about-accent);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.info-card p,
.info-card ul {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  margin-bottom: 0.75rem;
}

.info-card-contact {
  background: var(--accent);
}

.about-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 16px 32px rgba(15, 63, 131, 0.06);
}

.about-summary h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

.about-summary p {
  margin: 0.75rem 0 0;
  color: var(--text);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .about-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-grid,
  .about-panels {
    grid-template-columns: 1fr;
  }

  .about-image-card,
  .about-text-card,
  .info-card,
  .about-summary {
    padding: 1.5rem;
  }
}
