
/** ADD YOUR AWESOME CODES HERE **/

/* Make the top navbar white on small screens and adjust contrast */
@media (max-width: 991.98px) {
  /* Navbar background */
  #mainNav {
    background-color: #ffffff !important;
  }

  /* Ensure collapsed menu also shows white background */
  #mainNav .navbar-collapse,
  #mainNav .navbar-collapse.collapse.show {
    background-color: #ffffff !important;
  }

  /* Darken links and toggler for visibility on white */
  #mainNav .nav-link,
  #mainNav .navbar-toggler,
  #mainNav .navbar-toggler .fa {
    color: #222 !important;
  }

  /* If using .navbar-dark default styles, override link colors */
  #mainNav.navbar-dark .nav-link {
    color: #222 !important;
  }

  /* Toggler border and background tweaks */
  .navbar-toggler {
    border-color: rgba(0,0,0,0.08);
  }

  /* Hide the "Menu" text and enlarge the toggler icon on small screens */
  #mainNav .navbar-toggler .toggler-text {
    display: none !important;
  }
  #mainNav .navbar-toggler .fa {
    font-size: 28px !important;
    line-height: 1;
    color: #222 !important;
  }
}

/* Job Posting Modal Styles */
.job-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.job-modal.open {
    opacity: 1;
    visibility: visible;
}

.job-modal .modal-inner {
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.job-modal .modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-modal .modal-desc {
    text-align: left;
}

.job-modal .modal-title {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.job-modal .modal-text p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.job-modal .modal-text ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.job-modal .modal-text li {
    margin-bottom: 5px;
}

/* Career box hover effect to match services */
#careers .services-inner-box:hover h2 {
    color: #ffffff !important;
    transition: all 0.3s ease-in-out 0s;
}
#careers .services-inner-box:hover p {
    color: #ffffff !important;
}

/* Modal links styling */
.modal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.modal-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.modal-links a:hover {
    background-color: #f0f0f0;
    border-color: #28a9e2;
}
.modal-links img {
    width: 24px;
    height: 24px;
}
