/* —— Global Reset & Typography —— */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #fdfdfd;
  overflow-x: hidden;
}
main, footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 1em;
}

/* —— Header & Nav —— */
header {
  position: sticky;
  top: 0;
  background: linear-gradient(to right, #fff, #ffd700);
  display: flex;
  align-items: center;
  padding: 1em 2em;
  z-index: 1000;
}
.logo img {
  height: 50px;
}
.HeaderText h1 {
  font-family: 'Poppins', sans-serif;
  color: #003366;
  font-size: 1.8rem;
  margin-left: 1em;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  margin-left: auto;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #003366;
  margin: 4px 0;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}
nav {
  display: flex;
  gap: 1em;
  margin-left: auto;
  transition: right .3s ease;
}
nav a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  padding: .5em;
}
nav a:hover {
  color: #ffa500;
}

/* —— Mobile Nav —— */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 200px;
    flex-direction: column;
    background: #fff;
    padding-top: 4em;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  }
  nav.active {
    right: 0;
  }
}

/* —— Section Styling —— */
main section {
  padding: 3em 0;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 2em;
  scroll-margin-top: 90px; /* ensure anchored sections appear below header */
}
main h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #003366;
  margin-bottom: .5em;
  text-align: center;
}
main p, main ul, main blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  max-width: 800px;
  margin: 0.5em auto;
}
main ul {
  list-style: disc outside;
  padding-left: 1.5em;
}
main blockquote {
  font-style: italic;
  border-left: 4px solid #ffd700;
  padding-left: 1em;
  margin: 1em auto;
  max-width: 700px;
}
main cite {
  display: block;
  text-align: right;
  font-size: .9rem;
  margin-top: .5em;
  color: #333;
}

/* —— Team Member —— */
.team-member {
  text-align: center;
}
.team-member img {
  width: 150px;
  height: auto;
  border-radius: 50%;
  margin-bottom: .5em;
}

/* —— CTA Button —— */
.cta-btn {
  display: inline-block;
  background: #ff4500;
  color: #fff;
  padding: .75em 2em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform .3s, background .3s;
}
.cta-btn:hover {
  background: #e63900;
  transform: scale(1.05);
}

/* —— Footer —— */
footer {
  text-align: center;
  padding: 2em 0;
  background: #003366;
  color: #fff;
}
footer a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
}
footer a:hover {
  color: #ffa500;
  text-decoration: underline;
}
