* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
  color: #333;
  overflow-x: hidden;
}

#main-header {
  position: absolute;
  top: 50px;
  width: 100%;
  z-index: 100;
  padding: 0 20px;
  transition: top 0.3s ease;
}

.mobile-logo {
  display: none;
}
.menu-toggle {
  display: none;
}

.menu-toggle {
  flex-direction: column;
  cursor: pointer;
  z-index: 2000;
  margin-left: auto;
}
.bar {
  width: 30px;
  height: 3px;
  background-color: #ff8c00;
  margin: 4px 0;
  transition: 0.4s;
  border-radius: 2px;
}
.menu-toggle.is-active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: #ff8c00;
  border-bottom: 2px solid #ff8c00;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -5px;
}
h1.logo-top {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}
.logo-line {
  width: 100%;
  max-width: 180px;
  height: 3px;
  background-color: #ff8c00;
  margin: 5px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.logo-bottom {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 4px;
  display: block;
  text-shadow: 0 2px 5px rgba(255, 255, 255, 0.9);
}

.welcome {
  position: relative;
  width: 100%;
  height: 135vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #fff;
}
.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  clip-path: polygon(0% 120px, 20% 0%, 80% 0%, 100% 120px, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(
    0% 120px,
    20% 0%,
    80% 0%,
    100% 120px,
    100% 100%,
    0% 100%
  );
}
.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.9);
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.1)
  );
  pointer-events: none;
}

.warranty {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5%;
}
.warranty .hero-image-container {
  clip-path: none;
  -webkit-clip-path: none;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.warranty .hero-image-container img {
  object-position: 20% center;
  filter: brightness(0.85);
}
.overlay-warranty {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.85) 60%,
    rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
}
.warranty-content {
  position: relative;
  z-index: 10;
  width: auto;
  max-width: 700px;
  padding: 40px;
  color: white;
  text-align: right;
  margin-right: 0;
  padding-top: 150px;
}
.warranty-title {
  position: absolute;
  top: 50px;
  right: 50px;
  text-align: right;
  width: 100%;
}
.warranty-title h2 {
  font-size: 50px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}
.warranty-title p {
  font-size: 24px;
  font-weight: 300;
  margin-top: 5px;
  margin-bottom: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.diagram-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
  margin-right: 60px;
}
.diagram-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.diagram-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}
.d-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}
.d-item span {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.icon-small {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 5px;
  border-radius: 4px;
}
.diagram-connector {
  width: 40px;
  height: 100px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  margin-right: 10px;
  transform: skewX(-20deg);
}
.diagram-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
}
.icon-large {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 10px;
}
.diagram-main span {
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
}

.services {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 80vh;
  padding: 80px 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
}
.services-header h2 {
  font-size: 56px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.services-line {
  flex-grow: 1;
  height: 2px;
  background-color: #333;
}
.carousel-container {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}
.service-card {
  flex: 0 0 calc((100% - 60px) / 3);
  height: 480px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
  clip-path: polygon(
    0% 20px,
    20% 20px,
    25% 0%,
    75% 0%,
    80% 20px,
    100% 20px,
    100% 100%,
    0% 100%
  );
  margin-top: 10px;
}
.service-card:hover {
  transform: translateY(-10px);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.card-title {
  position: absolute;
  bottom: 30px;
  left: 25px;
  z-index: 2;
}
.card-title h3 {
  color: white;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-transform: capitalize;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}
.nav-btn {
  width: 50px;
  height: 50px;
  background-color: #ff8c00;
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn:hover {
  background-color: #e07b00;
  transform: scale(1.05);
}

.tech-solutions {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}
.tech-header {
  text-align: center;
  margin-bottom: 40px;
  z-index: 20;
}
.tech-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: 1px;
}
.tech-header h1 {
  font-size: 64px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}
.tech-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 20;
  padding: 0 20px;
}
.tech-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 40px;
}
.tech-column.left {
  align-items: flex-end;
  text-align: right;
  padding-right: 40px;
}
.tech-column.right {
  align-items: flex-start;
  text-align: left;
  padding-left: 40px;
}
.tech-center-spacer {
  flex: 0 0 400px;
  height: 1px;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 400px;
}
.tech-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 5px 0;
}
.tech-text p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}
.tech-icon-box {
  width: 70px;
  height: 70px;
  background-color: #f1a934;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(241, 169, 52, 0.3);
}
.tech-icon-box img {
  width: 40px;
  height: auto;
  filter: brightness(0) invert(1);
}
.robot-absolute {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80vh;
  max-height: 1200px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  z-index: 10;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}
.tech-bottom-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background-color: #f1a934;
  z-index: 1;
}

.quote {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}
.quote-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  gap: 60px;
}
.quote-content {
  flex: 1;
  max-width: 600px;
}
.quote-content h2 {
  font-size: 64px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  width: fit-content;
  display: block;
}
.stacked-title {
  font-size: 64px;
  font-weight: 900;
  color: #1a1a1a;
  text-transform: uppercase;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1;
  gap: -2px;
}
.stacked-title > span {
  display: block;
  margin: 0;
}
.spread-line {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin: 0;
}
.quote-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
  text-align: justify;
  font-weight: 500;
}
.quote-btn {
  display: inline-block;
  background-color: #546e7a;
  color: white;
  padding: 15px 30px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.quote-btn:hover {
  background-color: #37474f;
}
.quote-visuals {
  flex: 1;
  position: static;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.quote-img-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
}
.quote-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer-end {
  background-color: #ffffff;
  padding: 60px 20px 20px 20px;
  color: #333;
  border-top: 4px solid #ff8c00;
  position: relative;
  z-index: 50;
  font-size: 0.9rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col {
  flex: 1;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-icon {
  width: 50px;
  height: auto;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #1a1a1a;
  text-transform: uppercase;
}
.footer-logo-text .subtitle {
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 14px;
  margin-top: 2px;
}
.footer-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 25px;
  padding: 10px 15px;
  border: 1px solid #ccc;
  display: inline-block;
  min-width: 200px;
}
.footer-info p,
.footer-links li a {
  text-transform: uppercase;
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li a {
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}
.footer-links li a:hover {
  color: #ff8c00;
}
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  #main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #0e0e0e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .mobile-logo {
    display: block;
    width: 40px;
    height: auto;
    z-index: 2001;
  }
  .mobile-logo img {
    width: 100%;
    height: auto;
  }
  .menu-toggle {
    display: flex;
    position: static;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #0e0e0e;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 40px;
    padding-top: 70px;
    transition: 0.5s ease-in-out;
    z-index: 1000;
    gap: 0;
  }
  nav.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }
  nav .logo {
    display: none;
  }

  .nav-links {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    text-align: right;
  }
  .nav-links.left {
    margin-bottom: 40px;
  }
  .nav-links a {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
  }
  .nav-links a:hover {
    border-bottom: 2px solid #ff8c00;
  }

  .warranty {
    padding-right: 5%;
  }
  .diagram-container {
    margin-right: 30px;
  }
  .service-card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
  .tech-header h1 {
    font-size: 48px;
  }
  .tech-center-spacer {
    flex: 0 0 300px;
  }
  .robot-absolute {
    height: 60vh;
  }
  .quote-content h2 {
    font-size: 48px;
  }
  .quote-img-box {
    width: 40%;
  }
}

@media (max-width: 768px) {
  #main-header {
    top: 0;
  }

  .hero-image-container {
    clip-path: polygon(0% 60px, 20% 0%, 80% 0%, 100% 60px, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(
      0% 60px,
      20% 0%,
      80% 0%,
      100% 60px,
      100% 100%,
      0% 100%
    );
  }

  .warranty {
    flex-direction: column;
    justify-content: center;
    padding-right: 0;
  }
  .warranty .hero-image-container {
    clip-path: none;
    -webkit-clip-path: none;
  }
  .warranty-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;
    padding: 40px 20px;
    padding-top: 40px;
  }
  .warranty-title {
    position: relative;
    top: auto;
    right: auto;
    text-align: center;
    margin-bottom: 30px;
    width: auto;
    padding-right: 0;
  }
  .warranty-title h2 {
    font-size: 30px;
  }
  .warranty-title p {
    font-size: 16px;
  }

  .diagram-container {
    margin-right: 0;
  }
  .diagram-group {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
  .diagram-items {
    align-items: end;
    text-align: center;
  }
  .d-item {
    justify-content: center;
  }
  .diagram-connector {
    display: none;
  }

  .services-header {
    flex-direction: column;
    gap: 10px;
  }
  .services-header h2 {
    font-size: 32px;
  }

  .service-card {
    flex: 0 0 280px;
    height: 380px;
    clip-path: none;
    border-radius: 12px;
  }
  .carousel-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
  }
  .service-card {
    scroll-snap-align: center;
  }
  .carousel-nav {
    display: none;
  }

  .tech-header h1 {
    font-size: 36px;
  }

  .tech-container {
    flex-direction: column;
    align-items: flex-end;
    padding-right: 20px;
    width: 100%;
    z-index: 20;
  }

  .tech-center-spacer {
    display: none;
  }

  .tech-column {
    width: 100%;
    padding: 10px 0;
    gap: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .tech-column.left,
  .tech-column.right {
    align-items: flex-end;
    text-align: right;
    padding: 0;
  }

  .tech-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

  .tech-column.left .tech-item {
    flex-direction: row;
    justify-content: flex-end;
  }

  .tech-column.right .tech-item {
    flex-direction: row-reverse;
    justify-content: flex-start;
  }

  .tech-text {
    text-align: right;
  }

  .tech-text h3 {
    margin: 0;
    font-size: 18px;
  }

  .tech-text p {
    display: none;
  }

  .tech-icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .tech-icon-box img {
    width: 30px;
  }

  .robot-absolute {
    position: relative;
    left: -100px;
    transform: none;
    height: 700px;
    width: auto;
    margin-top: -250px;
    order: 10;
    align-self: flex-start;
    z-index: 10;
  }

  .tech-solutions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 0;
  }

  .tech-bottom-bg {
    height: 250px;
  }

  .quote {
    padding: 40px 20px;
    min-height: auto;
  }
  .quote-container {
    flex-direction: column;
    gap: 40px;
  }
  .quote-content {
    text-align: left;
  }
  .quote-content h2 {
    font-size: 36px;
  }
  .quote-content p {
    text-align: justify;
  }
  .quote-visuals {
    position: relative;
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 40px 0;
  }
  .quote-img-box {
    position: relative;
    width: 100%;
    height: 400px;
    right: auto;
    top: auto;
  }
  .stacked-title {
    font-size: 36px;
    width: 100%;
    align-items: center;
    gap: 5px;
  }
  .spread-line {
    justify-content: left;
    gap: 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
    align-items: center;
  }
  .footer-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-left {
    gap: 30px;
  }
  .footer-logo-box {
    flex-direction: column;
  }
  .footer-heading {
    display: block;
    width: 100%;
    text-align: center;
  }
}
