
/* Header styles */
/* Ensure the top bar is a flex container */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  background: linear-gradient(90deg, #00172d, #002a3e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.082);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.top-bar-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

/* Make the center-links section flex and centered */
.center-links {
  flex: 1;
  text-align: center; /* Center the content horizontally */
}

.center-links a {
  font-size: 14px;
  margin: 0 10px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Optionally add underline effect */
.center-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.center-links a:hover::after {
  width: 100%;
}



  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    font-family: 'Chakra Petch', sans-serif;
    transition: top 0.3s ease; 
    z-index: 500; 
  }
  
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background: linear-gradient(90deg, #00172d, #002a3e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.082);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
  
  .top-bar-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .top-bar .social-links a i{
       font-size: 18px;
  }
  
  .social-links a {
    margin: 0 5px;
    color: #fff;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: var(--button-color);
  }
  
  .center-links a {
    font-size: 14px;
    margin: 0 10px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .center-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
  }
  
  .center-links a:hover::after {
    width: 100%;
  }
  
  .right-links a {
    margin: 0 5px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .right-links a:hover {
    color: var(--button-color);
  }
  

/* Initial navbar style */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    background: transparent;
    transition: background 0.4s ease;
}
  
  /* Navbar style when scrolled */
  .navbar-container.scrolled {
    background: #000c1bdc;
  }
  
  .top-bar.hidden {
    opacity: 0;
    visibility: hidden;
}

  .logo img {
    height: 50px;
    margin-left: 50px;
  }
  
  .navbar {
    flex: 1;
    margin: 0 30px;
  }
  
  .navbar-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .navbar-menu li {
    position: relative;
    margin: 0 15px;
  }
  
  .navbar-menu .nav-link {
    font-size: 21px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
  }
  
  .navbar-menu .nav-link:hover {
    color: var(--button-color);
  }
  
  .navbar-menu .dropdown {
    position: relative;
  }
  
  .navbar-menu .dropdown > a {
    display: flex;
    align-items: center;
  }
  
  .navbar-menu .dropdown .arrow {
    font-size: 10px;
    margin-left: 10px;
    color: #fff;
  }
  
  .navbar-menu .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  
  .navbar-menu .dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-menu li {
    border-bottom: 1px solid #ddd;
  }
  
  .dropdown-menu li:last-child {
    border-bottom: none;
  }
  
  .dropdown-menu .dropdown-link {
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .dropdown-menu .dropdown-link:hover {
    background-color: #f4f4f4;
    color: var(--green-color);
  }
  
  /* Arrow Rotation */
  .navbar-menu .dropdown > a .arrow {
    font-size: 12px;
    margin-left: 10px;
    color: #fff;
    transition: transform 0.3s ease;
  }
  
  .navbar-menu .dropdown.open > a .arrow {
    transform: rotate(180deg);
  }
  .dropdown-menu.show {
      display: block;
    }
  
    .meet-btn {
        width: 14em;
        height: 3.2em;
        border-radius: 30em;
        font-size: 18px;
        font-weight: 800;
        font-family: inherit;
        border: none;
        position: relative;
        overflow: hidden;
        z-index: 1;
        background-color: white;
        color: black;
        cursor: pointer;
        transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Added transform and box-shadow transitions */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
        display: flex;
        align-items: center;
        justify-content: center; /* Ensures text remains centered */
    }
    
    .meet-btn::before {
        content: '';
        width: 0;
        height: 100%;
        border-radius: inherit;
        position: absolute;
        top: 0;
        left: 0;
        background-image: linear-gradient(250deg, #caf7ff, #dce9fb);
        transition: width 0.5s ease, background-color 0.3s ease; /* Added background-color transition */
        z-index: -1;
        color: black;
    }
    
    .meet-btn:hover {
        color: white;
        transform: scale(1.05); /* Slight scale effect on hover */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
        color: black;
    }
    
    .meet-btn:hover::before {
        width: 100%;
    }
    
    /* Optional: Add a focus state for accessibility */
    .meet-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(190, 237, 249, 0.5); /* Focus ring for better accessibility */
    }
  
  /* Hide header when scrolling up */
  .header-hidden {
    top: -100px;
  }
  

/* Hamburger Icon Styles */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1000;
    margin-left: auto;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

/* Media Queries for Responsiveness */

@media (max-width: 1600px) {
    .navbar-menu .nav-link {
        font-size: 16px;
    }

    .meet-btn {
        width: 12em;
        height: 3em;
        font-size: 12px;
    }
}
@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1e23dc;
        padding: 10px 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .navbar-container {
        padding: 10px 15px;
    }

    .logo img {
        margin-left: 0;
        height: 30px;
    }

    .meet-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 3px 7px;
    }

    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .center-links {
        margin: 8px 0;
    }

    .center-links a {
        font-size: 12px;
    }

    .social-links {
        margin-bottom: 8px;
    }

    .social-links a {
        font-size: 14px;
    }

    .language-dropdown {
        margin-top: 8px;
    }

    .language-dropdown span {
        font-size: 12px;
        padding: 8px 12px;
    }
}
@media (max-width: 480px) {
    .top-bar {
        padding: 1px 3px;
    }

    .top-bar-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .center-links {
        margin: 3px 0;
    }

    .center-links a {
        font-size: 9px;
    }

    .social-links {
        margin-bottom: 3px;
        display: none;
    }

    .social-links a {
        font-size: 10px;
    }

    .language-dropdown {
        margin-top: 3px;
    }

    .language-dropdown span {
        font-size: 9px;
        padding: 8px 15px;
    }

    .logo img {
        height: 30px;
    }
}
  
  .text {
    margin: 0 1.5em
  }
  


.text {
  margin: 0 1.5em
}