/* .modal {
  position: fixed;
  inset: 0;
  background-color: rgba(31, 41, 55, 0.25);
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  z-index: 1000; 
} */


/* FIXED NAVIGATION */
.nav-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  background-color: white;
  position: fixed; /* Keeps it at the top */
  top: 0;
  left: 0;
  z-index: 1000; /* Ensures it stays above other elements */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.vertex-logo img {
  width: 150px;
  height: 50px;
  object-fit: contain;
}
/* NAVIGATION ITEMS */
.nav-item {
  display: flex;
  align-items: center;
  gap: 30px;
  max-height: 40px;
}

.nav-item a {
  text-decoration: none;
  color: black;
  transition: 0.3s ease;
  font-size: 16px;
  padding: 10px 12px;
}

.nav-item a:hover {
  color: rgb(255, 0, 0);
}

/* Desktop Login Button */
.nav-item button{
  border: none;
}

.login-btn {
  background-color: rgb(49, 177, 236);
  cursor: pointer;
  border: none;
  color: white !important; 
  border-radius: 5px;
  font-weight: 600;
  padding: 8px 14px;
}


/* HAMBURGER MENU */
.hamburger-menu {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

/* MOBILE SLIDING MENU */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%; /* Hidden by default */
  width: 250px;
  height: 100vh;
  background-color: #5c45a9b4;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  transition: 0.4s ease-in-out;
  z-index: 9999;
}

.mobile-nav a {
  padding: 15px 20px;
  text-decoration: none;
  font-size: 18px;
  color: white;
  transition: 0.3s;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Close Button for Mobile Nav */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
}

/* MOBILE LOGIN BUTTON */
.mobile-login-btn {
  background-color: #ff0000;
  color: #fff;
  padding: 10px 10px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin: 10px auto;
  width: calc(100% - 40px);
  max-width: 300px;
  transition: background-color 0.3s ease;
}

.mobile-login-btn:hover {
  background-color: #cc0000;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 878px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
  }

  .nav-item {
    display: none; /* Hide desktop nav */
  }

  .hamburger-menu {
    display: flex; /* Show hamburger */
    gap: 10px;
  }

  .hamburger-menu button{
    background-color: #3b9aff;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
  }

  .hamburger-menu button .login-btn{
    font: bolder;
    font-size: 16px;
    text-decoration: none;
  }

  .nav-item .login-btn {
    display: none; /* Hide desktop login button */
  }
}

.modal {
  display: none; /* Hide modal initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Container for mobile */
.modal-container {
  width: 100%;
  height: auto; /* Allow natural height instead of full screen */
  max-height: 90vh; /* Prevent it from covering the entire screen */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: white;
  width: 100%;
  max-width: 850px;
  display: flex;
  flex-direction: row; /* Display side-by-side on large screens */
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

/* Image container */
.image-container {
  width: 50%; /* Keep image on the left side */
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.form-container {
  width: 50%; /* Form takes the right side */
  padding: 2rem;
}

.close-button {
  background-color: white;
  outline: none;
  border: none;
  position: absolute;
  top: 0.3rem;
  right: 0.7rem;
  font-size: 2rem;
  color: #f56565;
  cursor: pointer;
  z-index: 1000;
}

.close-button:hover {
  color: #e53e3e;
}

.form-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.input-field,
.select-field {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}

.submit-button {
  background-color: #3b9aff;
  color: rgb(255, 255, 255);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  cursor: pointer;
  outline: none;
  border: none;
}

.submit-button:hover {
  background-color: #2b6cb0;
}

.error-message {
  display: block;
  color: red;
  font-size: 0.8em;
  margin-bottom: 15px;
  margin-left: 5px;
}
.slider {
  position: relative;
}

.slider-images {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.slide-img {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide-img.active {
  opacity: 1;
  position: relative;
}

/* Buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }


/* Responsive styles for mobile devices */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-content {
    flex-direction: column;
    height: auto;
    max-height: 90vh; /* Limit height for mobile */
    overflow-y: auto; /* Enable scrolling inside the modal */
    padding-top: 20px;
  }

  .image-container {
    width: 100%;
    margin-bottom: 1rem;
  }

  .form-container {
    width: 100%;
    padding: 1rem;
  }
}