* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    
    /* Body */
    body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
    }
    
    /* Navigation Bar */
    .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    }
    
    .logo {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    }
    
    .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    }
    
    .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    }
    
    .nav-links a:hover {
    color: #ff6f61;
    }
    
    /* Section Styles */
    .section {
    padding: 4rem 2rem;
    text-align: center;
    }
    
    .section:nth-child(even) {
    background: #eee;
    }
    
    h1, h2 {
    margin-bottom: 1rem;
    }
    
    p {
        margin: 1rem;
    }

    hr {
        margin: 2rem auto;
        border: 0;
        border-top: 1px solid #ccc;
        width: 80%;
    }

    .nav-links button {
        background-color: rgb(0, 46, 252);
        color: white;
        border-radius: 5px;
        transition: 0.3s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        border-width: thin;
        border-style: solid;
        padding: 0.5rem 1rem;
        width: 5rem;
    }
    
    /* Responsive Design */
      /* Show hamburger on mobile */
      @media (max-width: 768px) {
        /* Make nav-links vertical and hidden by default */
        .nav-links {
            flex-direction: column;
            position: absolute;
            top: 60px;
            right: 0;
            background: #222;
            width: 200px;
            display: none;
            padding: 1rem;
        }
        
        .nav-links.active {
            display: flex;
        }
        
        /* Dropdown content inside flow (pushes down) */
        .dropdown-content {
            position: sticky; /* no absolute positioning */
            display: none;    /* hide by default */
            background-color: #222;
            width: 100%;
            visibility: hidden;
            padding: 3px;
        }
        
        /* Show dropdown content when active on mobile */
        .dropdown.active > .dropdown-content {
            display: block;
            position: static;
            visibility: visible;
        }
        
        .dropdown-content li a {
            padding-left: 1.5rem;
        }
        
        /* Show hamburger menu toggle on mobile */
        .menu-toggle {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            width: 30px;
            height: 25px;
            justify-content: space-between;
        }
        
        .menu-toggle .bar {
            height: 3px;
            width: 100%;
            background-color: #fff;
            border-radius: 2px;
        }
        
        /* Hide the desktop hover behavior on mobile */
        .dropdown:hover .dropdown-content {
            display: none;
        }
    }

/* Dropdown menus */
/* Desktop dropdowns (default) */
.dropdown-content {
    display: none;
    position: absolute; /* keep dropdown overlaid */
    background-color: #333;
    min-width: 160px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000; /* keep above other content */
  }
  
  .dropdown-content li a {
    color: #fff;
    padding: 0.8rem 1rem;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-content li a:hover {
    background: #444;
  }
  
  /* Show dropdown on hover (desktop) */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Mobile styles */



.team-member {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

figure>img {
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;

}

.navbar>img {
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.centered-image {
    display: block;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}



/* Parallax Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('img/reachHigh.jpeg'); /* Use your preferred image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: #fff;
  text-align: center;
  z-index: 1;

}

@media (max-width: 600px) {
  .hero {
    height: 40vh;
    min-height: 200px;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Prevents issues on mobile */
  }
}


.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); /* dark overlay for readability */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.cta-btn {
  background: #4caf50;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cta-btn:hover {
  background: #388e3c;
}

.competitions-hero {  
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('img/noah-wheeler.webp'); /* Use your preferred image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: #fff;
  text-align: center;
  z-index: 1;

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .competitions-hero {
    height: 40vh;
    min-height: 200px;
    background-position: top center; /* focus on the top of the image */
    background-size: contain;        /* prevent over-zooming */
    background-repeat: no-repeat;    /* avoid tiling */
    background-attachment: scroll;   /* iOS fix */
  }
}



.competitions-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); /* dark overlay for readability */
  z-index: 2;
}

.meetups-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('img/blocs.webp'); /* Use your preferred image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  color: #fff;
  text-align: center;
  z-index: 1;
}

@media (max-width: 600px) {
  .meetups-hero {
    height: 40vh;
    min-height: 200px;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Prevents issues on mobile */
  }
}

.meetups-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); /* dark overlay for readability */
  z-index: 2;
}


.section ul ul {
    margin-left: 2rem;
}