/* --------- Global --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "General Sans";
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-behavior: smooth;
  background-color: black;
}

#main {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

/* --------- Background Video --------- */
.back-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  pointer-events: none;
}

.bg-img {
  background-image: url("bg_main.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

#videoOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  pointer-events: none;
}

#second_part {
  background-image: url("IMG_5551.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  color: #fff;
  font-weight: bold;
}
#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 40px;
  color: #fff;
  font-weight: bold;
}
#nav a {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 5px black;
}
#herofooter a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  margin-left: 30px;
}

/* --------- Heading --------- */
#heading {
  margin-top: 90px;
}
#heading h1 {
  margin-left: 30px;
  line-height: 1;
  font-size: 9vw;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0.9;
  text-shadow: 2px 2px 5px black;
  color: rgb(0, 255, 72);
  font-family: "BBH Sans Bogle", sans-serif;
}
#chhotiheadings {
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-right: 30px;
}

#heading .blocktext {
  width: 50%;
  margin-left: 233px;
}
.blocktext {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: fit-content;
}
.blocktext h5 {
  text-transform: uppercase;
  font-size: 15px;
  text-align: right;
}

/* --------- Sections --------- */
#second {
  padding: 100px 10vw 0 0;
  width: 100%;
  color: white;
}
.elem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 3.5vw 3vw;
  padding-right: 0;
  border-top: 1px solid #888;
  position: relative;
}
.elem h1 {
  font-size: 7.6vw;
  opacity: 0.7;
  text-transform: uppercase;
  color: white;
}
#second .elem a {
  text-decoration: none;
}
.elem img {
  opacity: 0;
  pointer-events: none;
  height: 300px;
  width: 300px;
  z-index: 999;
  position: absolute;
  transform: translate(-50%, -50%);
}

/* --------- About Section --------- */
#about {
  display: flex;
  align-items: center;
  gap: 50px;
  color: white;
  width: 100%;
  padding: 10vw 10vw;
  padding-left: 30vw;
  background-color: black;
}
#textabout {
  width: 25rem;
}
#textabout h5 {
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}
#textabout p {
  line-height: 1.7;
  margin-bottom: 30px;
}
#about img {
  width: 200px;
}
#textabout a {
  padding: 12px 22px;
  color: white;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 100px;
  font-size: 12px;
}

/* --------- Subscribe --------- */
#subscribe {
  color: #fff;
  padding: 20px 30px;
  padding-bottom: 7vw;
  background-color: black;
}
#subscribe h5 {
  text-transform: uppercase;
  opacity: 0.6;
}
#subscribe h3 {
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 10px;
  color: white;
}
#subscribe a {
  text-decoration: none;
}

/* --------- Footer --------- */
#footer {
  background-color: black;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 30px;
  flex-wrap: wrap;
}
#footerleft {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
#footerright {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
#footer a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

/* --------- Video Section --------- */
.video-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}
.video-card {
  background: #1a1a1a;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 30%;
  min-width: 280px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* --------- Media Queries: Mobile --------- */
@media (max-width: 768px) {
  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }
/* second */
#second {
  padding: 30px;
}
  /* Hero */
  #hero {
    height: auto;
    padding: 20px 10px;
    text-align: center;
    width: 100%;
  }
  #heading h1 {
    font-size: 12vw;
    margin-left: 0;
  }
  #heading .blocktext {
    width: 100%;
    margin-left: 0;
    align-items: center;
  }

  /* Nav */
  #nav {
    padding: 15px 20px;
    justify-content: flex-start;
  }
  #nav a {
    position: absolute;
    top: 10px;
    left: 20px;
    color: white;
    font-size: 14px;
  }
  #nav h4 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 14px;
    color: #fff;
  }

  /* Cursor */
  #minicircle {
    display: none;
  }

  /* About */
  #about {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 10vw 5vw;
    text-align: center;
    padding-left: 5vw;
  }
  #textabout {
    width: 100%;
  }
  #about img {
    width: 150px;
  }

  /* Video Section */
  .video-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 15px;
  }
  .video-card {
    width: 90%;
    height: 250px;
  }

  /* Footer */
  #footer {
    flex-direction: row;
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    width: 100%;
  }
  #footerleft,
  #footerright {
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }
  #footerright a {
    font-size: 12px;
  }

  /* Back video & overlay fix */
  .back-video,
  #videoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
  }
  #videoOverlay {
    z-index: -1;
  }
}


/* Main container for horizontal scroll */
.video-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
}

/* Each video item */
.video-item {
  flex: 0 0 80%; /* width of each video, adjust if needed */
  scroll-snap-align: center;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}



/* Video style */
.video-item video {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 15px;
}

/* Optional scrollbar style (for better user indication) */
.video-slider::-webkit-scrollbar {
  height: 6px;
}
.video-slider::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
}
.video-slider::-webkit-scrollbar-track {
  background: transparent;
}

/* Background overlay & video fix */
.back-video,
#videoOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
}
#videoOverlay {
  z-index: -1;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .video-item {
    flex: 0 0 90%;
  }
  .video-item video {
    height: 50vh;
  }
  #video-slider {
    padding: 10px;
  }
}
