@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;

    background:url('background.jpg') center center no-repeat;
    background-size:cover;
    background-attachment:fixed;

    overflow:hidden;
    position:relative;

    animation:fadeIn 1.2s ease;
}

/* Background Overlay + Blur */
body::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        135deg,
        rgba(20,40,75,.45),
        rgba(255,255,255,.08),
        rgba(212,168,87,.20),
        rgba(20,40,75,.35)
    );

    background-size:400% 400%;
    animation:gradientMove 18s ease infinite;

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

/* Main Glass Card */
.container{
    position:relative;
    z-index:5;

    width:75%;
    max-width:1150px;

    padding:50px;

    text-align:center;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.25);
    border-radius:20px;

    box-shadow:
        0 8px 32px rgba(0,0,0,.15),
        inset 0 1px 1px rgba(255,255,255,.3);

    animation:floatCard 6s ease-in-out infinite;
}

/* Animated Border Glow */
.container::before{
    content:"";
    position:absolute;
    inset:-2px;
    z-index:-1;

    border-radius:22px;

    background:linear-gradient(
        90deg,
        #2f5e8c,
        #ffffff,
        #d8ae58,
        #2f5e8c
    );

    background-size:300% 300%;
    animation:borderGlow 10s linear infinite;

    opacity:.20;
}

/* Logo */
.logo{
    width:180px;
    height:auto;

    display:block;
    margin:0 auto 20px;

    filter:drop-shadow(0 0 15px rgba(255,185,0,.2));

    animation:logoFloat 4s ease-in-out infinite;
}

/* Heading */
h1{
    font-size:4.5rem;
    font-weight:300;
    line-height:1.1;

    color:#ffffff;

    text-shadow:
        0 3px 10px rgba(0,0,0,.25);

    margin-bottom:10px;
}

.highlight{
    background:linear-gradient(
        90deg,
        #60a8ff,
        #ffffff,
        #60a8ff
    );

    background-size:200% auto;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    animation:textShine 5s linear infinite;
}

/* Subtitle */
h2{
    font-size:3.2rem;
    font-weight:300;

    color:#fff;

    margin-bottom:35px;

    text-shadow:
        0 3px 10px rgba(0,0,0,.25);
}

/* Form */
.subscribe-form{
    display:flex;
    justify-content:center;

    max-width:720px;
    margin:0 auto 30px;
}

.subscribe-form input{
    flex:1;
    height:68px;

    padding:0 22px;

    border:none;

    background:rgba(255,255,255,.92);

    border-radius:10px 0 0 10px;

    font-size:18px;

    transition:.3s ease;
}

.subscribe-form input:focus{
    outline:none;

    box-shadow:
        0 0 0 4px rgba(96,168,255,.25);
}

.subscribe-form button{
    width:230px;

    border:none;

    border-radius:0 10px 10px 0;

    background:linear-gradient(
        135deg,
        #2f5e8c,
        #4b90d4
    );

    color:#fff;

    font-size:22px;
    font-weight:600;

    cursor:pointer;

    transition:.3s ease;
}

.subscribe-form button:hover{
    transform:translateY(-3px);

    box-shadow:
        0 12px 25px rgba(47,94,140,.35);
}

/* Contact Section */
.contact{
    font-size:26px;
    color:#fff;

    text-shadow:
        0 2px 8px rgba(0,0,0,.25);
}

.contact a{
    color:#fff;
    text-decoration:none;
}

.contact a:hover{
    color:#d8ae58;
}

/* ===================== */
/* Animations */
/* ===================== */

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@keyframes gradientMove{
    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }
}

@keyframes floatCard{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }
}

@keyframes borderGlow{
    from{
        background-position:0% 50%;
    }

    to{
        background-position:300% 50%;
    }
}

@keyframes textShine{
    from{
        background-position:0% center;
    }

    to{
        background-position:200% center;
    }
}

@keyframes logoFloat{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }
}

/* ===================== */
/* Responsive */
/* ===================== */

@media(max-width:768px){

    .container{
        width:95%;
        padding:25px;
    }

    .logo{
        width:120px;
    }

    h1{
        font-size:2.4rem;
    }

    h2{
        font-size:2rem;
    }

    .subscribe-form{
        flex-direction:column;
    }

    .subscribe-form input{
        border-radius:10px;
    }

    .subscribe-form button{
        width:100%;
        height:60px;
        margin-top:10px;
        border-radius:10px;
    }

    .contact{
        font-size:18px;
    }
}