/* Basic resets */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #0f172a; /* dark navy */
  color: white;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header and Nav */
header {
  background-color: #0ea5e9; /* bright blue */
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  user-select: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

/* Nav menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover,
.nav-link:focus {
  color: #bae6fd; /* lighter blue */
  outline: none;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  font-weight: 700;
  border-bottom: 3px solid white;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none; /* hidden on desktop */
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 0.5rem;
}

/* Responsive: Mobile view */
@media (max-width: 700px) {
  .menu-toggle {
    display: block; /* show hamburger */
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #0ea5e9;
    position: absolute;
    top: 60px; /* below header */
    right: 1rem;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.6);
    z-index: 1000;
    width: 180px;
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-link {
    padding: 0.75rem 0;
    color: white;
    font-weight: 600;
  }
}

/* Main Content */
.centered-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 2rem 1rem;
}

.page-main {
  max-width: 700px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
  color: white;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.highlight {
  color: #38bdf8; /* lighter blue */
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
  background-color: #0ea5e9;
  border: none;
  color: white;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0284c7;
  outline: none;
}

/* Footer */
footer {
  background-color: #0ea5e9;
  color: white;
  padding: 1rem 0;
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal[hidden] {
  display: none;
}

.modal-content {
  background: white;
  color: black;
  border-radius: 0.5rem;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  cursor: pointer;
}

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 1rem 0.5rem;
}

.modal-desc {
  margin: 0 1rem 1rem;
  font-size: 1rem;
}

.modal iframe {
  border: none;
  flex-grow: 1;
  width: 100%;
}
/* Header layout */
header {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: #0ea5e9;
  font-weight: bold;
}

/* Menu icon (hamburger) */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #0ea5e9;
}

/* Hide checkbox */
.menu-toggle-checkbox {
  display: none;
}

/* Nav menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* Responsive layout for phones */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1rem;
    background-color: white;
    border: 1px solid #ddd;
    padding: 1rem;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .menu-toggle-checkbox:checked + .menu-icon + .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 0.5rem 0;
  }
}
