/* Base styles */
body { margin:0; font-family:sans-serif; color:#333; line-height:1.6; }
h1, h2 { color: midnightblue; text-align:center; margin-bottom:30px; text-decoration: solid; padding:auto;}
section { padding:60px 20px; max-width:900px; margin:auto; }

/*header navbar*/

.site-header { background: #002244; padding: 15px 0; }
nav { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
nav h1 { color: #fff; }
.nav-menu { list-style: none; display: flex; gap: 20px; }
.nav-menu a { color: #fff; text-decoration: none; font-weight: 500; }



/* Hero Section */
.hero-section {
  background: url('hero1.jpg') center/cover no-repeat;
  color:#fff; text-shadow:0 0 5px rgba(0,0,0,0.7);
  padding:100px 20px; text-align:center;
  height: 500px;
}
.hero-section p { font-size:1.25rem; margin-bottom: 430px; padding-top: 560px;color: yellowgreen; text-size-adjust: 5rem; }
.hero-section h1 {
  margin-bottom: 10px; /* space between h1 and p */
}

.hero-section p {
  margin-top: 0;       /* remove default top space */
  font-size: 1.25rem;
  color: yellowgreen;
}


/* Timeline */
.timeline {
list-style:none;
padding:0;
counter-reset: year;
}
.timeline li {
position:relative; padding-left:60px; margin-bottom:30px;
}
.timeline li::before {
  content: counter(year);
  counter-increment: year;
  position:absolute; left:0; top:0;
  background:midnightblue; color:#fff;
  width:40px; height:40px;
  border-radius:50%; text-align:center;
  line-height:40px; font-weight:bold;
}
.timeline li .year {
  display:none;
}

/* Team Section */
.team .members {
  display:flex; gap:40px; flex-wrap:wrap; justify-content:center;
}
.team .member {
  text-align:center; width:180px;
}
.team .member img {
  width:100%; aspect-ratio:1/1;
  border-radius:50%; object-fit:cover;
}

/* CTA */
.cta { text-align:center; background:#eef2f5; }
.btn-primary {
display:inline-block; padding:12px 24px;
background:midnightblue; color:#fff;
text-decoration:none; border-radius:4px;
transition: background 0.3s;
}
.btn-primary:hover { background:#0a054f; }

/* Responsive */
@media(max-width:600px) {
.team .members { flex-direction:column; align-items:center; }
}

/* Footer */
footer {
text-align:center;
padding:1rem;
background:#002244; color:#fff;
}

/* Responsive Design */

/* For tablets and below */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-section {
    padding: 60px 10px;
    height: auto;
  }

  .team .members {
    gap: 20px;
  }
}

/* For mobile devices */
@media (max-width: 600px) {
  h1, h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    padding: 40px 10px;
    font-size: 0.9rem;
  }

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

  .team .members {
    flex-direction: column;
    align-items: center;
  }

  .team .member {
    width: 100%;
    max-width: 250px;
  }

  nav h1 {
    font-size: 1.2rem;
  }

  .btn-primary {
    width: 90%;
    padding: 10px;
    font-size: 1rem;
  }
}
