*{
  font-family: "DM Sans", sans-serif;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  background-color: #10647f; /* keep your background */
}

/* The main content wrapper */
.main-content {
  flex: 1; /* pushes the footer to the bottom */
}


h1{
 font-weight: 900;
 color: white;
}

/* Header */
.header {
  background-image: linear-gradient(rgba(4,9,30,0.7)), url(../Pictures/schoolBg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 15px 0;
}

/* NAV BAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
}

/* LOGO */
nav img {
  width: 70px;
}

/* NAVIGATION LINKS (DESKTOP) */
.nav-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links ul li {
  display: inline-block;
  position: relative;
  padding: 10px 12px;
}

.nav-links ul li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links ul li a:hover {
  color: #f5ec34; /* keep your hover style */
}

/* ================================
   DROPDOWN MENU (DESKTOP)
================================ */
ul li ul.dropdown {
  position: absolute;
  background: #A9A9A9;
  width: 170px;
  display: none;
  margin-top: 10px;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  z-index: 1000;
}

ul li:hover > ul.dropdown {
  display: block;
}

.dropdown li {
  display: block;
  padding: 10px;
}

.dropdown li a {
  color: white;
  display: block;
}

.dropdown li a:hover {
  color: #494732;
  background: #f5ec34;
}

/* ================================
   MOBILE — HAMBURGER
================================ */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: #f5ec34;
  cursor: pointer;
}

/* ================================
   MOBILE NAVIGATION
================================ */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  /* Hide nav by default */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(4,9,30,0.95);
    padding-top: 80px;
    transition: 0.4s ease;
    z-index: 9999;
  }

  /* Slide-in animation */
  .nav-links.open {
    right: 0;
  }

  .nav-links ul li {
    display: block;
    padding: 15px 20px;
  }

  .nav-links ul li a {
    font-size: 18px;
    display: block;
  }

  /* DROPDOWN inside mobile panel */
  .dropdown {
    position: static;
    display: none;
    background: rgba(255,255,255,0.1);
    margin-top: 5px;
    border-radius: 4px;
  }

  .has-dropdown.show .dropdown {
    display: block;
  }
}



/* content */
h1.title {
    text-align: center;
    margin: 50px;
}

p.content {
  background-color: white;
  color: black;
  border: 5px solid #f5ec34;
  border-radius: 6px;
  padding: 50px;
  margin: 50px;
  text-align: justify;
  line-height: 2;
  font-size: 1.05rem;
}

/* Tablet */
@media (max-width: 768px) {
  p.content {
    padding: 24px 22px;
    margin: 24px 16px 40px;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;   /* easier to read than justify on small screens */
  }
}

/* Phone */
@media (max-width: 480px) {
  p.content {
    padding: 18px 16px;
    margin: 20px 12px 32px;
    font-size: 0.96rem;
    line-height: 1.65;
  }
}


/* footer */
.footer {
  background-color: #494732;
  padding: 50px 20px;
  margin-top: 60px;
  color: white;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ===================================
   Footer Columns
=================================== */

.footer-col {
  width: 45%;        /* 2 columns on desktop */
  margin-bottom: 30px;
}

.footer-title {
  font-size: 22px;
  color: #f5ec34;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-text {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
}

/* ===================================
   Social Icons
=================================== */

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.25);
  color: #ffffff;
  margin-right: 10px;
  font-size: 18px;
  transition: 0.3s;
}

.social-links a:hover {
  background-color: #f5ec34;
  color: #10647f;
  transform: scale(1.15);
}

/* ===================================
   Footer Bottom Text
=================================== */

.footer-bottom {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.3);
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

/* ===================================
   RESPONSIVE FOOTER
=================================== */

@media (max-width: 768px) {

  .footer-col {
    width: 100%;     /* stack columns */
    text-align: center;
  }

  .footer-title {
    font-size: 20px;
  }

  .social-links a {
    margin: 5px;
  }
}

@media (max-width: 480px) {

  .footer {
    padding: 40px 15px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-text {
    font-size: 14px;
  }

  .social-links a {
    height: 36px;
    width: 36px;
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

