:root {
  --primary: #00274D;
  --secondary: #FFCB05;
  --accent: #00274D;
  --light: #f8f9fa;
  --dark: #212529;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Updated navbar styles */
header {
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Desktop navigation container */
.desktop-nav {
  display: block;
}

/* Main navbar with centered logo */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  padding: 10px 15px;
  position: relative;
}

.main-nav ul {
  list-style: none;
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  max-width: 1200px;
}

.left-menu, .right-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.left-menu {
  justify-content: space-evenly;
}

.right-menu {
  justify-content: space-evenly;
}

.logo-container {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

/* Secondary navbar - IMPROVED LAYOUT */
.secondary-nav {
  display: flex;
  background-color: var(--primary);
  padding: 0 15px;
  justify-content: center;
}

.secondary-nav ul {
  list-style: none;
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  justify-content: center;
  align-items: center;
}

/* Create more balanced spacing in secondary nav */
.secondary-nav .left-item {
  margin-right: 30px;
  padding-left: 0;
  position: relative;
}

/* Add a subtle visual separator */
.secondary-nav .left-item:after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  height: 20px;
  width: 1px;
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-50%);
}

.secondary-nav .right-items {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* Common styles for all nav links */
nav ul li a {
  display: block;
  color: var(--light);
  text-decoration: none;
  padding: 15px 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Special styling for Boys Lacrosse to make it more prominent */
.secondary-nav .left-item a {
  font-weight: 700;
  padding-left: 0;
}

nav ul li a:hover, nav ul li a:focus {
  background-color: rgba(255,255,255,0.1);
  color: var(--secondary);
}

/* Mobile menu button */
.hamburger-menu {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--light);
  margin: 5px 0;
  transition: 0.4s;
}

/* Mobile menu container */
.mobile-menu-container {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--primary);
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu-container.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav li.divider {
  height: 10px;
  background-color: rgba(0,0,0,0.2);
  border-bottom: none;
}

.mobile-nav li a {
  display: block;
  color: var(--light);
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.mobile-nav li a:hover, .mobile-nav li a:focus {
  background-color: rgba(255,255,255,0.1);
}

/* Prevent scrolling when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Media queries for responsive navbar */
@media (max-width: 992px) {
  nav ul li a {
      padding: 15px 8px;
      font-size: 12px;
  }
  
  .secondary-nav .right-items {
      gap: 10px;
  }
  
  .secondary-nav .left-item {
      margin-right: 20px;
  }
  
  .secondary-nav .left-item:after {
      right: -10px;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
      display: block;
  }
  
  .desktop-nav {
      /* Preserve the logo in mobile view */
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .desktop-nav .main-nav, .desktop-nav .secondary-nav {
      display: none;
  }
  
  .desktop-nav .logo-container {
      display: flex;
      position: static;
  }
}

/* Desktop second navbar alignment */
@media (min-width: 769px) {
  .secondary-nav .right-items li:last-child {
      margin-right: 0;
  }
}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #home {
    width: 100%;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
  }
  
  .home-left {
    height: 400px;
    width: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .home-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .home-right {
    width: 50%;
  }
  
  .home-heading {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .home-para {
    margin-bottom: 20px;
  }
  
  #goal {
    width: 80%;
    margin: 2rem auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .goal-left {
    width: 60%;
    line-height: 2rem;
  }
  
  .goal-left h2 {
    font-size: 2.4rem;
  }
  
  .goal-left p {
    line-height: 1.5rem;
    margin: 1rem 0;
  }
  
  .goal-left ul {
    list-style: none;
    margin-bottom: 1rem;
  }
  
  .goal-left ul li::before {
    line-height: 1.5rem;
    content: '✓';
    color: red;
  }
  
  .goal-right {
    position: relative;
    width: 35%;
  }
  
  .goal-right img {
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    filter: drop-shadow(3px 4px 5px black);
    transition: all 0.2s linear;
  }
  
  .goal-right img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(5px 6px 7px black);
  }
  
  /* Our Team */
  #our-Team {
    width: 80%;
    margin: 4rem auto 1rem;
  }
  
  #our-Team h2 {
    text-align: center;
    margin: 1rem auto 4rem;
    position: relative;
  }
  
  #our-Team h2::after {
    content: '';
    height: 4px;
    margin: 0 auto;
    text-align: center;
    width: 15%;
    background-color: aqua;
    position: absolute;
    left: 50%;
    bottom: -10px;
    border-radius: 5px;
    transform: translate(-50%);
  }
  
  .teamContainer {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .team-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.5rem;
  }
  
  .team-item h5 {
    margin-top: 1rem;
    font-size: 1.1rem;
  }
  
  .team-item span {
    margin-top: .4rem;
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(7, 176, 176);
  }
  
  .team-item img {
    width: 80px;
  }
  
  
  @media screen and (max-width: 784px) {
    #list {
        display: none;
    }
  
  
  
    .responsive.active {
        left: 0%;
    }
  
    .goal-right {
        width: 100%;
        margin: 0 auto 2rem;
    }
  
    .goal-left {
        width: 100%;
        text-align: center;
    }
  
    #goal {
        flex-direction: column-reverse;
    }
  }
  
  @media screen and (max-width: 633px) {
    #home {
        flex-direction: column;
    }
  
    .home-left {
        width: 100%;
        height: auto;
    }
  
    .home-left img {
        width: 100%;
    }
  
    .home-right {
        margin-top: 2rem;
        width: 100%;
    }
  
    .para {
        width: 90%;
    }
  
    .num-container {
        flex-direction: column;
    }
  
    .num-item {
        margin: 1rem;
    }
  
    .teamContainer {
        justify-content: center;
    }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  footer{
    background-color: var(--primary);
  }
  .footerContainer{
    width: 100%;
    padding: 70px 30px 20px ;
  }
  .socialIcons{
    display: flex;
    justify-content: center;
  }
  .socialIcons a{
    text-decoration: none;
    padding:  10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
  }
  .socialIcons a i{
    font-size: 2em;
    color: black;
    opacity: 0,9;
  }
  /* Hover affect on social media icon */
  .socialIcons a:hover{
    background-color: #111;
    transition: 0.5s;
  }
  .socialIcons a:hover i{
    color: white;
    transition: 0.5s;
  }
  .footerNav{
    margin: 30px 0;
  }
  .footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
  }
  .footerNav ul li a{
    color:white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
  
  }
  .footerNav ul li a:hover{
    opacity: 1;
  }
  .footerBottom{
    background-color: #000000;
    padding: 20px;
    text-align: center;
  }
  .footerBottom p{
    color: white;
  }
  .designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
  }
  @media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    } 
    .footerNav ul li{
        width:100%;
        text-align: center;
        margin: 10px;
    }
    .socialIcons a{
        padding: 8px;
        margin: 4px;
    }
  }