  /* FIRST NAVBAR - scrolls away normally */
.main-header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Changed from fixed */
  width: 100%;
  z-index: 1000;
  flex-wrap: wrap;
}


    .logo-section a {
      color: #f84fb4;
      text-decoration: none;
      font-size: 18px;
      font-weight: bold;
    }

    .main-nav {
      display: flex;
      align-items: center;
    
      flex-wrap: wrap;
    }

    .main-nav a {
      color: white;
      text-decoration: none;
      padding: 8px 10px;
      transition: background-color 0.3s;
    }

    .main-nav a:hover {
      color: #ff4081;
    }

    /* Dropdown Button */
    .summit-btn {
      background: none;
      border: none;
      color: white;
      font-size: 15px;
      cursor: pointer;
    }

    .summit-dropdown {
      position: relative;
    }

   .summit-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px; /* shift to the left */
  background: #fff;
  color: #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 10px;
  border-radius: 4px;
  z-index: 1000;
  min-width: 220px;
}

    .show-dropdown {
      display: block;
    }

    .summit-item {
      margin-bottom: 10px;
    }

    .summit-heading {
      background: none;
      border: none;
      font-weight: bold;
      font-size: 14px;
      cursor: pointer;
      width: 100%;
      text-align: left;
      padding: 5px 0;
    }

    .summit-links {
      display: none;
      padding-left: 10px;
    }

    .show-links {
      display: block;
    }

    .summit-links a {
      display: block;
      padding: 4px 0;
      text-decoration: none;
      color: #000;
      font-size: 13px;
    }

    .summit-links a:hover {
      color: #ff4081;
    }

    .arrow {
      font-size: 12px;
      margin-left: 5px;
    }

    /* Bottom Navigation */
    .bottom-nav {
      position: fixed;
      top: 70px; /* just below header */
      left: 0;
      right: 0;
      background-color: #fff;
      border-top: 1px solid #ddd;
      display: flex;
      justify-content: center;
      gap: 30px;
      padding: 10px 0;
      z-index: 999;
    }

    .bottom-nav a {
      color: #000;
      text-decoration: none;
      font-weight: bold;
      padding: 5px 10px;
      font-size: 14px;
    }

    .bottom-nav a:hover {
      color: #ff4081;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .main-header {
        flex-direction: column;
        align-items: center;
      }

      .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .bottom-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }
    }
    /* Toggle button styles */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Show toggle button & handle menu visibility on mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1100;
  }

  .main-nav {
    display: none; /* Hide by default */
    width: 100%;
    background-color: #1a1a1a;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
  }

  .main-nav.active {
    display: flex;
  }
}