:root {
   --primary-color: #dbfe00;
   --secondary-color: #44355b;
   --complementary-color: #f9b3d1;
   --dark-color: linear-gradient(to bottom, #00264D, #010280);
   --light-color: #fff;
   --background-gradient: linear-gradient(to top, #c471f5 0%, #fa71cd 100%);
}
body {
   margin: 0;
   font-family: "Space Grotesk", sans-serif;
   font-weight: 400;
   overflow: overlay;
   /* Hides the horizontal scroll bar */
   overflow-x: hidden; 
   max-width: 100%; 
}

::-webkit-scrollbar {
   width: 7px;
   background: transparent;
}
::-webkit-scrollbar-thumb {
   background: rgba(49, 38, 62, 0.5);
   border-radius: 7px;
}

h1,
h2,
h3,
h4,
h5,
.dscr {
   margin: 0;
}
h1,
h2,
h3,
h4 {
   font-family: "Unbounded", cursive;
   font-weight: 700;
}
h1 {
   text-transform: uppercase;
   color: transparent;
   background: url(images/text-bg.jpg);
   background-repeat: no-repeat;
   background-clip: text;
   -webkit-font-smoothing: antialiased;
   animation: textclip 25s infinite linear alternate;
}
@keyframes textclip {
   from {
      background-position: 5% 5%;
   }
   to {
      background-position: 100% 50%;
   }
}
h2 {
   font-size: 104px;
   color: var(--light-color);
}
h3 {
   font-size: 74px;
   line-height: 1.3;
   color: var(--complementary-color);
}
h4 {
   font-size: 62px;
   line-height: 1.4;
}
h5 {
   font-size: 30px;
   text-transform: uppercase;
   color: var(--primary-color);
   margin-bottom: 20px;
}

.menu {
   display: flex;
   position: fixed;
   right: 0px;
   top: 20px;
   z-index: 1;
}
.links,
.socials {
   display: flex;
   justify-content: center;
}
.links {
   background: var(--primary-color);
   padding: 34px 60px;
   gap: 60px;
}
.link {
   color: var(--dark-color);
   font-size: 20px;
   text-decoration: none;
   position: relative;
}
.link::before {
   content: "";
   position: absolute;
   display: block;
   width: 100%;
   height: 2px;
   bottom: -4px;
   left: 0;
   background: var(--dark-color);
   transform: scaleX(0);
   transition: transform 0.3s ease;
}
.link:hover::before {
   transform: scaleX(1);
}
.socials {
   background: var(--secondary-color);
   padding: 34px 45px;
   gap: 30px;
}
.soc-link svg:hover path {
   fill: var(--complementary-color);
}
.soc-link svg {
   transition: 0.5s;
}
.soc-link svg:hover {
   transform: rotateY(360deg);
}

.container {
   background: var(--dark-color);
}
.hero {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   height: 100vh;
   user-select: none;
}
.dscr {
   color: var(--light-color);
   font-size: 40px;
}
.play-btn {
   display: none;
   background: transparent;
   border: none;
   color: #fff;
   margin-top: 28px;
   cursor: pointer;
}

#work,
#about {
   padding: 200px 270px;
}
#work,
.about-txt {
   gap: 120px;
}
#work {
    color: var(--light-color);
   background: linear-gradient(
         0deg,
         rgba(50, 4, 253, 0.3) 0%,
         rgba(48, 37, 64, 0.3) 100%
      ),
      url(images/holo-bg.jpg);
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
}
.dscr-txt {
   font-size: 36px;
   line-height: 1.6;
   color: var(--light-color);
}
.gallery {
   display: flex;
   align-items: center;
}
#galleryImg {
   transition: all 0.4s ease-in-out;
   width: 1100px;
}
#galleryImg:hover {
   box-shadow: 15px 15px 0px var(--primary-color);
}
.slider-btn {
   display: flex;
   flex-direction: column;
   gap: 20px;
}
.btn {
   background: transparent;
   border: none;
   margin-left: 30px;
   color: var(--primary-color);
   cursor: pointer;
}

#about {
   color: var(--light-color);
   background: linear-gradient(
         0deg,
         rgba(50, 4, 253, 0.3) 0%,
         rgba(48, 37, 64, 0.3) 100%
      ),
      url(images/holo-bg.jpg);
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
}
.about-txt {
   display: flex;
   justify-content: space-between;
}
hr {
   border: none;
   height: 1px;
   background: var(--light-color);
   opacity: 0.2;
   margin: 50px 0;
}

.banner {
   width: 100%;
   height: 800px;
   background: url(images/bg-mulyadi-a.jpg);
   background-size: 100% 100%;
   background-position: center;
   transition: all 2s ease-in-out;
}
.banner:hover {
   background-size: 105% 105%;
}

footer {
   display: flex;
   flex-direction: column;
   background: var(--dark-color);
   color: var(--light-color);
   font-size: 28px;
   padding: 150px 270px;
}
.email-container {
   margin-bottom: 60px;
}
.email {
   color: var(--light-color);
   font-size: 36px;
   text-decoration: none;
   box-shadow: inset 0 0 0 0 var(--primary-color);
   margin: 0 -8px;
   padding: 0 8px;
   transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.email:hover {
   box-shadow: inset 330px 0 0 0 var(--primary-color);
   color: var(--dark-color);
}
.copyright {
   font-size: 15px;
   margin: 0;
}
.webLink {
   color: var(--primary-color);
   text-decoration: none;
}

@media all and (max-width: 1920px) {
   h1 {
      font-size: 84px;
   }
   h2 {
      font-size: 64px;
   }
   h3 {
      font-size: 58px;
   }
   h4 {
      font-size: 42px;
   }
   h5 {
      font-size: 20px;
   }
   .dscr {
      font-size: 28px;
   }
   #work,
   #about {
      padding: 150px 170px;
   }
   .dscr-txt {
      font-size: 28px;
   }
   #galleryImg {
      width: 860px;
   }
   footer {
      font-size: 21px;
      padding: 100px 170px;
   }
   .email {
      font-size: 32px;
   }
   .email:hover {
      box-shadow: inset 300px 0 0 0 var(--primary-color);
   }
}
@media all and (max-width: 1280px) {
   h1 {
      font-size: 60px;
   }
   h2 {
      font-size: 60px;
   }
   h3 {
      font-size: 42px;
   }
   h4 {
      font-size: 32px;
   }
   h5 {
      font-size: 18px;
   }
   .links {
      padding: 28px 50px;
      gap: 40px;
   }
   .socials {
      padding: 28px 40px;
      gap: 30px;
   }
   #work,
   #about {
      padding: 100px 120px;
   }
   #work,
   .about-txt {
      gap: 90px;
   }
   .dscr-txt {
      font-size: 18px;
   }
   #galleryImg {
      width: 520px;
   }
   .banner {
      height: 500px;
   }
   footer {
      font-size: 18px;
      padding: 80px 120px;
   }
   .email {
      font-size: 28px;
   }
}
@media all and (max-width: 1024px) {
   h1 {
      font-size: 50px;
   }
   h2 {
      font-size: 50px;
   }
   h3 {
      font-size: 32px;
   }
   h4 {
      font-size: 28px;
   }
   h5 {
      font-size: 16px;
   }
   #work,
   #about {
      padding: 80px 70px;
   }
   #work,
   .about-txt {
      gap: 50px;
   }
   #galleryImg {
      width: 420px;
   }
   .banner {
      height: 400px;
   }
   footer {
      font-size: 16px;
      padding: 60px 70px;
   }
   .email {
      font-size: 24px;
   }
}
@media all and (max-width: 912px) {
   h1 {
      font-size: 60px;
   }
   h2 {
      font-size: 60px;
   }
   h3 {
      font-size: 36px;
   }
   h4 {
      font-size: 30px;
   }
   h5 {
      font-size: 20px;
   }
   .hero {
      height: 700px;
   }
   #work,
   .about-txt {
      flex-direction: column;
   }
   #work,
   .about-txt {
      gap: 40px;
   }
   #galleryImg {
      width: 730px;
   }
   .menu {
      display: none;
   }
   .dscr-txt {
      font-size: 24px;
   }
}
@media all and (max-width: 820px) {
   #galleryImg {
      width: 640px;
   }
}
@media all and (max-width: 768px) {
   #galleryImg {
      width: 590px;
   }
   #galleryImg:hover {
   box-shadow: 10px 10px 0px var(--primary-color);
}
 .hero {
      padding-top: 150px;
      padding-left: 6px;
      padding-right: 6px;
      height: 450px;
   }

}
@media all and (max-width: 540px) {
   h1 {
      font-size: 50px;
   }
   h2 {
      font-size: 30px;
   }
   h3 {
      font-size: 30px;
   }
   h4 {
      font-size: 26px;
   }
   h5 {
      font-size: 16px;
   }
   .dscr {
      font-size: 22px;
   }
   .hero {
      padding-top: 150px;
      padding-left: 6px;
      padding-right: 6px;
      height: 450px;
   }
   .dscr-txt {
      font-size: 17px;
   }
   .play-btn {
      display: block;
   }
   #galleryImg {
      width: 410px;
   }
   #work,
   #about {
      padding: 60px 40px;
   }
   #work,
   .about-txt {
      gap: 20px;
   }
   hr {
      margin: 40px 0;
   }
   .banner {
      height: 340px;
   }
   footer {
      padding: 50px 40px;
   }
}
@media all and (max-width: 420px) {
   h1 {
      font-size: 35px;
   }
   h2 {
      font-size: 30px;
   }
   h3 {
      font-size: 26px;
   }
   h4 {
      font-size: 22px;
   }
   .dscr {
      font-size: 17px;
   }
   .hero {
      height: 400px;
   }
   #work,
   #about {
      padding: 40px 20px;
   }
   #galleryImg {
      width: 300px;
   }
   .btn {
      margin-left: 10px;
   }
   .banner {
      height: 260px;
   }
   footer {
      padding: 30px 20px;
   }
}
@media all and (max-width: 360px) {
   #galleryImg {
      width: 270px;
   }
}


.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the screen */
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
}

.next { right: 20px; }
.prev { left: 20px; }

.nav-btn:hover { background: rgba(255, 255, 255, 0.5); }

.info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: white;
    max-width: 600px;
    z-index: 2;
    background-color: #010280;
    padding: 6px; 
    border-radius: 2px;
}


.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 50px; /* Space between items */
  padding: 0px;
  padding-top: 10px;
}

.grid-item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
}

.text-desc {
  padding: 10px;
}

/* Responsive Breakpoint: Stack on small screens */
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr; /* 1 column */
    gap: 20px; /* Space between items */
    padding-top: 20px;

  }
}


.deckled-edge {
   clip-path: polygon(
                0% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 1%, 30% 0%, 35% 2%, 40% 0%, 45% 1%, 50% 0%, 
                55% 2%, 60% 0%, 65% 1%, 70% 0%, 75% 2%, 80% 0%, 85% 1%, 90% 0%, 95% 2%, 100% 0%, 
                99% 5%, 100% 10%, 98% 15%, 100% 20%, 99% 25%, 100% 30%, 98% 35%, 100% 40%, 99% 45%, 100% 50%, 
                98% 55%, 100% 60%, 99% 65%, 100% 70%, 98% 75%, 100% 80%, 99% 85%, 100% 90%, 98% 95%, 100% 100%, 
                95% 99%, 90% 100%, 85% 98%, 80% 100%, 75% 99%, 70% 100%, 65% 98%, 60% 100%, 55% 99%, 50% 100%, 
                45% 98%, 40% 100%, 35% 99%, 30% 100%, 25% 98%, 20% 100%, 15% 99%, 10% 100%, 5% 98%, 0% 100%, 
                1% 95%, 0% 90%, 2% 85%, 0% 80%, 1% 75%, 0% 70%, 2% 65%, 0% 60%, 1% 55%, 0% 50%, 
                2% 45%, 0% 40%, 1% 35%, 0% 30%, 2% 25%, 0% 20%, 1% 15%, 0% 10%, 2% 5%
   );
}
/* Container to fix the hero to viewport */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh; /* 100% of viewport height */
    overflow: hidden;
}

/* Make video cover the entire container */
.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Place behind content */
    object-fit: cover; /* Crucial for responsiveness */
}


button {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border:none;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  outline: none;
}

/* Play icon (triangle) */
button.play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg); /* Rotate for standard play icon */
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff; /* Play icon color */
}

/* Pause icon (two bars) */
button.pause::before,
button.pause::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background-color: #fff; /* Pause icon color */
}

button.pause::before {
  left: calc(50% - 5px);
}

button.pause::after {
  left: calc(50% + 5px);
}

.logo-container {
  /* Set a maximum width for the logo area */
  width: 200px; 
  max-width: 40%; /* Ensures it never takes up more than 40% of the header */
  padding-bottom: 10px;
}

.logo {
  /* This makes the image scale to fit its container */
  display: block;
  width: 100%;
  height: auto; /* Maintains aspect ratio */
}

/* Responsive adjustment for very small screens */
@media (max-width: 480px) {
  .logo-container {
    width: 120px; /* Shrink the logo container on mobile */
  }
}




/* Fullscreen Slider Container */
.sliderx {
  display: flex;
  /*overflow-x: auto;*/
  scroll-snap-type: x mandatory; /* Smooth snapping effect */
  width: 100vw;
  height: 100vh;
}

/* Individual Slide */
.slidex {
  position: relative;
  min-width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
}

/* Make image cover the background */
.slidex img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps aspect ratio while filling screen */
}

/* Description Overlay */
.descriptionx {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 20px;
  border-radius: 0px;
  max-width: 400px;
  backdrop-filter: blur(5px); /* Modern frosted glass effect */
}

.descriptionx h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.logo-grid {
  display: grid;
  /* Creates 2 equal columns */
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; /* Space between logos */
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  height: 150px; /* Consistent height for the grid cells */
}

.logo-item img {
  max-width: 100%;
  max-height: 100%; /* Keeps logos uniform in size */
  height: auto;
  filter: grayscale(0%); /* Brings color back on hover */
}

.logo-item img:hover {
  filter: grayscale(100%); /* Optional: clean professional look */
  transition: filter 0.3s ease;
}

/* Responsive: Stack to 1 column on small mobile screens */
@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  position: relative;
  height: 20vh;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  color: #fff;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: transparent;
  z-index: 0;
  animation: zoom-bg 15s ease-in-out infinite alternate;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7),
    rgba(10, 10, 10, 0.8)
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInDown 1s ease forwards 0.3s;
  opacity: 0;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #ddd;
  font-weight: 400;
  animation: fadeInDown 1s ease forwards 0.5s;
  opacity: 0;
}

.cta-button {
  background: #ff6a00;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease forwards 0.8s;
  opacity: 0;
}

.cta-button:hover {
  background: #ff8533;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom-bg {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 30px;
  }

  .cta-content p {
    font-size: 16px;
  }
}
