.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--light);
}

.main-content {
  flex: 1;
  padding-top: 150px;
}

.page-hero {
  position: relative;
  padding: 100px 0 60px;
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,37,72,0.25), rgba(26,60,110,0.22));
  z-index: 0;
}

.page-hero.home-hero {
  min-height: 520px;
}

.page-hero.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero.home-hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero.page-hero-alt {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

.hero-shell {
  max-width: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: rgba(9, 22, 47, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 16px 0 16px;
}

.hero-copy p {
  max-width: 620px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-info-card {
  background: rgba(255,255,255,0.8);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(15,23,42,0.12);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.hero-stat-grid div {
  background: var(--light);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.hero-stat-grid strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.section-content {
  padding: 80px 0;
}

.section-alt {
  background: rgba(243,246,252,0.9);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  margin: 16px 0 12px;
}

.feature-grid,
.program-grid,
.stats-grid,
.news-grid,
.team-grid,
.about-grid,
.step-grid,
.gallery-full-grid,
.leadership-grid {
  display: grid;
  gap: 24px;
}

.feature-grid,
.program-grid,
.team-grid,
.about-grid,
.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid,
.news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-full-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.program-card,
.stat-card,
.news-card,
.team-card,
.about-card,
.step-card,
.contact-card,
.gallery-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-card h3,
.program-card h3,
.news-card h3,
.team-card h3,
.about-card h3,
.step-card h3,
.contact-card h3,
.stat-card strong {
  margin-bottom: 14px;
}

.feature-card p,
.program-card p,
.news-card p,
.team-card p,
.about-card p,
.step-card p,
.contact-card p,
.stat-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.program-card {
  position: relative;
  padding-top: 30px;
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.stat-card {
  background: linear-gradient(135deg, rgba(26,82,152,0.08), rgba(200,169,81,0.1));
  text-align: center;
  padding: 34px 24px;
}

.stat-card strong {
  font-size: 2.6rem;
  color: var(--primary-dark);
}

.news-card {
  border-top: 4px solid var(--secondary);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.news-grid {
  align-items: stretch;
}

.news-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  max-height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(36, 161, 156, 0.16), rgba(15, 38, 69, 0.12));
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.news-copy {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

@media (min-width: 1100px) {
  .news-card {
    min-height: 380px;
  }

  .news-image {
    min-height: 160px;
    max-height: 160px;
    padding: 12px;
    background: rgba(248, 250, 252, 1);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  }

  .news-image img {
    object-fit: contain;
    background: rgba(243, 246, 252, 0.95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    border-radius: 14px;
  }
}

.news-date {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--secondary-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.gallery-item {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  padding: 18px 20px;
  border-radius: 16px;
  max-width: calc(100% - 40px);
}

.gallery-item-caption h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.gallery-item-caption p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.about-grid,
.team-grid,
.leadership-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.person-card,
.about-card,
.team-card,
.contact-card,
.step-card {
  border: 1px solid rgba(26,60,110,0.08);
}

.team-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,247,251,0.95));
  box-shadow: 0 14px 35px rgba(15, 38, 69, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.team-avatar {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(36, 161, 156, 0.2), rgba(15, 38, 69, 0.14));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(18, 42, 79, 0.08);
}

.team-avatar img,
.person-photo img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.team-card h3,
.team-card span,
.team-card p {
  width: 100%;
}

.team-card h3 {
  margin: 0 0 8px;
}

.team-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--secondary-dark);
  font-weight: 700;
}

.team-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-light);
}

.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.person-photo {
  width: 100%;
  min-height: 260px;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-copy {
  padding: 24px;
}

.person-copy h3 {
  margin-bottom: 10px;
}

.person-copy span {
  display: block;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.person-copy p {
  color: var(--text-light);
  line-height: 1.75;
}

/* Gallery sizing and responsive helpers */
.gallery-full-grid {
  grid-auto-rows: 200px;
}

.gallery-item {
  min-height: auto; /* allow grid-auto-rows to control height */
}

.gallery-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .feature-grid,
  .program-grid,
  .team-grid,
  .about-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 1.8rem;
  }

  .hero-info-card {
    padding: 18px;
  }

  .leadership-grid,
  .feature-grid,
  .program-grid,
  .gallery-full-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 80px 0 40px;
  }
}

@media (max-width: 420px) {
  .page-hero {
    padding: 60px 0 32px;
  }

  .hero-copy h1 {
    font-size: 1.4rem;
  }

  .gallery-item img {
    height: 220px;
  }
}

.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.person-photo {
  width: 100%;
  min-height: 260px;
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-copy {
  padding: 24px;
}

.person-copy h3 {
  margin-bottom: 10px;
}

.person-copy span {
  display: block;
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.person-copy p {
  color: var(--text-light);
  line-height: 1.75;
}

.team-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 700;
}

.timeline-list {
  display: grid;
  gap: 24px;
}

.timeline-list li {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  grid-template-columns: 110px 1fr;
  align-items: center;
}

.timeline-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline-list h3 {
  margin-bottom: 10px;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
}

.step-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 32px;
}

.contact-form-wrapper {
  margin-top: 40px;
}

.contact-form {
  display: grid;
  gap: 20px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.12);
  background: var(--light);
  color: var(--dark);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
}

/* ===================== RESPONSIVE ADJUSTMENTS ===================== */
@media (max-width: 1024px) {
  .feature-grid,
  .program-grid,
  .team-grid,
  .about-grid,
  .step-grid,
  .stats-grid,
  .news-grid,
  .gallery-full-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .page-hero {
    padding: 72px 0 40px;
  }

  .main-content {
    padding-top: 120px;
  }
}

@media (max-width: 768px) {
  .feature-grid,
  .program-grid,
  .team-grid,
  .about-grid,
  .step-grid,
  .stats-grid,
  .news-grid,
  .gallery-full-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding: 18px;
    gap: 20px;
  }

  .hero-info-card {
    padding: 18px;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .page-hero {
    padding: 52px 0 34px;
  }

  .hero-copy h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-copy p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .program-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 34px 0 24px;
  }

  .page-hero.home-hero .hero-slide {
    min-height: 240px;
  }

  .page-hero.home-hero .hero-slide img {
    object-position: center top;
  }

  .hero-shell {
    padding: 16px;
    gap: 16px;
  }

  .hero-copy p,
  .hero-copy h1 {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }

  .hero-copy p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-info-card {
    padding: 18px;
    border-radius: 16px;
  }

  .hero-stat-grid {
    gap: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .navbar-inner {
    padding: 10px 16px;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 18px;
    font-size: 0.9rem;
    width: 100%;
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
}

.text-center {
  text-align: center;
}

@media (max-width: 1100px) {
  .hero-grid,
  .gallery-grid,
  .contact-grid,
  .stats-grid,
  .feature-grid,
  .program-grid,
  .team-grid,
  .about-grid,
  .step-grid,
  .gallery-full-grid {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 130px;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .page-hero {
    padding: 100px 0 60px;
  }

  .contact-form {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .page-hero {
    padding: 90px 0 50px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-info-card,
  .contact-form {
    padding: 24px;
  }
}

/* ===================== ACCORDION ===================== */
.accordion {
  display: grid;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-item {
  border-bottom: 1px solid var(--light-gray);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.accordion-header:hover {
  background: var(--light);
  padding-left: 28px;
}

.accordion-header.open {
  background: linear-gradient(135deg, rgba(26, 60, 110, 0.08), rgba(200, 169, 81, 0.08));
  color: var(--primary);
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: var(--secondary);
}

.accordion-header.open i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.8;
  animation: slideDown 0.3s ease;
}

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

/* ===================== MODERN RESPONSIVE SYSTEM ===================== */
.main-content {
  padding-top: 118px;
}

.section-content {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(244, 246, 251, 0.92), rgba(255, 255, 255, 0.96));
}

.page-hero {
  padding: clamp(80px, 12vw, 132px) 0 clamp(52px, 8vw, 88px);
}

.page-hero.home-hero {
  min-height: min(720px, calc(100vh - 40px));
  display: grid;
  align-items: end;
  padding-bottom: clamp(48px, 7vw, 90px);
  text-align: left;
}

.page-hero.home-hero::before {
  background: linear-gradient(0deg, rgba(9, 25, 47, 0.4) 0%, rgba(9, 25, 47, 0.08) 35%, transparent 60%);
}

.page-hero.home-hero .hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 25, 47, 0.15), transparent 40%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 760px;
  text-wrap: balance;
}

.hero-copy p {
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions {
  align-items: center;
}

.hero-info-card,
.feature-card,
.program-card,
.stat-card,
.news-card,
.team-card,
.about-card,
.step-card,
.contact-card,
.person-card,
.gallery-item,
.contact-form {
  border-radius: 8px;
  border: 1px solid rgba(15, 37, 72, 0.08);
  box-shadow: 0 14px 34px rgba(15, 37, 72, 0.08);
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--primary-ink);
}

.hero-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-stat-grid div {
  border-radius: 8px;
  background: rgba(244, 246, 251, 0.88);
  border: 1px solid rgba(15, 37, 72, 0.07);
}

.hero-stat-grid strong,
.stat-card strong {
  overflow-wrap: anywhere;
}

.feature-grid,
.program-grid,
.stats-grid,
.news-grid,
.team-grid,
.about-grid,
.step-grid,
.gallery-full-grid,
.leadership-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.feature-card,
.program-card,
.news-card,
.team-card,
.about-card,
.step-card,
.contact-card,
.person-copy {
  padding: clamp(20px, 3vw, 30px);
}

.feature-card,
.program-card,
.about-card,
.step-card,
.contact-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.program-card::before,
.about-card::before,
.step-card::before,
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--secondary), var(--fresh));
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(36, 161, 156, 0.12);
  color: var(--fresh);
  font-size: 1.15rem;
}

.program-icon,
.step-card span,
.team-avatar {
  border-radius: 8px;
}

.program-grid,
.step-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.stat-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 251, 0.92)),
    linear-gradient(135deg, rgba(36, 161, 156, 0.16), rgba(242, 107, 94, 0.12));
}

.person-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1fr;
}

.person-photo {
  min-height: 100%;
}

.person-photo img {
  min-height: 300px;
}

.gallery-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.gallery-full-grid {
  grid-auto-rows: auto;
}

.gallery-item {
  min-height: clamp(220px, 28vw, 360px);
}

.gallery-item-caption {
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.contact-form {
  max-width: 900px;
  margin-inline: auto;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  min-height: 48px;
  border-radius: 999px;
  text-align: center;
}

@media (max-width: 1100px) {
  .main-content {
    padding-top: 110px;
  }

  .hero-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero.home-hero {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 104px;
  }

  .page-hero,
  .page-hero.home-hero {
    padding: 64px 0 46px;
  }

  .page-hero.home-hero {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .hero-info-card {
    padding: 18px;
  }

  .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-stat-grid strong {
    font-size: 1.05rem;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .person-photo img {
    min-height: 260px;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
  }

  .timeline-list span {
    width: 64px;
    height: 64px;
    border-radius: 8px;
  }
}

@media (max-width: 520px) {
  .main-content {
    padding-top: 98px;
  }

  .section-content {
    padding-block: 46px;
  }

  .page-hero,
  .page-hero.home-hero {
    padding: 48px 0 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stat-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .program-card,
  .stat-card,
  .news-card,
  .team-card,
  .about-card,
  .step-card,
  .contact-card,
  .contact-form {
    padding: 20px;
  }

  .gallery-item-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 14px;
  }
}