/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Navbar */

/* Navbar */
.navbar {
  background-color: #2a3f54;
  padding: 15px 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo .logo-icon {
  display: flex;
  align-items: center;
  color: #ecf0f1;
  font-weight: 700;
  font-size: 1.7rem;
  cursor: default;
  user-select: none;
}

.logo-icon img {
  width: 45px;
  height: 45px;
  margin-right: 12px;
  object-fit: contain;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background-color 0.25s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
  background-color: #3d5a7c;
  outline: none;
}

.nav-menu li input.search {
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  width: 200px;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}

.nav-menu li input.search:focus {
  outline: none;
  box-shadow: 0 0 8px #2980b9;
}

.nav-buttons a.signbutton {
  background-color: #ecf0f1;
  color: #2a3f54;
  padding: 8px 22px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.nav-buttons a.signbutton:hover,
.nav-buttons a.signbutton:focus {
  background-color: #2980b9;
  color: white;
  outline: none;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1200px;
  margin: 1.5rem auto 0.5rem auto;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #555;
}

.breadcrumb a {
  color: #0052cc;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  text-decoration: underline;
}

/* Company Header */
.company-header {
  max-width: 1200px;
  margin: 0.5rem auto 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgb(0 0 0 / 0.1);
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-left: 2rem;
}

.company-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid #0052cc;
}

.company-header div h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0052cc;
}

.company-description {
  max-width: 600px;
  color: #444;
  font-size: 1rem;
  line-height: 1.4;
}

.company-header .apply-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background-color: #0052cc;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.5);
}

.company-header .apply-btn:hover,
.company-header .apply-btn:focus {
  background-color: #003d99;
  outline: none;
}

/* Job Detail Section */
.job-detail-container {
  max-width: 900px;
  background: white;
  margin: 0 auto 3rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.1);
  padding: 2rem 3rem;
}

.job-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
  color: #0052cc;
}

.job-detail h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.job-detail p {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #444;
}

.job-detail h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #0052cc;
  font-weight: 700;
}

.job-detail ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.3rem;
  background-color: #ff5a5f;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.5);
}

.hero-button:hover,
.hero-button:focus {
  background-color: #e0484b;
  outline: none;
}


/* Footer */
.footer {
  background-color: #2a3f54;
  color: #ecf0f1;
  padding: 40px 20px;
  margin-top: 70px;
  user-select: none;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 280px;
}

.footer-section h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-section p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.footer-section img {
  border-radius: 4px;
}

.footer-section a {
  color: #ecf0f1;
  text-decoration: none;
}

.footer-section a:hover,
.footer-section a:focus {
  text-decoration: underline;
  outline: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .job-detail {
    padding: 18px 20px;
    margin: 40px 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 25px;
  }

  .search {
    width: 100%;
    margin-top: 0.5rem;
  }

  .company-header {
    flex-direction: column;
    text-align: center;
  }

  .company-header div {
    margin-top: 1rem;
  }

  .job-detail-container {
    padding: 24px 19px;
  }

}