/*------------------------------------------------------GLOBAL-------------------------------------------------*/
html, body {
    background-color: white;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}
footer {
    color: white;
    text-align: center;
    font-size: 0.8em;
    font-weight: 1em;
    padding: 1rem;
    background-color: black;
}
.footer{
    font-family: 'Times New Roman', Times, serif;
    font-size: 1em;
    font-weight: 1em;
    text-align: center;
    color: white;
}
/*------------------------------------------------------NAV-------------------------------------------------*/
.logoIcon {
    position: absolute;
    top: -90px;
    left: 50%;
    cursor: pointer;
    z-index: 100;
    transform: translateX(-50%);
}
.logo {
    width: 100%;
    max-width: 150px;
 
}
.menuIcon {
    position: absolute;
    top: -30px;
    left: 30px;
    cursor: pointer;
    z-index: 100;
}
.cartIcon {
    position: absolute;
    top: -30px;
    right: 30px;
    cursor: pointer;
    z-index: 100;
}
.cartCount {
    display: none;
    position: absolute;
    top: -5px;
    right: -10px;
    color: white;
    font-size: 0.5rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-family: sans-serif;
    font-weight: bold;
}
.cartCount.visible {
    display: inline-block;
}
.lucide {
    width: 3vw;
    height: 3vh;
    color: white;
    max-width: 20px;
    max-height: 20px;
}
.navBar {
    opacity: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: liquidBreath 6s infinite alternate ease-in-out;
    transform: rotateY(0deg) scale(1);
    transform: translateX(-100%);
    transition: backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    box-sizing: border-box;
    position: fixed;
    height: 110vh;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1em 0;
}
.navBar.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
.navLinks{
    text-align: center;
    list-style: none;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.navLinks li {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}
.navBar.active .navLinks li {
    opacity: 1;
    transform: translateY(0);
}
.navLinks li:nth-child(1) { transition-delay: 0.2s; }
.navLinks li:nth-child(2) { transition-delay: 0.3s; }
.navLinks li:nth-child(3) { transition-delay: 0.4s; }
.navLinks li:nth-child(4) { transition-delay: 0.5s; }

.navLinks li a {
    text-decoration: none;
    font-size: 2em;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 2em;
    font-weight: bold;
    color: white;
}
.navLinks li a:hover {
    background: linear-gradient(45deg, rgb(0, 255, 221), rgb(255, 247, 0), rgb(255, 0, 153));
    background-size: 200% 200%;
    animation: liquidFlow 4s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s ease;
}
.closeBtn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 3;
}
.closeBtn:hover {
    background: linear-gradient(45deg, rgb(0, 255, 221), rgb(255, 247, 0), rgb(255, 0, 153));
    background-size: 200% 200%;
    animation: liquidFlow 4s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s ease;
}
.closeBtnProductDes {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 50;
}
.closeBtnProductDes:hover {
    background: linear-gradient(45deg, rgb(0, 255, 221), rgb(255, 247, 0), rgb(255, 0, 153));
    background-size: 200% 200%;
    animation: liquidFlow 4s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s ease;
}
.scrollBlurOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12vh;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: liquidBreath 6s infinite alternate ease-in-out;
    transform: rotateY(0deg) scale(1);
    transition: backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.header {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 4;
    padding: 10px 0;
    background: transparent;
    box-sizing: border-box;
}

/*---------------------------------------------TEXT FORMAT-----------------------------------------------------------*/
h1{
    font-family: "Montserrat", sans-serif;
    font-size: 3em;
    letter-spacing: 0.022em;
    font-weight:bold;
    text-align: center;
    transform: scaleY(1);
}
h2{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5em;
    letter-spacing: 0.022em;
    text-align: center;  transform: scaleY(1);
}
h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2em;
    letter-spacing: 0.022em;
    text-align: center;
}
h4{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    letter-spacing: 0.022em;
    text-align: center;
}
p{
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    letter-spacing: 0.022em;
    text-align: left;
    line-height: 1.5;
    color: rgb(74, 74, 74);
}
@media only screen and (min-width: 901px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.5em;
    }
    h3 {
        font-size: 2em;
    }
    h4 {
        font-size: 1.1em;
    }
    p {
        font-size: 1em;
    }
}

@media (min-width: 768px) {
    .productWrapper {
        display: flex;          
        justify-content: center; 
        overflow: visible;     
        flex-wrap: nowrap;      
        width: 100%;            
    }

    .product {
        flex: 0 0 250px !important; 
        width: 250px !important;
        margin: 0 15px !important; 
        scroll-snap-align: none;
        transform: none; 
    }

    .product:hover {
        transform: translateY(-10px) scale(1.05) !important;
    }
    .buyButton {
        width: 100%;           /* Increased from 35vw to be more clickable */
        max-width: 200px;     /* Prevents it from getting TOO wide on tablets */
        margin: 2rem auto 0;  /* The 'auto' on the left/right centers it */
        background-color: black;
        border-radius: 1rem;
        height: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        transition: transform .03s ease;
        position: relative;
    }
}
@media (max-width: 768px) {
    .serviceWrapper {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory; 
        padding: 40px 0; 
        gap: 0; 
        width: 100vw; /* Ensure the wrapper matches the viewport width */
        margin-left: calc(-50vw + 50%); /* Centers the wrapper if the parent has padding */
    }

    .product {
        /* Force the item to be exactly 100% of the screen width */
        flex: 0 0 100% !important; 
        width: 100% !important;
        max-width: 100%;
        scroll-snap-align: center;
        margin: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product > a {
        /* This is where you control the "look" of the card */
        width: 85%; 
        max-width: 300px; /* Limits the video size so it doesn't get huge */
        text-align: center;
    }
    .buyButton {
        width: 85%;           /* Increased from 35vw to be more clickable */
        max-width: 200px;     /* Prevents it from getting TOO wide on tablets */
        margin: 2rem auto 0;  /* The 'auto' on the left/right centers it */
        
        background-color: black;
        border-radius: 1rem;
        height: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        transition: transform .03s ease;
        position: relative;
    }
}

/*------------------------------------------------------EFFECTS-------------------------------------------------*/
@keyframes liquidFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes plus-icon-jump {
    0%, 90%, 100% {
        transform: translateY(0);
      }
      95% {
        transform: translateY(-10px);
      }
    }
@keyframes arrow-icon-jump {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

/*------------------------------------------------------PRODUCTS-------------------------------------------------*/
.videoTitle {
    position: absolute;
    top: 720px;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    text-align: center;
    color: aliceblue;
  }

.videoDiv {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
.sectionVideo {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    z-index: 1;
    position: relative;
}
.arrowIcon .lucide {
    display: block;
    margin: 20px auto 0;
    width: 5vw; 
    height: 5vh;
    max-width: 100%;
    max-height: 100%;
    animation: arrow-icon-jump 1.5s infinite ease-in-out;
}
.plusIcon .lucide {
    position: absolute;
    top: 12%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 5vw; 
    height: 5vh;
    max-width: 100%;
    max-height: 100%;
    animation: plus-icon-jump 3s infinite ease-in-out;
    color: rgb(0, 242, 255);
    cursor: pointer;
    z-index: 10;
}
.sectionWhite {
    background-color: white;
    width: 100%;
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.sectionBlack {
    background-color: black;
    width: 100%;
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;
}
.serviceWrapper, .productWrapper {
    display: flex;
    flex-direction: row; /* Ensure this is row for horizontal sliding */
    align-items: center;
    justify-content: center; /* This centers the group of items */
    width: 100%;
    gap: 20px; /* Use gap instead of heavy margins */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 40px 0;
}
.productWrapper::-webkit-scrollbar {
    display: none;
}
.serviceWrapper::-webkit-scrollbar {
    display: none;
}
.product {
    flex: 0 0 auto; /* Allow the item to define its own width */
    width: 300px;   /* Match your video width */
    scroll-snap-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;      /* Remove that 10% margin */
}
.product > a {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px; /* Matches your video width */
}

.product:hover {
    transform: scale(1.05);
    z-index: 10;
}
.productIcon {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 1rem;
    display: block;
    margin-top: -10px;
}
.course {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
    display: block;
    margin-top: -10px;
}
.seminar {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 1rem;
    display: block;
    margin-top: -10px;
}
.services {
    width: 100%;
    max-width: 300px;
    height: 500px;
    border-radius: 1rem;
    display: block;
    margin-top: -10px;
    object-fit: cover;
}
.servicetitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    width: 100%; 
    z-index: 20;
    pointer-events: none; 
   
}
.productDescription {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    background: linear-gradient(45deg,var(--product-color, rgba(0, 217, 255, 0.8)));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);    
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 40;
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    margin-top: 1rem;
}
.productDescription h1{
    text-align: left;
}
.productDescription.active{
    display: block;
    opacity: 1;
    transform: translateX(0);
}
.buyButton:hover {
    background-color: rgb(2, 230, 255);
    transition: all 0.3s ease-in-out;
    transform: scale(1.05);
    cursor: pointer;
}
/*------------------------------------------------------FORM-------------------------------------------------*/
.form {
    /* Glassmorphism & Background */
    background: linear-gradient(45deg, rgb(0, 149, 255), rgb(0, 255, 174), rgb(0, 255, 98));
    background-size: 200% 200%;
    animation: liquidFlow 4s ease infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);    
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    width: 60vw;
    max-width: 75vw;
    min-height: 60vh; 
    max-height: 75vh; 
    padding: 1rem; 
    z-index: 40;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 0.05rem;
    font-family: Georgia, serif;
    font-size: 1.1em;
    color: #333;
    overflow-y: auto;
}
.form::-webkit-scrollbar {
    display: none;
}

.form label {
    display: block;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
}
.form select, input:not([type="submit"]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    width: 90%;
    max-width: 400px;
    border-radius: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
    outline: none;
    text-align: center;
    padding: 0.5rem;
    display: block;
}
.form input[type="submit"] {
    padding: 1rem;
    width: auto;
    min-width: 150px;
    background-color: #1a1a1a;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form input[type="submit"]:hover {
    background-color: #fff200;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.form select{
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}
.success-overlay {
    display: block !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: rgba(122, 64, 239, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-weight: bold;
    text-align: center;
    min-width: 300px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  .error-overlay {
    display: block !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: rgba(239, 64, 114, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-weight: bold;
    text-align: center;
    min-width: 300px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  .honeypot-container {
    position: absolute;
    left: -5000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}