@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    filter: blur(0px)
  }
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}
.slider {
  background: transparent;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  /* width: 960px; */
}
.slider::before, .slider::after {
  background: linear-gradient(to right, #ffffff 0%, #ffffff00 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
          animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}
.slider .slide {
  height: 100px;
  width: 250px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px); /* Moves it down 30px */
  transition: all 0.8s ease-out; /* The 'ease' transition */
}

/* This class will be added by JavaScript when the element is visible */
.reveal.active {
  opacity: 1;
  transform: translateY(0); /* Moves it back to its original spot */
}



::-webkit-scrollbar{
  display: none;
  -ms-overflow-style: none; 
  scrollbar-width: none;
}

html {
  scroll-behavior: smooth;
}


body{
  /* background-color: #1D201F; */
  font-family: Figtree;
  margin: 0;
  /* overflow: hidden; */
  background-color: white;
  animation: fadeInPage .5s ease-in-out;
}

.hero{
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("/asset/bg2.jpg");

  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 100dvh;
}

.about{
  background-color: #ffffff;
  padding-block: 2vh;
  padding-inline: 4vw;
  min-height: 85.5dvh;
}


.services{
background-color: #ffffff;
  padding-block: 2vh;
  padding-inline: 4vw;
  min-height: 85.5dvh;

}


.top{
  position: fixed; 
  padding-block: 3vh;
  padding-inline: 4vw;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out; /* Smooth transition */
}


.top2{
padding-block: 2vh;
  padding-inline: 4vw;
  display: flex; justify-content: space-between;
  color: #1D201F;
}

.home{
  display: flex;
  padding-block: 2vh;
  padding-inline: 4vw;
}



/* New class to be applied when scrolled */
#header.scrolled {
    background-color: #FFFFFF; /* New color when scrolled */
    

}

#header.scrolled a{
  background-color: transparent;

  color: #1c6afb;
}

#content {
  color: #1D201F;
    /* height: 2000px; */
}

.menu-toggle {
  display: none;
}

.logo{
  max-width: 2rem;
  max-height: 2rem;
}

.nav-links a{
  padding-left: 2vw; padding-right: 2vw;
  text-decoration: none;
  /* color: #1c6afb; */
    color: #FFFFFF;
}

@media (max-width: 768px) {
  #header {
    flex-wrap: wrap;
    background-color: #FFFFFF;
  }

  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    /* padding-left: 2vw; padding-right: 2vw; */
    
  }

.nav-links a{
  /* padding-left: 2vw; padding-right: 2vw; */
  text-decoration: none;
    padding-left: 0; padding-right: 0;
    color: #1c6afb;
}

/* 
  .top{
  position: fixed; 
  padding-block: 3vh;
  padding-inline: 4vw;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out; 
} */

  .nav-links.active {
    display: flex;
    color: #1c6afb;
  }

}
