* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    color: #1e293b;
}

/* ================= LOGIN ================= */

.login-container {
    width: 380px;
    padding: 40px;
    background: rgba(255,255,255,0.95);
    margin: 120px auto;
    border-radius: 18px;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.login-container input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: 0.3s;
}

.login-container input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

.login-container button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-container button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(79,70,229,0.4);
}

.error {
    text-align: center;
    color: #dc2626;
    margin-bottom: 12px;
}

/* ================= HEADER ================= */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(10px);
    padding: 20px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav a {
    color: #c7d2fe;
    margin-left: 25px;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #a5b4fc;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.logout {
    color: #fca5a5;
}

/* ================= HERO ================= */

.hero {
    min-height: 80vh;
    background:
        radial-gradient(circle at top, rgba(99,102,241,0.4), transparent),
        linear-gradient(135deg, #312e81, #1e1b4b);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 19px;
    opacity: 0.9;
}

/* ================= SECTIONS ================= */

.section {
    max-width: 1100px;
    margin: 100px auto;
    background: rgba(255,255,255,0.9);
    padding: 70px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    backdrop-filter: blur(6px);
}

.section h2 {
    margin-bottom: 35px;
    font-size: 30px;
    position: relative;
}

.section h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #6366f1;
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 5px;
}

/* ================= ABOUT ================= */

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    flex-shrink: 0;
    display: block;
}


.about-content p {
    font-size: 17px;
    line-height: 1.9;
}

/* ================= CONTACT ================= */

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

.contact-form button {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    padding: 16px;
    width: 100%;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    box-shadow: 0 12px 25px rgba(79,70,229,0.4);
}

/* ================= FOOTER ================= */

footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 30px;
    font-size: 14px;
    margin-top: 100px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    header {
        padding: 20px 30px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .section {
        margin: 50px 20px;
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 34px;
    }
}
