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

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    min-height: 100vh;

}
body {
    transition: opacity 0.5s ease;
}


.navbar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}


.navbar a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00f2fe;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}


.container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    animation: fadeIn 1s ease;
}


.card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    animation: popUp 0.6s ease;
}


input[type="text"], input[type="file"] {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    outline: none;
}


button {
    padding: 12px 25px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    border: none;
    border-radius: 30px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00f2fe;
}


.qr-box {
    margin-top: 30px;
    animation: fadeIn 1s ease;
}

.qr-box img {
    border-radius: 15px;
    margin-top: 10px;
    transition: 0.3s;
}

.qr-box img:hover {
    transform: scale(1.1) rotate(3deg);
}


ul {
    list-style: none;
}

ul li {
    margin: 10px 0;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: 0.3s;
}

ul li:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.2);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-card {
    max-width: 700px;
    margin: auto;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}


.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
}


textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    resize: none;
}


.captcha-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.captcha-row input {
    width: 120px;
}


@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }

    .captcha-row {
        flex-direction: column;
    }
}

ul li {
    margin: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.admin-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    animation: fadeIn 0.8s ease;
}


.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    padding: 12px;
    color: black;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.admin-table tr:hover {
    background: rgba(255,255,255,0.08);
}


.delete-btn {
    background: red;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.delete-btn:hover {
    background: darkred;
    transform: scale(1.1);
}


.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.file-box {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.file-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}


.view-btn {
    background: #00f2fe;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
}

.view-btn:hover {
    background: #4facfe;
    transform: scale(1.1);
}

.contact-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-card {
    width: 100%;
    max-width: 600px;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeIn 0.8s ease;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
}


.captcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-box input {
    width: 120px;
}


.contact-form button {
    padding: 12px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    border: none;
    border-radius: 25px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: scale(1.05);
}


.success-msg {
    color: lightgreen;
    margin-bottom: 10px;
}

.error-msg {
    color: red;
    margin-bottom: 10px;
}
