* {
  margin: 0%;
  padding: 0%;
}
html,
body {
  height: 100%;
  width: 100%;
  font-family: "Jost";
  color: white;
  background-color: #191919;
  scroll-behavior: smooth;
}

/* ----- NAVBAR ----- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #33333300;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
  /* background-color: aqua; */
  /* width: calc(100vw / 3); */
  width: 20vw;
  height: 100%;
}
.logo > img {
  /* position: absolute; */
  width: 12vw;
  height: auto;
}

.menu {
  width: 80vw;
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
  /* background-color: red; */
}
.nav-part-3 {
  display: flex;
  width: 20vw;
  height: 10px;
  /* background-color: purple; */
}
.menu li {
  margin: 0 1.5rem;
}

.menu a {
  color: #fff;
  font-size: 1.65vw;
  text-decoration: none;
  transition: all ease 0.25s;
}

#menu-items {
  transition: all ease 0.35s;
}
#menu-items:hover {
  transform: scale(1.2);
}

.menu-button {
  display: none; /* Initially hide the menu button */
}

.menu-items {
  display: none; /* Initially hide the menu items */
  position: absolute;
  width: 40vw;
  top: 60px; /* Adjust the top position based on your design */
  right: 0;
  background-color: #191919;
  padding: 2rem;
  border: 1px solid white;
  border-radius: 20px;
}

.menu-items a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: background-color 0.3s;
}

.menu-items a:hover {
  background-color: #00b9de;
}

@media (max-width: 768px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #33333300;
    color: #fff;
  }

  .logo {
    display: flex;
    align-items: center;
    width: 50%;
    height: 100%;
  }

  .logo > img {
    width: 20vw;
    height: auto;
  }
  .menu-button {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }
  .menu {
    display: none;
  }

  .menu-button:hover .menu-items {
    display: block;
  }
}

/* ------------------------- MAIN SECTION ------------------------- */
#main {
  position: relative;
  overflow: hidden;
  flex: 1;
}

/* ------------------------- START | PAGE - 1 -------------------------*/
#bg-page-1 {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
#bg-video {
  z-index: 0;
  padding: 0;
  width: 110%;
  height: 110%;
  align-items: center;
  left: 10;
  transform: translateX(-5%);
  /* position: relative; */
}

#page-1 {
  z-index: 2;
  width: 100%;
  height: 100vh;
  background-color: #19191942;
  backdrop-filter: blur(100px);
}
#p1-rotated-text {
  position: absolute;
  top: 25%;
  right: 0%;
  margin: 0px 40px;
  /* rotate: -90deg; */
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: right top;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  width: 25%;
  height: auto;
}

#p1-sec-1 {
  width: 100%;
  /* background-color: aqua; */
  align-items: center;
  text-align: center;
  color: white;
  margin: 0;
}
#p1-sec-1 > h1 {
  /* font-size: 48px; */
  margin-bottom: 0px;
}

#p1-sec-1 > h3 {
  margin-top: -5px;
  color: rgba(255, 255, 255, 0.65);
}

#p1-sec-2 {
  /* background-color: aqua; */
  width: 100%;
  height: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#profilepic-and-buttons {
  /* background-color: purple; */
  width: 100%;
  height: 48%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
#profile-picture {
  width: 18vw;
  height: auto;
}
#responsive-profile-picture {
  display: none;
}

#social-icons {
  display: flex;
  width: 33.3%;
  height: auto;
  justify-content: center;
  flex-direction: column;
}
#responsive-social-icons {
  display: none;
}

#social-icons-img {
  padding-left: 50px;
  width: 25%;
  height: auto;
}

#vertical-text {
  display: flex;
  align-items: center;
  width: 33.3%;
}
#vertical-text > h4 {
  position: absolute;
  rotate: -90deg;
  right: 0;
  /* font-size: 24px; */
  padding-right: 2%;
  font-style: italic;
  text-decoration: underline;
  color: white;
  transform: translateY(70px);
}
#responsive-buttons {
  display: none;
}

#p1-sec-3 {
  /* background-color: red; */
  color: white;
  z-index: 20;
  text-align: right;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 500px;
  left: calc(50% - 500px / 2);
  overflow: hidden;
  position: absolute;
}

#p1-sec-3 > h3 {
  position: absolute;
  /* font-size: 32px; */
  top: 100px;
  left: 50%; /* Align the left at 50% */
  transform: translateX(-50%);
}

/* ------------------------- PAGE - 1 | Responsiveness -------------------------*/
/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #bg-page-1 {
    width: 100vw;
    /* min-height: 150vh; */
  }

  #bg-video {
    width: 110%;
    /* min-height: 120vh;
    height: auto; */
  }

  #page-1 {
    backdrop-filter: blur(100px);
    min-height: 100vh;
    /* height: auto; */
    margin-bottom: 20vh;
  }

  #menu-toggle {
    width: 34px;
    height: 34px;
  }

  #responsive-profile-picture {
    display: none;
  }
  #p1-rotated-text {
    display: none;
  }
  #p1-sec-2 {
    /* background-color: aqua; */
    width: 100%;
    height: 40%;
  }

  #profilepic-and-buttons {
    /* background-color: purple; */
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
  }
  #profile-picture {
    width: 25%;
    height: auto;
  }

  #social-icons {
    display: none;
  }

  #responsive-social-icons {
    display: flex;
    width: 100%;
    position: absolute;
    justify-content: center;
    margin: 0 0px;
    bottom: 5%;
  }
  #responsive-social-icons > * {
    margin: 0% 4% 0% 4%;
  }
  #social-icons-img {
    padding-left: 0px;
    width: 50px;
    height: auto;
  }

  #vertical-text {
    display: none;
  }
}
/* For screens smaller than 480px (phones) */
@media (max-width: 480px) {
  #bg-page-1 {
    /* position: absolute; */
    /* width: auto; */
    height: 80vh;
    /* overflow: hidden; */
  }
  #bg-video {
    width: 110%;
    height: 100%;
    align-items: center;
    /* left: 10; */
    /* transform: translateX(-5%); */
    /* position: relative; */
  }

  #page-1 {
    z-index: 2;
    width: 100%;
    min-height: 80vh;
    margin-bottom: 10vh;
    background-color: #19191942;
    backdrop-filter: blur(100px);
  }
  #menu-toggle {
    width: 32px;
    height: 32px;
  }
  #p1-sec-1 {
    /* max-width: 100vw; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* padding: 0 20px 0 20px; */
    /* height: auto; */
    /* background-color: aqua; */

    text-align: center;
    color: white;
    margin: 0;
  }
  #p1-sec-1 > h1 {
    /* background-color:#191919; */
    margin: 0 6% 0 6%;
  }

  #p1-sec-1 > h3 {
    margin-top: -5px;
    color: rgba(255, 255, 255, 0.65);
  }
  #p1-sec-2 {
    display: none;
  }

  #p1-sec-3 {
    height: 50px;
    width: 500px;
  }

  #responsive-profile-picture {
    /* text-align: center; */
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 8% 0%;
    /* background-color: red; */
  }

  #responsive-profile-picture > img {
    width: 30%;
    height: 30%;
  }

  #social-icons {
    display: none;
  }

  #responsive-social-icons {
    display: flex;
    /* background-color: red; */
    width: 100%;
    position: absolute;
    justify-content: space-evenly;
    bottom: 10%;
  }
  #social-icons-img {
    padding-left: 0px;
    width: 50px;
    height: auto;
  }

  #vertical-text {
    display: none;
  }

  #responsive-buttons {
    /* position: absolute; */
    display: flex;
    justify-content: space-evenly;
    margin: 6rem 0 0 0;
    padding: 0;
  }
}
/* ------------------------- END | PAGE - 1 -------------------------*/

/* ------------------------- START | PAGE - 2 -------------------------*/
#page-2 {
  position: relative;
  background-color: #191919;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#page-2 > img {
  position: absolute;
  /* height: auto; */
  z-index: 0;
}
#page-2 > img:nth-child(1) {
  right: 0vw;
  top: 0vh;
  /* background-color: #00b9de; */
  width: 60vw;
}


#page-2 > img:nth-child(2) {
  left: -25vw;
  width: 60vw;
}
/* Torus Dark Metallic */
#page-2 > img:nth-child(3) {
  right: 0vw;
  top: 0%;
  pointer-events: none;
  /* background-color: #00b9de; */
  transform: translate(0vh, -50%);
  opacity: 100%;
  width: 35%;
  height: auto;
}

#page-2 > h2 {
  z-index: 1;
  padding: 0% 5%;
  width: 80%;
}
#page-2 > p {
  z-index: 1;
  width: 80%;
  padding: 0% 12% 0% 12%;
  text-align: justify;
}

/* ------------------------- PAGE - 2 Responsiveness ------------------------- */
@media (max-width: 768px) {
  #page-2 {
    height: 75vh;
    background-image: url("./static/page-2-bg-1-mobile.png");
    background-position: top center;
    /* background-color: #00b9de; */
  }
  #page-2 > img:nth-child(3) {
    top: 50%;
    transform: translate(0vh, -50%);
  }
  #page-2 > p {
    width: 80%;
    padding: 0% 12% 10vh 12%;
    text-align: justify;
  }
}

@media (max-width: 480px) {
  #page-2 {
    min-height: 100vh;
    height: auto;
    background-image: url("./static/page-2-bg-1-mobile.png");
    background-position: top center;
    /* background-color: #00b9de; */
    padding: 0rem 0;
  }
  #page-2 > img:nth-child(3) {
    top: 50%;
    transform: translate(0vh, -50%);
  }
  #page-2 > p {
    width: 80%;
    padding: 0% 12% 10vh 12%;
    text-align: justify;
  }
}

/* ------------------------- END | PAGE - 2 -------------------------*/

/* ------------------------- START | PAGE - 3 -------------------------*/
#page-3 {
  position: relative;
  height: 215vh;
  max-width: 100vw;
  /* background-color: aqua; */
  align-items: center;
  justify-content: center;
  /* z-index: 30; */
  display: flex;
}
#p3-main-sec-border {
  position: relative;
  /* margin: 10%; */
  /* min-height: 100%; */
  height: auto;
  width: 80vw;
  max-width: 1600px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5px 3px 3.5px 3px;
  background: linear-gradient(to right, #f42a8b, #7202ff);
}

#p3-main-sec {
  position: relative;
  min-height: 100%;
  height: auto;
  width: 100%;
  border: 1.5px solid transparent; /* Set the border width and make it transparent */
  background: #1b1a1a;
  border-radius: 25px;
  justify-content: center;
  align-items: center;
}

#gradient-bulb {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 30vw;
  z-index: 999;
  transform: translate(10%, -100%);
  animation: rotateGradientBulb 5s ease-in-out infinite;
}
@keyframes rotateGradientBulb {
  0% {
    transform: translate(10%, -100%);
  }
  50% {
    left: 20%;
    transform: translate(0%, -100%);
  }
  100% {
    transform: translate(10%, -100%);
  }
}

#person-on-laptop {
  position: absolute;
  width: 30vw;
  left: 50%;
  transform: translateX(30%);
}

#p3-headings {
  text-align: left;
  margin: 75px 0px 0px 50px;
}

#p3-headings > h4 {
  padding: 18px 0px;
  width: 40vw;
}

#p3-buttons-div {
  width: 30%;
  display: flex;
  justify-content: space-between;
}

/* CARDS IN PAGE-3 */
#p3-cards-container {
  /* background-color: blue; */
  width: calc(100% - 4rem); /* Account for the 20px margin on each side */
  height: 100%;
  margin: 6% 2rem 0% 2rem;
  padding-bottom: 6vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.cards-col-1 {
  /* background-color: #7202ff; */
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.card-small {
  width: 100%;
  height: 40vh;
  margin: 10% auto;
  border: 0.7px solid #ccc;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  box-shadow: #ccc;
  transition: all ease 0.5s;
}

.card-small-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card-small-content img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.card-medium {
  width: 100%;
  height: 50vh;
  margin: 10% auto;
  border: 0.7px solid #ccc;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  box-shadow: #ccc;
  transition: all ease 0.5s;
}

.cards-col-1:nth-of-type(1) .card-small:hover .card-small-content img {
  animation: scrollContent-small-1 3s linear forwards;
}
.cards-col-1:nth-of-type(1) .card-medium:hover .card-medium-content img {
  animation: scrollContent-medium-1 3s linear forwards;
}

.cards-col-1:nth-of-type(2) .card-small:hover .card-small-content img {
  animation: scrollContent-small-2 3.2s linear forwards;
}
.cards-col-1:nth-of-type(2) .card-medium:hover .card-medium-content img {
  animation: scrollContent-medium-2 3.3s linear forwards;
}
.cards-col-1:nth-of-type(3) .card-small:hover .card-small-content img {
  animation: scrollContent-small-3 5s linear forwards;
}
.cards-col-1:nth-of-type(3) .card-medium:hover .card-medium-content img {
  animation: scrollContent-medium-3 3s linear forwards;
}

.card-small:hover {
  scale: 1.05;
}

.card-medium:hover {
  scale: 1.05;
}

.card-medium-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card-medium-content img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes scrollContent-small-1 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-70vh);
  }
}
@keyframes scrollContent-small-2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-150vh);
  }
}
@keyframes scrollContent-small-3 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-182vh);
  }
}

@keyframes scrollContent-medium-1 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120vh);
  }
}
@keyframes scrollContent-medium-2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-105vh);
  }
}
@keyframes scrollContent-medium-3 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-60vh);
  }
}

/* ------------------------- PAGE - 3 Responsiveness -------------------------*/

/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-3 {
    margin: 20vh 0vh;
    height: auto;
  }
  #p3-main-sec-border {
    height: 100%;
    margin: 4%;
    width: 100vw;
  }

  #p3-main-sec {
    height: 100%;
    width: 100%;
  }

  #gradient-bulb {
    position: absolute;
    width: 300px;
    /* height: 100px; */
    left: 50%;
    top: 5%;
    transform: translate(10%, 0%);
  }

  #person-on-laptop {
    position: absolute;
    width: 350px;
    left: 50%;
    transform: translateX(-40%);
  }

  #p3-headings {
    text-align: left;
    margin: 350px 0px 0px 0px;
  }

  #p3-headings > h2 {
    margin: 0px 20px;
  }

  #p3-headings > h4 {
    margin: 0px 20px;
    width: 90%;
  }

  #p3-buttons-div {
    width: 100%;
    justify-content: space-evenly;
  }

  /* CARDS IN PAGE-3 */
  #p3-cards-container {
    width: calc(100% - 4rem); /* Account for the 20px margin on each side */
    height: 100%;
    margin: 6% 30px 0% 30px;
    /* height: auto; */
    display: flex;
    gap: 0;
    flex-direction: column;
    justify-content: space-between;
  }

  .cards-col-1 {
    width: 100%;
    height: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .card-small,
  .card-medium {
    width: 95%;
    height: 350px;
    margin: 10% auto 0% auto;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-3 {
    /* height: auto; */
    margin-bottom: 0;
    padding-bottom: 6vh;
    /* background-color: red; */
  }
  #p3-main-sec-border {
    height: 100%;
    /* margin: 4%; */
    width: 100vw;
  }

  #p3-main-sec {
    height: 100%;
    width: 100%;
  }

  #gradient-bulb {
    position: absolute;
    width: 200px;
    /* height: 20vh;
    width: auto; */
    left: 36%;
    top: 4%;
    transform: translate(10%, 0%);
    /* background-color: red; */
  }
  /* #gradient-bulb { */
  /* position: absolute; */
  /* left: 50%;
    top: 20%;
    width: 30vw; */
  /* transform: translate(10%, -100%); */
  /* animation: rotateGradientBulb 5s ease-in-out infinite; */
  /* } */

  #person-on-laptop {
    position: absolute;
    width: 275px;
    left: 50%;
    transform: translateX(-50%);
  }

  #p3-headings {
    text-align: left;
    margin: 300px 0px 0px 0px;
  }

  #p3-headings > h2 {
    margin: 0px 16px;
  }

  #p3-headings > h4 {
    margin: 0px 16px;
  }

  #p3-buttons-div {
    width: 100%;
    justify-content: space-evenly;
  }

  /* CARDS IN PAGE-3 */
  #p3-cards-container {
    width: 100%;
    height: auto;
    margin: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .cards-col-1 {
    width: 100%;
    height: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .card-small,
  .card-medium {
    width: 90%;
    height: 38vh;
    margin: 10% auto 0% auto;
  }
}
/* ------------------------- END | PAGE - 3 -------------------------*/

/* ------------------------- START | PAGE - 4 -------------------------*/
#page-4 {
  height: 170vh;
  max-width: 100vw;
  align-items: center;
  justify-content: center;
  display: flex;
}

#p4-main-sec-border {
  position: relative;
  /* margin: 10%; */
  height: auto;
  width: 80vw;
  max-width: 1600px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5px 3px 3.5px 3px;
  background: linear-gradient(to right, #00b9de, #7202ff);
}

#p4-main-sec {
  /* position: relative; */
  min-height: 100%;
  height: auto;
  /* background-color: red; */
  width: 100%;
  border: 1.5px solid transparent; /* Set the border width and make it transparent */
  background: #191919;
  border-radius: 25px;
  justify-content: center;
  align-items: center;
}

#p4-robot {
  position: absolute;
  width: 30vw;
  left: 50%;
  top: 0%;
  transform: translate(30%, 0%);
}
#p4-robot-circle {
  position: absolute;
  width: 30vw;
  height: auto;
  left: calc(24% + 30vw);
  top: 0%;
  /* transform:  */
  animation: rotateInfinitely 10s linear infinite; /* Apply the animation */
}

/* Define the keyframe animation */
@keyframes rotateInfinitely {
  from {
    transform: rotate(0deg); /* Start with no rotation */
  }
  to {
    transform: rotate(360deg); /* Rotate 360 degrees */
  }
}

#p4-headings {
  text-align: left;
  margin: 75px 0px 0px 50px;
}

#p4-headings > h4 {
  padding: 18px 0px;
  width: 40vw;
}

#p4-buttons-div {
  width: 30%;
  display: flex;
  justify-content: space-between;
}

/* Cards Page-4 */

#p4-cards-container {
  display: flex;
  height: 55vh;
  width: 100%;
  justify-content: center;
  align-items: center;
  /* background-color: aqua; */
  margin: 15% 0% 6% 0%;
  /* position: absolute;
  left: 50%;
  transform: translateX(-50%); */
}

.box {
  width: 50px;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid white;
  border-radius: 25px;
  margin: 10px;
  background-image: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;
  cursor: pointer;
  transition: width 0.5s, height 0.5s;
  overflow: hidden;
}

.box > h2 {
  color: #191919;
  font-weight: 400;
}

.expanded {
  width: 50vw;
  height: 100%;
  background-color: #191919;
}

.p4-cards-rotated-text-1,
.p4-cards-rotated-text-2,
.p4-cards-rotated-text-3,
.p4-cards-rotated-text-4,
.p4-cards-rotated-text-5 {
  font-size: 22px;
  font-weight: 400;
  rotate: -90deg;
  z-index: 9999;
  white-space: nowrap;
  opacity: 100%;
}
#p4-cards-content-1,
#p4-cards-content-2,
#p4-cards-content-3,
#p4-cards-content-4,
#p4-cards-content-5 {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  /* padding: 3% 0%; */

  display: none;
  transition: all ease 1.75s;
}
#p4-cards-content-top {
  width: 100%;
  height: 50%;
  text-align: right;
  /* background-color: #00b9de; */
}
#p4-cards-content-top > a > button {
  right: 0%;
  top: 10%;
  width: 24%;
  /* height: 2.2rem; */
  position: relative;
  transform: translateX(-10%);
}
#p4-cards-content-bottom {
  width: 100%;
  height: 50%;
  bottom: 0%;
  background: rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(20px);
  color: white;
  padding: 10px 16px;
}

#p4-cards-content-bottom > h3 {
  font-weight: 500;
}

#p4-cards-content-bottom > p {
  font-weight: 300;
  width: 90%;
}

/* ------------------------- PAGE - 4 Responsiveness -------------------------*/
/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-4 {
    height: 350vh;
    /* margin: 2vh 0; */
  }

  #p4-main-sec-border {
    margin: 4%;
    /* height: 100%; */
    width: 100vw;
  }

  #p4-main-sec {
    /* position: relative; */
    /* height: 100%; */
    width: 100%;
    border: 1.5px solid transparent; /* Set the border width and make it transparent */
    background: #191919;
    border-radius: 25px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #p4-robot {
    position: absolute;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
  }
  #p4-robot-circle {
    position: absolute;
    width: 65vw;
    left: calc(50% - 32vw);
    top: -2%;
    transform: translate(-50%, 0%);
  }

  #p4-headings {
    margin: 350px 0px 0px 16px;
  }

  #p4-headings > h4 {
    padding: 18px 0px;
    width: 100%;
  }

  #p4-buttons-div {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
  }

  /* Cards Page-4 */

  #p4-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .box {
    width: 90%;
    height: 65px;
    border-radius: 50px;
  }

  .expanded {
    height: 50vh;
    border-radius: 25px;
    background-color: #191919;
    background-image: url("./static/test-2.png");
  }

  .p4-cards-rotated-text-1,
  .p4-cards-rotated-text-2,
  .p4-cards-rotated-text-3,
  .p4-cards-rotated-text-4,
  .p4-cards-rotated-text-5 {
    rotate: 0deg;
  }

  #p4-cards-content-top > button {
    right: 0%;
    top: 10%;
    width: 30%;
    height: 2.25rem;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-4 {
    height: auto;
    padding: 4vh 0;
    max-width: 100vw;
    align-items: center;
    justify-content: center;
    display: flex;
  }

  #p4-main-sec-border {
    margin: 4%;
    height: auto;
    width: 100vw;
  }

  #p4-main-sec {
    width: 100%;
    border: 1.5px solid transparent; /* Set the border width and make it transparent */
    background: #191919;
    border-radius: 25px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #p4-robot {
    position: absolute;
    width: 80vw;
    height: auto;
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
  }
  #p4-robot-circle {
    position: absolute;
    width: 80vw;
    left: calc(24% - 14vw);
    top: 1%;
    transform: translateX(-50%);
  }
  /* #p4-robot-circle {
    position: absolute;
    width: 65vw;
    left: calc(50% - 32vw);
    top: -2%;
    transform: translate(-50%,0%);
  } */

  #p4-headings {
    margin: 350px 0px 0px 0px;
  }

  #p4-headings > h4 {
    padding: 18px 0px 20px 16px;
    width: 95%;
  }
  #p4-headings > h2 {
    padding: 18px 0px 20px 16px;
    /* width: 95%; */
  }

  #p4-buttons-div {
    width: 100%;
    /* background-color: red; */
    justify-content: space-evenly;
  }

  /* Cards Page-4 */

  #p4-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: auto; */
    /* width: 100%; */
    /* background-color: red; */
    /* margin: 15% 0% 10% 0%; */
    /* position: absolute; */
    /* left: 50%;
    transform: translateX(-50%); */
  }

  .box {
    width: 90%;
    height: 50px;
    /* background-color: #00b9de; */
    border: 1px solid white;
    border-radius: 50px;
    margin: 10px 0px;
    /* opacity: 75%; */
    background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: width 0.5s, height 0.5s;
    overflow: hidden;
  }

  .expanded {
    height: 400px;
    border-radius: 25px;
    background-color: #191919;
    background-image: url("./static/test-2.png");
  }

  .p4-cards-rotated-text-1,
  .p4-cards-rotated-text-2,
  .p4-cards-rotated-text-3,
  .p4-cards-rotated-text-4,
  .p4-cards-rotated-text-5 {
    font-size: 22px;
    font-weight: 500;
    rotate: 0deg;
    white-space: nowrap;
    opacity: 100%;
  }
  #p4-cards-content-1,
  #p4-cards-content-2,
  #p4-cards-content-3,
  #p4-cards-content-4,
  #p4-cards-content-5 {
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    /* padding: 3% 0%; */
    display: none;
    transition: all ease 1.75s;
  }
  #p4-cards-content-top {
    width: 100%;
    height: 50%;
    text-align: right;
    /* background-color: #00b9de; */
  }
  #p4-cards-content-top > button {
    right: 0%;
    top: 10%;
    width: 40%;
    height: 2.25rem;
    border-radius: 25px;
    position: relative;
    transform: translateX(-10%);
  }
  #p4-cards-content-bottom {
    width: 100%;
    height: 50%;
    bottom: 0%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: white;
    padding: 10px 16px 10px 16px;
  }
}
/* ------------------------- END PAGE - 4 ------------------------- */

/* ------------------------- START PAGE - 5 -------------------------*/
#page-5 {
  position: relative;
  height: 100vh;
  width: 100vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

#page-5-bg {
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 0;
  display: flex;
}

#pink-ellipse {
  position: absolute;
  width: 35%;
  left: 50%;
  top: 0%;
  z-index: 0;
  transform: translate(-40%, -25%);
  animation: pinkEllipse 2s ease-in-out infinite;
}
@keyframes pinkEllipse {
  0% {
    opacity: 30%;
  }
  50% {
    opacity: 100%;
  }
  100% {
    opacity: 30%;
  }
}

#purple-ellipse {
  position: absolute;
  width: 75%;
  right: 50%;
  z-index: 0;
  transform: translateX(0%);
}
#page-5-content {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  height: 100%;
  width: 100%;
  z-index: 1;
  /* background-color: red; */
}

#page-5-content > h2 {
  /* position: absolute; */
  right: 0%;
  /* font-size: 44px; */
  padding: 10% 5% 0% 5%;
}
#page-5-content > p {
  /* position: absolute; */
  padding: 0% 12% 0% 12%;
  /* font-size: 32px; */
  max-width: 80%;
  text-align: justify;
}
/* ------------------------- PAGE - 5 Responsiveness -------------------------*/
/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-5 {
    height: 75vh;
    margin-top: 200px;
  }
  #page-5-content {
    margin-top: 10vh;
  }
  #torus-dark-metallic {
    top: 0%;
    width: 40vw;
    height: auto;
    transform: translate(0%, 100%);
  }
  #purple-ellipse {
    position: absolute;
    width: 600px;
    right: 50%;
    bottom: 0%;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-5 {
    height: 140vh;
    margin-top: 0px;
  }
  #page-5-content {
    margin-bottom: 0vh;
    height: auto;
  }
  #page-5-bg {
    height: auto;
  }
  #torus-dark-metallic {
    position: absolute;
    width: 50vw;
    height: auto;
    right: 0%;
    top: 0%;
    z-index: 0;
    transform: translate(0%, 100%);
  }
  #purple-ellipse {
    position: absolute;
    width: 600px;
    right: 50%;
    bottom: 0%;
    z-index: 0;
    transform: translateX(10%);
  }
  #pink-ellipse {
    width: 300px;
  }
}

/* ------------------------- END PAGE - 5 -------------------------*/
/* ------------------------- START PAGE - 6 -------------------------*/

#page-6 {
  height: auto;
  max-width: 100vw;
  align-items: center;
  justify-content: center;
  display: flex;
  /* margin: 0 0 14vh 0; */
}

#p6-main-sec-border {
  position: relative;
  margin-bottom: 7.5%;
  height: 90%;
  width: 80vw;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5px 3px 3.5px 3px;
  /* background: linear-gradient(
    to right,
    rgba(244, 42, 139, 0.02),
    rgba(114, 2, 255, 0.02)
  ); */
  backdrop-filter: blur(20px);
}

#p6-main-sec {
  position: relative;
  height: 100%;
  width: 100%;
  /* margin-bottom: 10vh; */
  /* border: 1px solid #f42a8b; */
  background: transparent;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

#skills-row {
  justify-content: center;
  text-align: center;
  margin: 2% 10%;
  /* background-color: red; */
}

#p6-gradient-text {
  position: absolute;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  background-image: linear-gradient(to right, #7202ff, #f42a8b);
  background-clip: text;
  color: transparent;
  font-weight: 600;
  opacity: 40%;
}
#skills-over-text {
  display: flex;
  justify-content: space-evenly;
  padding: 5% 0%;
}
#individual-skill-icon {
  z-index: 2;
}
#individual-skill-icon > img {
  width: 5vw;
  height: auto;
}
/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-6 {
    /* height: 110vh; */
    /* max-width: 100vw; */
    margin: 10vh 0 10rem 0;
  }

  #p6-main-sec-border {
    /* position: relative; */
    margin: 10vh 0 0rem 0;
    /* height: 90%; */
    width: 100vw;
  }

  #p6-main-sec {
    /* position: relative; */
    margin: 10rem 0 0rem 0;
    height: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
  }

  #skills-row {
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 4% 0%;
  }

  #p6-gradient-text {
    font-size: 3.2rem;
  }
  #skills-over-text {
    display: flex;
    justify-content: space-evenly;
    padding: 6% 4%;
  }
  #individual-skill-icon > img {
    width: 58px;
    padding: 0% 4%;
  }
  #individual-skill-icon > p {
    font-size: 14px;
    padding: 0% 4%;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-6 {
    margin-top: 0;
    height: 75vh;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #p6-main-sec-border {
    position: relative;
    margin: 0 10%;
    height: 90%;
    width: 100vw;
  }

  #p6-main-sec {
    position: relative;
    margin: 0 4%;
    height: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
  }

  #skills-row {
    justify-content: center;
    text-align: center;
    /* gap: 10px; */
    width: 100%;
    margin: 8% 5%;
  }

  #p6-gradient-text {
    font-size: 2rem;
  }

  #skills-over-text {
    display: flex;
    justify-content: space-evenly;
    padding: 6% 0%;
  }
  #individual-skill-icon > img {
    width: 38px;
    height: auto;
  }
  #individual-skill-icon > p {
    font-size: 12px;
  }
}
/* ------------------------- END PAGE - 6 ------------------------- */
/* ------------------------- START PAGE - 7 ------------------------- */
#page-7 {
  position: relative;
  min-height: 150vh; /* Changed from fixed height to min-height */
  width: 100%;
  padding: 10vh 0; /* Consistent padding instead of margin */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

#page-7-bg {
  position: absolute; /* Changed from relative to absolute */
  width: 100%;
  height: 100%;
  top: 10vh;
  left: 0;
  z-index: 0;
}

#page-7-bg > #purple-ellipse {
  position: absolute;
  left: 5%;
  transform: translateX(-50%);
}
#page-7-bg > #pink-ellipse {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translate(50%, 10%);
}
#page-7-bg > #gradient-bulb {
  position: absolute;
  right: 5%;
  top: 30%;
  transform: translateX(50%);
}

#page-7-content {
  position: relative;
  width: 80vw;
  height: 100%;
  /* left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
  /* background-color: #00b9de; */
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  /* padding: 2% 0%; */
  margin: 4% auto;
}

#github-prof-proj-container {
  height: 600px;
  width: 100%;
}

#github-profile {
  height: 45%;
  top: 0%;
  width: 96%;
  margin: 5% 0%;
  display: grid;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0% 2% 0% 2%;
  border: 1px solid white;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}
#github-profile > div {
  /* background-color: #7202ff; */
  height: 75%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#github-profile > div > img {
  width: 200px;
  height: 200px;
}
#github-profile > div > p {
  margin: 0% 4%;
  /* font-size: 22px; */
  text-align: justify;
}
#github-profile > a > button {
  position: absolute;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%, -50%);
}

#github-projects {
  height: 40%;
  width: 100%;
  display: grid;
  align-items: center;
}
.arrow-up {
  width: 30px;
  height: 18px;
  rotate: -45deg;
}
#github-projects > a {
  text-decoration: none;
}
#github-project-1,
#github-project-2,
#github-project-3 {
  width: 96%;
  background-color: rgba(255, 255, 255, 0.08);
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0% 2% 0% 2%;
  border: 1px solid white;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(10px);
}
#github-project-1 > img,
#github-project-2 > img,
#github-project-3 > img {
  height: 60%;
}

/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-7 {
    position: relative;
    min-height: 100vh;
    /* height: auto; */
    padding: 10vh 0;
    margin: 0;
    /* margin: 20vh 0 50vh 0; */
  }

  #page-7-bg {
    position: absolute; /* Changed from relative to absolute */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
  }
  #page-7-bg > #purple-ellipse {
    position: absolute;
    left: 5%;
    transform: translateX(-50%);
  }
  #page-7-bg > #pink-ellipse {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translate(50%, 10%);
  }
  #page-7-bg > #gradient-bulb {
    right: 5%;
    top: 20%;
    transform: translateX(50%);
  }

  #page-7-content {
    width: 90vw;
    height: 100%;
  }

  #github-prof-proj-container {
    height: 150vh;
    width: 100%;
  }

  #github-profile {
    height: 50%;
    top: 0%;
    width: 96%;
    margin: 5% 0%;
    display: grid;
    flex-direction: column;
  }

  #github-profile > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  #github-profile > div > img {
    width: 150px;
    height: 150px;
  }
  #github-profile > div > p {
    margin: 0% 4%;
  }
  #github-profile > a > button {
    width: 10rem;
  }

  #github-projects {
    height: 35%;
  }
  #github-project-1,
  #github-project-2,
  #github-project-3 {
    width: 90%;
    padding: 0% 5% 0% 5%;
  }
  #github-project-1 > img,
  #github-project-2 > img,
  #github-project-3 > img {
    height: 60%;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-7 {
    position: relative;
    min-height: 100vh;
    height: auto;
    padding: 6vh 0;
    margin: 10vh 0 16vh 0;
  }

  #page-7-bg {
    width: 100%;
    height: 100%;
    top: 8vh;
    left: 0;
  }

  #page-7-bg > #purple-ellipse {
    position: absolute;
    left: 5%;
    transform: translateX(-50%);
  }
  #page-7-bg > #pink-ellipse {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translate(50%, 10%);
  }
  #page-7-bg > #gradient-bulb {
    right: 5%;
    top: 12%;
    transform: translateX(50%);
  }

  #page-7-content {
    width: 90vw;
    height: 100%;
  }

  #github-prof-proj-container {
    height: 110vh;
    width: 100%;
  }

  #github-profile {
    height: 68vh;
    /* background-color: #00b9de; */
    top: 0%;
    width: 96%;
    margin: 8% 0%;
    display: grid;
    flex-direction: column;
  }

  #github-profile > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  #github-profile > div > img {
    width: 150px;
    height: 150px;
  }
  #github-profile > div > p {
    margin: 0% 4%;
  }
  #github-profile > a > button {
    width: auto;
    padding: 0 1rem;
    height: 2.35rem;
  }

  #github-projects {
    height: 30%;
    width: 100%;
    display: grid;
    gap: 18px;
  }

  .arrow-up {
    width: 24px;
    height: 14px;
    rotate: -45deg;
  }

  #github-project-1,
  #github-project-2,
  #github-project-3 {
    width: 90%;
    padding: 0% 5% 0% 5%;
    text-align: left;
  }
  #github-project-1 > img,
  #github-project-2 > img,
  #github-project-3 > img {
    height: 50%;
  }
}
/* ------------------------- END PAGE - 7 ------------------------- */

/* ------------------------- START PAGE - 8 ------------------------- */
#page-8 {
  /* background-color: red; */
  height: 100vh;
  width: 100%;
  display: flex;
  margin: 10% 0;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-image: url("./static/syedzaid-innovations-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
}
#page-8 > div {
  width: 60%;
  /* background-color: #191919; */
  text-align: center;
}

#page-8 > div > img {
  height: 35vh;
}
#yellow-ellipse {
  position: absolute;
  height: 80vh;
  width: auto;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
}

#page-8 > div > h2 {
  /* font-size: 44px; */
  margin: 2%;
}

#page-8 > div > p {
  /* background-color: aqua; */
  /* font-size: 22px; */
  position: relative;
  width: 100%;
  margin: 0% 0%;
  text-align: justify;
}

/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-8 {
    height: 100vh;
    background-size: 100%;
  }
  #page-8 > div {
    width: 80vw;
    text-align: center;
  }

  #page-8 > div > img {
    height: 200px;
  }

  #page-8 > div > p {
    text-align: justify;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-8 {
    height: 80vh;
    background-size: 100%;
  }
  #page-8 > div {
    width: 80vw;
    text-align: center;
  }

  #page-8 > div > img {
    height: 150px;
  }
}
/* ------------------------- END PAGE - 8 ------------------------- */

/* ------------------------- START PAGE - 9 ------------------------- */
#page-9 {
  height: auto;
  display: flex;
  flex-direction: column;
  width: 100vw;
  background-image: url("./static/lines.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  /* background-color: red; */
  background-size: 70vw auto;
}
#page-9 > img {
  position: absolute;
}
#p9-headings {
  height: 400px;
  width: 100%;
  display: flex;
  /* background-color: #00b9de; */
  /* padding: 0% 20%; */
  gap: 200px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#p9-headings > img {
  position: relative;
  width: 26vw;
  height: auto;
}
#p9-headings > h4 {
  position: relative;
  /* padding-left: -20%; */
}
#p9-contact-grid {
  width: 100%;
  /* background-color: #00b9de; */
  display: grid;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 2rem; */
  padding: 4rem auto; /* Add horizontal padding */
}

#p9-cg-row-1,
#p9-cg-row-2 {
  display: flex;
  flex-wrap: wrap;
  /* background-color: #191919; */
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  margin: 1rem 0 0 0;
  max-width: 1200px; /* Maximum width instead of fixed */
}

#p9-cg-row-1 > a,
#p9-cg-row-2 > a {
  text-decoration: none;
}

#p9-item-1,
#p9-item-2,
#p9-item-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border: 0.2px solid white;
  border-radius: 35px;
  background-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  min-width: 280px;
  flex: 1; /* Allow items to grow and shrink */
  max-width: 350px; /* Maximum width for larger screens */
}

#p9-item-1 > img,
#p9-item-2 > img,
#p9-item-3 > img {
  width: 32px;
  height: 32px;
  flex-shrink: 0; /* Prevent images from shrinking */
}
/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #page-9 {
    margin-bottom: 20vh;
    background-image: url("./static/lines.png");

    background-position: center center;
    /* background-color: red; */
    /* background-size: 70vw auto; */
  }

  #p9-headings {
    height: 400px;
    margin-top: 10vh;
    gap: 5vh;
    flex-direction: column;
  }
  #p9-headings > img {
    width: 40vw;
  }

  #p9-contact-grid {
    display: flex;
    gap: 0px;
    flex-direction: column;
    justify-content: center;
  }

  #p9-cg-row-1,
  #p9-cg-row-2 {
    flex-direction: column;
    margin: 4% auto 0% auto;
    padding: 0;
  }

  #p9-cg-row-1 > a,
  #p9-cg-row-2 > a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  #p9-item-1,
  #p9-item-2,
  #p9-item-3 {
    /* margin: 2vh 12%; */
    /* background-color: red; */
    height: 4vw;
    /* flex-direction: row; */
  }

  #p9-item-1 > img,
  #p9-item-2 > img,
  #p9-item-3 > img {
    width: 32px;
    height: 32px;
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #page-9 {
    width: 100vw;
    background-image: url("./static/lines.png");

    background-size: 100% auto;
  }
  #page-9 > img {
    position: absolute;
  }
  #p9-headings {
    margin-top: 5vh;
    gap: 5vh;

    flex-direction: column;
  }
  #p9-headings > img {
    width: 65vw;
    height: auto;
  }
  #p9-contact-grid {
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  #p9-cg-row-1,
  #p9-cg-row-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #191919;
    /* gap: 4.5vh; */
    /* margin: 4.5vh auto 2% auto; */
  }
  #p9-cg-row-1 > a,
  #p9-cg-row-2 > a {
    width: 80%;
    padding: 0;
    margin: 0;

    /* background-color: #00b9de; */
  }

  #p9-item-1,
  #p9-item-2,
  #p9-item-3 {
    flex-direction: row;
    height: auto;
    width: 75vw;
  }

  #p9-item-1 > img,
  #p9-item-2 > img,
  #p9-item-3 > img {
    width: 24px;
    height: 24px;
  }
}

/* ------------------------- END PAGE - 9 ------------------------- */
/* ---------- FOOTER ----------  */

#footer {
  height: 100%;
  width: auto;
  padding: 4rem 2rem 2rem 2rem;
  margin: 2rem 0 0 0;
  /* background-color: red; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* For screens smaller than 768px (tablets) */
@media (max-width: 768px) {
  #footer {
    /* background-color: #00b9de; */
  }
}
/* For screens smaller than 480px (mobiles) */
@media (max-width: 480px) {
  #footer {
  }
}

/* Individual card styles */
.box {
  position: relative;

  transition: height 0.5s ease;
  overflow: hidden;
  cursor: pointer;
}

/* Video container styles */
.card-video-1,
.card-video-2,
.card-video-3,
.card-video-4,
.card-video-5 {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.card-video-1 iframe,
.card-video-2 iframe,
.card-video-3 iframe,
.card-video-4 iframe,
.card-video-5 iframe {
  width: 100%;
  height: 100%;
}

/* Base rotation */
#torus-dark-metallic {
  display: inline-block; /* so transform applies cleanly */
  transform-origin: center center; /* rotate around center */
  animation: spin 10s linear infinite;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #torus-dark-metallic {
    animation: none;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#torus-dark-metallic {
  position: absolute;
  width: 40vw;
  right: 0%;
  top: 25%;
  z-index: 0;
  transform: translate(0%, 20%); /* less upward */
  /* or use +20% to push further down */
}