/* Base Resets & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #dcdcdc;
  font-family: "Yu Gothic Pr6N", "Yu Gothic", sans-serif;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a:hover {
  cursor: pointer;
}
/* Global address and link reset */
address {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* header styling */

.main-header {
  width: 100%;
  height: 56px;
  background: #28386b;
  display: flex;
  justify-content: center;
}

.logo {
  width: 91px;
  height: auto;
}

/* hero styling */

.hero-content img {
  height: 450px;
  object-position: 40%;
}

.hero-text {
  text-align: center;
  margin-top: 40px;
}

.text-block {
  display: inline-block;
  text-align: left;
}

.hero-text h1 {
  display: inline-block;
  color: #28386b;
  font-size: 32px;
  line-height: 100%;
}

.hero-text p {
  text-align: left;
  color: #323232;
  margin-top: 24px;
  font-size: 20px;
}

/* Base styling for mobile-first layout */

.policy-item {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.policy1 {
  margin-top: 30px;
}

.policy1 img {
  height: 270px;
}

.policy2 img {
  height: 355px;
}

.policy3 img {
  height: 322px;
}

.policy-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #28386b80;
}

.policy-item .overlay p {
  position: absolute;
  top: 20px;
  left: 40.5%;
  color: #fff;
  font-size: 14.5px;
  line-height: 22.8px;
  text-align: left;
  max-width: 80%; /* Optional: to keep things readable */
}

.br {
  display: block;
}

/* About styling */

.about {
  color: #ffffff;
  background: #28386b;
}

.about h2 {
  padding-top: 40px;
  padding-left: 27px;
  font-weight: normal;
}

.about-content {
  margin-top: 24px;
}

.about-content dl {
  display: flex;
  flex-direction: column;
  padding-left: 27px;
}

.about-content dl > div {
  display: flex;
  margin-bottom: 24px;
}

.about-content dl > div:nth-last-of-type(-n + 2) {
  margin-bottom: 0;
}

.about-content dt {
  flex-shrink: 0;
}

.about-content dd {
  flex: 1;
}

.employees {
  gap: 0;
}

.about-content img {
  margin-top: 24px;
  padding-bottom: 60px;
}

/* Worker Profile styling */

.worker-card p {
  margin-left: 27px;
  color: #323232;
}

.worker-name {
  margin-top: 20px;
}

.worker-name span {
  font-size: 12px;
  padding-left: 4px;
}

.job-title {
  margin-top: 12px;
}

.comment {
  margin-top: 32px;
  font-size: 20px;
}

/* Second PR Section Styling */

.pr2-container img {
  height: 250px;
  margin-top: 40px;
}

/* Footer Styling */

footer {
  text-align: center;
  padding-bottom: 60px;
  margin-top: 75px;
}

.inquiry-button {
  color: #ffffff;
  background: #28386b;
  width: 221px;
  height: 56px;
  display: inline-block;
  line-height: 56px;
}

.contact-buttons {
  display: flex;
  justify-content: space-evenly;
  margin-top: 40px;
}
.contact-buttons button {
  background: none;
  border: none;
}
.contact-buttons img {
  width: 40px;
  height: 40px;
}

.footer-text {
  display: flex;
  text-align: left;
  justify-content: space-evenly;
  margin-top: 28px;
}

/* Responsive scaling for tablets and up */

@media (min-width: 560px) and (max-width: 768px) {
  .main-header {
    height: 77px;
  }

  .logo {
    width: 132px;
  }

  .policy-item img {
    object-fit: cover;
  }

  .policy1 img {
    height: 346px;
  }

  .policy2 img {
    height: 415px;
    object-position: center 0%;
  }

  .policy3 img {
    height: 381px;
  }

  .about h2 {
    padding-top: 53px;
    padding-left: 48px;
  }

  .about-content {
    margin-top: 32px;
  }

  .about-content dl {
    padding-left: 48px;
    padding-bottom: 26px;
  }

  .about-content img {
    height: 420px;
    padding-bottom: 73px;
  }

  .worker-card img {
    height: 430px;
    object-position: center 20%;
  }

  .worker-card p {
    margin-left: 48px;
  }

  .worker-name {
    margin-top: 40px;
  }

  .pr2-container img {
    height: 400px;
    margin-top: 47px;
  }

  footer {
    padding-bottom: 100px;
    margin-top: 102px;
  }

  .inquiry-button {
    width: 314px;
    height: 70px;
    line-height: 70px;
  }

  .contact-buttons {
    justify-content: center;
    gap: 80px;
  }

  .contact-buttons img {
    width: 50px;
    height: 50px;
  }

  .footer-text {
    margin-top: 38px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .main-header {
    height: 98px;
  }

  .logo {
    width: 173px;
  }

  .hero-content img {
    height: 540px;
  }

  .hero-text {
    margin-top: 60px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-text p {
    margin-top: 36px;
    font-size: 24px;
  }

  .policy1 {
    margin-top: 60px;
  }

  .policy1 img {
    height: 423px;
  }

  .policy2 img {
    height: 457px;
    object-position: center 0%;
  }

  .policy3 img {
    height: 440px;
    object-position: center 15%;
  }

  .policy-item .overlay p {
    line-height: 2.5;
    padding-top: 5%;
    font-weight: 700;
  }

  .br {
    display: none;
  }

  .about h2 {
    padding-top: 67px;
    padding-left: 70px;
    font-size: 24px;
  }

  .about-content {
    margin-top: 40px;
  }

  .about-content dl {
    padding-left: 72px;
    padding-bottom: 53px;
  }

  .about-content img {
    height: 460px;
    padding-bottom: 73px;
  }

  .worker-card img {
    height: 450px;
    object-position: center 20%;
  }

  .worker-card p {
    margin-left: 70px;
  }

  .worker-name {
    margin-top: 60px;
    font-size: 24px;
  }

  .worker-name span {
    font-size: 15px;
    padding-left: 9px;
  }

  .job-title {
    font-size: 18px;
    line-height: 45px;
  }

  .comment {
    font-size: 24px;
  }

  .pr2-container img {
    height: 550px;
    margin-top: 53px;
  }

  footer {
    padding-bottom: 100px;
    margin-top: 102px;
  }

  .inquiry-button {
    width: 314px;
    height: 70px;
    line-height: 70px;
  }

  .contact-buttons {
    justify-content: center;
    gap: 80px;
  }

  .contact-buttons img {
    width: 50px;
    height: 50px;
  }

  .footer-text {
    margin-top: 38px;
  }
}

@media (min-width: 1024px) {
  p {
    font-weight: 700;
  }

  .main-header {
    height: 120px;
  }

  .logo {
    width: 215px;
  }

  .hero-content img {
    height: 720px;
  }

  .hero-text {
    margin-top: 80px;
  }

  .hero-text h1 {
    font-size: 64px;
  }

  .hero-text p {
    margin-top: 48px;
    font-size: 32px;
  }

  .policy1 {
    margin-top: 80px;
  }

  .policy-item img {
    height: 500px;
  }

  .policy1 img {
    object-position: center 50%;
  }

  .policy2 img {
    object-position: center 0%;
  }

  .policy3 img {
    object-position: center 15%;
  }

  .policy-item .overlay p {
    line-height: 150%;
    font-size: 22px;
    padding-right: 30px;
    padding-top: 5%;
  }

  .br {
    display: none;
  }

  .about h2 {
    padding-top: 81.3px;
    padding-left: 92px;
    font-size: 32px;
    font-weight: 700;
  }

  .about-content {
    margin-top: 48.9px;
  }

  .about-content dl {
    padding-left: 96px;
    padding-bottom: 80px;
  }

  .about-content img {
    height: 509px;
    padding-bottom: 100px;
  }

  .worker-card img {
    height: 550px;
    object-position: center 20%;
  }

  .worker-card p {
    margin-left: 92px;
  }

  .worker-name {
    margin-top: 83px;
    font-size: 30px;
  }

  .worker-name span {
    font-size: 20px;
    padding-left: 12px;
  }

  .job-title {
    font-size: 24px;
    line-height: 60px;
  }

  .comment {
    font-size: 32px;
  }

  .pr2-container img {
    height: 700px;
    margin-top: 80px;
  }

  footer {
    margin-top: 156px;
    padding-bottom: 180px;
  }

  .inquiry-button {
    width: 501px;
    height: 100px;
    line-height: 100px;
    font-size: 24px;
  }

  .contact-buttons {
    margin-top: 60px;
    justify-content: center;
    gap: 140px;
  }

  .contact-buttons img {
    width: 70px;
    height: 70px;
  }

  .footer-text {
    margin-top: 60px;
    font-size: 20px;
    font-weight: 500;
  }

  .footer-text p {
    font-weight: 500;
  }
}
