* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Tomorrow";
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: black;
    cursor: url("sword.png"),auto;
}

#page1 {
    height: 100vh;
    width: 100%;
    background-color: #000000;
    position: relative;
    padding: 1vw 2vw;

}

#nav {
    padding: 2vw 3vw;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

#nav img {
    height: 7vw;
    width: 7vw;
    background-color: rgba(245, 245, 245, 0.766);
    border-radius: 30px;
    transition: transform 0.1s ease 0.1s;
}

#nav img:hover {
    transform: scale(1.1) translateY(-10px);
}

#nav-part2 {
    display: flex;
    align-items: center;
    gap: 8vw;
    text-decoration: none;
    color: white;
}
#nav-part2 a {
  text-decoration: none; 
  color: inherit;         
  display: block;         
}

#nav-part2 h4 {
    padding: 10px 20px;
    border: 1px solid whitesmoke;
    border-radius: 20px;
    transition: transform 0.2s ease 0.1s;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

#nav-part2 h4:hover {
    transform: scale(1.1) translateY(-10px);
    background-color: rgb(255, 255, 255);
    color: black;
}

#center {
    height: 75vh;
    width: 100%;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    padding: 40px;
    color: #f5f5f5;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.434);
}

#left h3 {
    width: 35vw;
    font-size: 1.6vw;
    line-height: 2.3vw;
    color: #dcdcdc;
    font-weight: 300;
    border-left: 4px solid #b22222;
    padding-left: 15px;
}

#center h1 {
    font-size: 8vw;
    line-height: 1.1;
    text-align: right;
    font-weight: 800;
    background: linear-gradient(to top, #e0dd09, hsl(120, 93%, 44%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(110, 92, 116, 0.6);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

#center h1:hover {
    transform: scale(1.05);
    text-shadow: 0 0 25px rgba(189, 8, 156, 0.277);
}

#video-frame {
    width: 100%;
    height: 80vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#video-frame video {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    animation: glowAura 4s infinite alternate;
    transform: rotate(270deg);
}

@keyframes glowAura {
    0% {
        box-shadow:
            0 0 20px red,
            0 0 40px red,
            0 0 60px red;
    }

    25% {
        box-shadow:
            0 0 20px orange,
            0 0 40px orange,
            0 0 60px orange;
    }

    50% {
        box-shadow:
            0 0 20px lime,
            0 0 40px lime,
            0 0 60px lime;
    }

    75% {
        box-shadow:
            0 0 20px cyan,
            0 0 40px cyan,
            0 0 60px cyan;
    }

    100% {
        box-shadow:
            0 0 20px magenta,
            0 0 40px magenta,
            0 0 60px magenta;
    }
}
#page2{
    min-height: 100vh;
    width: 100%;
    background-color:black;
    padding-left: 5vw 0;
    position: relative;
    display: inline-block;
}
#moving-text{
    overflow-x: auto;
    background-color: rgb(235, 93, 22);
    white-space: nowrap;
}
#moving-text::-webkit-scrollbar{
    display: none;
}
.con{
    white-space: nowrap;
    display: inline-block;
    animation-name: move;
    animation-duration: 12s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#moving-text h1{
    font-size: 10vw;
    display: inline-block;
}
#circle{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: whitesmoke;
    display: inline-block;
    margin: 2vw 2vw;
}
@keyframes move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}
#page2-bottom {
    height: 90vh;
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
}

/* Headings */
#page2-bottom h1 {
    font-size: 2vw;
    width: 30%;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
    color: #eaeaea;
    padding: 15px 0;
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-left: -20px;
    margin-top: 20px;
}

#page2-bottom h1:hover {
    color: #bfea75;
    border-top-color: #00fff2;
    border-bottom-color: #00fff2;
}

#bottom-part2 img {
    width: 100%;
    height: 80vh;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid black;
}

#bottom-part2 img:hover {
    transform: scale(1.002);
    border-color: #00fff2;
}

#bottom-part2 p {
    font-size: 1vw;
    color: #9e9c9c;
    padding-left: 12px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

#bottom-part2 p:hover {
    color: #f5f5f5;
    border-color: #00fff2;
}
#page3{
    min-height: 100vh;
    width: 100%;
    background-color: black;
    padding: 3vw 0vw;
}
.headdd {
    height: 120px;
    width: 80%;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #000;
    overflow: hidden;
    border: 2px solid lightskyblue;
}

.headdd h2 {
    font-family: "Righteous", sans-serif; 
    font-size: 4.5vw;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    background: linear-gradient(90deg, #ffffff 20%, #00eaff 40%, #ffffff 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: energyFlow 3s linear infinite;
}

@keyframes energyFlow {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}
.elem{
    height: 130px;
    width: 100%;
    position: relative;
    border:4px solid white;
    display: flex;
    align-items: center;
    padding: 0vw 3vw;
    overflow: hidden;
}
.elem h1{
    font-size: 3vw;
    color: white;
    position: relative;
    z-index: 9;
}
.elem .overlay{
    height: 100%;
    width: 100%;
    background-color: rgba(42, 187, 213, 0.815);
    position: absolute;
    color: white;
    left: 0;
    top: -100%;
    transition: all ease 0.7s;
}
.elem:hover .overlay{
    top: 0;
}
#fixed-image{
    height: 30vw;
    width: 22vw;
    border-radius: 10px;
    position: fixed;
    z-index: 99;
    left: 75%;
    top: 30%;
    display: none;
    background-size: cover;
    background-position: center;
}
#page4 {
  display: flex;
  gap: 20px;
  overflow-x: auto;       /* enable left-right scroll */
  overflow-y: hidden;
  padding: 20px;
  scroll-behavior: smooth;
  background: black;
}

/* Hide scrollbar (Chrome, Safari, Edge) */
#page4::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar (Firefox) */
#page4 {
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.scroll-item {
  flex: 0 0 auto;          /* prevents shrinking */
  width: 220px;            /* fixed width for all items */
  text-align: center;
  background: #111;
  border-radius: 12px;
  padding: 12px;
  color: white;
}

.scroll-item img {
  width: 100%;
  height: 180px;           /* fixed image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 2px solid #444;
}

.scroll-item p {
  font-size: 14px;
  line-height: 1.4;
  color: #ddd;
}
