/* Clean, Responsive Lifepoint Careers CSS with Hero Background Image */

:root {
  --primary-color: #517fef;
  --secondary-color: #a451ef;
  --bg-light: #ffffff;
  --text-dark: #333;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-top: 70px;
}

main.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: var(--font-family, 'Montserrat', sans-serif);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 1rem;
}

.about-content {
  background: #ffffff;
  border-radius: var(--border-radius, 8px);
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.4s ease-in-out;
}

.about-content h2 {
  color: var(--primary-color, #517fef);
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color, #517fef);
  padding-bottom: 5px;
}

.about-content p {
  margin-bottom: 20px;
  color: #555;
  font-size: 1.05rem;
}

.about-content ul {
  padding-left: 20px;
  list-style: disc;
  color: #555;
}

.about-content li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  main.container {
    padding: 30px 15px;
  }

  .about-content {
    padding: 20px;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content p,
  .about-content li {
    font-size: 1rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}


header {
  background-color: #ffffff;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.menu-toggle {
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  background: none;
  border: none;
  display: none;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

.hero-header {
  background-image: url('./images/f500-2017-e28094-lifepoint-health-374.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  color: #ffffff;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
}

footer {
  background-color: #ffffff;
  color: var(--primary-color);
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #eee;
  font-family: var(--font-family);
}

footer .container {
  max-width: 900px;
  margin: 0 auto;
}

footer p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

footer p.footer_ {
  font-size: 0.7rem;
  color: #517fef;
  line-height: 1.4;
}

footer a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 60px;
    right: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }

  nav.show {
    display: flex;
  }

  nav a {
    margin: 10px 0;
    color: var(--primary-color);
  }
}
