* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  color: #001f3f;
}

main {
  flex: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #e3d5ca;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-weight: bold;
  color: #001f3f;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #001f3f;
  font-weight: 500;
}

body.index-page .hero {
  background: url('../images/main_pic.jpg') no-repeat center 50% / cover;
  min-height: 50vh;
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.bottom-sec {
  min-height: 40vh;
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}



.hero h1, .hero p {
  color: white;
}

.btn-primary {
  background-color: rgba(0, 31, 63, 0.85);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-primary:hover {
  background-color: #001f3f;
}
  

.personal-intro {
  padding: 4rem 2rem;
  background-color: #fdfdfd;
  text-align: center;
}

footer {
  background-color: #e3d5ca;
  color: white;
  text-align: center;
  padding: 1rem;
}

.program-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.program-tile {
  width: 200px;
  height: 200px;
  background-color: #e3d5ca;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #001f3f;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.program-tile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.program-grid.no-boxes a {
  text-decoration: none;
  color: #001f3f;
  text-align: center;
}

.program-grid.no-boxes img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.program-grid.no-boxes img:hover {
  transform: scale(1.05);
}

.program-grid.no-boxes p {
  margin-top: 0.5rem;
  font-weight: bold;
}

.image-text-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.image-text-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.image-side {
  flex: 1 1 40%;
  max-width: 400px;
}

.image-side img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-side {
  flex: 1 1 50%;
  max-width: 500px;
}

.text-side h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.text-side p {
  font-size: 1em;
  line-height: 1.6;
}

.about-me-split {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.about-me-container {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-me-image {
  flex: 1 1 45%;
}

.about-me-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-me-text {
  flex: 1 1 50%;
}

.about-me-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #002244;
}
.about-me-text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #002244;
}

.about-me-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

/* Responsive tweak for mobile screens */
@media (max-width: 768px) {
  .about-me-container {
    flex-direction: column;
    text-align: center;
  }

  .about-me-text {
    padding-top: 20px;
  }
}

.testimonials {
  background-color: #f3f3f3;
  padding: 60px 20px;
  text-align: center;
}

.testimonials .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center; /* Ensures heading is centered */
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* This centers the testimonial boxes */
  gap: 30px;
}

.testimonial {
  background: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: left;
}

.program-details {
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto 40px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.program-details h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
  color: #002244;
}

.program-details ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.progress-section h3 {
  margin-top: 40px;
  font-size: 1.8em;
  color: #333;
}

.progress-block {
  margin: 30px 0;
}

.progress-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.progress-images img {
  width: 300px;
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.progress-images img {
  width: 300px;
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/* Make after images appear larger */
.progress-block.after img {
  width: 350px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.btn-second{
  background-color: rgba(0, 31, 63, 0.85);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  padding: 16px 32px;   /* top/bottom left/right */
  font-size: 20px;
  border-radius: 8px;
}

.btn-second:hover {
  background-color: #001f3f;
}
