* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Monserrat', sans-serif;
}

/* ------------------ */
.div1 {
  background-color: #000000;
  color: white;
  padding: 50px 20px;
}

.contdiv1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  min-height: 550px;
  margin: 0 auto;
  gap: 30px;
}

.hdtdiv1 {
  flex: 1 1 500px;
}

.hdtdiv1 h1 {
  background-color: white;
  color: #000366;
  font-size: 24px;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 0;
  display: inline-block;
}

.hdtdiv1 p {
  font-size: 18px;
  line-height: 1.6;
}

.di1vimg {
  display: flex;
  justify-content: center;
}

.di1vimg img {
  width: 100%;
  max-width: 400px; 
  object-fit: cover;
  border: 7px solid #feca02; 
}

/* ------------------- */
.div2 {
  background-color: #ffffff;
  color: #000000;
  font-weight: 500;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.contdiv2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ms, .vs {
  flex: 1 1 350px;
  padding: 60px;
}

.ms h1, .vs h1 {
  background-color: #feca02;
  color: white;
  padding: 10px;
  font-size: 20px;
  border-radius: 0;
  margin-bottom: 30px;
  text-align: center;
}

.ms p, .vs p {
  font-size: 17px;
  line-height: 1.6;
}

/* ------------------ */
.div3 {
  background-color: #8B8982;
  color: white;
  min-height: 550px;
  padding: 60px 20px;
}

.cont3 {
  max-width: 1200px;
  margin: 0 auto;
}

.ttl h1 {
  background-color: white;
  color: #000000;
  font-size: 22px;
  padding: 10px 20px;
  margin-bottom: 30px;
  border-radius: 0;
  display: inline-block;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contimgtx {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  min-height: 50vh;
}

.img3 {
  flex: 1 1 350px;
  background-color: #feca02;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.img3 img {
  width: 100%;
  max-width: 300px;
  object-fit: cover;
}

.txt3 {
  flex: 1 1 400px;
  font-size: 18px;
  line-height: 1.6;
}

/* ------------------- */
@media (max-width: 768px) {
  .contdiv1,
  .contdiv2,
  .contimgtx {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hdtdiv1 h1,
  .ms h1,
  .vs h1,
  .ttl h1 {
    font-size: 20px;
  }

  .hdtdiv1,
  .di1vimg,
  .ms,
  .vs,
  .img3,
  .txt3 {
    width: 100%;
  }

  .div2 {
    min-height: auto;
    padding: 40px 20px;
    flex-direction: column;
  }

  .di1vimg img,
  .img3 img {
    max-width: 90%;
  }
}
