/* Base Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Upper Navbar Styles */
.top_container {
  width: 100%;
  position: relative;
}

.upper-navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbe80f;
  color: #0a0a0b;
  padding: 10px;
  text-align: center;
}

.upper-navbar-btn {
  padding: 10px 20px;
  background-color: #0cb6b5;
  margin-left: 20px;
  border: none;
  border-radius: 24px;
  color: white;
  width: 150px;
}

/* Main Navbar Styles */
.navbar_container {
  width: 100%;
  height: auto;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #022d31; /* Added background to container */
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
}

/* Logo Styles */
.logo img {
  max-height: 80px;
}

/* Ensure header takes full width */
header {
  width: 100%;
  position: fixed;
  z-index: 9999;
}

/* Add box-shadow for visual separation when scrolling */
.navbar_container.sticky {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Optional: Add smooth transition for shadow */
.navbar_container {
  transition: box-shadow 0.3s ease;
}
/* Nav Links Styles */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

/* Nav Buttons Styles */
.nav-buttons {
  display: flex;
}

.nav-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px; /* Adjust gap between buttons */
  padding: 10px 20px;
  color: #0a0a0b;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s;
  width: 155px;
  margin-right: 20px;
}

.nav-buttons .btn-started {
  background: #fbe80f;
}

.nav-buttons .btn-apply {
  background-color: white;
}

/* Hamburger Icon Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 3px;
}

/* Mobile Navigation Styles */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -250px; /* Hidden off-screen initially */
  width: 250px;
  height: 100%;
  background: #022d31;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 9999; /* Ensure it appears above other content */
}

.mobile-nav.active {
  left: 0; /* Show mobile nav when active */
}

.mobile-nav .mobile-logo img {
  max-height: 50px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
}

.mobile-nav-links li {
  margin: 20px 0;
}

.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* Close Button Styles */
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  display: none; /* Hide by default */
}

/* Responsive Design */
@media (max-width: 960px) {
  .logo img {
    max-height: 70px;
    margin-left: 0px;
  }
  .nav-links {
    display: none; /* Hide desktop nav links */
  }

  .nav-buttons {
    display: none; /* Hide desktop buttons */
  }

  .hamburger {
    display: flex; /* Show hamburger on small screens */
    margin-right: 10px;
  }

  .close-btn {
    display: block; /* Show close button when mobile nav is active */
  }

  .navbar {
    padding: 0 10px; /* Adjust padding for mobile view */
    top: 42px;
  }

  .upper-navbar p {
    margin-right: 0px;
    font-size: 14px;
  }

  .upper-navbar-btn {
    padding: 8px 16px;
    background-color: #0cb6b5;
    margin-left: 20px;
    border: none;
    border-radius: 24px;
    color: white;
    font-size: 12px;
    width: 150px;
  }
}

@media (min-width: 959px) {
  .mobile-nav {
    left: -250px; /* Ensure mobile nav is hidden on larger screens */
  }

  .hamburger {
    display: none; /* Hide hamburger on larger screens */
  }

  .nav-links {
    display: flex; /* Show desktop nav links */
  }

  .nav-buttons {
    display: flex; /* Show desktop buttons */
  }
}
@media screen and (max-width: 768px) {
  h2{
    font-size: 24px;
  }
  .navbar {
    padding: 0 10px; /* Adjust padding for mobile view */
    top: 64px;
  }
}
@media screen and (max-width: 480px) {
  .connect-thrive-upcoming-course-heading{
    font-size: 24px;
    font-weight: 600;
  }
  .connect-thrive-upcoming-course-card-heading{
    font-size: 18px;
    font-weight: 600;
  }
  .connect-thrive-testimonial-section-bottom-paragraph{
    font-size: 18px;
  }
  .connect-thrive-contact-form-section h4{
    font-size: 18px;
    font-weight: 500;
  }
}