/*
 * Main stylesheet
 * Work 24 Seven Freelancer
 * by Work 24 Seven LLC
 */

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

/* Header */
header {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 99;
  box-shadow: 0 0 10px #fff;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 20px;
}

/* Hero Image Container */
.img-container {
  min-height: 400px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  overflow-x: hidden;
  position: relative;
}

.img-container .inner_box {
  position: absolute;
  background: none;
  top: 35%;
  left: 75%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.img-container .inner_box h1 {
  font-family: Arial, sans-serif;
  font-size: 45px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

.img-container .inner_box h2 {
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: bold;
  color: #0f0547;
  white-space: nowrap;
}

.img-container .inner_box button {
  background: #0b9ed0;
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 15px 40px;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.img-container .inner_box button:hover {
  background-color: #0879a0;
}

/* Reusable Button */
.button {
  background: #0b9ed0;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  padding: 15px 40px;
  font-size: 16px;
  margin: 4px 2px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.button:hover {
  background-color: #0879a0;
}

/* Mid Section */
.img-mid-container {
  width: 100%;
  background-color: #eaeae8;
  text-align: center;
  display: block;
  clear: both;
}

.mid-section h1 {
  font-family: "Franklin Gothic Heavy", Arial, sans-serif;
  font-size: 33px;
  font-weight: bold;
  color: #0f0547;
  text-align: center;
}

.mid-section h2 {
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

/* Footer */
.footer {
  width: 100%;
  height: 100px;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: block;
  clear: both;
  padding: 20px 10px;
}

/* ------------------ Responsive ------------------ */

/* Tablets */
@media (max-width: 1024px) {
  .img-container .inner_box {
    left: 50%; /* center instead of right side */
    top: 40%;
  }

  .img-container .inner_box h1 {
    font-size: 36px;
    white-space: normal;
  }

  .img-container .inner_box h2 {
    font-size: 20px;
    white-space: normal;
  }

  .img-container .inner_box button,
  .button {
    padding: 12px 30px;
    font-size: 15px;
  }

  .mid-section h1 {
    font-size: 28px;
  }

  .mid-section h2 {
    font-size: 18px;
  }
}

/* Phones */
@media (max-width: 600px) {
  header {
    height: 60px;
    padding: 0 10px;
  }

  .img-container {
    min-height: 300px;
  }

  .img-container .inner_box {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 10px;
    width: 90%;
  }

  .img-container .inner_box h1 {
    font-size: 26px;
  }

  .img-container .inner_box h2 {
    font-size: 16px;
  }

  .img-container .inner_box button,
  .button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .mid-section h1 {
    font-size: 22px;
  }

  .mid-section h2 {
    font-size: 16px;
  }

  .footer {
    height: auto;
    font-size: 14px;
    padding: 15px 10px;
  }
}
