* {
  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,
.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);
}

.services {
  position: relative;
  width: 100%;
  height: 135vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #fff;
}
.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}
.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;
}

.hero-bg-title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12vw;
  font-weight: 900;
  z-index: 5;
  margin: 0;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  justify-content: center;
}

.filled-text {
  color: #ffffff;
}

.half-s-start,
.half-s-end {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #ffffff;
  background-clip: text;
  -webkit-background-clip: text;
}

.half-s-start {
  background-image: linear-gradient(90deg, transparent 50%, #ffffff 50%);
}
.half-s-end {
  background-image: linear-gradient(90deg, #ffffff 50%, transparent 50%);
}

.hero-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
  color: #ffffff;
}
.hero-text h2 {
  font-size: 45px;
  letter-spacing: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-text h1 {
  font-size: 80px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cards-services {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}
.cards-container {
  width: 100%;
  max-width: 1200px;
  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%;
  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;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.ind-card {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ind-card:hover {
  transform: translateY(-5px);
}

.card-tab,
.card-bottom-effect {
  display: none;
}

.card-image-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 25px;
  text-align: left;
  background-color: #fff;
  flex-grow: 1;
}
.card-pretitle {
  color: #ff8c00;
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.card-title {
  color: #000;
  font-weight: 900;
  font-size: 28px;
  margin: 5px 0 15px 0;
  text-transform: uppercase;
  line-height: 1.1;
}
.card-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  font-weight: 400;
}

.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;
    margin: 0;
  }
  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;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-bg-title {
    font-size: 18vw;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 50px;
  }
  .hero-text h2 {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .hero-bg-title {
    font-size: 17vw;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .services-header h2 {
    font-size: 40px;
  }

  .cards-services {
    padding: 20px 0;
    overflow: hidden;
    height: auto;
    min-height: auto;
    background-color: #f4f4f4;
  }

  .cards-container {
    width: 100%;
    display: block;
  }

  .cards-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 40px 20px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cards-grid::-webkit-scrollbar {
    display: none;
  }

  .ind-card {
    min-width: 85%;
    max-width: 85%;
    height: 550px;
    scroll-snap-align: center;
    position: relative;
    margin: 0;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    overflow: visible;
  }

  .card-tab {
    display: block;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 35px;
    background-color: #ff8c00;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    z-index: 0;
  }

  .card-bottom-effect {
    display: block;
    position: absolute;
    bottom: -10px;
    left: 20px;
    right: 20px;
    height: 15px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    z-index: -1;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
  }
  .card-bottom-effect::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 15px;
    right: 15px;
    height: 10px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    opacity: 0.5;
  }

  .card-image-box {
    height: 320px;
    width: 100%;
    border-radius: 25px 25px 0 0;
    position: relative;
    z-index: 1;
    background: #fff;
  }

  .card-body {
    padding: 30px 25px;
    text-align: center;
    background: #fff;
    border-radius: 0 0 25px 25px;
    z-index: 2;
  }

  .card-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .card-desc {
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
    align-items: center;
    padding-top: 40px;
  }
  .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;
  }
}
