* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rockwell';
    src: url('assets/fonts/Rockwell.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Rockwell';
    src: url('assets/fonts/Rockwell-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    position: relative;
    margin: 0;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    background-color: #f0f0f0;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    overflow-x: hidden;
}

.navwrap {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100vw;
    z-index: 100;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navwrap.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    padding: 30px 60px;
    font-family: "Quicksand", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.navimage {
    width: 110px;
    height: 50px;
}

.navimage:nth-child(1) {
    background: url('Assets/logo.png') center/contain no-repeat;
    opacity: 0;
    animation: slideRight 1s ease-in-out forwards;
    animation-delay: 3.5s;
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 40px;
    opacity: 0;
    animation: appear 1s ease-in-out forwards;
    animation-delay: 5.5s;
}

.nav-link {
    font-size: 18px;
    font-weight: 600;
    color: #343434;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #FF595E;
}

.center {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.intro {
    width: 300px;
    height: 100px;
    object-fit: contain;
    opacity: 1;
    pointer-events: none;
    animation: intro 3s ease-in-out forwards;
}

@keyframes intro {
    0% {
        filter: blur(250px);
        transform: scale(0);
    }

    35% {
        transform: scale(1.05);
    }

    40% {
        transform: scale(0.95);
    }

    45%,
    85% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

.bgwrap {
    position: fixed;
    overflow: hidden;
    z-index: -10;
    opacity: 0;
    overflow: hidden;
    animation: appear 1s ease-in-out forwards;
    animation-delay: 2.5s;
    width: 100vw;
}

.bgcontainer {
    position: relative;
    width: 100%;
    height: 100dvh;
    animation: spin 50s linear infinite;
    filter: blur(250px);
    opacity: 0.5;
}

.image {
    position: absolute;
    width: 50%;
    min-width: 720px;
    height: 85%;
    animation: spin 50s linear infinite;
}

.image:nth-child(1) {
    top: 10%;
    left: 5%;
    background: url('Assets/green.png') center/contain no-repeat;
}

.image:nth-child(2) {
    bottom: 0%;
    left: 45%;
    background: url('Assets/yellow.png') center/contain no-repeat;
}

.image:nth-child(3) {
    top: -15%;
    left: 25%;
    background: url('Assets/red.png') center/contain no-repeat;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.navgap {
    height: 80px;
    width: 100vw;
}

.centering {
    height: calc(100dvh - 80px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.betawrap {
    height: 80%;
    border-radius: 30px;
    background-color: white;
    position: fixed;
    opacity: 0;
    animation: beta 1s ease-in-out forwards;
    animation-delay: 4.5s;
    transform: translateY(0), scale(0.5);
}

.betawrap1 {
    height: 80%;
    border-radius: 30px;
    background-color: white;
    position: fixed;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: transform 0.1s ease;
}

.beta {
    height: 100%;
    object-fit: contain;
    border: none;
    border-radius: 30px;
    background-color: white;
    opacity: 0.25;
    transition: filter 0.1s ease;
}

.betawrap2 {
    height: 80%;
    border-radius: 30px;
    background-color: white;
    opacity: 1;
    visibility: hidden;
    transform: translateY(0) scale(1.14);
}

.beta2 {
    height: 100%;
    object-fit: contain;
    border: none;
    border-radius: 30px;
    background-color: white;
    opacity: 1;
}

@keyframes beta {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.titlewrap {
    color: #363636;
    text-align: center;
    opacity: 0;
    animation: slideUp 1s ease-in-out forwards;
    animation-delay: 2.5s;
}

.titlewrap h1 {
    font-size: 72px;
    font-family: 'Rockwell', Arial, sans-serif;
    font-weight: normal;
    margin: 0;
    letter-spacing: 4px;
}

.titlewrap h4 {
    font-size: 24px;
    font-family: "Quicksand", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    letter-spacing: 6px;
    margin: 0;
    margin-top: 20px;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.arrow {
    position: fixed;
    bottom: 40px;
    height: 80px;
    opacity: 0;
    animation: appear 1s ease-in-out forwards;
    animation-delay: 5.5s;
}

.arrow1 {
    position: fixed;
    bottom: 40px;
    height: 80px;
    opacity: 1;
    transition: filter 0.1s ease, transform 0.1s ease;
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.disappear {
    animation: disappear both;
    animation-timeline: view(20% 60%);
}

@keyframes disappear {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.man {
    display: flex;
    gap: 100px;
    max-width: 1440px;
    padding: 50px;
    align-items: center;
    justify-content: center;
}

.mandata h3 {
    font-size: 30px;
    font-weight: normal;
    margin-top: 0;
}

.mandata h2 {
    font-size: 45px;
    color: #F67777;
    margin: 0;
}

.manimg {
    height: 450px;
    display: flex;
    gap: 50px;
}



.scrollslideinbottom {
    animation: scrollslideinbottom both;
    animation-timeline: view(60% 20%);
}

@keyframes scrollslideinbottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scrollslideinright {
    animation: scrollslideinright both;
    animation-timeline: view(60% 20%);
}

@keyframes scrollslideinright {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.verti {
    height: 300dvh;
    position: relative;
}

.hori {
    position: sticky;
    width: 100%;
    height: 100dvh;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    top: 0;
    scrollbar-width: none;
}

.hori::-webkit-scrollbar {
    display: none;
}

.horidata {
    display: flex;
    transform: translateX(1%);
    transition: transform 0.2s ease;
}

.video {
    height: 300dvh;
    font-family: Arial, sans-serif;
    background-color: white;
}

video {
    position: sticky;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    height: 100dvh;
    object-fit: cover;
}

/* Scroll Sequence Text Overlay */
.scroll-text-overlay {
    position: fixed;
    top: 15vh;
    /* Just below the navbar (around 110-150px) */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

.scroll-text-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 26px;
    font-family: 'Quicksand', serif;
    font-weight: 500;
    color: #363636;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), border 1px solid rgba(255, 255, 255, 0.5);
}

.scroll-text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-text-item.shop-btn {
    background: #1b76b722;
    top: 35vh;
    color: #1b76b7;
    font-weight: 700;
    font-size: 32px;
    width: 250px;
    left: calc(50% - 125px);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
    pointer-events: auto;
}

.scroll-text-item.shop-btn:hover {
    cursor: pointer;
    color: white;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #1b76b7;
}

.cta-btn {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    transition: all 0.4s ease;
    font-family: 'Quicksand', serif;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 30px;
    border-radius: 20px;
    background: #1b76b722;
    color: #1b76b7;
    font-weight: 700;
    font-size: 32px;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
    pointer-events: auto;
    text-decoration: none;
}

.cta-btn:hover {
    cursor: pointer;
    color: white;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #1b76b7;
}

.scroll-text-item span.highlight {
    font-weight: 700;
}

.bigtext {
    font-size: 36px;
    font-family: 'Quicksand', serif;
    color: #363636;
    font-weight: 700;
    margin: 0;
    letter-spacing: 4px;
    width: 80%;
    text-align: center;
    max-width: 1080px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(27, 117, 183, 0.2);
    border-top: 5px solid #1B75B7;
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-family: 'Montserrat', serif;
    font-size: 18px;
    color: #363636;
    letter-spacing: 4px;
    font-weight: 600;
}

@keyframes spin-loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 200px;
    margin-bottom: 100px;
    background-color: white;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.newsletter-section h2 {
    font-family: 'Rockwell', Arial, sans-serif;
    font-size: 36px;
    color: #363636;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.newsletter-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 15px 25px;
    border: 2px solid #eaeaea;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #1B75B7;
    box-shadow: 0 0 0 4px rgba(27, 117, 183, 0.1);
}

.newsletter-form button {
    background-color: #1B75B7;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 35px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 15px rgba(27, 117, 183, 0.3);
}

.newsletter-form button:hover {
    background-color: #155e96;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 117, 183, 0.4);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Site Footer */
.site-footer {
    background-color: #f8f8f8;
    padding: 60px 40px 20px;
    margin-top: 50px;
    font-family: 'Quicksand', serif;
    color: #363636;
    border-top: 1px solid #eaeaea;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-family: 'Montserrat', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1B75B7;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Montserrat', serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-family: 'Montserrat', serif;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF595E;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #eaeaea;
    color: #363636;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Quicksand', serif;
}

.footer-social a:hover {
    background-color: #1B75B7;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #eaeaea;
    font-size: 14px;
    color: #999;
    font-family: 'Montserrat', serif;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
    position: relative;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #363636;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.desktop-logo {
    display: block;
    background: url('Assets/svntytoo.png') center/contain no-repeat;
    opacity: 0;
    width: 144px;
    animation: slideLeft 1s ease-in-out forwards;
    animation-delay: 3.5s;
}

.mobile-logo {
    display: none;
}

/* --- Home Page Responsive Styles --- */

@media (max-width: 1024px) {
    .titlewrap h1 {
        font-size: 56px;
    }

    .titlewrap h4 {
        font-size: 20px;
    }

    .bigtext {
        font-size: 28px;
    }

    .betawrap,
    .betawrap1 {
        height: 60%;
    }

    .scroll-text-item {
        font-size: 22px;
        padding: 20px 25px;
    }

    .navcontainer {
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    .navcontainer {
        padding: 15px 25px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .desktop-logo {
        display: none !important;
    }

    .burger-menu {
        display: flex;
        order: 2;
        /* Put burger on the right */
    }

    .navimage:nth-child(1) {
        order: 1;
        /* Logo on the left */
        margin-right: auto;
    }

    .navimage {
        width: 100px;
        height: 50px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70vw;
        max-width: 300px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        gap: 30px 0;
        transition: right 0.4s ease-in-out;
        z-index: 99;
        opacity: 1;
        animation: none;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        font-weight: 700;
        opacity: 1;
        transform: none;
    }

    .mobile-logo {
        display: block;
        margin-top: 30px;
        width: 60%;
        background: url('Assets/svntytoo.png') center/contain no-repeat;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Burger Menu Animation to X */
    .burger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .titlewrap h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .titlewrap h4 {
        font-size: 14px;
        letter-spacing: 3px;
        margin-top: 15px;
    }

    .cta-btn {
        font-size: 20px;
        width: 180px;
        padding: 15px 20px;
        margin-top: 20px;
    }

    .intro {
        width: 200px;
    }

    .betawrap,
    .betawrap1,
    .betawrap2 {
        height: auto;
        width: 85%;
        max-height: 50vh;
    }

    .beta,
    .beta2 {
        width: 100%;
        height: auto;
        max-height: 50vh;
        object-fit: contain;
    }

    .bigtext {
        font-size: 18px;
        width: 90%;
        line-height: 1.6;
    }

    .scroll-text-overlay {
        top: 20vh;
        width: 95%;
    }

    .scroll-text-item {
        font-size: 16px;
        padding: 15px 20px;
        border-radius: 12px;
    }

    .scroll-text-item.shop-btn {
        font-size: 20px;
        width: 180px;
        left: calc(50% - 90px);
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .navcontainer {
        padding: 10px 15px;
    }

    .navimage {
        width: 80px;
        height: 40px;
    }


    .newsletter-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .mobile-logo {
        margin-top: 30px;
        width: 60%;
    }

    .titlewrap h1 {
        font-size: 28px;
    }

    .titlewrap h4 {
        font-size: 12px;
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}