.navbar{
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px; /* Reduced height */
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.icon1{
    width: 150px;
    float: left;
    height: 100px;
}

.logo1 img {
  height: 40px; /* Reduced logo size */
  width: auto;
}

.icon2{
    width: 100px;
    float: right;
    height: 500px;
}

.logo2 img {
    width: 200px;
    height: 50px; /* Fill the height of the navbar */
}


.nav{
    display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li{
    list-style: none;
    margin-left: 62px;
    margin-top: 27px;
    font-size: 14px;
}

.nav li a{
    color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav li a:hover{
    color: #ff7200;
}
.menu .nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu .nav li {
  margin: 0 15px;
}

.menu .nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px; /* Reduced font size */
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu .nav a:hover {
  color: #ff7200;
}
/* Modal styles */
.modal-content {
    position: relative;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    overflow: auto;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
/* Hamburger menu for mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  }
  
  /* Media Queries */
  @media screen and (max-width: 768px) {
    .menu-toggle {
      display: block;
      position: fixed;
        right: 20px;
        top: 20px;
        z-index: 1001;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        color: #333;
    }
  
    .menu {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      width: 100%;
      height: auto;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      z-index: 1000;
    }
  
    .menu.active {
      display: block;
    }
  
    menu .nav {
      flex-direction: column;
      padding: 20px 0;
  }
  
  .menu .nav li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
}
.menu .nav a {
  display: block;
  padding: 10px;
  font-size: 16px;
  color: #333;
}

.menu .nav a:hover {
  background-color: #f5f5f5;
  color: #ff7200;
}
  }
  
  /* Responsive grid layouts */
  @media screen and (max-width: 1024px) {
    .events-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
  }
  
  @media screen and (max-width: 576px) {
    .events-grid {
      grid-template-columns: 1fr;
    }
  
    .hero-section {
      height: 50vh;
    }
  
    .hero-overlay h1 {
      font-size: 2rem;
    }
  
    .hero-overlay p {
      font-size: 1rem;
    }
  }

  

/* Fix for About Us going out of screen */
@media screen and (max-width: 360px) {
    .nav li a {
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
    }
}

