/* =========================
   GLOBAL STYLES
   ========================= */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f4f6f9;
  color: #222;
}

a {
  text-decoration: none;
}

/* =========================
   HEADER
   ========================= */
header {
  background-color: #7BB9E7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: fixed;
  width: 95%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

/* =========================
   NAVIGATION (MOBILE FIRST)
   ========================= */
.menu-toggle {
  font-size: 26px;
  cursor: pointer;
  display: block;
}

/* Slide menu */
nav {
  position: fixed;
  top: 0;
  right: -380px;
  width: 260px;
  height: 100%;
  background: #072146;
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
  transition: right 0.3s ease;
	font-weight: bold;
	margin-top: 0px;
	z-index: 999;

}

nav.active {
  right: 0;
}

nav a {
  color: white;
  margin: 12px 0;
  font-size: 16px;
  padding: 8px;
  border-radius: 6px;
	align-content: center;
}

nav a:hover {
  background: #0a3a7a;
}

button, .btn {
    width: auto;
  }

/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: linear-gradient(120deg, #072146, #0a4abf);
  color: white;
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
}

/* =========================
   SECTIONS / CARDS
   ========================= */
.sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
	
}

section {
  	padding-top: 100px;
	margin:auto;
	max-width:900px;
	margin-left: auto;
}


.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  color: #072146;
}

/* =========================
   BUTTONS
   ========================= */
button, .btn {
  display: inline-block;
  width: auto;
  padding: 12px;
  background-color:#E81A1E;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover, .btn:hover {
  background-color: #7BB9E7;
	color:#000000;
}

/* =========================
   FORMS
   ========================= */
form {
  margin: 20px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* =========================
   TABLES
   ========================= */
.table-container {
  overflow-x: auto;
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: white;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

th {
  background: #f0f3f8;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background-color: #072146;
  color: white;
  padding: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #9bb3e0;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom{
	font-size: 12px;
	text-align: center;
}

/* =========================
   TABLET (≥768px)
   ========================= */
@media (min-width: 768px) {

  .menu-toggle {
      display: none;
	  margin-right: 50px;
	  z-index: 1002;
  }

  nav {
    position: relative;
    flex-direction: row;
    height: auto;
    width: auto;
    background: none;
    padding: 0;
    right: 0;
	  z-index: 999;
  }

  nav a {
    margin: 0 10px;
  }

  .sections {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 36px;
  }

  button, .btn {
    width: auto;
  }

  .footer-links {
    flex-direction: row;
  }
}

/* =========================
   DESKTOP (≥1024px)
   ========================= */
@media (min-width: 1024px) {

  header {
    padding: 15px 40px;
	z-index: 1000;
  }
  nav {
    position: relative;
    flex-direction: row;
    height: auto;
    width: auto;
    background: none;
    padding: 0;
    right: 0;
	  z-index: 999;
  }

  .hero {
    padding: 100px 40px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .sections {
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
  }
  button, .btn {
    width: auto;
  }
}