* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #ededed;
}

::-webkit-scrollbar-thumb {
  background: #f5ce33;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000051;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-in {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-title {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInFromLeft 0.8s ease-out 0.6s forwards;
}

.hero-button {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInFromLeft 0.8s ease-out 1s forwards;
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #f5ce33;
  color: #000051;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #000051;
  color: #f5ce33;
  transform: scale(1.1);
}

.side-padding {
  padding-left: 5%;
  padding-right: 5%;
}

.home {
  width: 100%;
  min-height: 100vh;
  background-image: url("images/Aetos-Banner.webp");
  background-size: cover;
  background-position: center center;
}

.nav-container {
  height: 60px;
  display: flex;
  background-color: black;
  flex-direction: row;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
  padding: 0 25px;
  z-index: 1000;
}

.logo {
  font-size: 1.5em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #ededed;
  z-index: 1001;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hamburger.active {
  background: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #f5ce33;
  transition: 0.3s;
}

.nav {
  max-width: 1920px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav ul {
  max-width: 836px;
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 0;
  padding: 0 40px;
  background-color: #f5ce33;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.nav ul li {
  list-style: none;
}

.nav ul li a {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000051;
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #ededed 50%, #000051 50%);
  background-size: 200% 100%;
  background-position: right;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.3s ease;
}

.nav ul li a:hover {
  background-position: left;
}

.enterprises {
  color: #f5ce33;
}

.hero-container {
  max-width: 1920px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hero {
  max-width: 464px;
  width: 100%;
  min-height: 439px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-btn {
  position: relative;
  width: 180px;
  height: 60px;
  padding: 15px 30px;
  font-size: 1.125em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  background-color: #f5ce33;
  color: #000051;
  border: solid 3px #ededed;
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 400%;
  border-radius: 50%;
  background: #ededed;
  background-size: 200% 200%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition:
    width 0.5s ease,
    height 0.5s ease;
  animation: rotateBackground 3s linear infinite;
  z-index: -1;
}

.contact-btn:hover::before {
  width: 300px;
  height: 300px;
}

.contact-btn:hover {
  color: #121212;
}

@keyframes rotateBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero h1 {
  font-size: 4.625em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #ededed;
}

.hero p {
  font-size: 1.5em;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  padding: 0;
  margin: 0;
  color: #ededed;
}

/* #################################################
#################################################

                    SERVICES

#################################################
################################################# */

.about-us {
  max-width: 1920px;
  width: 100%;
  min-height: 1760px;
  margin: 0;
  padding: 0;
  background-color: #ededed;
}

.about-container {
  max-width: 1648px;
  width: 100%;
  min-height: 1480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 3.75vw;
  box-sizing: border-box;
}

.about-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap-reverse;
}

.about-img-box {
  position: relative;
  margin-bottom: 2em;
}

.yellow-square {
  position: absolute;
  bottom: -55px;
  left: -35px;
  width: 80px;
  height: 80px;
  background-color: #f5ce33;
  border: solid 10px #ededed;
}

.top-left {
  max-width: 550px;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-left img {
  max-width: 500px;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.top-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.right-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px;
  margin: 0;
  color: #f5ce33;
}

.about-mini {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-mini img {
  width: 250px;
  height: 200px;
  object-fit: contain;
}

.about-us p {
  font-size: 1.2rem;
  font-weight: 300;
  padding: 0;
  margin: 0;
  color: #000051;
}

.war-text {
  max-width: 800px;
}

.abt-text {
  max-width: 500px;
}

.about-us h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000000;
}

.about-bottom {
  max-width: 100%;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2em;
}

.bottom-column {
  max-width: 100%;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
}

.bottom-text {
  max-width: 500px;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.bottom-image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}

.about-bottom h4 {
  font-size: 2em;
  color: #000051;
  font-family: "Roboto", sans-serif;
}

.mini-text {
  margin: 0 auto;
  width: 250px;
}

.about-bottom h5 {
  font-size: 82px;
  font-family: "Poppins", sans-serif;
  color: #f5ce33;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

/* #################################################
#################################################

                    SERVICES

#################################################
################################################# */

.services {
  max-width: 1920px;
  width: 100%;
  padding-top: 3em;
  padding-bottom: 2em;
  position: relative;
  /* padding: 5.3vw; */
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/banner-construction.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(0.4);
  z-index: -1;
}

.services-container {
  max-width: 1640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin: 0 auto;
}

.services-content {
  max-width: 1640px;
  width: 100%;
  min-height: 900px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.services-container h3 {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  color: #ededed;
}

.service-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
}

.service-box {
  max-width: 400px;
  width: 100%;
  height: 250px;
  background-color: #ededed;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.service-box:hover {
  background-color: #f5ce33;
  transform: scale(1.05);
}

.service-box h5 {
  font-size: 1.125em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  padding: 0;
  margin: 0;
  color: #000051;
}

.view-more-btn {
  width: 164px;
  height: 42px;
  background-color: #f5ce33;
  color: #000051;
  border: 1px solid #000051;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-box:hover .view-more-btn {
  background-color: white;
}

.portfolio {
  background-color: #ededed;
  padding-bottom: 3em;
  padding-top: 3em;
}

.portfolio h2 {
  text-align: center;
  font-size: 2.5em;
  color: #000051;
  margin-bottom: 0.5em;
}

.portfolio h3 {
  text-align: center;
  font-size: 1.5em;
  color: #000051;
  margin-bottom: 2em;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 1.5em;
}

.portfolio-content h4 {
  font-size: 1.3em;
  color: #000051;
  margin-bottom: 0.5em;
}

.portfolio-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1em;
}

.portfolio-stats {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.stat {
  background-color: #f5ce33;
  color: #000051;
  padding: 0.3em 0.8em;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 600;
}

.clients {
  background-color: #ededed;
  padding-bottom: 3em;
  padding-top: 3em;
}

.carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.cards-track {
  display: flex;
  gap: 1rem;
  animation: scroll-horizontal 25s linear infinite;
  width: max-content;
}

.card5 {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card5 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* #################################################
#################################################

                    CONTACT SECTION

#################################################
################################################# */

.contact-section {
  max-width: 1920px;
  width: 100%;
  min-height: 505px;
  margin: auto;
  background-color: #121212;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-content {
  max-width: 1160px;
  width: 100%;
  height: 371px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contact-form {
  max-width: 606px;
  width: 100%;
  min-height: 371px;
  margin: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

input::placeholder {
  color: #3b3b3b;
}

.name {
  max-width: 344px;
  width: 100%;
  height: 40px;
  border-radius: 25px 0 0 25px;
  border: none;
}

.number {
  max-width: 344px;
  width: 100%;
  height: 40px;
  border-radius: 0 25px 25px 0;
  border: none;
}

textarea {
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  background-color: #fff;
  padding: 20px;
  color: #333;
  outline: none;
}

textarea::placeholder {
  color: #3b3b3b;
}

input {
  flex: 1;
  height: 40px;
  padding: 15px;
}

textarea {
  height: 231px;
  resize: none;
}

.send {
  background-color: #f5ce33;
  color: #000;
  border: none;
  font-size: 22px;
  font-family: "Poppins", sans-serif;
  width: 150px;
  height: 50px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-end;
}

.contact-details {
  width: 207px;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-icons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 150px;
  height: 32px;
  margin: auto;
  padding: 0;
}

.social-icons a {
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons a:hover .fa-whatsapp {
  color: #25d366 !important;
}

.social-icons a:hover .fa-facebook {
  color: #1877f2 !important;
}

.social-icons a:hover .fa-phone {
  color: #ededed !important;
}

.address {
  margin: auto;
  color: #ededed;
  font-size: 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

.google-link {
  width: 100%;
  height: 47px;
  border-radius: 20px;
  background-color: #000;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.footer {
  max-width: 1920px;
  width: 100%;
  height: 66px;
  background-color: #3b3b3b;
  color: #ededed;
  font-size: 18px;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tos {
  color: #f5ce33;
}

.layman {
  color: cyan;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* #################################################
#################################################

                    MEDIA QUERRYS

#################################################
################################################# */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: black;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 300px;
  }

  .nav ul {
    flex-direction: column;
    height: auto;
    clip-path: none;
    background-color: black;
    padding: 20px;
    max-width: 100%;
  }

  .nav ul li {
    width: 100%;
    padding: 15px 0;
  }

  .nav.active ul li a {
    background: #ededed;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .top-left {
    max-width: 100%;
    min-height: 400px;
  }

  .contact-content {
    flex-direction: column;
    height: auto;
    gap: 2em;
    padding: 2em;
  }

  .contact-form {
    max-width: 100%;
    height: auto;
  }

  .contact-details {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .top-left {
    min-height: 300px;
  }

  .form-row {
    flex-direction: column;
  }

  .name,
  .number {
    max-width: 100%;
    border-radius: 25px;
  }

  .contact-section h2 {
    font-size: 1.5em;
  }

  .address {
    font-size: 16px;
  }

  .send {
    font-size: 18px;
    width: 120px;
    height: 45px;
  }

  .footer {
    font-size: 14px;
    padding: 0 1em;
    text-align: center;
  }
}
