* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

/* Header */
.navbar {
  height: 75px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: linear-gradient(90deg, #67b4e1, #2a8826, #dd4723, #264688);
  background-size: 300% 100%;
  animation: gradientAnimation 15s linear infinite;
}

@keyframes gradientAnimation {
  0% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Logo Size */
.logo {
  width: 100px;
  height: 50px;
}

/* Navbar Links */
.navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  /* gap: 55px; */
}

/* Navbar Font */
.navbar ul li {
  font-family: Inter;
}

/* Header */
.navbar ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px;
  transition: color 0.3s ease-in-out;
}

.navbar ul li a:hover {
  color: rgb(204, 200, 200);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: 0.3s;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  .navbar {
      height: 60px;
      padding: 0 15px;
  }

  .logo {
      width: 80px;
      height: 40px;
  }

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  justify-content: center;  /* Centers bars */
  align-items: center;
  gap: -1000px;  /* Space between bars */
}

/* Styling each bar */
.menu-toggle div {
  width: 30px;  /* Adjust width of bars */
  height: 4px;  /* Adjust thickness of bars */
  background-color: white; /* Color of bars */
  border-radius: 5px; /* Round the edges */
  margin: 4px 0; /* Spacing between bars */
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active div:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active div:nth-child(2) {
  opacity: 0; /* Hide middle bar */
}

.menu-toggle.active div:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile View */
@media (max-width: 768px) {
  .menu-toggle {
      display: flex; /* Show menu toggle on mobile */
  }

  .navbar ul {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.8);
      text-align: center;
      padding: 10px 0;
  }

  .navbar ul.active {
      display: flex;
  }

  .navbar ul li {
      margin: 15px 0;
  }
}

  .navbar ul {
    width: 50vw;  /* Set it to half of the viewport width */
    max-width: 300px; /* Optional: Prevent it from getting too wide */
    height: 100vh; /* Full height */
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    text-align: center;
    z-index: 9999; /* Ensure it's on top */
    background: linear-gradient(90deg, #67b4e1, #2a8826, #dd4723, #264688);
    background-size: 400% 100%;
    animation: gradientAnimation 15s linear infinite;
  }

  .navbar ul.active {
      display: flex;
  }

  .navbar ul li {
      margin: 15px 0;
  }

  .navbar ul li a {
      font-size: 14px;
  }
}

/* Responsive About Section */
@media (max-width: 768px) {
  .about-container {
      flex-direction: column;
  }
}

/* Apply gap only on larger screens */
@media (min-width: 769px) {
  .navbar ul {
    gap: 55px;
  }
}



/*new*/

.join-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 70px;
  gap: 50px;
  flex-wrap: wrap;
}

.join-left {
  flex: 1;
  min-width: 400px;
}

.join-right {
  flex: 1;
  display: block;
  min-width: 400px;
  display: flex;
  justify-content: center;
}

.mobile-image-wrapper{
  display: none;
}

.join-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 80px;
  letter-spacing: -6px;
  font-weight: bolder;
  margin-bottom: 0px;
  text-align: center;
  color:#264688;
}



.subheading-with-line {
  display: flex;
  align-items: center;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #017817;
  

}

.subheading-with-line .line {
  flex: 1;
  height: 3px;
  background-image: linear-gradient(to right, #016113, #84ff00);
  margin: 0 15px;
}

.apply-container, .offer-container {  
  padding: 10px;
  margin: 20px ;
  border-radius: 8px;        
  background: linear-gradient(to right, #ffffff, #03600153);  
}

.skills-list, .offer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 5px;
}

.apply-container h3, .offer-container h3 {
  margin-bottom: 10px;
color:#333;
}
.check-icon {
  color: #333; /* You can change this color */
  font-weight: bold;
  margin-right: 10px;
}

.cta-container {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}


.join-button {
  background-color: #264688;
  color: white;
  padding: 10px 40px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.join-button:hover {
  background-color: #009423;
}

.right-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive layout for mobile screens */
@media (max-width: 768px) {
  .join-section {
    flex-direction: row;           /* keep as row */
    flex-wrap: wrap;               /* allow wrapping */
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
  }

  .join-left {
    min-width: 100%;               /* take full width */
  }

  .join-right {
    display: none;                 /* hide desktop image */
  }

  .mobile-image-wrapper {
    display: block;                /* show mobile image */
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .mobile-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .join-title {
    font-size: 40px;               /* scale down heading */
    letter-spacing: -2px;
  }

  .subheading-with-line {
    font-size: 18px;
    flex-direction: row;
    gap: 10px;
    text-align: center;
  }

  .subheading-with-line .line {
    width: 80%;
    margin: 10px auto;
  }

  .cta-container {
    flex-direction: column;
    gap: 10px;
  }

  .join-button {
    padding: 12px 60px;
    font-size: 15px;
  }

  .apply-container, .offer-container {
    margin: 10px 0;
  }
}

/* Responsive layout for tablet screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .join-section {
    flex-direction: row;           /* keep as row */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 50px 40px;
    gap: 30px;
  }

  .join-left {
    min-width: 100%;               /* take full width */
  }

  .join-right {
    display: none;                 /* hide desktop image */
  }

  .mobile-image-wrapper {
    display: block;                /* show mobile image */
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .mobile-image-wrapper img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
  }

  .join-title {
    font-size: 60px;               /* slightly smaller than desktop */
    letter-spacing: -3px;
  }

  .subheading-with-line {
    font-size: 20px;
    flex-direction: row;
    gap: 10px;
    text-align: center;
  }

  .subheading-with-line .line {
    width: 60%;
    margin: 10px auto;
  }

  .cta-container {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
  }

  .join-button {
    padding: 12px 50px;
    font-size: 16px;
  }

  .apply-container, .offer-container {
    margin: 15px 0;
  }
}
