/* ================= RESET ================= */


/* ================= BODY ================= */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #828385;
    color: #ffffff;
    overflow-x: hidden;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 35px;
    background: rgba(0, 0, 0, 0.219);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
}

/* HEADINGS */
.container h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ffc3;
    margin-bottom: 20px;
}

.container h2 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #00d1ff;
}

/* TEXT */
.container p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: justify;
}

/* LINKS */
.container a {
    color: #ffae00;
    text-decoration: none;
    font-weight: 500;
}

.container a:hover {
    text-decoration: underline;
}

/* ================= BACKGROUND ================= */
.background-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

/* BASE SHAPE */
.shape {
    position: absolute;
    opacity: 0.8;
    animation: floatMove linear infinite;
}

/* ⭐ STAR */
.star {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ffff;
}

/* 🔷 SQUARE */
.square {
    width: 18px;
    height: 18px;
    border: 2px solid #00ffc3;
    transform: rotate(45deg);
}

/* 🧊 CUBE */
.cube {
    width: 22px;
    height: 22px;
    background: rgba(0,255,195,0.2);
    border: 1px solid #00ffc3;
    box-shadow: 0 0 15px #00ffc3;
}

/* ✨ DOT */
.dot {
    width: 4px;
    height: 4px;
    background: #ff00ff;
    border-radius: 50%;
}

/* ================= RANDOM POSITIONS ================= */
.shape:nth-child(1) { top: 10%; left: 15%; animation-duration: 18s; }
.shape:nth-child(2) { top: 80%; left: 10%; animation-duration: 22s; }
.shape:nth-child(3) { top: 50%; left: 90%; animation-duration: 25s; }

.shape:nth-child(4) { top: 30%; left: 60%; animation-duration: 20s; }
.shape:nth-child(5) { top: 70%; left: 40%; animation-duration: 26s; }

.shape:nth-child(6) { top: 20%; left: 80%; animation-duration: 24s; }
.shape:nth-child(7) { top: 90%; left: 70%; animation-duration: 30s; }

.shape:nth-child(8) { top: 40%; left: 30%; animation-duration: 19s; }
.shape:nth-child(9) { top: 60%; left: 50%; animation-duration: 21s; }
.shape:nth-child(10){ top: 15%; left: 75%; animation-duration: 23s; }

/* ================= ANIMATION ================= */
@keyframes floatMove {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(80px, -120px) rotate(90deg) scale(1.2);
    }
    50% {
        transform: translate(-120px, 80px) rotate(180deg) scale(0.8);
    }
    75% {
        transform: translate(100px, 100px) rotate(270deg) scale(1.1);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

/* ================= BACKGROUND GLOW ================= */
.background-animation::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,195,0.12), transparent 60%);
    animation: rotateBG 40s linear infinite;
}

/* ROTATION */
@keyframes rotateBG {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .container {
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 30px 15px;
        padding: 20px;
    }

    .container h1 {
        font-size: 2rem;
    }

    .container h2 {
        font-size: 1.2rem;
    }

    .container p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 20px 10px;
        padding: 18px;
    }

    .container h1 {
        font-size: 1.7rem;
    }

    .container p {
        font-size: 13px;
    }
}



/* footer link special   */
footer {
    position: relative; /* ya sticky, ya fixed */
    z-index: 10; /* background se upar */
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* footer se pehle, par background ke upar */
    display: none; /* sirf menu active hone par show karna */
}