/* ===== GOOGLE FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    min-height:100vh;
    background:linear-gradient(
        135deg,
        #050816,
        #0f172a,
        #1e293b
    );
    color:white;
    line-height:1.8;
    overflow-x:hidden;
}

/* ===== GLOWING BACKGROUND ===== */
body::before{
    content:'';
    position:fixed;
    width:500px;
    height:500px;
    background:#00ffff;
    filter:blur(200px);
    opacity:.15;
    top:-200px;
    left:-200px;
    z-index:-1;
}

body::after{
    content:'';
    position:fixed;
    width:500px;
    height:500px;
    background:#ff00ff;
    filter:blur(200px);
    opacity:.12;
    bottom:-200px;
    right:-200px;
    z-index:-1;
}

/* ===== HEADER ===== */
header{
    padding:25px;
    text-align:center;

    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,0.1);

    
}

/* ===== GLOWING TITLE ===== 
header h1{
    font-size:3rem;
    font-weight:800;
    letter-spacing:2px;

    background:linear-gradient(
        90deg,
        #00ffff,
        #ffffff,
        #ff00ff
    );

    animation:glow 3s infinite alternate;
}

/* ===== NAVIGATION ===== */
nav{
    margin-top:20px;
}

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    padding:12px 24px;

    border-radius:50px;

    background:rgba(255,255,255,0.08);

    backdrop-filter:blur(10px);

    transition:.4s ease;

    border:1px solid rgba(255,255,255,.1);
}

nav ul li a:hover{
    transform:translateY(-4px);
}

/* ===== MAIN CONTENT ===== */
main{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

/* ===== GLASS CARDS ===== */
section{
    margin-bottom:30px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:30px;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;
}

section:hover{
    transform:translateY(-8px);

}

/* ===== SECTION TITLES ===== */
section h2{
    font-size:2rem;
    margin-bottom:15px;
}

/* ===== PARAGRAPHS ===== */
p{
    color:#d7d7d7;
}

/* ===== FORM ===== */
form{
    display:flex;
    flex-direction:column;
}

form label{
    margin-bottom:8px;
    font-weight:600;
}

form input,
form textarea{
    padding:15px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    color:white;

    border-radius:12px;

    margin-bottom:15px;

    outline:none;

    transition:.3s;
}

form input:focus,
form textarea:focus{
    border-color:#00ffff;

}

/* ===== BUTTON ===== */
form button{
    padding:15px;

    border:none;
    border-radius:12px;

    font-size:1rem;
    font-weight:700;

    cursor:pointer;

    color:white;

    background:linear-gradient(
        45deg,
        #00ffff,
        #ff00ff
    );

    transition:.4s;
}

form button:hover{
    transform:translateY(-4px);
}

/* ===== FOOTER ===== */
footer{
    text-align:center;

    padding:25px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);

    border-top:1px solid rgba(255,255,255,.1);
}

/* ===== MOBILE ===== */
@media(max-width:768px){

    header h1{
        font-size:2rem;
    }

    nav ul{
        flex-direction:column;
        align-items:center;
    }

    section{
        padding:20px;
    }
}