body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding-top: 100px;
}

header {
  background-color: #003366;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  height: 50px;
  width: 50px;
  background-color: white;
  border-radius: 50%;
}

/* Top-level nav */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  padding: 10px 15px;
  display: flex;
  align-items: center;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* Subnav hidden by default */
nav ul li .subnav {
  display: none;
  flex-direction: column;
  background-color: #005599;
  padding: 10px;
  list-style: none;
  margin-top: 5px;
  border-radius: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 999;
}

nav ul li .subnav li a {
  font-weight: normal;
  font-size: 14px;
  color: white;
  padding: 5px 10px;
  display: block;
}

nav ul li .subnav li a:hover {
  color: #ffcc00;
}

/* Arrow styling */
.arrow {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Arrow flipped when active */
.has-subnav.active .arrow {
  transform: rotate(180deg); /* flips ▼ to ▲ */
}

/* Show subnav when active */
.has-subnav.active .subnav {
  display: flex;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  nav ul li .subnav {
    position: static;
    margin-top: 0;
  }
}


/* Arrow styling */
.arrow {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Arrow flipped when active */
.has-subnav.active .arrow {
  transform: rotate(180deg); /* flips ▼ to ▲ */
}


.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* stretches image fully */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 8px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero p {
  font-size: 20px;
  font-weight: 300;
}
.about-block {
  background: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.left-col, .right-col {
  flex: 1 1 400px;
}

.card {
  background: white;
  border-left: 6px solid #003366;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.card h3 {
  font-size: 22px;
  color: #003366;
  margin-bottom: 15px;
  position: relative;
}

.card h3 .bar {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ffcc00;
  border-radius: 50%;
  margin-right: 8px;
}

.card p, .card ul {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.card ul {
  padding-left: 20px;
}

.right-col h3 {
  font-size: 24px;
  color: #003366;
  margin-bottom: 20px;
}

.right-col h3 .bar {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ffcc00;
  border-radius: 50%;
  margin-right: 8px;
}

.right-col p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-learn {
  display: inline-block;
  background: #003366;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-learn:hover {
  background: #ffcc00;
  color: #003366;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }
}
.site-footer {
  background: #003366;
  color: white;
  padding: 50px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  font-size: 20px;
  color: #ffcc00;
  margin-bottom: 15px;
}

.footer-column p,
.footer-column ul {
  font-size: 15px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffcc00;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: white;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}
/* Hamburger button */
.menu-toggle {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  nav ul {
    display: none; /* hide menu by default */
    flex-direction: column;
    gap: 10px;
    background-color: #003366;
    width: 100%;
    padding: 10px 0;
  }

  nav ul.show {
    display: flex; /* shown when JS adds .show */
  }

  .menu-toggle {
    display: block; /* show hamburger on mobile */
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    width: 100%;
    justify-content: center;
  }

  nav ul li .subnav {
    position: static;
    margin-top: 0;
    border-radius: 0;
    background-color: #004080;
    width: 100%;
  }

  nav ul li .subnav li a {
    padding: 10px;
  }
}
