* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f6f9;
    color: #1e293b;
}

/* Navbar */
.navbar {
    padding: 16px 8%;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 28px;
    /* adjust size if needed */
    height: 28px;
    object-fit: contain;
}

@media (max-width: 480px) {
    .logo img {
        width: 24px;
        height: 24px;
    }
}

/* Main Section */
.main-section {
    text-align: center;
    padding: 60px 20px;
}

.main-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #64748b;
    margin-bottom: 40px;
}

/* Form Card */
.form-card {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #2563eb;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 25px;
}

/* Button */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Bottom Info */
.bottom-info {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 14px;
    color: #64748b;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 40px 8%;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.footer-content h3 {
    margin-bottom: 10px;
}

.footer-content p {
    color: #64748b;
    max-width: 500px;
    margin-bottom: 30px;
}

.copyright {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    font-size: 13px;
    color: #94a3b8;
}

/* ========================= */
/* Responsive Design */
/* ========================= */

@media (max-width: 992px) {
    .main-section h1 {
        font-size: 28px;
    }

    .form-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .bottom-info {
        flex-direction: column;
        gap: 10px;
    }

    .form-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .main-section {
        padding: 40px 15px;
    }

    .main-section h1 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-card {
        padding: 20px;
    }
}

/* ============================================================
   DARK MODE
   ============================================================ */
html.dark body {
    background: #0f172a;
    color: #e2e8f0;
}

html.dark .navbar {
    background: #0b1220;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .logo,
html.dark .logo span {
    color: #ffffff;
}

html.dark .main-section h1 {
    color: #ffffff;
}

html.dark .subtitle {
    color: #94a3b8;
}

html.dark .form-card {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html.dark .input-group label {
    color: #cbd5e1;
}

html.dark .input-group input,
html.dark .input-group select,
html.dark .input-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

html.dark .input-group input::placeholder,
html.dark .input-group textarea::placeholder {
    color: #64748b;
}

html.dark .input-group input:focus,
html.dark .input-group select:focus,
html.dark .input-group textarea:focus {
    border-color: #9f6bff;
}

html.dark .checkbox-group {
    color: #94a3b8;
}

html.dark .bottom-info {
    color: #94a3b8;
}

html.dark .footer {
    background: #0b1220;
    border-top-color: rgba(255, 255, 255, 0.08);
}

html.dark .footer-content h3 {
    color: #ffffff;
}

html.dark .footer-content p {
    color: #94a3b8;
}

html.dark .copyright {
    color: #64748b;
    border-top-color: rgba(255, 255, 255, 0.08);
}