@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  box-sizing: border-box;
}

body,
html {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow", sans-serif;
  font-size: 32px;
}

a {
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

a:hover {
  transform: translateY(10px);
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

.we-are-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 900px;
}

@media screen and (max-width: 860px) {
  .we-are-block {
    height: auto;
  }
}

@media screen and (max-width: 500px) {
  .we-are-block {
 
  }
}

#about-us-section {
  background: #22222A;
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: "Barlow", sans-serif;
  line-height: 30px;
}

@media screen and (max-width: 860px) {
  #about-us-section {
    flex-direction: column;
    justify-content: space-between;
  }
}

.about-us-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
}

.about-us-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 860px) {
  .about-us-image {
    position: relative;
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 747px) {
  .about-us-image {
    height: auto;
  }
}

.about-us-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
  width: 40%;
  height: 80%;
  margin-right: 850px;
  margin-left: 12px;
  z-index: 2;
}

@media screen and (max-width: 1353px) {
  .about-us-info {
    margin-right: 400px;
    width: 60%;
    padding: 0px 25px 0px 0px;
  }
}

@media screen and (max-width: 1238px) {
  .about-us-info {
    margin-right: 340px;
    width: 100%;
  }
}

@media screen and (max-width: 1111px) {
  .about-us-info {
    margin-right: 270px;
  }
}

@media screen and (max-width: 910px) {
  .about-us-info {
    margin-right: 150px;
  }
}

@media screen and (max-width: 860px) {
  .about-us-info {
    margin: 0px !important;
    padding: 0px 20px !important;
    width: 100%;
    height: auto; /* Change height to auto */
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 747px) {
  .about-us-info {
    height: auto;
    padding: 30px 20px !important; /* Adjust padding */
  }
}

.about-us-info h2 {
  color: white;
  font-size: 24pt;
  text-align: right;
  margin-bottom: 10px; line-height: 45px /* Adjust margin */
}

@media screen and (max-width: 860px) {
  .about-us-info h2 {
    text-align: center;
    margin-bottom: 5px; /* Adjust margin for mobile */
  }
}

.about-us-info p {
  color: white;
  font-size: 14pt;
  text-align: right;
  margin-top: 0; /* Remove top margin */
  margin-bottom: 10px; /* Adjust bottom margin */
}

@media screen and (max-width: 860px) {
  .about-us-info p {
    text-align: center;
    margin-bottom: 5px; /* Adjust margin for mobile */
  }
}

.about-us-info a {
  background-color: white;
  color: #0c4c91;
  width: 180px;
  text-align: center;
  padding: 15px 0px;
  font-size: 14pt;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.about-us-info a:hover {
  background: #404140;
  color: white;
}

#history-section {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media screen and (max-width: 860px) {
  #history-section {
    flex-direction: column;
    justify-content: space-between;
  }
}

.history-image {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 820px;
  height: 100%;
  overflow: hidden;
}

.history-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 860px) {
  .history-image {
    position: relative;
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 747px) {
  .history-image {
    height: auto;
  }
}

.history-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  width: 40%;
  height: 80%;
  margin-left: 850px;
  margin-right: 12px;
  z-index: 2;
}

@media screen and (max-width: 1353px) {
  .history-info {
    margin-left: 400px;
    width: 60%;
    background: #ffffff99;
    padding: 0px 0px 0px 25px;
  }
}

@media screen and (max-width: 1238px) {
  .history-info {
    margin-left: 340px;
    width: 100%;
  }
}

@media screen and (max-width: 1111px) {
  .history-info {
    margin-left: 270px;
  }
}

@media screen and (max-width: 910px) {
  .history-info {
    margin-left: 150px;
  }
}

@media screen and (max-width: 860px) {
  .history-info {
    margin: 0px !important;
    padding: 30px 40px !important;
    width: 100%;
    height: auto; /* Change height to auto */
    align-items: center;
  }
}

@media screen and (max-width: 747px) {
  .history-info {
    height: auto;
  }
}

.history-info h2 {
  color: #040404;
  font-size: 26pt;
  text-align: left;
}

@media screen and (max-width: 860px) {
  .history-info h2 {
    text-align: center;
  }
}

.history-info p {
  color: #040404;
  font-size: 14pt;
  text-align: left;
  font-family: "Barlow", sans-serif;
  line-height: 30px;
}

@media screen and (max-width: 860px) {
  .history-info p {
    text-align: center;
  }
}

.history-info a {
  background-color: #040404;
  color: white;
  width: 180px;
  text-align: center;
  padding: 15px 0px;
  font-size: 14pt;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
  margin: 20px 0 0 0;
}

.history-info a:hover {
  background: #404140;
}
