@font-face {
  font-family: Gilroy;
  src: url(./Gilroy-Medium.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Gilroy;
  width: 100%;
  background-color: #ffffff;
  overflow-x: hidden;
}


section {
  height: 100%;
  width: 100%;
  position: relative;
  background: #ffffff;
}


nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 69px;
}

.part2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

/* Hamburger - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

nav h1 {
  font-size: 3rem;
}

nav h4 {
  font-size: 1.3rem;
  font-weight: 800;
}

nav button {
  padding: 15px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  border: 1px solid #000;
  background: transparent;
}

nav h1 i {
  display: inline-block;
  rotate: 45deg;
  margin-right: 8px;
}


.center {
  padding: 80px;
  height: 80%;
  width: 100%;
  display: flex;

}

.center-part1 {
  height: 100%;
  width: 35%;
  margin-left: 100px;
}

.center-part2 {
  height: 100%;
  width: 56%;
  position: relative;
}

.center-part1 h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-family: monospace;

}

.center-part1 p {
  font-size: 1.5rem;
  font-weight: 400;
  width: 95%;
  margin-top: 20px;
  margin-bottom: 25px;
}

.center-part1 button {
  background-color: black;
  color: #fff;
  border-radius: 10px;
  padding: 22px 40px;
  font-size: 0.8rem;
  border: none;
  font-weight: 600;

}


.center-part2 img {
  height: 100%;
  position: absolute;
  right: 0;
}


.section1bottom {
  overflow: hidden;
  width: 100%;
  padding: 50px 0 30px;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-track img {
  height: 40px;
  flex-shrink: 0;
  margin-bottom: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.section2 {
  margin-bottom: 100px;
}


.section2 .services {
  margin-top: 180px;
  padding: 40px 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
}

.services h3 {
  background-color: #B9FF66;
  font-weight: 500;
  padding: 8px 10px;
  font-family: monospace;
  border-radius: 5px;
  font-size: 30px;
}

.services p {
  width: 40%;
  font-size: 20px;
  font-weight: 400;
}



.container {
  height: 80%;
  width: 100%;
  padding: 40px 120px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 30px;
}


.elem {
  flex-shrink: 0;
  height: 250px;
  width: 47%;
  border: 2px solid black;
  border-radius: 20px;
  background-color: red;
  box-shadow: 0px 20px 0px black;
  margin-bottom: 20px;
  padding: 50px;
  display: flex;
}


.elem-part1 {
  height: 100%;
  width: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
}


.elem-part2 {
  height: 100%;
  width: 50%;
}

.elem-part2 img {
  height: 100%;
}

.elem-part1 h2 {
  background-color: #B9FF66;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: monospace;
  width: 65%;
  padding: 0px 5px;
  border-radius: 10px;
}

.elem-part1 h4 {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 900;
  width: 65%;
  gap: 10px;
}

.elem-part1 h4 i {
  padding: 10px;
  background-color: black;
  color: #ffff;
  border-radius: 50%;
}

.first {
  background-color: white;
}

.second {
  background-color: rgb(0, 0, 0);
}


.second .elem-part1 h4 i {
  padding: 10px;
  background-color: rgb(255, 252, 252);
  color: #111;
  border-radius: 50%;
}

.second .elem-part1 h4 {
  color: #fbf8f8;
}

.second .elem-part1 h2 {
  background-color: #fbfbfb;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: monospace;
  width: 65%;
  padding: 0px 5px;
  border-radius: 10px;
}


.section3 {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  padding: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section3 h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section3 p {
  width: 50%;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
}

.section3 button {
  padding: 15px 25px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}


/* ===========================
   TABLET BREAKPOINT (1024px)
   =========================== */
@media (max-width: 1024px) {
  nav {
    padding: 30px 40px;
  }

  .center {
    padding: 40px;
  }

  .center-part1 {
    margin-left: 40px;
    width: 45%;
  }

  .center-part2 {
    width: 50%;
  }

  .section1bottom {
    padding: 20px 0;
  }

  .section2 .services {
    padding: 30px 40px;
    margin-top: 100px;
  }

  .container {
    padding: 30px 40px;
  }

  .section3 {
    padding: 60px 40px;
  }
}


/* ===========================
   MOBILE BREAKPOINT (768px)
   =========================== */
@media (max-width: 768px) {

  /* --- Navigation --- */
  nav {
    padding: 20px 24px;
    position: relative;
  }

  section {
    height: auto !important;
    overflow: visible;
  }

  .section2 {
    height: auto !important;
    overflow: visible;
  }

  .container {
    height: auto !important;
    overflow: visible;
  }

  nav h1 {
    font-size: 1.8rem;
  }

  .hamburger {
    display: flex;
  }

  .part2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .part2.active {
    right: 0;
  }

  nav h4 {
    font-size: 1.4rem;
  }

  nav button {
    padding: 12px 18px;
    font-size: 1rem;
  }


  /* --- Hero Section --- */
  .center {
    flex-direction: column;
    padding: 30px 24px;
    height: auto;
    gap: 30px;
  }

  .center-part1 {
    width: 100%;
    margin-left: 0;
  }

  .center-part1 h1 {
    font-size: 2rem;
  }

  .center-part1 p {
    font-size: 1rem;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .center-part1 button {
    padding: 16px 30px;
    font-size: 0.85rem;
  }

  .center-part2 {
    width: 100%;
    height: 250px;
  }

  .center-part2 img {
    position: relative;
    right: auto;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
  }


  /* --- Logo Strip --- */
  .section1bottom {
    padding: 15px 0;
  }

  .marquee-track {
    gap: 40px;
    animation-duration: 14s;
  }

  .marquee-track img {
    height: 25px;
  }


  /* --- Services Header --- */
  .section2 {
    margin-bottom: 40px;
    height: auto !important;
  }

  .section2 .services {
    margin-top: 60px;
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .services h3 {
    font-size: 22px;
  }

  .services p {
    width: 100%;
    font-size: 15px;
  }


  /* --- Service Cards --- */
  .container {
    padding: 20px 24px;
    flex-direction: column;
    gap: 40px;
    height: auto !important;
  }

  .elem {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 24px;
    margin-bottom: 10px;
    box-shadow: 0px 12px 0px black;
    flex-direction: column;
    gap: 15px;
  }

  .elem-part1 {
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
  }

  .elem-part1 h2 {
    font-size: 1.1rem;
    width: 100%;
  }

  .elem-part1 h4 {
    width: 100%;
    font-size: 0.9rem;
    margin-top: 4px;
  }

  .elem-part2 {
    width: 100% !important;
    height: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .elem-part2 img {
    height: auto !important;
    max-height: 120px;
    width: auto;
    object-fit: contain;
  }


  /* --- About Section --- */
  .section3 {
    padding: 50px 24px;
  }

  .section3 h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .section3 p {
    width: 90%;
    font-size: 1rem;
  }

  .section3 button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}


/* ===========================
   SMALL MOBILE (480px)
   =========================== */
@media (max-width: 480px) {
  nav {
    padding: 16px 16px;
  }

  nav h1 {
    font-size: 1.4rem;
  }

  .part2 {
    width: 80%;
  }

  .center {
    padding: 20px 16px;
  }

  .center-part1 h1 {
    font-size: 1.6rem;
  }

  .center-part1 p {
    font-size: 0.9rem;
  }

  .center-part1 button {
    padding: 14px 24px;
    font-size: 0.8rem;
  }

  .center-part2 {
    height: 180px;
  }

  .section1bottom {
    padding: 10px 0;
  }

  .marquee-track img {
    height: 18px;
  }

  .section2 .services {
    padding: 15px 16px;
    margin-top: 30px;
  }

  .services h3 {
    font-size: 18px;
  }

  .services p {
    font-size: 14px;
  }

  .container {
    padding: 15px 16px;
    gap: 24px;
  }

  .elem {
    padding: 20px;
    min-height: 160px;
    flex-direction: column;
    gap: 15px;
  }

  .elem-part1 {
    width: 100%;
    gap: 10px;
  }

  .elem-part2 {
    width: 100%;
    height: 120px;
  }

  .elem-part2 img {
    height: 100%;
    max-height: 120px;
  }

  .section3 {
    padding: 30px 16px;
  }

  .section3 h2 {
    font-size: 1.3rem;
  }

  .section3 p {
    width: 100%;
    font-size: 0.9rem;
  }
}