* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Courier New", Courier, monospace;
}
body {
  background-color: #f4f4f5;
  overflow-x: hidden;
  
}

#about-front{
  padding:0 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

}

p{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

#phone {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10000;
  margin: 10px; 
}

#whatsapp {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10000;
  margin: 10px; /* Add some margin for better appearance */
}

#blank-element {
  width: 100vw;
  height: 20vh;
}

#header-for-phone {
  display: none;
}

#header ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #e1e1e4;
  flex-wrap: wrap;
  text-align: center;
  color: rgb(0, 0, 0);
}

#header ul li {
  margin: 10px 50px;
  text-decoration: none;
  list-style: none;
  text-align: center;
}

#header {
  text-align: center;
  position: sticky;
}

#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10000;
}

#navbar ul li {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#navbar ul {
  background-color: #123c69;
  display: flex;
  align-items: center;
  justify-content: space-around;
  list-style: none;
  margin: 0;
}

#navbar ul li a {
  text-decoration: none;
  color: white;
  padding: 20px;
  display: block;
}

.box {
  cursor: pointer;
}

#navbar ul li {
  transition: background-color 0.3s ease;
  border-radius: 20px;
}

#navbar ul li:hover {
  background-color: #ac3b61;
}

.menu-icon {
  background-color: #123c69;
  display: none;
  padding: 0px 2%;
  font-size: 24px;
  cursor: pointer;
  position: sticky;
  top: 10;
}

/* CROUSEL */
.carousel-container {
  width: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel img {
  width: 100%;
  height: auto;
}

/* Set explicit size for carousel navigation buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
/* Crousel ends */

/* Expertise */

#expertise {
  display: flex;
  flex-wrap: wrap;
}

.box-svg {
  width: 100px;
}

.box {
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 17rem;
  width: 17rem;
  margin: auto;
  vertical-align: middle;
  margin-bottom: 2rem;
  border-radius: 5%;
  transition: image 0.3s ease;
  transform: translateY(20%);
  transition: background-image 0.3s ease, height 0.3s ease, width 0.3s,
    margin 0.3s, font-size 0.3s, color 0.3s ease, font-size 0.3s ease;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #000000;
  background-color: #bab2b5;
}

.box:hover {
  height: 19rem;
  width: 19rem;
  margin-bottom: 0rem;
  color: #000000;
}

.box p {
  font-size: 0px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box .box-svg {
  margin: 15px;
}

.box:hover .box-svg {
  width: 0px;
  height: 0px;
}

.box:hover p {
  margin: 15px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 10px;
  padding-top: 2px;
  color: rgb(0, 0, 0);
  font-size: 20px;
  font-weight: 1000;
  padding-bottom: 2px;
  border-radius: 30px;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box:hover h2 {
  font-size: 0px;
}

#map-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

#footer {
  background-color: #bab2b5;
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  padding: 20px 0;
}

#footer-left {
  background-color: #bab2b5;
  float: left;
  display: flex;
  width: 600px;
  height: 450px;
  justify-content: space-around;
  text-align: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}

#footer-left h2 {
  text-align: center;
}
#footer-right {
  background-color: #f4f4f5;
  flex-wrap: wrap;
  width: 600px;
  height: 450px;
}

#services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.service-box {
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 400px;
  height: 400px;
  cursor: pointer;
  border: #bab2b5 3px solid;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-box:hover .service-box-img img {
  transform: scale(1);
  object-fit: cover;
  overflow: hidden;
}



.service-box-img img {
  transition: all 0.3s ease;
  overflow: hidden;
  transform: scale(0.9);

}
.service-box-img {
  overflow: hidden;
  width: 80%;
}

.service-box-text {
  overflow: hidden;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
}

.service-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#last-2 {
  width: 100vw;
  height: 10vh;
  background: linear-gradient(rgba(53, 53, 53), rgba(53, 53, 53));
}

#last {
  width: 100vw;
  height: 40vh;
  color: #e1e1e4;
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(rgba(53, 53, 53), rgba(53, 53, 53));
}

#last h2,
h4 {
  margin: 10px;
}

#last h4 li {
  margin: 0 20px;
}

#last h2 {
  text-decoration: underline;
}

#last h4 li:hover,
#last h4 li:hover a {
  text-decoration: underline;
}

#last h4 li:hover {
  color: #123c69;
}

#last h4 a {
  text-decoration: none;
  color: #e1e1e4;
  list-style: circle;
}

#address-last {
  width: 400px;
  margin: 0 50px;
  margin-left: 5%;
}

#quick-links-last {
  width: 300px;
  margin-right: 5%;
}

#services-last {
  width: 300px;
}

@media (max-width: 768px) {
  /* body{
        max-width: 100vw;
        overflow-x: hidden;
    } */


  .prev, .next{
   font-size: 10px;
   width: 20px;
   height: 20px;
  }
  
  .not{
    display: none;
    width: 0;
    height: 0;
  }

  #header-for-phone {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 9%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #123c69;
  }

  #header-for-phone h1 {
    color: #e9e5e5;
    font-size: 35px;
  }

  #navbar {
    z-index: 1001;
  }


  #navbar ul {
    flex-direction: column;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #123c69;
    display: none;
  }

  .menu-icon {
    display: block;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    position: fixed;
  }

  #navbar ul.show {
    z-index: 1000;
    display: flex;
  }

  #navbar ul li {
    z-index: 1000;
    text-align: center;
    padding: 15px;
    width: 100%;
  }

  #navbar img {
    z-index: 1000;
    width: 100px;
  }

  .menu-icon img {
    z-index: 1000;
    margin-top: 5px;
    width: 40px;
    font-size: 40px;
  }

  #header {
    display: none;
  }

  #footer-left {
    width: 100vw;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  #footer-right {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .service-box {
    width: 95vw;
    margin: 20px 0px;
  }

  .service-box:hover .service-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: none; /* Disable transition on mobile */
  }

  #address-last {
    width: 100vw;
    height: 30vh;
    margin: 0;
  }

  #quick-links-last {
    width: 100vw;
    margin: 0;
    height: 30vh;
  }

  #services-last {
    width: 100vw;
    margin: 0;
    height: 30vh;
  }

}
@media (max-width: 768px) {
  #last {
    height: auto; /* Remove fixed height for smaller screens */
    padding: 20px; /* Add padding for better spacing */
    display: flex;
    flex-direction: column; /* Change to column layout on smaller screens */
  }

  #address-last,
  #quick-links-last,
  #services-last {
    width: 100%; /* Make the sections full width on smaller screens */
    margin: 10px 0; /* Add some margin for better spacing */
  }
  li{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
  }

}
#last{
  height: 100%;
}

#services-last {
  margin-left: 5%; 
}


#navbar.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  animation: fadeInDown 0.5s ease-in-out;
}
#about-front{
  padding: 0 2rem;
}

@keyframes fadeInDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

p{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

#last-links{
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(rgba(53, 53, 53), rgba(53, 53, 53)); */
  gap: 1rem;
}
