:root {
    --color-primary: #250254;
    --color-accent: #FF8647;
    --color-bg: #F8F9FA;
    --color-text: #333;
    --font-main: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: var(--color-primary);
    color: #fff;
    padding: 1rem 2rem;
    z-index: 1000;
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
}

.logo img {
    display: block;
    max-height: 44px;
    width: auto;
}

.logo span {
    color: var(--color-accent);
}

.menu {
    display: flex;
    gap: 1.5rem;
}

.menu-item {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-item:hover,
.menu-item.active {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    background-image: linear-gradient(135deg, rgba(248, 249, 250, 0.82) 0%, rgba(234, 234, 252, 0.82) 100%), url('backgroundks.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(1rem, 4vw, 3rem);
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    max-width: 520px;
    width: 100%;
    text-align: center;
}

.card h1 {
    color: var(--color-primary);
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.card p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(37,2,84,0.3);
    outline: none;
}

.error-message {
    color: #d9534f;
    font-size: 0.85rem;
    text-align: left;
    min-height: 1em;
}

/* Button */
.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 0.95rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #ff6a1f;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        text-align: left;
    }
    .navbar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        padding: 0.9rem 1rem;
    }
    .menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .navbar {
        padding: 1rem 2.5rem;
    }
    .card {
        max-width: 560px;
    }
}
