/* Hero Section */
.about-hero {
  height: 550px; /* taller hero for more presence */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

body {
  margin: 0;
  background: linear-gradient(80deg, #1b1e55 50%, #d2b48c 50%);
  min-height: 100vh;
}

.about-hero,
.about-core,
.video-section {
  background-color: transparent;
}


.about-hero {
  margin-top: -25px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-hero.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay h1,
.hero-overlay p {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-overlay h1.show,
.hero-overlay p.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay {
  background-color: #1b1e55eb;
  padding: 60px; /* bigger padding */
  border-radius: 20px;
  max-width: 900px; /* wider */
  text-align: center;
  box-shadow: 0px 0px 5px 7px #d2b48c;
}

.hero-overlay h1 {
  font-size: 4rem; /* bigger heading */
  margin-bottom: 20px;
  color: #d2b48c;
}

.hero-overlay p {
  font-size: 1.5rem; /* larger paragraph */
  margin-bottom: 30px;
}

.cta-button {
  background-color: #d2b48c;
  color: #000;
  padding: 16px 40px; /* bigger button */
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
 	font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Core Program Focus */
.about-core {
  padding: 70px 0;

  color: #fff;

  display: flex;
  justify-content: center;
  width: 100%;
  
}

/* Inner box */
.about-core .container {
  width: 80%;
  background: #1b1e55eb;
  border-radius: 15px;
  padding: 80px 60px;
  box-shadow: 0px 0px 5px 7px #d2b48c;

}

/* Title */
.about-core h2 {
  font-size: 5rem;
  text-align: center;
  margin-bottom: 150px;
  color: #d2b48c;

}

/* List layout */
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 250px;  /* More space between items */
}

/* Focus item: left/right layout */
.focus-item {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* header smaller, description bigger */
  align-items: start;

}

/* Header titles */
.focus-item h3 {
  font-size: 3.5rem;
  text-align: left;
  color: #d2b48c;
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.6s ease-out;
}

/* Descriptions */
.focus-item p {
  margin-top: 20px;
  font-size: 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.6s ease-out;
}

.additional-links {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers everything */
  gap: 45px; /* space between each block */
  text-align: center;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* space between paragraph + button */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stack-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stack-item p {
  margin: 0;
  font-size: 45px; /* bigger text */
  max-width: auto;
  color: #eaeaea;
}

/* Themed button */
.theme-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;

  background-color: #1b1e55;   /* deep navy */
  color: #d2b48c;              /* tan text */

  border: 2px solid #d2b48c;

  transition: all 0.25s ease;
}

.theme-btn:hover {
  background-color: #d2b48c;
  color: #1b1e55;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


/* Responsive Improvements */
@media screen and (max-width: 900px) {
  .about-hero {
    height: 350px; /* shrink hero for phones */
    margin-top: 0;
  }

  .hero-overlay {
    padding: 30px 20px; /* reduce padding */
    max-width: 90%;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .about-core {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
/* Center the container and all its content */
  .about-core .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 95%;
    padding: 40px 20px;
  }

  /* Center heading */
  .about-core h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  /* Focus list stacking */
  .focus-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  /* Force each focus item to stack vertically */
  .focus-item {
    display: flex !important; /* override grid */
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  /* Force all child text to center */
  .focus-item h3,
  .focus-item p {
    text-align: center !important; /* override any inherited left */
    margin: 0 auto; /* center block if width < 100% */
  }

  /* Adjust font sizes for readability */
  .focus-item h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .focus-item p {
    font-size: 1.1rem;
    max-width: 90%; /* prevent hugging edges */
  }

  /* Fix nested additional-links */
  .additional-links,
  .additional-links .additional-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .stack-item p {
    font-size: 1rem;
    max-width: 90%;
  }
  .theme-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Extra small screens */
@media screen and (max-width: 500px) {
  .about-hero {
    height: 300px;
  }

  .hero-overlay {
    padding: 20px 15px;
  }

  .hero-overlay h1 {
    font-size: 1.6rem;
  }

  .hero-overlay p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .about-core .container {
    padding: 30px 15px;
  }

  .about-core h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .stack-item p {
    font-size: 0.9rem;
  }

  .theme-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}