/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* GLOBAL CONTAINER */
section {
  padding: 50px 20px;
}

h1, h2, h3 {
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/college.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-text {
  max-width: 700px;
  margin: auto;
}

.hero h1 {
  font-size: 2.5rem;
}

.cta {
  display: inline-block;
  padding: 12px 25px;
  background: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: #f4f4f4;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
}

/* ABOUT */
.about {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* COURSES */
.course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.course {
  background: #e9ecef;
  padding: 20px;
  border-radius: 10px;
}

/* ANNOUNCEMENTS */
.announcements ul {
  list-style: none;
  max-width: 600px;
  margin: auto;
}

.announcements li {
  background: #f8f9fa;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 5px solid #007BFF;
}

/* ========================= */
/* TABLET RESPONSIVENESS */
/* ========================= */
@media (min-width: 768px) {

  .hero h1 {
    font-size: 3rem;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================= */
/* DESKTOP RESPONSIVENESS */
/* ========================= */
@media (min-width: 1024px) {

  section {
    padding: 70px 100px;
  }

  .hero {
    padding: 150px 20px;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}


.footer {
    background: #0b1f3a;
    color: #ccc;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
}

.logo {
    color: #22c55e;
    margin-bottom: 10px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.footer-col a:hover {
    color: #22c55e;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #1f3a5f;
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #22c55e;
}
