:root {
  --color-primary-dark: #163e3e;
  --color-primary-light: #fff5ec;
  --color-text-light: #ffffff;
  --color-text-dark: #000000;
  --color-text-placeholder: rgba(0, 0, 0, 0.4);
  --color-accent: #bba16c;
  --font-heading: 'Libre Baskerville', serif;
  --font-body: 'Lato', sans-serif;
  --font-ui: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-primary-light);
  color: var(--color-text-dark);
}

.page-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}


.site-header {
  background-color: transparent; /* so spotlight is visible behind */
  position: absolute; /* float on top of hero image */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
.site-header .container {
  display: flex;
  justify-content: center;  /* centers the logo */
  align-items: center;
  padding: 20px 0;
}

.site-header .logo img {
  width: auto;          /* let it size naturally */
  height: 120px;        /* control actual visible size */
  max-height: 150px;    /* optional safety limit */
  object-fit: contain;
}


@media (max-width: 768px) {
  .site-header .logo img {
    width: 160px;
  }
}




.hero-section {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content {
  flex: 1;
  max-width: 720px;
  z-index: 2;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
}
.hero-description {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  max-width: 433px;
}
.hero-description .text-light {
  color: var(--color-text-light);
}
.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 650px;
}
.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-image-container .hero-spotlight {
  position: relative;
  right: -150px;
  top: -100px;
  width: 1108px;
  height: 844px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 72px;
  }
  .hero-image-container .hero-spotlight {
    right: -250px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-description {
    max-width: 500px;
  }
  .hero-image-wrapper {
    height: 400px;
    width: 100%;
  }
  .hero-image-container .hero-spotlight {
    width: 800px;
    height: auto;
    right: 50%;
    transform: translateX(50%);
    top: -50px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 56px;
  }
  .hero-description {
    font-size: 18px;
  }
}



.jobs-section {
  background-color: var(--color-primary-light);
  padding: 60px 0;
}
.jobs-section-title {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 40px;
}
.search-form {
  display: flex;
  gap: 30px;
  margin-bottom: 85px;
}
.form-group {
  position: relative;
}
.form-group input, .form-group select {
  height: 55px;
  border: 2px solid var(--color-text-dark);
  background-color: var(--color-text-light);
  padding: 0 20px 0 50px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-placeholder);
  width: 100%;
}
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 50px;
}
.form-group.input-with-icon .input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  width: 28px;
  height: 28px;
}
.form-group.input-with-icon .arrow-icon {
  left: auto;
  right: 15px;
  transform: translateY(-50%) rotate(-90deg);
}
.search-form .form-group:nth-child(1) { flex: 2; }
.search-form .form-group:nth-child(2) { flex: 1; }
.btn.btn-primary {
  height: 55px;
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  border: none;
  border-radius: 20px;
  padding: 0 40px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}
.job-card {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 370px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 20px;
}
.location .separator {
  width: 1px;
  height: 19px;
  background-color: var(--color-text-light);
}
.save-btn {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
}
.save-btn img {
  width: 26px;
  margin: 0 auto 5px;
}
.card-body {
  flex-grow: 1;
}
.job-title {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 60px;
}
.job-title .job-subtitle {
  font-size: 16px;
}
.job-field, .job-posted {
  font-family: var(--font-ui);
  font-size: 15px;
}
.job-field {
  font-weight: 400;
  margin-bottom: 10px;
}
.job-posted {
  font-weight: 300;
}
.card-footer {
  margin-top: auto;
}
.read-more {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
}
.read-more img {
  width: 24px;
  transform: rotate(180deg);
}

@media (max-width: 992px) {
  .search-form {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .jobs-section-title {
    font-size: 36px;
    text-align: center;
  }
  .search-form {
    align-items: stretch;
  }
  .btn.btn-primary {
    width: 100%;
  }
}



.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 80px 0 40px;
  font-family: var(--font-body);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-column .footer-logo {
  width: 250px;
  margin-bottom: 20px;
}
.about-column .slogan {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 215px;
}
.footer-heading {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-light);
  opacity: 0.8;
  transition: opacity 0.3s;
}
.footer-links a:hover {
  opacity: 1;
}
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.copyright {
  font-size: 18px;
  font-weight: 700;
  color: #d2d2d2;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.social-icons a:hover img {
  opacity: 1;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  font-size: 20px;
  color: #d2d2d2;
}

@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-column {
    grid-column: 1 / -1;
    text-align: center;
  }
  .about-column .footer-logo, .about-column .slogan {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-heading {
    border-bottom: none;
  }
}
