/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: "Roboto", sans-serif;
  color: #333;
  background-color: #f5f5f5;
}

/* Container Styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #181617;
  color: #fff;
  transition: background-color 0.3s ease;
}

.navbar:hover {
  background-color: #1f1f1f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease;
}

.logo img {
  height: 100px;
  margin-right: 10px;
}

.logo:hover {
  color: #ff4500;
  transform: scale(1.1);
}

/* Navbar Links Styles */
.navbar ul {
  list-style-type: none;
  display: flex;
}

.navbar li {
  margin-right: 20px;
}

.navbar li:last-child {
  margin-right: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1.2em;
}

.navbar a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff4500;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar a:hover::before {
  transform: scaleX(1);
}

.navbar a:hover {
  color: #ff4500;
  transform: scale(1.1);
}

/* Responsive Navbar Adjustments */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
  }

  .navbar li {
    margin-bottom: 10px;
  }

  .navbar li:last-child {
    margin-bottom: 0;
  }
}

/* Hero Section */
#hero {
  margin-top: 50px;
  margin-bottom: 100px;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../static/gym banner 1.png");
  filter: blur(8px);
  z-index: -1;
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#hero .btn {
  background: #f90;
  color: #fff;
  padding: 30px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

#hero .btn:hover {
  background: #e07b00;
}

/* Jobs Section */
#jobs {
  padding: 50px 30px;
  text-align: left;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

#jobs h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  text-decoration: underline #f90 0.5em;
  text-underline-offset: 0.5em;
}

.job-listings {
  border-top: 2px solid #f90;
}

/* Job Listings */
.job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
}

.job:last-child {
  border-bottom: none;
}

.job-info {
  flex: 1;
  text-align: left;
}

.job-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #333;
}

.job-info p {
  margin-bottom: 5px;
  color: #666;
}

.job-apply {
  text-align: right;
}

.job-btn {
  background: #f90;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.job-btn:hover {
  background: #e07b00;
}

/* Responsive Design */
@media (min-width: 1024px) {
  #jobs {
    padding: 50px 80px;
  }

  .job {
    flex-direction: row;
    padding: 2px 2px;
    margin: 200px;
  }

  .job-info h3 {
    font-size: 1.75rem;
  }

  .job-info p {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #jobs {
    padding: 40px 60px;
  }

  .job {
    flex-direction: row;
    padding: 15px 30px;
  }

  .job-info h3 {
    font-size: 1.6rem;
  }

  .job-info p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  #jobs {
    padding: 30px 20px;
  }

  .job {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .job-info {
    margin-bottom: 20px;
    text-align: justify;
  }

  .job-info h3 {
    font-size: 1.5rem;
  }

  .job-info p {
    font-size: 1rem;
  }

  .job-apply {
    text-align: left;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  #jobs {
    padding: 20px 10px;
  }

  .job {
    padding: 15px;
  }

  .job-info h3 {
    font-size: 1.4rem;
  }

  .job-info p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 12px 0;
    font-size: 1rem;
  }
}

/* Contact Section */
#contact {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#contact h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #666666;
}

.form-group input {
  width: calc(100% - 20px);
  padding: 10px;
  font-size: 16px;
  color: #333333;
  border: 1px solid #dddddd;
  border-radius: 5px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.form-group input[type="date"],
.form-group input[type="number"] {
  padding: 9px 10px;
}

/* Submit Button */
.sub-btn {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  color: #ffffff;
  background-color: #ff9800;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.sub-btn:hover {
  background-color: #e68900;
}

/* Footer Styling */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}
