body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f0ff;
}


/* Default desktop view */
.nav-links {
    display: flex;
    gap: 20px;
}

/* Hide menu toggle in desktop */
.menu-toggle {
    display: none;
}

/* ===== HEADER FIX ===== */

.site-header {
    position: relative;
}

/* Desktop */
.nav-links {
    display: flex;
    gap: 20px;
}

.menu-toggle {
    display: none;
}

/* 📱 Mobile */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: #000;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;

        display: none !important;   /* force hide */
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex !important;   /* force show */
    }

    .nav-links a {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
}


h1 {
    text-align: center;
    padding: 30px 0;
    color: #5b21b6;
}
h3 {
    text-align: center;
    padding: 30px 0;
    color: #5b21b6;
}

.task-title {
    color: #6d28d9;   /* Purple */
    font-weight: 700;
}

.highlight {
    color: #FFD700;   /* Golden Yellow */
}

.upload-btn {
        position: relative;
    z-index: 10;
    display: inline-block;
    padding: 10px 25px;
    background: #6d28d9;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.upload-btn:hover {
    background: #5b21b6;
    transform: translateY(-2px);
}

.task-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: 0.3s ease;
}
.task-popup.show { transform: translate(-50%, -50%) scale(1); }


.catalogue-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.catalogue-box {
    background: white;
    width: 300px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.catalogue-box {
    text-decoration: none;
    color: inherit;
    display: block;
}


.catalogue-box:hover {
    transform: translateY(-10px);
}

.catalogue-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.catalogue-box h3 {
    margin-bottom: 10px;
    color: #6d28d9;
}

.catalogue-box input[type="file"] {
    margin-top: 10px;
}

.home-btn {
    display: block;          /* inline-block se block karo */
    width: fit-content;      /* button ki width text ke hisaab se */
    margin: 40px auto;       /* auto se center ho jayega */
    padding: 12px 28px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}


.home-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.6);
}



/* FOOTER */
.site-footer {
    background: linear-gradient(135deg, #6d28d9, #7c3aed);
    padding: 4rem 2rem;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-about h2 {
    font-size: 2rem;
    letter-spacing: 3px;
}

.footer-about p {
    margin-top: 1rem;
    max-width: 300px;
    color: #e9d5ff;
}

.footer-links h3 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links ul li a {
    color: #e9d5ff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}


html {
    scroll-behavior: smooth;
}

/* Overlay */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup-box {
    background: #ffffff;
    width: 90%;
    max-width: 380px;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    animation: popupFade 0.3s ease;
}

/* Icon */
.popup-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Telegram Button */
.telegram-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #0088cc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* Close Button */
.close-btn {
    margin-top: 12px;
    padding: 7px 15px;
    border: none;
    background: #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
}

.close-btn:hover {
    background: #cfcfcf;
}

@keyframes popupFade {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.telegram-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0088cc;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s ease;
}

.telegram-float i {
    font-size: 18px;
}

.telegram-float:hover {
    background: #006699;
    transform: scale(1.05);
}