:root {
  --primary-color: #32cd32; /* Lime Green */
  --secondary-color: #228b22; /* Forest Green */
  --accent-color: #adff2f; /* Green Yellow */
  --dark-color: #013220; /* Dark Green */
  --light-color: #f0fff0; /* Honeydew */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

header {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color)
  );
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 1rem 2rem; */
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.nav {
  /*display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: white;*/
  padding: 0.5rem 1rem;
}

/* Navigation links - default visible on desktop */
.nav-links ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
  padding: 0 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s;
}

/* Hamburger toggle button - hidden by default */
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 21px;
  cursor: pointer;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

/*nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s;
}*/

nav a:hover {
  color: white;
}

/*nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}*/

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
      no-repeat center center/cover;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--accent-color);
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  font-size: 2.5rem;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 0.5rem auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background-color: white;
  border: 2px solid var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.program-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 25;
}

.no-scroll {
  overflow: hidden;
}

.close-button {
  display: none;
}

/* Styles for devices with a maximum width of 600px (e.g., phones) */
@media (max-width: 600px) {
  /* Hide nav links on tablet/phone */
  .nav-links {
    display: none;
    position: fixed; /* Fix to viewport */

    /*width: 100%;*/
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  }

  /* Show hamburger toggle button */
  .toggle-button {
    display: flex;
  }

  /* Hide toggle button when menu is open */
  .menu-open .toggle-button {
    display: none;
  }

  /* When nav is active (shown), display links vertically */
  .nav-links.active {
    display: flex;
    flex-direction: column;
  }

  .close-button.active {
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #555;
  }
}

/* Styles for devices with a minimum width of 601px and maximum width of 1024px (e.g., tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .element {
    /* styles for medium screens */
  }
}

/* Styles for devices with a minimum width of 1025px (e.g., desktops) */
@media only screen and (min-width: 1025px) {
  .element {
    /* styles for large screens */
  }
}
