* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section2 .btn,
button .btn {
  width: 150px;
  height: 50px;
  background-color: #2f73f2;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
}
.section2 .btn:hover,
button.btn:hover {
  background-color: #ffffff;
  color: #2f73f2;
  border: 1px solid #2f73f2;
  transition: 0.3s;
  scale: 1.11;
  cursor: pointer;
}
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}
.active {
  opacity: 1;
  transform: translateY(0);
}
:root {
  --main-color: #effbff;
  --Secondary-color: #2f73f2;
}
body {
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  z-index: 5;
  position: relative;
}
.main-image {
  position: absolute;
  z-index: -1;
  margin-top: 100px;
  width: 100%;

}
header div {
  margin: 30px 10px 10px;
  height: 70px;
  width: 1134px;
  display: flex;
  gap: 10px;
  position: relative;
}

header div div {
  height: 37px;
  width: 207px;
}

header div img {
  height: 37px;
  width: 43.1px;
}

header div span {
  font-size: 40px;
  height: 37px;
  width: auto;
  display: flex;
  align-items: center;
}

header ul {
  list-style: none;
  color: black;
  display: flex;
  margin: 12px;
  gap: 62px;
}

header ul li a {
  text-decoration: none;
  color: black;
  font-size: 17px;
}

i.fa-bars-staggered {
  display: none;
  position: absolute;
  left: 25px;
  font-size: 25px;
  bottom: 37px;
  cursor: pointer;
  z-index: 10;
}

header a button {
  width: 114px;
  height: 48px;
  background-color: var(--Secondary-color);
  border-radius: 4px;
  outline: none;
  border: 0;
  position: absolute;
  right: -20px;
  top: -2.5px;
  color: #ffffff;
}

.section1 {
  position: relative;
  top: 100px;
  width: 100%;
  height: 700px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.section1 h1 {
  font-size: 69px;
  margin-bottom: 16px;
}

.p1-section1 {
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 450px;
  line-height: 1.5;
}

.section1 .Home-link {
  font-size: 20px;
}

.section1 .Home-link a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.section1 .Home-link a:hover {
  color: #00a3ff;
  transition: 0.3s;
}
.section2 {
  width: 100%;
  margin-top: 90px;
  height: 600px;
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-content: center;
  justify-content: center;
  align-items: center;
  justify-items: center;
}
.section2 h1 {
  font-size: 45px;
  padding: 15px;
  margin-left: -45%;
}
.section2 p {
  font-size: 15px;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: -40%;
  padding-top: 5%;
  opacity: 0.8;
}

.section2 .btn {
  margin-left: -41%;
  margin-top: 10%;
}
.container1 .btn {
  margin-left: 200%;
  margin-top: -18%;
  color: white;
}

.section3 {
  width: 100%;
  height: 500px;
  background-color: #effbff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
}
.section3 .history {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  left: 35%;
  position: absolute;
}
.section3 .history div {
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 235px;
}
.section3 .history div img {
  border-radius: 7px;
  bottom: 0px;
  position: absolute;
  width: 100%;
  left: 0;
}
.section3 .history div h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #2f73f2;
}
.section3 .history div p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.section3 .main-h1 {
  left: 10%;
  position: absolute;
  font-size: 35px;
  top: 26%;
}
.section3 .main-p {
  left: 10%;
  position: absolute;
  bottom: 40%;
  opacity: 0.6;
}
.section3 .history div:hover {
  transform: scale(1.05);
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.section4 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 3%;
}
.info .main--p {
  padding: 20px;
  margin-left: -18px;
  line-height: 1.8;
  opacity: 0.5;
}
.section4 .details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
.section4 .details div {
  display: flex;
  align-items: center;
}
.section4 .details div p {
  font-size: 15px;
    margin-left: 10px;
    opacity: 0.7;
    margin-bottom: 10px;
}
.section4 {
  position: relative;
}
.section4 .square {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: #2f73f2;
  border-radius: 10px;
  top: 11%;
  left: 35%;
  z-index: 1;
}
.section4 .square h1 {
  color: white;
  font-size: 65px;
  padding: 20px;
}
.section4 .square p {
  color: white;
  font-size: 13px;
  padding: 20px;
  margin-top: -25%;
  margin-left: 6px;
}
.section5 {
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 3%;
  background: black;
  color: white;
}
.section5 div {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section5 img {
  width: 26%;
  position: absolute;
  left: 10%;
  border-radius: 50% 50%;
  height: 82%;
}
.section5 h1 {
  position: absolute;
  font-size: 50px;
  left: -3%;
  bottom: 90%;
}
.text-2 {
  left: 46%;
  position: absolute;
  margin-top: 85px;
}
.section5 .secp {
  margin-left: -10%;
  padding: 57px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  header div {
    width: 95%;
  }
  .section3 .history {
    left: 30%;
  }
  .section4 .square {
    left: 35%;
  }
  .section5 img {
    left: 10%;
  }
  .section5 .secp {
    padding: 30px;
  }

}

@media (max-width: 1024px) {
  .section1 h1 {
    font-size: 50px;
  }
  .section2 h1,
  .section2 p {
    margin-left: 0;
    text-align: center;
  }
  .section2 .btn {
    margin-left: 0;
  }
  .section3 {
    height: auto;
    padding: 100px 0;
  }
  .section3 .history {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
  }
  .section3 .main-h1,
  .section3 .main-p {
    position: static;
    text-align: center;
    padding: 0 20px;
  }
  .section4 {
    flex-direction: column;
    padding: 50px 20px;
  }
  .section4 .square {
    position: relative;
    margin: 30px auto;
    top: 0;
    left: 0;
  }
  .section4 .info,
  .section4 .details {
    width: 100%;
    text-align: center;
  }
  .section4 .details {
    grid-template-columns: 1fr;
  }
  .section5 {
    flex-direction: column;
    height: auto;
    padding: 50px 20px;
  }
  .section5 div {
    width: 100%;
    position: relative;
  }
  .section5 img {
    position: relative;
    left: 0;
    width: 300px;
    height: 300px;
    margin-bottom: 30px;
  }
  .section5 h1,
  .text-2,
  .section5 .secp {
    position: relative;
    left: 0;
    bottom: 0;
    text-align: center;
    margin: 20px 0;
    padding: 0;
  }
 

}

@media (max-width: 768px) {
  header ul,
  header a button {
    display: none;
  }
  i.fa-bars-staggered {
    display: block;
  }
  .section1 h1 {
    font-size: 36px;
  }
  .section2 {
    height: auto;
    padding: 50px 20px;
  }
  .section2 h1 {
    font-size: 36px;
  }
  .section3 .history {
    grid-template-columns: 1fr;
  }
  .section5 h1 {
    font-size: 36px;
  }
  form input {
    width: 100%;
    margin-right: 0;
  }
  form .left {
    margin-left: 0;
  }
  form textarea {
    width: calc(100% - 62px);
    position: relative;
    left: 0;
  }
  form button {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .section1 {
    height: 400px;
  }
  .section1 h1 {
    font-size: 28px;
  }
  .section2 h1 {
    font-size: 28px;
  }
  .section3 .history div {
    height: auto;
    padding-bottom: 180px;
  }
  .section4 .square {
    width: 120px;
    height: 120px;
  }
  .section4 .square h1 {
    font-size: 50px;
    padding: 15px 0 0 15px;
  }
  .section4 .square p {
    font-size: 11px;
    padding: 15px;
    margin-top: -30%;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9;
  padding: 100px 20px 20px;
  flex-direction: column;
  align-items: center;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
}
.mobile-menu ul li {
  margin: 20px 0;
}
.mobile-menu ul li a {
  text-decoration: none;
  color: black;
  font-size: 20px;
}
.mobile-menu button {
  width: 150px;
  height: 50px;
  background-color: var(--Secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  margin-top: 20px;
}
.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
}
.final{
  top: 14%;
}