/******************************************************************


	------------------------
	-- TABLE OF CONTENTS --
	------------------------
	
	--  1. Basic
	--  2. Preloader
    --  3. Hero
    --  4. Hero --> Front Content
    --  5. Hero --> Background Content
    --  6. Popup Subscribe
 
 
 ******************************************************************/




/** 1. Basic
*******************************************************************/

html
{
    font-size: 10px !important;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-style: normal;
    overflow: hidden;
    color: #fff;
    background: #000;
    -webkit-font-smoothing: antialiased;
    /* Add subtle texture to background */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Bolder headings */
    letter-spacing: -0.02em; /* Tighter letter spacing for modern look */
    color: #fff;
}

h1 {
    font-size: 6.5rem; /* Slightly larger */
    text-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Subtle text shadow */
}

h2
{
    font-size: 5rem;
}

h3
{
    font-size: 4rem;
}

h4
{
    font-size: 3rem;
}

h5
{
    font-size: 2rem;
}

h6
{
    font-size: 1.8rem;
}

p
{
    font-size: 1.4rem;
}

a,
a:hover,
a:focus
{
    cursor: pointer;
    -webkit-transition: all 300ms ease;
         -o-transition: all 300ms ease;
            transition: all 300ms ease;
    text-decoration: none;
}

a:hover
{
    color: #fff;
}

@media (max-width:700px)
{
    html
    {
        font-size: 8px !important;
    }
}

@media (max-width:500px)
{
    html
    {
        font-size: 6px !important;
    }
}

@media (max-width:350px)
{
    html
    {
        font-size: 5px !important;
    }
}

@media (orientation:landscape) and (max-height:420px)
{
    html
    {
        font-size: 8px !important;
    }
}



/** 2. Preloader
*******************************************************************/

.preloader {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cool gradient background instead of flat color */
    background: linear-gradient(135deg, #2707eb 0%, #7b42ff 100%);
}

.preloader.preloader-hidden
{
    height: 0;
    
    -webkit-transition: .5s ease .3s;
         -o-transition: .5s ease .3s;
            transition: .5s ease .3s;
}

.preloader .spinner
{
    position: absolute;
    top: 50%;

    width: 100%;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
    opacity: 1;
}

.preloader.preloader-hidden .spinner
{
    opacity: 0;
    
    -webkit-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
}

preloader .spinner > div {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 6px;
    border-radius: 100%;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.7); /* Glow effect */
    -webkit-animation: spinner-bounce 1.4s infinite ease-in-out both;
    animation: spinner-bounce 1.4s infinite ease-in-out both;
}

.preloader .spinner .bounce-1
{
    -webkit-animation-delay: -.32s;
            animation-delay: -.32s;
}

.preloader .spinner .bounce-2
{
    -webkit-animation-delay: -.16s;
            animation-delay: -.16s;
}

@-webkit-keyframes spinner-bounce
{
    0%,
    80%,
    100%
    {
        -webkit-transform: scale(0);
    }
    40%
    {
        -webkit-transform: scale(1.0);
    }
}

@keyframes spinner-bounce
{
    0%,
    80%,
    100%
    {
        -webkit-transform: scale(0);
                transform: scale(0);
    }

    40%
    {
        -webkit-transform: scale(1.0);
                transform: scale(1.0);
    }
}



/** 3. Hero
*******************************************************************/

.hero
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.hero .animation-container
{
    -webkit-transition: .5s ease;
         -o-transition: .5s ease;
            transition: .5s ease;
}

.hero .animation-container.animation-fade
{
    opacity: 0;
}

.hero .animation-container.animation-fade.run-animation
{
    opacity: 1;
}

.hero .animation-container.animation-fade-up
{
    -webkit-transform: translateY(10vh);
        -ms-transform: translateY(10vh);
            transform: translateY(10vh);

    opacity: 0;
}

.hero .animation-container.animation-fade-up.run-animation
{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);

    opacity: 1;
}

.hero .animation-container.animation-fade-down
{
    -webkit-transform: translateY(-10vh);
        -ms-transform: translateY(-10vh);
            transform: translateY(-10vh);

    opacity: 0;
}

.hero .animation-container.animation-fade-down.run-animation
{
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);

    opacity: 1;
}

.hero .animation-container.animation-fade-left
{
    -webkit-transform: translateX(10vh);
        -ms-transform: translateX(10vh);
            transform: translateX(10vh);

    opacity: 0;
}

.hero .animation-container.animation-fade-left.run-animation
{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);

    opacity: 1;
}

.hero .animation-container.animation-fade-right
{
    -webkit-transform: translateX(-10vh);
        -ms-transform: translateX(-10vh);
            transform: translateX(-10vh);

    opacity: 0;
}

.hero .animation-container.animation-fade-right.run-animation
{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);

    opacity: 1;
}



/** 4. Hero --> Front Content 
*******************************************************************/

.hero .front-content
{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.hero .front-content .container-mid
{
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
}

.hero .front-content .container-mid img.logo
{
    display: block;

    margin: 0 auto;
}

.hero .front-content .container-mid h1
{
    font-weight: bold;
    line-height: 1.1em;

    margin-top: .5em;
    margin-bottom: .46em;

    letter-spacing: .025em;
}

.hero .front-content .container-mid p.subline
{
    font-size: 3rem;
    line-height: 1.4em;

    max-width: 18em;
    margin-right: auto;
    margin-bottom: 1.3em;
    margin-left: auto;

    letter-spacing: .025em;
}

.hero .front-content .container-mid .open-popup {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 2.6em;
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0 2.6em;
    cursor: pointer;
    letter-spacing: .025em;
    color: #fff;
    border: 3px solid rgba(255,255,255,0.8);
    border-radius: 4em;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px); /* Modern frosted glass effect */
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero .front-content .container-mid .open-popup:hover {
    transform: translateY(-3px); /* Slight float effect on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    color: #111;
    background: rgba(255,255,255,0.95);
}

.hero .front-content .footer
{
    position: absolute;
    bottom: 10px;

    width: 100%;

    text-align: center;
}

.hero .front-content .footer p
{
    font-size: 1.3rem;

    letter-spacing: .025em;

    opacity: .85;
}

.hero .front-content .footer p a
{
    font-weight: bold;
}

@media (orientation:landscape) and (max-height:420px)
{
    .hero .front-content .footer
    {
        display: none;
    }
}



/** 5. Hero --> Background Content 
*******************************************************************/

.hero .background-content
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.hero .background-content.parallax-on
{
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;

    width: 110%;
    height: 110%;

    -webkit-transform: translate3d(-50%, -50%, 0px) !important;
            transform: translate3d(-50%, -50%, 0px) !important;
}

.hero .background-content .background-overlay
{
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    /* Modern gradient overlay */
    background: linear-gradient(135deg, rgba(13,11,50,0.8) 0%, rgba(2,0,36,0.7) 100%);
}

.hero .background-content .background-img
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: url(../img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}


/** 6. Popup Subscribe
*******************************************************************/

.popup
{
    position: fixed;
    z-index: -100;
    top: 0;
    left: 0;

    overflow-y: auto;

    width: 100%;
    height: 100%;

    -webkit-transition: .3s ease;
         -o-transition: .3s ease;
            transition: .3s ease;
    pointer-events: none;

    opacity: 0;
    background: rgba(5,5,5,.5);
}

.popup.show
{
    z-index: 100;

    pointer-events: all;

    opacity: 1;
}

.popup .backface
{
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.popup .card
{
    position: relative;
    z-index: 5;
    top: 60%;
    left: 50%;
    max-width: 410px;
    padding: 90px 46px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    text-align: center;
    opacity: 0;
    border: none; /* Remove border */
    border-radius: 15px; /* Rounded corners */
    background: rgba(15,15,20,0.85); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Modern frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    /* Keep the background image but with overlay */
    background-image: linear-gradient(rgba(15,15,20,0.7), rgba(15,15,20,0.7)), url(../img/card-background.jpg);
    background-position: center;
    background-size: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popup.show .card
{
    top: 50%;

    -webkit-transition: .4s ease;
         -o-transition: .4s ease;
            transition: .4s ease;

    opacity: 1;
}

.popup .card:after
{
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    content: '';

    opacity: .4;
    background: #111;
}

.popup .card .close-button
{
    position: absolute;
    top: 15px;
    right: 15px;

    width: 20px;
    height: 20px;

    cursor: pointer;
}

.popup .card .close-button:before
{
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;
    height: 2px;

    content: '';
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);

    background: #fff;
}

.popup .card .close-button:after
{
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;
    height: 2px;

    content: '';
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);

    background: #fff;
}

.popup .card i
{
    font-size: 6rem;
}

.popup .card h3
{
    margin-top: .5em;
    margin-bottom: .8em;
}

.popup .card p.subline
{
    font-size: 1.6rem;

    max-width: 19em;
    margin-right: auto;
    margin-bottom: 2.4em;
    margin-left: auto;

    letter-spacing: .025em;
}


.popup .card .subscribe-form
{
    position: relative;
    width: 100%;
    max-width: 100%;
}

.popup .card .subscribe-form .input-group
{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    padding: 5px 5px 5px 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.popup .card .subscribe-form .input-group:focus-within
{
    background: rgba(255,255,255,0.05);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1), 0 8px 20px rgba(39,7,235,0.15);
    border-color: rgba(123,66,255,0.5);
    transform: translateY(-1px);
}

.popup .card .subscribe-form .input-icon
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 8px;
}

.popup .card .subscribe-form .input-icon i
{
    font-size: 1.6rem;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.popup .card .subscribe-form .input-group:focus-within .input-icon i
{
    color: #7b42ff;
}

.popup .card .subscribe-form input
{
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    flex: 1;
    padding: 16px 15px;
    color: #fff;
    background: transparent;
    border: none;
    outline: none !important;
    transition: all 0.3s ease;
}

.popup .card .subscribe-form input::placeholder
{
    color: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.popup .card .subscribe-form input:focus::placeholder
{
    color: rgba(255,255,255,0.6);
}

.popup .card .subscribe-form .input-group-append
{
    padding: 5px;
}

.popup .card .subscribe-form button
{
    width: 100%;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 16px 24px;
    margin-bottom: 15px;
    color: #fff;
    background: linear-gradient(135deg, #2707eb 0%, #7b42ff 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup .card .subscribe-form button:hover
{
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39,7,235,0.3);
    background: linear-gradient(135deg, #3818ff 0%, #8d5aff 100%);
}

.popup .card .subscribe-form button span
{
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.popup .card .subscribe-form button i
{
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.popup .card .subscribe-form button:hover i
{
    transform: translateX(4px);
}

.popup .card .subscribe-form .message-container
{
    position: relative;
    min-height: 24px;
    text-align: center;
}

.popup .card .subscribe-form .error-message,
.popup .card .subscribe-form .success-message
{
    font-size: 1.4rem;
    font-weight: 500;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -30px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup .card .subscribe-form .error-message i,
.popup .card .subscribe-form .success-message i
{
    font-size: 1.6rem;
}

.popup .card .subscribe-form.form-error .error-message
{
    opacity: 1;
    transform: translateY(0);
    color: #ff4d4d;
}

.popup .card .subscribe-form.form-success .success-message
{
    opacity: 1;
    transform: translateY(0);
    color: #00ff9d;
}

/* Add neon glow effect to the card on hover */
.popup .card:hover
{
    transform: translate(-50%, -51%) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.6),
                0 0 30px rgba(39,7,235,0.2),
                0 0 10px rgba(123,66,255,0.2);
}

@media (orientation:landscape) and (max-height:420px)
{
    .popup .card
    {
        -webkit-transform: translate(-50%,0%);
            -ms-transform: translate(-50%,0%);
                transform: translate(-50%,0%);
    }

    .popup.show .card
    {
        top: 0;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero .front-content .container-mid img.logo {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.hero .front-content .container-mid img.logo:hover {
    filter: drop-shadow(0 15px 30px rgba(39,7,235,0.3));
    transform: translateY(-5px);
}

/* Add a subtle scale effect on button click */
.popup .card .subscribe-form button:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(39,7,235,0.2);
}

/* Add a pulsing effect to the button */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(39,7,235,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(39,7,235,0); }
    100% { box-shadow: 0 0 0 0 rgba(39,7,235,0); }
}

.popup .card .subscribe-form button {
    animation: pulse 2s infinite;
}

.popup .card .subscribe-form button:hover {
    animation: none;
}