* {
  margin: 0%;
  padding: 0%;

  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

html,
body {
  overflow-x: hidden;

  scroll-behavior: smooth;
}

.Home {
  overflow: hidden;
  width: 100%;
  height: 700px;
  position: relative;
}

.slider {
  display: flex;
  width: calc(200%);
  height: 100%;
  animation: scroll 50s linear infinite;
}

.slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.nav-bars {
  width: 100%;
  height: auto;
  position: absolute;
  top: 20px;
  z-index: 10;
  color: white;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 30px;
  color: white;
  font-family: Arial, sans-serif;
  border-radius: 20px;
  animation: slideInDown 0.6s ease-out forwards;
}

@keyframes slideInDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo-text {
  width: fit-content;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.logo-text img {
  width: 60px;
  height: 60px;
  border-radius: 50px;
}

.logo-text p {
  font-size: 30px;
  font-weight: bold;
  font-style: italic;
}

ul {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
li a {
  text-decoration: none;
  color: inherit;
}

.linkaad {
  text-decoration: none;
  color: inherit;
}
ul li {
  list-style: none;
  font-size: 16px;
  transition: color 0.3s ease;
  cursor: pointer;
}

nav ul li:hover {
  color: #d73f25;
}

nav > p {
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 10px;

  border: 2px solid #d73f25;
  border-radius: 3px;
}

nav > p:hover {
  color: #d73f25;
  border-color: #d73f25;
  background-color: rgba(236, 90, 90, 0.1);
}

.hero-section {
  width: 100%;
  height: 200px;
  position: absolute;
  top: 250px;

  z-index: 10;
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.hero-section-Header {
  font-size: 50px;
  font-weight: bold;
  animation: slideInLeft 0.8s ease-out forwards;
}

.hero-section-ptext {
  font-size: 20px;
  font-weight: bold;
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-section-Button {
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 10px;

  border: 2px solid #d73f25;
  border-radius: 3px;
  animation: slideInLeft 1.2s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-section-Button:hover {
  color: #d73f25;
  border-color: #d73f25;
  background-color: rgba(219, 62, 9, 0.1);
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes rotateLeftRight {
  0% {
    transform: rotate(-20deg);
  }
  50% {
    transform: rotate(20deg);
  }
  100% {
    transform: rotate(-20deg);
  }
}
.About-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.About-us-first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 20px;
}

.About-us-first-child h2 {
  font-size: 42px;
  font-weight: bold;
  color: black;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
}

.About-us-first-child p {
  font-size: 18px;
  color: #d73f25;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
}

.About-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 40px 20px;

  flex-wrap: wrap;
}

.container1,
.container2 {
  flex: 1 1 450px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.About-text,
.About-text2,
.About-text2b {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.About-text {
  font-weight: bold;
}

.container1 img,
.container2 img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.about-two {
  width: 100%;
  max-width: 550px;
  height: 260px;
  margin-top: 40px;
  object-fit: cover;
  border-radius: 20px;
}

ul,
ol {
  padding-left: 20px;
  margin: 0;
}

li {
  margin-bottom: 10px;
}

.Our-Services {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
  padding: 50px;

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.Our-Services-first-child {
  width: fit-content;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 10px;
  padding: 20px;
}

.Our-Services-first-child h2 {
  font-size: 42px;
}

.Our-Services-first-child p {
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
  font-size: 18px;
  color: #d73f25;
  font-weight: bold;
}

.Our-Services-Second-child {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 20px;
}

.header-and-linep {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  gap: 15px;
  padding: 25px;
}

.header-and-line {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.header-and-line h3 {
  font-size: 18px;
  font-weight: bold;
}

.header-and-line > div {
  width: 100px;
  height: 2px;
  background-color: #d73f25;
}

.header-and-linep p {
  font-size: 16px;
}

.images-with-overlays {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.image-with-overlay {
  position: relative;
  width: 360px;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
}

.image-with-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 0;
  height: 40%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.overlay-text h4 {
  margin: 5px 0;
  font-size: 16px;
}

.overlay-text p {
  margin: 0;
  font-size: 14px;
}

.team {
  width: 100%;
  height: auto;
}

.the-teams {
  display: flex;
  width: 100%;

  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

.the-teams1 {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.the-teams1 img {
  width: 250px;
  height: 250px;

  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgb(116, 108, 108);
}

.the-teams1 h5 {
  font-size: 24px;
  font-weight: bold;
}

.the-teams1 p {
  font-size: 16px;
  font-weight: lighter;
  font-style: italic;
  text-align: center;
}

.Contact {
  width: 100%;
  display: flex;
  flex-direction: column;

  font-family: Arial, sans-serif;
}

.map-container {
  position: relative;
  width: 100%;
  height: 35vh;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.add-mail-tel {
  width: 100%;
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
  color: #333;
  display: flex;
}

.add-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
  flex-direction: column;
}

.address-and-icon {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.add-container h6 {
  font-size: 18px;
  margin-bottom: 8px;
}

.add-container p {
  font-size: 15px;
  margin: 0;
  color: #555;
}

.add-container a {
  color: black;
  text-decoration: none;
}

.add-container a:hover {
  color: #555;
}

.footer-section {
  width: 100%;
  height: 80vh;
  background-color: rgb(45, 43, 43);
  flex-direction: column;
  justify-content: center;
  align-items: center;

  display: flex;
  padding: 40px;
  color: white;
}

.footer-words {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  display: flex;
  margin-top: 80px;
}
.footer-words h6 {
  font-size: 24px;
  font-weight: bold;
}

.footer-words p {
  font-size: 16px;
}
.socials {
  width: 100%;
  height: 20vh;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 40px;
}

.socials img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.line2a {
  width: 90%;
  height: 1px;
  background-color: #d73f25;
}

.cc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cc h6 {
  font-weight: lighter;
  color: white;
}

.cc p {
  color: #d73f25;
}

@media (max-width: 768px) {
  .home {
    height: 500px;
  }
  .slider {
    animation-duration: 30s;
  }

  .nav-bars {
    top: 10px;
    right: 20px;
    height: 120px;
    width: 90%;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: none;
    padding: 7px 15px;
  }

  .logo-text img {
    width: 45px;
    height: 45px;
  }

  .logo-text p {
    font-size: 20px;
  }

  ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
  }

  ul li {
    font-size: 12px;
    padding: 8px 0;
  }

  nav > p {
    font-size: 12px;
    width: fit-content;
    padding: 8px;
    display: block;
    margin: 10px auto;
  }

  .hero-section-Header {
    font-size: 40px;
    font-weight: bold;
  }

  .About-image {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .About-us-first-child h2 {
    font-size: 28px;
  }

  .About-us-first-child p {
    font-size: 16px;
  }

  .container1,
  .container2 {
    max-width: 100%;
  }

  .Our-Services {
    padding: 30px 15px;
  }

  .Our-Services-first-child {
    height: auto;
    padding: 10px;
  }

  .Our-Services-first-child h2 {
    font-size: 28px;
    text-align: center;
  }

  .Our-Services-first-child p {
    font-size: 16px;
    text-align: center;
  }

  .header-and-linep {
    padding: 15px;
    align-items: center;
    text-align: center;
  }

  .header-and-line {
    flex-direction: column;
    gap: 5px;
  }

  .header-and-line h3 {
    font-size: 16px;
  }

  .header-and-line > div {
    width: 60px;
  }

  .header-and-linep p {
    font-size: 14px;
  }

  .images-with-overlays {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .image-with-overlay {
    width: 100%;
    max-width: 350px;
    height: 220px;
  }

  .overlay-text {
    font-size: 14px;
    padding: 8px;
  }

  .overlay-text h4 {
    font-size: 14px;
  }

  .overlay-text p {
    font-size: 12px;
  }

  .the-teams {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .the-teams1 img {
    width: 180px;
    height: 180px;
    border: 4px solid rgb(116, 108, 108);
  }

  .the-teams1 h5 {
    font-size: 20px;
    text-align: center;
  }

  .the-teams1 p {
    font-size: 14px;
    padding: 0 10px;
  }

  .add-mail-tel {
    flex-direction: column;
    padding: 20px 10px;
  }

  .add-container {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .address-and-icon {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-section {
    padding: 20px;
    height: auto;
  }

  .footer-words {
    gap: 20px;
    margin-top: 40px;
    padding: 0 10px;
  }

  .footer-words h6 {
    font-size: 20px;
    text-align: center;
  }

  .footer-words p {
    font-size: 14px;
    text-align: center;
  }

  .socials {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    height: auto;
    padding: 20px 0;
  }

  .socials img {
    width: 24px;
    height: 24px;
  }

  .cc {
    gap: 5px;
    margin-top: 20px;
    text-align: center;
  }

  .cc h6 {
    font-size: 14px;
  }

  .cc p {
    font-size: 13px;
  }

  .line2a {
    width: 100%;
    height: 1px;
    margin: 20px 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .home {
    height: 600px;
  }

  .slider {
    animation-duration: 35s;
  }

  .nav-bars {
    top: 15px;
    right: 25px;
    height: 130px;
    width: 95%;
  }

  .nav {
    padding: 10px 25px;
  }

  .logo-text img {
    width: 55px;
    height: 55px;
  }

  .logo-text p {
    font-size: 24px;
  }

  ul {
    gap: 50px;
  }

  ul li {
    font-size: 14px;
  }

  nav > p {
    font-size: 14px;
    padding: 10px;
    margin: 10px auto;
  }

  .hero-section-Header {
    font-size: 48px;
  }

  .About-image {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    padding: 30px;
  }

  .About-us-first-child h2 {
    font-size: 34px;
  }

  .About-us-first-child p {
    font-size: 17px;
  }

  .container1,
  .container2 {
    max-width: 48%;
  }

  .Our-Services {
    padding: 40px 30px;
  }

  .Our-Services-first-child {
    height: auto;
    padding: 20px;
  }

  .Our-Services-first-child h2 {
    font-size: 32px;
    text-align: center;
  }

  .Our-Services-first-child p {
    font-size: 17px;
    text-align: center;
  }

  .header-and-linep {
    padding: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .header-and-line {
    flex-direction: row;
    gap: 10px;
  }

  .header-and-line h3 {
    font-size: 17px;
  }

  .header-and-line > div {
    width: 80px;
  }

  .header-and-linep p {
    font-size: 15px;
  }

  .images-with-overlays {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }

  .image-with-overlay {
    width: 45%;
    height: 240px;
  }

  .overlay-text {
    font-size: 15px;
    padding: 10px;
  }

  .overlay-text h4 {
    font-size: 15px;
  }

  .overlay-text p {
    font-size: 13px;
  }

  .the-teams {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px 30px;
  }

  .the-teams1 img {
    width: 200px;
    height: 200px;
  }

  .the-teams1 h5 {
    font-size: 22px;
    text-align: center;
  }

  .the-teams1 p {
    font-size: 15px;
    padding: 0 15px;
  }

  .add-mail-tel {
    flex-direction: row;
    padding: 30px 20px;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .add-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
  }

  .address-and-icon {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-section {
    padding: 30px;
    height: auto;
  }

  .footer-words {
    gap: 30px;
    margin-top: 50px;
    padding: 0 20px;
  }

  .footer-words h6 {
    font-size: 22px;
    text-align: center;
  }

  .footer-words p {
    font-size: 15px;
    text-align: center;
  }

  .socials {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    height: auto;
    padding: 20px 0;
  }

  .socials img {
    width: 28px;
    height: 28px;
  }

  .cc {
    gap: 8px;
    margin-top: 25px;
    text-align: center;
  }

  .cc h6 {
    font-size: 15px;
  }

  .cc p {
    font-size: 14px;
  }

  .line2a {
    width: 95%;
    height: 1px;
    margin: 20px auto;
  }
}

@media (max-width: 479px) {
  .home {
    height: 450px;
  }

  .slider {
    animation: none;
  }
  .nav-bars {
    top: 5px;
    right: 10px;
    width: 95%;
    height: 100px;
  }

  .nav {
    flex-direction: column;
    padding: 2px 10px;

    background-color: white;
    color: black;
  }

  .logo-text img {
    width: 35px;
    height: 35px;
  }

  .logo-text p {
    font-size: 18px;
  }

  ul {
    flex-direction: row;
    gap: 10px;
  }

  ul li {
    font-size: 11px;
    padding: 5px 0;
  }

  nav > p {
    font-size: 11px;
    padding: 6px;
    margin: 8px auto;
  }

  .hero-section-Header {
    font-size: 30px;
    text-align: center;
  }

  .About-image {
    flex-direction: column;
    gap: 30px;
    padding: 20px 10px;
  }

  .About-us-first-child h2 {
    font-size: 24px;
  }

  .About-us-first-child p {
    font-size: 14px;
  }

  .Our-Services {
    padding: 20px 10px;
  }

  .Our-Services-first-child h2 {
    font-size: 24px;
  }

  .Our-Services-first-child p {
    font-size: 14px;
  }

  .header-and-linep {
    padding: 10px;
    text-align: center;
  }

  .header-and-line {
    flex-direction: column;
    gap: 5px;
  }

  .header-and-line h3 {
    font-size: 15px;
  }

  .header-and-line > div {
    width: 50px;
  }

  .images-with-overlays {
    flex-direction: column;
    gap: 15px;
  }

  .image-with-overlay {
    width: 100%;
    height: 200px;
  }

  .overlay-text h4 {
    font-size: 13px;
  }

  .overlay-text p {
    font-size: 11px;
  }

  .the-teams {
    flex-direction: column;
    gap: 20px;
  }

  .the-teams1 img {
    width: 150px;
    height: 150px;
  }

  .the-teams1 h5 {
    font-size: 18px;
  }

  .the-teams1 p {
    font-size: 13px;
  }

  .add-mail-tel {
    flex-direction: column;
    padding: 15px;
  }

  .add-container {
    flex-direction: column;
    gap: 15px;
  }

  .address-and-icon {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-section {
    padding: 20px;
  }

  .footer-words h6 {
    font-size: 20px;
  }

  .footer-words p {
    font-size: 13px;
  }

  .socials {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
  }

  .socials img {
    width: 22px;
    height: 22px;
  }

  .cc {
    gap: 5px;
  }

  .cc h6 {
    font-size: 13px;
  }

  .cc p {
    font-size: 12px;
  }

  .line2a {
    width: 100%;
    height: 1px;
    margin: 15px 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #d73f25;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
