* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #1e1e1e;
}

/* Universal navigation bar styles */
.navigationbar nav,
nav {
  background: #202020;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}

.navigationbar a,
nav a {
  color: #f5f5f5;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  transition:
    background 0.3s ease-in-out,
    color 0.3s ease-in-out,
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease-in-out;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
}

.navigationbar a img,
nav a img {
  height: 36px;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.navigationbar a:hover,
nav a:hover {
  background: #ffcc00;
  color: #1a1a1a;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.25);
  z-index: 1;
}

.navigationbar a:hover img,
nav a:hover img {
  transform: scale(1.1);
}

.navigationbar a::after,
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffcc00;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-in-out;
}

.navigationbar a:hover::after,
nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.main {
  display: flex;
  flex: 1;
  animation: fadeInUp 0.8s ease-out forwards;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.bannerhiring {
  width: 35%;
  background-image: linear-gradient(rgba(30, 30, 30, 0.65), rgba(30, 30, 30, 0.65)), url('hiringbanner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: floatBanner 2s ease-out forwards;
  min-height: 400px;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .bannerhiring {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 160px !important;
    max-height: 260px;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center center;
    position: relative;
    left: 0;
    right: 0;
    transform: none;
  }
}

@media (max-width: 600px) {
  .bannerhiring {
    min-height: 120px !important;
    max-height: 160px;
    border-radius: 8px;
    margin-bottom: 0.7rem;
    width: 100% !important;
    left: 0;
    right: 0;
    transform: none;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center center;
  }
}

.content {
  width: 65%;
  padding: 60px 50px;
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #f0f0f0;
}

h1 {
  font-size: 2.8rem;
  color: #ffe600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

p.lead {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 28px;
  line-height: 1.6;
}

.job-card {
  background: #3a3a3a;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 18px;
  border-left: 5px solid #f7931e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.job-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #ffe600;
}

.job-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ddd;
}

.apply-btn {
  position: absolute;
  bottom: 40px;
  right: 50px;
  padding: 14px 28px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #ffd600 0%, #ffcc00 100%);
  color: #000000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-btn:hover {
  background: linear-gradient(90deg, #ffcc00 0%, #ffb300 100%);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(255, 204, 0, 0.3);
}

.fb-customerchat {
  position: fixed !important;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-hidden { display: none; }
.section-visible { display: flex; }
.jobs-main { display: flex; width: 100%; }
.jobs-carousel {
  width: 35%;
  min-width: 260px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
  animation: floatBanner 2s ease-out forwards;
}
.jobs-carousel-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(255, 230, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #232323;
  position: relative;
  border-radius: 12px;
}
.jobs-carousel-img {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto 1.2rem auto;
  border-radius: 12px;
  aspect-ratio: 16/9;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center center;
}
.jobs-carousel-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 230, 0, 0.25);
  filter: brightness(1.05);
}
.carousel-btn {
  background: #ffe600;
  color: #232323;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }
.carousel-btn:hover {
  background: #f7931e;
  color: #fff;
  transform: scale(1.1) translateY(-50%);
}
.jobs-carousel-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.jobs-carousel-thumb {
  width: 50px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.75;
  transition: border 0.2s, opacity 0.2s, transform 0.2s;
}
.jobs-carousel-thumb.active,
.jobs-carousel-thumb:hover {
  border: 2px solid #ffe600;
  opacity: 1;
  transform: scale(1.05);
}
.jobs-content {
  width: 65%;
  padding: 60px 50px;
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f0f0f0;
}

/* Modal for enlarged image */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.img-modal-content {
  max-width: 92vw;
  max-height: 92vh;
  margin: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: #222;
}
.img-modal-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #FFD700;
  font-size: 2.8rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
  user-select: none;
}
.img-modal-close:hover {
  color: #fff;
}

.img-modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffe600;
  color: #232323;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.9rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10002;
  opacity: 0.9;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.img-modal-btn.left { left: 30px; }
.img-modal-btn.right { right: 30px; }
.img-modal-btn:hover {
  background: #f7931e;
  color: #fff;
  opacity: 1;
}

/* Loader animation */
.loader {
  border: 4px solid #ffe600;
  border-top: 4px solid #232323;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success dialog styles */
#success-dialog {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: rgba(30, 30, 30, 0.9);
  justify-content: center;
  align-items: center;
}
#success-dialog.active {
  display: flex;
}
.success-dialog-content {
  background: #232323;
  padding: 2rem 1.8rem 1.4rem 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
  text-align: center;
  max-width: 92vw;
}
.success-check {
  font-size: 2.4rem;
  color: #ffe600;
  margin-bottom: 0.6rem;
}
#success-dialog h2 {
  color: #ffe600;
  margin-bottom: 0.6rem;
}
#success-dialog p {
  color: #fff;
  margin-bottom: 1.1rem;
}
.success-ok-btn {
  background: linear-gradient(90deg, #ffd600 0%, #ffcc00 100%);
  color: #1a237e;
  border: none;
  border-radius: 10px;
  padding: 0.7em 2em;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
}
.success-ok-btn:hover {
  background: linear-gradient(90deg, #ffcc00 0%, #ffb300 100%);
  color: #fff;
}

/* --- Mobile Responsiveness: Consistent, Non-destructive, All Content Visible --- */
@media (max-width: 900px) {
  .main {
    flex-direction: column !important;
    max-width: 100vw;
    width: 100vw;
    margin: 0 auto;
    padding: 0;
  }
  .bannerhiring,
  .jobs-carousel {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto 1.2rem auto;
    border-radius: 12px;
    aspect-ratio: 16/9;
    min-height: 180px;
    max-height: 260px;
    background-size: cover;
    background-position: center center;
  }
  .content,
  .jobs-content {
    width: 100% !important;
    padding: 32px 10px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .jobs-main {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100vw;
    max-width: 100vw;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .bannerhiring,
  .jobs-carousel {
    min-height: 100px !important;
    max-height: 140px;
    border-radius: 8px;
    margin-bottom: 0.7rem;
    width: 100vw !important;
    left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.1);
  }
  .jobs-carousel-img-wrapper,
  .jobs-carousel-img {
    min-height: 60px !important;
    border-radius: 7px;
  }
  .content,
  .jobs-content {
    padding: 10px 2px;
    border-radius: 7px;
  }
  h1 {
    font-size: 1.2rem;
  }
  .job-card {
    padding: 8px;
    font-size: 0.95rem;
    border-radius: 7px;
  }
  .apply-btn {
    font-size: 0.95rem;
    padding: 10px 6px;
    border-radius: 7px;
    margin-top: 16px;
    max-width: 98vw;
    position: static;
    right: auto;
    bottom: auto;
  }
  .jobs-carousel-thumb {
    width: 28px;
    height: 18px;
    border-radius: 4px;
  }
  .application-form {
    background: #232323;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(255, 215, 0, 0.1);
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    margin: 1rem auto;
    max-width: 98vw;
    width: 100%;
    gap: 1rem;
  }
  .application-form label {
    font-size: 0.95rem;
  }
  .application-form input[type="text"],
  .application-form input[type="email"],
  .application-form select,
  .application-form textarea {
    font-size: 0.95rem;
    padding: 0.7rem 0.8rem;
    border-radius: 9px;
  }
  .application-form button[type="submit"] {
    font-size: 0.95rem;
    border-radius: 10px;
    padding: 0.8em 0;
  }
}

/* Navigation - Mobile */
@media (max-width: 768px) {
  .navigationbar nav,
  nav {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.2rem;
    gap: 0.2rem;
  }
  .navigationbar a,
  nav a {
    margin: 0.4rem 0;
    width: 98%;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.7em 0.5em;
    border-radius: 8px;
  }
}

/* Universal fixes */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.application-form {
  background: #232323;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
  padding: 2rem 1.8rem 1.5rem 1.8rem;
  margin: 2.5rem auto 1.5rem auto;
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.application-form label {
  color: #ffe600;
  font-weight: 500;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #ffd600;
  border-radius: 10px;
  background: #181818;
  color: #fff;
  font-size: 1.05rem;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
  transition: border 0.2s, background 0.2s;
  outline: none;
  box-shadow: 0 2px 8px rgba(255, 230, 0, 0.05);
}

.application-form input[type="text"]:focus,
.application-form input[type="email"]:focus,
.application-form select:focus,
.application-form textarea:focus {
  border: 1.5px solid #ffe600;
  background: #232323;
}

.application-form textarea {
  min-height: 85px;
  resize: vertical;
}

.application-form input[type="file"] {
  background: #232323;
  color: #ffe600;
  border: none;
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.application-form button[type="submit"] {
  background: linear-gradient(90deg, #ffd600 0%, #ffcc00 100%);
  color: #1a237e;
  border: none;
  border-radius: 12px;
  padding: 0.9em 0;
  font-size: 1.1em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.1em;
  box-shadow: 0 2px 8px rgba(255, 204, 0, 0.15);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
  width: 100%;
}

.application-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #ffcc00 0%, #ffb300 100%);
  color: #000000;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.25);
  transform: translateY(-2px);
}

.application-form input[type="tel"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #ffd600;
  border-radius: 10px;
  background: #181818;
  color: #fff;
  font-size: 1.05rem;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
  transition: border 0.2s, background 0.2s;
  outline: none;
  box-shadow: 0 2px 8px rgba(255, 230, 0, 0.05);
}

.application-form input[type="tel"]:focus {
  border: 1.5px solid #ffe600;
  background: #232323;
}

@media (max-width: 600px) {
  .application-form {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    border-radius: 12px;
    max-width: 98vw;
    margin: 1rem auto;
  }
  .application-form label {
    font-size: 0.95rem;
  }
  .application-form input[type="text"],
  .application-form input[type="email"],
  .application-form select,
  .application-form textarea {
    font-size: 0.95rem;
    padding: 0.7rem 0.8rem;
    border-radius: 9px;
  }
  .application-form button[type="submit"] {
    font-size: 0.95rem;
    border-radius: 10px;
    padding: 0.8em 0;
  }
  .application-form input[type="tel"] {
    font-size: 0.95rem;
    padding: 0.7rem 0.8rem;
    border-radius: 9px;
  }
}
