/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #022331;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-container {
  max-width: 1512px;
  margin: 0 auto;
  background: #ffffff;
}

/* Header Navigation - Matching Main Page */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
}

.nav-inner {
  margin-top: 16px;
  width: 100%;
  max-width: 1180px;
  border-radius: 999px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 31, 54, 0.95);
  backdrop-filter: blur(18px);
  color: #ffffff;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.nav-logo-img {
  width: 200px;
  height: 32px;
  border-radius: 999px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #0cb5ff;
  color: #ffffff;
  background: transparent;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: #0cb5ff;
}

.btn-primary {
  border-radius: 999px;
  background: linear-gradient(135deg, #00a6ff 0%, #00e0ff 100%);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Hero Banner for Careers */
.hero-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-top: 0;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay-careers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(2, 24, 43, 0.85) 0%, rgba(2, 24, 43, 0.6) 100%);
  padding-left: 132px;
}

.hero-title-careers {
  color: #ffffff;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
  max-width: 800px;
  padding: 0;
}

/* Careers Section */
.careers-section {
  padding: 80px 131px 120px;
  background-color: #ffffff;
}

.section-header {
  text-align: left;
  margin-bottom: 60px;
}

.section-label {
  font-size: 20px;
  font-weight: 600;
  color: #01597f;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.careers-description {
  font-size: 28px;
  font-weight: 400;
  color: #262138;
  line-height: 1.5;
  max-width: 900px;
  margin: 0;
}

/* Job Postings */
.job-posting {
  margin-bottom: 60px;
  padding: 0;
  background: #ffffff;
}

.job-title {
  font-size: 32px;
  font-weight: 700;
  color: #022331;
  margin-bottom: 16px;
  line-height: 1.3;
}

.job-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #4b5563;
  align-items: center;
}

.job-location,
.job-type {
  font-weight: 500;
}

.job-separator {
  font-weight: 400;
}

.job-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-overview {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

.job-section {
  margin-top: 24px;
}

.job-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #022331;
  margin-bottom: 12px;
}

.job-skills-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.job-skills-container .job-section {
  margin-top: 0;
}

.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-list li {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  padding-left: 24px;
  position: relative;
}

.job-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #01597f;
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 960px) {
  .job-skills-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.apply-btn {
  margin-top: 24px;
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 15px;
}

/* CONTACT STRIP */
.contact {
  position: relative;
  max-width: 1512px;
  margin: 40px auto 0;
  border-radius: 32px;
  overflow: hidden;
  height: 260px;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/Products.jpg");
  background-size: cover;
  background-position: center;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 23, 44, 0.92) 0%, rgba(5, 23, 44, 0.35) 45%, rgba(5, 23, 44, 0.9) 100%);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 32px 32px 40px;
  color: #ffffff;
}

.contact-content h2 {
  font-size: 32px;
  max-width: 380px;
  margin: 0;
}

.contact-right {
  text-align: right;
  font-size: 14px;
}

.contact-email {
  display: inline-block;
  margin-top: 4px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
}

.contact-locations {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.contact-locations p {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
  opacity: 0.9;
  font-weight: 500;
}

/* FOOTER */
.footer {
  padding: 32px 32px 40px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
  background: #ffffff;
  margin-top: 0;
  width: 100%;
  clear: both;
  min-height: 80px;
}

.footer p {
  margin: 8px 0;
}

.footer p:first-child {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Show mobile menu button on tablets and mobile */
@media screen and (max-width: 960px) {
  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .nav-links.active {
    display: flex !important;
  }
  
  .nav-cta {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(3, 31, 54, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    gap: 24px;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    display: flex !important;
  }

  .nav-links.active {
    right: 0 !important;
    display: flex !important;
  }

  .nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .nav-links.active::before {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 18px;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
  }
  
  .mobile-menu-toggle {
    order: 3;
    margin-left: auto;
    flex-shrink: 0;
  }
  
  .nav-logo {
    order: 1;
    flex-shrink: 1;
  }
  
  .nav-cta {
    display: none !important;
  }

  .hero-title-careers {
    font-size: 44px;
    padding: 0 20px;
  }

  .hero-overlay-careers {
    padding-left: 20px;
  }

  .careers-section {
    padding: 40px 20px 60px;
  }

  .section-label {
    font-size: 16px;
  }

  .careers-description {
    font-size: 20px;
  }

  .job-posting {
    padding: 24px;
    margin-bottom: 40px;
  }

  .job-title {
    font-size: 22px;
  }

  .job-meta {
    flex-direction: column;
    gap: 8px;
  }

  .contact {
    height: auto;
    min-height: 260px;
    padding-bottom: 60px;
  }

  .contact-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding-bottom: 20px;
  }

  .contact-right {
    text-align: left;
  }

  .contact-locations {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 20px;
    padding: 0 24px;
  }

  .contact-locations p {
    font-size: 12px;
  }

  .footer {
    margin-top: 0;
    padding-top: 24px;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-container {
    max-width: 100%;
  }

  .careers-section {
    padding: 60px 80px 100px;
  }

  .hero-title-careers {
    font-size: 56px;
  }
}

@media (max-width: 960px) {
  .nav-inner {
    margin: 0 16px;
  }

  .hero-title-careers {
    font-size: 48px;
  }

  .careers-section {
    padding: 60px 40px 80px;
  }

  .job-posting {
    padding: 32px;
  }
}
