/* Brand colors */
:root {
  --white: #ffffff;
  --black: #000000;
  --red: #B81601;
  --blue: #032D5C;
}

body {
  margin: 0;
  font-family: 'Cambo', serif;
  color: var(--black);
  scroll-behavior: smooth;
}

h1, h2, nav a, .logo {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between; /* keeps logo and links separated */
  align-items: center;
  padding: 20px 90px;
}

/* Fonts: Use Google Fonts (Montserrat) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease-in-out;
  z-index: 9999;
  font-family: 'Montserrat', sans-serif;
}

/* Show Pop-Up */
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Pop-Up Container */
.popup-content {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  position: relative;
  animation: slideDown 0.5s ease;
}

/* Headline */
.popup-content h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #002147; /* Dark Navy */
  font-weight: 700;
}

/* Subtext */
.popup-content p {
  font-size: 16px;
  color: #444;
  margin-bottom: 25px;
}

/* CTA Button */
.popup-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #0078D7; /* Primary Blue */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.3s ease;
  font-size: 16px;
}

.popup-btn:hover {
  background: #005EA6; /* Darker Blue on Hover */
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  font-weight: bold;
}

/* Animation */
@keyframes slideDown {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


.logo {
  font-size: 24px;
  color: var(--blue);
}

nav ul li a {
  text-decoration: none;
  color: var(--blue);         /*  change link color to blue */
  font-size: 16px;
  text-transform: uppercase;  /*  make all caps */
  transition: color 0.3s, border-bottom 0.3s;
}

nav ul li a:hover {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;   /*  reduce gap to push links closer to logo */
  margin: 0;
  padding: 0;
}

.hero {
  margin: 0;
  padding: 0;
  width: 100%;
  margin-bottom: 80px;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;   /* keeps correct proportions, no stretching */
}

/* was: section { ... } */
section:not(.hero) {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


.hero-content {
  max-width: 800px;
  padding: 80px 40px;
}

.hero-title {
  font-size: 64px;
  color: var(--blue);
  margin: 0 0 -15px 0; /* reduce bottom margin to bring subtitle closer */
}

.hero-subtitle {
  font-size: 30px;
  color: var(--red);
  margin: 0; /* remove margin to keep tight spacing */
}


.hero-bottom-text {
  margin-top: 100px;
}

.hero-tagline {
  font-size: 30px;
  color: var(--white);
  font-family: 'Chivo', sans-serif;
  margin: 450px -100px 0 0;
}

.hero-services {
  font-size: 20px;
  color: var(--white);
  font-family: 'Cambo', serif;
  margin: 10px 0 0 0;
}

.about {
  background-color: #032D5C;
  color: var(--white);
  padding: 80px 40px;   /* inside padding stays the same */
  width: 100%;          /* full width */
  max-width: 100%;
  margin: 0;            /* remove auto-centering */
}

.about {
  width: 100vw;          /* stretch across the entire screen */
  max-width: 100vw;      /* override the 1200px limit */
  margin-left: calc(50% - 50vw);  /* align full-width section */
  margin-right: calc(50% - 50vw);
  padding: 80px 40px;    /* keep your same internal spacing */
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1 1 500px;
  text-align: left;
}

.about-text h2 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  margin: 0 0 20px 0;
  color: var(--white);
}

.about-text p {
  font-family: 'Cambo', serif;
  font-size: 24px;
  line-height: 1.6;
  margin: 0;
  color: var(--white);
}

.about-image {
  flex: 1 1 500px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


.services {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  color: var(--black);
}

.services-content h2 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 20px;
}

.services-content p {
  font-family: 'Cambo', serif;
  font-size: 24px;
  line-height: 1.6;       /* same line spacing as About */
  margin-bottom: 40px;
  max-width: 800px;
}

.service-item p {
  margin-top: 12px;
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  font-size: 20px;        /* bigger font size */
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;       /* tighter lines to allow up to 3 lines */
  word-wrap: break-word;  /* allow wrapping */
  white-space: normal;
}


.services-images {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.service-item img {
  height: 180px;         /* fixed height */
  width: auto;           /* auto width to maintain aspect ratio */
  object-fit: cover;     /* crop if needed to fill height */
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}


.service-item {
  flex: 1 1 22%; /* roughly 4 items per row */
  text-align: center;
}

.careers {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.careers-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.careers-text {
  flex: 1 1 600px;
  text-align: left;
}

.careers-text h2 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 10px;
}

.careers-text h3 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  color: var(--red);
  margin-bottom: 20px;
}

.careers-text p,
.careers-text ul {
  font-family: 'Cambo', serif;
  font-size: 24px;
  color: var(--black);
  line-height: 1.6;
}

.careers-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.careers-text ul li {
  margin-bottom: 10px;
}

.careers-image {
  flex: 1 1 300px;
  text-align: center;
}

.careers-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  background: #fff;
}




.apply-now-button {
  display: inline-block;
  margin-top: 30px;               /* spacing from list */
  padding: 24px 60px;             /* bigger padding for a large button */
  background-color: var(--red);
  color: var(--white);
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  font-size: 24px;                /* larger text */
  text-transform: uppercase;
  border-radius: 50px;            /* keeps it pill-shaped */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.apply-now-button:hover {
  background-color: #9f1301;      /* darker red on hover */
  transform: scale(1.05);         /* slight grow on hover for emphasis */
}
.careers-image {
  flex: 1 1 300px;
  text-align: center;
  margin-top: 40px; /* pushes image downward */
}
 /* --- SLIDER BASE --- */
.careers-slider {
  position: relative;
  overflow: hidden;
}

.careers-slide {
  display: none;
}

.careers-slide.active {
  display: block;
}

.careers-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 80px;  /*  adds left & right padding */
}


/* --- HEADINGS --- */
.careers-content h2 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 10px;
}

.careers-content h3 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  color: var(--red);
  margin-bottom: 20px;
}

/* --- PAY BOX --- */
.heading-with-pay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;  /* Prevent wrapping */
}


.pay-box {
  background-color: var(--red);
  color: var(--white);
  font-family: 'Cambo', serif;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: normal;
  text-align: center;
  max-width: 300px;

  /* Nudge up a bit */
  margin-top: -4px; /* adjust this value as needed */
}
.apply-pay-container {
  display: flex;
  align-items: center; /* keep center */
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}


.pay-box {
  background-color: var(--red);
  color: var(--white);
  font-family: 'Cambo', serif;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: normal;
  text-align: center;
  max-width: 300px;
}


/* --- TEXT --- */
.careers-text {
  flex: 1 1 600px;
  text-align: left;
}

.careers-text p,
.careers-text ul {
  font-family: 'Cambo', serif;
  font-size: 18px;
  color: var(--black);
  line-height: 1.6;
}

.careers-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 0;
}

.careers-text ul li {
  margin-bottom: 10px;
}

/* --- IMAGE --- */
.careers-image {
  flex: 1 1 300px;
  text-align: center;
  margin-top: 60px;  /* increase this to push it lower */
}


#contact {
  scroll-margin-top: 100px; /* Adjust if your header height changes */
}

/* --- BUTTON --- */
.apply-now-button {
  display: inline-block;
  margin-top: 30px;
  padding: 24px 60px;
  background-color: var(--red);
  color: var(--white);
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.apply-now-button:hover {
  background-color: #9f1301;
  transform: scale(1.05);
}

/* --- ARROWS --- */
.careers-prev, .careers-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
}

.careers-prev { left: 20px; }
.careers-next { right: 20px; }

.careers-prev:hover, .careers-next:hover {
  background: var(--red);
}


.contact {
  background-color: #f5f5f5; /* light grey */
  padding: 80px 40px;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center; /* makes side block vertically center */
}

.contact-form {
  flex: 1 1 500px;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Cambo', serif;
  font-size: 16px;
}

.submit-button {
  background-color: var(--red);
  color: var(--white);
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background-color: #9f1301;
}

.contact-info {
  flex: 1 1 400px;
  text-align: center; /* center text */
  display: flex;
  flex-direction: column;
  justify-content: center; /*  center vertically within its column */
}

.contact-info p {
  font-family: 'Cambo', serif;
  font-size: 24px;
  color: var(--black);
  line-height: 1.2;
  margin: 0;
}

.contact-info h3 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.thank-you-message {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 20px;
}


/* Other Sections */
section: {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


section img {
  margin-top: 20px;
  max-width: 100%;
  height: auto;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 40px; /*  pushes the logo to the right */
}

.logo img {
  height: 50px;
  width: auto;
}


footer {
  text-align: center;
  padding: 40px;
  background: var(--blue); 
  color: var(--white);
}

.bonuses-image-section {
  height: 40vh;
  background: url("images/bonuses_working.png") no-repeat center center/cover;
  background-size: contain;
  background-position: center;
}

#bonuses {
  scroll-margin-top: 100px; /* adjust based on your header height */
}


/* --- APPLY NOW FORM STYLES --- */

.apply-section {
  background: url('images/applynowbackground.jpg') no-repeat center center/cover;
  padding: 80px 40px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.apply-content {
  background-color: rgba(255, 255, 255, 0.95); /* semi-transparent white */
  padding: 40px 50px;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.apply-form h2 {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  color: var(--red);
  margin-bottom: 30px;
  text-align: left;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1 1 calc(50% - 10px); /* half width minus half gap */
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.apply-form label {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--red);
  text-align: left;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 12px;
  font-family: 'Cambo', serif;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
}

.apply-form textarea {
  min-height: 120px;
}

.submit-button {
  background-color: var(--red);
  color: var(--white);
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
}

.submit-button:hover {
  background-color: #9f1301;
  transform: scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
  .form-group {
    flex: 1 1 100%;
  }
}
