body {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
a {
  display: block;
  text-decoration: none;
  margin: 0px;
  padding: 0px;
}
/*the first button*/
.a1 {
  position: relative;
  background: linear-gradient(to right, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 400%;
  border-radius: 0px;

  width: 250px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
  color: #fff;
  font-size: 12px;
}
.a1:hover {
  animation: a 8s linear Infinite;
}
.a1:before {
  content: "";
  background: linear-gradient(to right, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 400%;
  position: absolute;
  top: -5px;
  right: -5px;
  left: -5px;
  bottom: -5px;
  z-index: -1;
  border-radius: 0px;
  filter: blur(20px);
  opacity: 0;
  transition: 0.5s;
}
.a1:hover:before {
  opacity: 1;
  filter: blur(20px);
  animation: a 8s linear Infinite;
}
@keyframes a {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}

/*the fifth button*/
.a5 {
  overflow: hidden;
  position: relative;

  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 0px;
  transition: all 0.5s ease;
}
.a5:before {
  content: "";
  position: absolute;
  background: linear-gradient(to right, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 400%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 100%;
  height: 0%;
  transition: all 0.6s ease;
  z-index: -1;
  border-radius: 0px;
}
.a5:after {
  content: "";
  background: linear-gradient(to right, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 400%;
  position: absolute;
  top: -5px;
  right: -5px;
  left: -5px;
  bottom: -5px;
  z-index: -1;
  border-radius: 0px;
  filter: blur(20px);
  opacity: 0;
  transition: 0.5s;
}
.a5:hover {
  border: 1px solid transparent;
}
.a5:hover:before {
  height: 300%;
  animation: a 8s linear Infinite;
}
.a5:hover:after {
  opacity: 1;
  filter: blur(20px);
  animation: a 8s linear Infinite;
}

@media (max-width: 600px) {
  .mobile-hide-img {
    display: none;
  }
}
.tab-width {
  width: 80%;
}

/* Adjust styles for mobile screens */
@media (max-width: 600px) {
  .header-text {
    font-size: 3rem !important;
  }

  .sub-text {
    font-size: 1rem; /* Adjust the font size as needed */
  }

  .nav-links {
    flex-direction: column; /* Stack nav items vertically */
    gap: 1rem; /* Add some space between the nav items */
  }

  /* Ensure buttons are full width and stack without overlapping */
  .button {
    display: block; /* Ensure buttons are block-level so they stack */
    width: 100%; /* Full width */
    margin-top: 0.5em; /* Add space on the top of buttons */
    margin-bottom: 0.5em; /* Add space on the bottom of buttons */
    box-sizing: border-box; /* Include padding and border */
  }

  /* Make sure the button text does not overflow */
  .button-text {
    white-space: normal; /* Allow text wrapping */
    overflow: hidden; /* Hide text that overflows */
    text-overflow: ellipsis; /* Add an ellipsis to text that overflows */
  }
  .serive-mb {
    margin-bottom: 20px !important;
  }
}
.serive-mb {
  margin-bottom: 72px;
}
.title {
  font-size: 3rem;
  line-height: 1;
}
.margin-l {
  margin-left: 6rem;
}
.text-small {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.small-image {
  width: 500px;
  height: 300px;
}
.case-text {
  font-size: 1.5rem;
  line-height: 2rem;
}
.no-style {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps the text color the same as surrounding text */
}
@media (max-width: 600px) {
  /* Assuming 'title' is the class for your "ABOUT" heading */
  .title {
    font-size: 30px;
  }

  .small-map {
    width: 200px;
    height: 200px;
  }
  .margin-l {
    margin-left: 0rem;
  }
  .text-small {
    font-size: 10px;
  }
  .small-image {
    height: 200px;
    width: 300px;
  }
  .case-text {
    font-size: 12px;
  }
  .small-about {
    margin-left: 4px;
    padding-left: 12px;
    padding-bottom: 40px;
  }
  .small-header {
    padding-left: 48px;
  }
  .small-advantage {
    padding-left: 0px;
  }
  .small-part {
    padding-left: 72px;
  }
  .small-copyright {
    font-size: 8px;
  }
  .small-service {
    padding-left: 70px;
  }
  .small-tab {
    padding-left: 48px;
  }
  .small-case-title {
    text-align: center;
  }
  .large-map {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .about-text {
    font-size: 16px !important;
  }
}
.about-text {
  font-size: 20px;
}
.large-map {
  padding-left: 16px;
  padding-right: 16px;
}
.serive-bg {
  background-color: #ebeef0;
}
.merriweather-regular-italic {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: italic;
}

.eb-garamond-800 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.eb-garamond-400 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.header-text {
  font-size: 100px; /* 128px */
  line-height: 1;
}

.adv-small {
  font-size: 16px;
  line-height: 1.75rem;
}
