/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: #c70000;
  color: white;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

header h1 i {
  margin-right: 10px;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 15px;
  transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
  color: #ffd700;
}

.apply-btn {
  background: white;
  color: #c70000;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}

.apply-btn:hover {
  background: #ffd700;
  color: #c70000;
}

/* Hero Section */
.hero {
  background: url('../img/banner.jpg') no-repeat center center/cover;
  height: 450px;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(199, 0, 0, 0.6); /* Red overlay */
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 42px;
  font-weight: bold;
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
}

.hero .btn {
  display: inline-block;
  background: white;
  color: #c70000;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
  transition: 0.3s ease-in-out;
}

.hero .btn:hover {
  background: #ffd700;
  color: #c70000;
}

/* Job Listings */
.jobs {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

.jobs h2 {
  font-size: 32px;
  color: #c70000;
  margin-bottom: 30px;
}

.job-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.job-card {
  background: white;
  border: 2px solid #c70000;
  padding: 25px;
  width: 30%;
  text-align: center;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.job-card h3 {
  font-size: 20px;
  font-weight: bold;
}

.job-card .location {
  color: #c70000;
  font-weight: bold;
}

.job-card .btn {
  display: inline-block;
  background: #c70000;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: 0.3s ease-in-out;
}

.job-card .btn:hover {
  background: #ffd700;
  color: #c70000;
}

/* About Section */
.about {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
}

.about h2 {
  font-size: 32px;
  color: #c70000;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background: #c70000;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonials blockquote {
  font-size: 18px;
  font-style: italic;
  margin: 20px auto;
  width: 50%;
 white-space: nowrap;
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 32px;
  color: #c70000;
  margin-bottom: 20px;
}

.contact p {
  font-size: 18px;
  margin: 10px 0;
}

.contact p i {
  color: #c70000;
  margin-right: 10px;
}

/* Footer */
footer {
  background: #c70000;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  nav ul {
      flex-direction: column;
      text-align: center;
      gap: 10px;
  }

  .job-card {
      width: 100%;
  }

  .testimonials blockquote {
      width: 80%;
  }
}

@media (max-width: 768px) {
  header h1 {
      font-size: 22px;
  }

  .hero h2 {
      font-size: 28px;
  }

  .hero p {
      font-size: 16px;
  }

  .job-card {
      width: 100%;
  }

  .testimonials blockquote {
      width: 90%;
  }
}
