/* Wave animation */
.wave-animate {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    animation: waveMove 8s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}
:root{
    --primary-color: rgb(68, 0, 153);
    --primary-color-hover: #BED600;
}

/* Main styles */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container{
    width: 60%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hidden{
    display: none !important;
}

.button-standalone{
    margin: 40px auto 40px auto;
    text-align: center;
}

.no-decor{
    text-decoration: none;
    list-style: none;
}

.flex-row{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.flex-row div{
    flex: 1;
}

.flex-row input{
    width: 100%;
}

/* Nav section */

nav{
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-left img{
    padding: 10px 0;
    width: 200px;
}

.nav-right{
    font-family: 'roboto', sans-serif;
}

nav ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

nav ul li{
    list-style: none;
}

nav ul li a{
    color: white;
    text-decoration: none;
    position: relative; /* Ensure ::after is positioned relative to the link */
}

.nav-right ul li a,
.nav-mobile-menu ul li a {
    transition: color 0.3s;
    position: relative;
    color: white;
    text-decoration: none;
}

.nav-right ul li a::after,
.nav-mobile-menu ul li a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #22c55e; /* Consider using a CSS variable for consistency, e.g., var(--accent-color) */
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    transform-origin: left;
}

.nav-right ul li a:hover,
.nav-mobile-menu ul li a:hover {
    color: #22c55e;
}

.nav-right ul li a:hover::after,
.nav-mobile-menu ul li a:hover::after {
    transform: scaleX(1);
}

.nav-active{
    color: #22c55e !important;
}

.nav-right ul li .nav-active::after,
.nav-mobile-menu ul li .nav-active::after {
    transform: scaleX(1);
}

/* Hero section */

.hero{
    position: relative;
    background-image: url('../images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero img{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.video-bg-container{
    width: 100%;
    height: 100%;    
}

.video-bg-container video{
    width: 100%;
    height: 99%;    
}

.hero iframe{
    margin: auto;
    width: 100%;
    height: 100%;
}

/* Main styles */

/* Title styles */

.title{
    text-align: center;
    width: 60%;
    margin: auto;
}

.title-center{
    font-family: 'montserrat', sans-serif;
    font-weight: 500;
    font-size: 3rem;
    color: gray;
}

.title p{
    font-family: 'roboto', sans-serif;
    font-weight: 300;
    margin: 20px 0;
    font-size: 1.1rem;
    width: 60%;
    margin: auto;
    color: gray;
}

.sub-title-center{
    font-family: 'montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.9rem;
    margin: 40px 0;
    color: rgb(70, 70, 70);
}

.sml-logo{
    transform: translateY(1000px);
    margin: 40px;
}

/* Banner styles */

.banner{
    padding: 40px 0;
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 244, 244, 1);
    /* transform: translateX(-600px); */
}

.banner p{
    font-family: 'montserrat', sans-serif;
    font-size: 2rem;
}

.button-primary{
    background-color: var(--primary-color);
    min-width: 200px;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    border: none;
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
}

.button-bordered{
    border: 2px solid white;
    margin: 30px 0;
}

.button-primary:hover{
    cursor: pointer;
    background-color: var(--primary-color-hover);
    color: black;
}

#play-video-main{
    transform: translateX(600px);
}
/* Splash styles */

.splash{
    width: 70%;
    margin: 40px auto;
    transform: scale(0);
}

.splash section{
    width: 80%;
    padding:0 20px;
    font-family: 'montserrat', sans-serif;
}

.grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.grid-3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-3 .section-center{
    border-left: 1px solid green;
    border-right: 1px solid green;
}

.grid-3 section{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;    
}

.grid-4{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-5{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.splash-products{
    width: 70%;
    margin: auto;
    font-family: 'montserrat', sans-serif;
}

.splash-products p{
    width: 80%;
}

/* Splash gallery styles */

.splash-gallery{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;    
}


.gallery-card{
    overflow: hidden;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'montserrat', sans-serif;
    font-size: 1.6rem;
    text-wrap: wrap;
    gap: 30px;
}

.gallery-card-img:hover{
    transform: rotate(4deg) scale(1.05);
    box-shadow: 4px 4px 10px black;
    transition: ease-in-out 0.4s;
}

.gallery-card:not(hover){
    transition: ease-in-out 0.6s;
}

.featured-product-image{
    transform: scale(0);
    opacity: 0;
}

/* Footer styles */

footer{
    background-color: var(--primary-color);
    min-height: 40vh;
    width: 100%;
    padding: 60px;
    margin-top: 60px;
}

.footer-top{
    width: 60%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer-top section{
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer ul li{
    list-style: none;
}

footer ul li a{
    text-decoration: none;
    color: white;
    font-family: 'montserrat', sans-serif;
}

.contact-container{
    align-items: flex-start !important;
    color: white;
    font-family: 'montserrat', sans-serif;
    text-align: left;
}


.social-icons-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 20px;
    width: 100%;
}

.social-icons-container a{
    width: 100%;
    filter: invert(1);
}

.social-icons-container a:hover{
    filter: invert(0);
    transition: ease-in-out 0.2s;
}

.social-icons-container a:not(hover){
    transition: ease-in-out 0.2s;
}

.social-icons-container img{
    width: 80%;
}

/* ---------- Instructions Page ---------- */

/* Instructions section */

#instructions-button-main{
    transform: translateY(100px);
    opacity: 0;
    animation: buttonPulse linear 2s infinite;
}

#step-1-box, #step-2-box, #step-3-box, #step-4-box, #step-5-box, #step-6-box{
    transform: translateY(600px);
    opacity: 0;
}

#instruction-section{    
    font-family: 'montserrat', sans-serif;
    gap: 20px;
}

#instruction-section section{
    align-items: flex-start !important;
}

#instruction-section section h4{
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0 !important;
}

#instruction-section section h5{
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0 !important;
}

#instruction-section section img{
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Downloads Section */

#downloads-section{
    width: 100%;
    font-family: 'montserrat', sans-serif;
}

#downloads-section section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: auto;
    border-right: 1px solid green;
}

#downloads-section > :last-child{
    border-right: none !important;
}

#downloads-section button{
    width: 120px;
    margin: 10px auto;
}

/* Projects Page */

.img-fullscreen{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.img-fullscreen img{
    max-height: 80%;
    
}



.i-1, .i-2, .i-3, .i-4, .i-5, .i-6, .i-7, .i-8, .i-9, .i-10, .i-11, .i-12, .i-13, .i-14, .i-15, .i-16, .i-17, .i-18, .i-19, .i-20{
    transform: translateY(120px);
    opacity: 0;
}

.black-text{
    color: black !important;
}

.img-transform-left-75{
    background-position: 75%;
}

.img-transform-left-50{
    background-position: 50%;
}

.img-transform-left-10{
    background-position: 10%;
}

.img-transform-left-25{
    background-position: 25%;
}

.projects-gallery{
    width: 95%;
    min-height: 100vh;
    margin: auto;
}

.full-container{
    display: flex;
    flex-direction: row;
}

.section-container{
    display: flex;
    flex-direction: column;
    width: 20%;  
    height: 70vh;  
}

.contents{
    height: 100%;
    padding: 10px 20px; 
    font-family: sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: 2px 2px 2px black;
}

.contents h4{
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.contents p{
    margin-bottom: 5px;
}

.container-small{
    height: 250px;
    object-fit: cover;
    margin: 6px;
    overflow: hidden;
}

.container-small:hover > .bg-small{
    transform: scale(1.1);
    transition: ease-in-out 0.4s;
}

.container-small:hover > .bg-small > .contents{
    transform: scale(0.9);
    transition: ease-in-out 0.45s;
    backface-visibility: hidden;
    text-shadow: 4px 4px 5px black;
}

.container-small:not(hover) > .bg-small{
    transition: ease-in-out 0.4s;
}

.container-small:not(hover) > .bg-small > .contents{
    transition: ease-in-out 0.45s;
    backface-visibility: hidden;
}

.container-small:hover > h4{
    transform: scale(1.1);
    transition: ease-in-out 0.4s;
}

.bg-small{
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.container-large{
    height: 400px;
    margin: 6px;
    overflow: hidden;
}

.container-large:hover > .bg-large{
    transform: scale(1.1);
    transition: ease-in-out 0.4s;
}

.container-large:hover > .bg-large > .contents{
    transform: scale(0.9);
    transition: ease-in-out 0.45s;
    backface-visibility: hidden;
    text-shadow: 4px 4px 5px black;
}

.container-large:not(hover) > .bg-large{
    transition: ease-in-out 0.4s;
}

.container-large:not(hover) > .bg-large > .contents{
    transition: ease-in-out 0.45s;
    backface-visibility: hidden;
}

.container-large:hover > h4{
    transform: scale(1.1);
    transition: ease-in-out 0.4s;
}

.bg-large{
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Videos Page */

#videos-section{
    margin: auto;
}

#videos-section section h4, #videos-section section p{
    width: 80%;
    font-family: 'montserrat', sans-serif;
    margin-bottom: 20px;
}

#videos-section section{
    display: flex;
    flex-direction: column;
}

#videos-section section div{
    width: 100%;
}

#video-1 iframe{
    background-image: url('../images/video-thumbnails/Thumb1.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-2 iframe{
    background-image: url('../images/video-thumbnails/Thumb2.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-3 iframe{
    background-image: url('../images/video-thumbnails/Thumb3.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-4 iframe{
    background-image: url('../images/video-thumbnails/Thumb4.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-5 iframe{
    background-image: url('../images/video-thumbnails/Thumb5.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-6 iframe{
    background-image: url('../images/video-thumbnails/Thumb6.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-7 iframe{
    background-image: url('../images/video-thumbnails/Thumb7.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-8 iframe{
    background-image: url('../images/video-thumbnails/Thumb8.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-9 iframe{
    background-image: url('../images/video-thumbnails/Thumb9.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-10 iframe{
    background-image: url('../images/video-thumbnails/Thumb10.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-11 iframe{
    background-image: url('../images/video-thumbnails/Thumb11.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#video-12 iframe{
    background-image: url('../images/video-thumbnails/Thumb12.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#videos-section section h4{
    font-size: 1.2rem;
}

/* FAQ Page */

.faq-hidden{
    display: none;
}

#faqs-section{
    font-family: 'monrserrat', sans-serif;
    font-weight: 600;
    width: 80% !important;
}

.faq-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    padding: 0 20px;
    margin: 10px 0;
}

.faq-top p{
    margin: 30px 0;
}

.faq-button{
    color: white;
    font-weight: bold;
    width: 40px !important;
    height: 40px !important;
    transform: rotate(90deg);
    background-color: rgb(190, 214, 0);
    border-radius: 50%;
    border: none;
    aspect-ratio: 1/1;
}

.faq-button:hover{
    cursor: pointer;
}

.faq-bottom{
    padding: 0 20px;
    font-weight: 500;
}

.faq-bottom p{
    margin: 30px 0;
}

/* Contact Page */

input[type=text]{
    border: none;
    border-bottom: 1px solid black;
    margin-top: 20px;
    width: 100%;
    font-size: 1.2rem;
    padding: 0 10px;
}

.contact-details{
    width: 60%;
    margin: 60px auto;
    font-family: 'montserrat', sans-serif;
    gap: 20px;
}

.details{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details h3{
    margin-bottom: 20px;
}

.contact-details p, .contact-details a, .contact-details h4{
    margin-bottom: 10px;
}

.contact-details a{
    color: dimgray;
}

form{
    width: 100%;
    margin-top: 40px;
}

.form-dynamic{
    width: 100%;
    font-family: 'montserrat', sans-serif;
    margin-bottom: 60px;
}

.form-top{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 40px;
}

.form-top div{
    border: 1px solid black;
    flex: 1;
    text-align: center;
    height: 60px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
}

.form-top div:hover{
    cursor: pointer;
    background-color: #e2e0e0;
}

.form-tab-active{
    background-color: white !important;
    border-bottom: none !important;
}

/* Specific forms */

#form-dynamic{
    min-height: 50vh;
}

.form-bottom{
    min-height: 350px;
    border: 1px solid gray;
    border-top: none;
    padding: 20px 20px;
}

.form-bottom form{
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#form-dynamic form{
    height: 100%;
    padding: 20px;
}
#form-dynamic form textarea{
    width: 100%;
    border: none;
    border-bottom: 1px solid gray;
    font-size: 1.2rem;
    margin-top: 10px;
    height: 28px;
}

#form-dynamic form textarea:focus{
    height: auto !important;
}

#google-map-main{
    width: 100vw;
}

#google-map-main-mobile{
    display: none;
}

#google-map-main iframe{
    width: 100% !important;
}

.google-map-small{
    width: 100%;
    min-height: 250px;
    margin-top: 40px;
}

.google-map-small iframe{
    width: 100%;
    height: 100%;
}

.google-map-small-mobile{
    display: none;
}

.form-submit{
    background-color: var(--primary-color);
    min-width: 200px;
    max-width: 300px;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    border: none;
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
}

/* Custom Animations */

@keyframes buttonPulse {
    0%{
        box-shadow: 0 0 5px purple;
    }

    50%{
        box-shadow: 0 0 30px purple;
    }

    100%{
        box-shadow: 0 0 2px purple;
    }
}