* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #6a1b1b;
    color: white;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    flex: 1;
    text-align: left;
}

.logo {
    height: 70px;
    border-radius: 50px;
}

.header-right {
    flex: 1;
    text-align: right;
}

nav {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-links li a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.header-slogan {
    background-color: #d3a4a4;
    padding: 10px 0;
    text-align: center;
    color: #FFFFFF;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
}

.main-image {
    max-width: 50%;
    height: auto;
}

.login-section {
    padding: 20px;
}

.login-section h1 {
    margin-bottom: 20px;
}

.register-btn, .login-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}
/* LOGO LINK */
.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 60px;          /* consistent height */
    width: auto;           /* keep proportions */
    display: block;
    border-radius: 10px;   /* slightly rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for logo */
.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
}


.register-btn {
    background-color: #6a1b1b;
    color: white;
}

.login-btn {
    background-color: #1e90ff;
    color: white;
}

.login-form, .register-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
}

.login-form div, .register-form div {
    margin-bottom: 15px;
}

.login-form label, .register-form label {
    display: block;
    margin-bottom: 5px;
}

.login-form input, .register-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 20px;
}
footer {
    background-color: #1e1e2f;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    padding: 10px;
    color: white; /* ensure all text is white */
}

.footer-column h3,
.footer-column p,
.footer-column a {
    color: white; /* force headings, paragraphs & links to white */
}

.logo-column img {
    height: 50px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nav-column a {
    color: white;
    text-decoration: none;
}

.start-application {
    padding: 10px 20px;
    background-color: #1e90ff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* tablet: 2 columns */
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* mobile: vertical stack */
        text-align: center;
    }

    .footer-column {
        padding: 15px 0;
    }

    .logo-column img {
        margin: 0 auto; /* ensure logo is centered */
    }

    .start-application {
        width: auto; /* button adjusts on mobile */
        margin: 10px auto;
    }
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none;
}
   /*    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            color: #333;
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
        }

        header {
            background: #2c3e50;
            color: white;
            padding: 20px;
            border-radius: 10px 10px 0 0;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        */

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

        .logo {
            width: 70px;
            height: 70px;
            background: #1a2530;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }

        .logo i {
            font-size: 32px;
            color: #3498db;
        }

        h1 {
            font-size: 28px;
            margin-bottom: 10px;
        }

        .form-container {
            background: white;
            padding: 30px;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .progress-bar {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            position: relative;
        }

        .progress-bar::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            right: 0;
            height: 4px;
            background: #e0e0e0;
            z-index: 1;
        }

        .progress-step {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: white;
            border: 4px solid #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #999;
            position: relative;
            z-index: 2;
        }

        .progress-step.active {
            border-color: #3498db;
            color: #3498db;
            background: white;
        }

        .progress-step.completed {
            border-color: #2ecc71;
            background: #2ecc71;
            color: white;
        }

        .step-label {
            position: absolute;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            font-size: 12px;
            color: #777;
        }

        .form-section {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
            font-size: 22px;
        }

        h3 {
            color: #34495e;
            margin: 15px 0;
            font-size: 18px;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px 15px;
        }

        .form-group {
            flex: 1 0 300px;
            padding: 0 10px;
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #444;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="date"],
        input[type="password"],
        select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: all 0.3s;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }

        textarea {
            min-height: 100px;
            resize: vertical;
        }

        .required::after {
            content: ' *';
            color: #e74c3c;
        }

        .checkbox-group {
            margin: 15px 0;
            display: flex;
            align-items: center;
        }

        .checkbox-group input {
            margin-right: 10px;
        }

        .file-upload {
            border: 2px dashed #ccc;
            padding: 20px;
            text-align: center;
            border-radius: 6px;
            margin-top: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .file-upload:hover {
            border-color: #3498db;
            background: #f8f9fa;
        }

        .file-upload i {
            font-size: 24px;
            color: #3498db;
            margin-bottom: 10px;
        }

        .form-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }

        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background: #3498db;
            color: white;
        }

        .btn-primary:hover {
            background: #2980b9;
        }

        .btn-secondary {
            background: #95a5a6;
            color: white;
        }

        .btn-secondary:hover {
            background: #7f8c8d;
        }

        .btn-outline {
            background: transparent;
            border: 2px solid #3498db;
            color: #3498db;
        }

        .btn-outline:hover {
            background: #3498db;
            color: white;
        }

        .payment-info {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            margin: 15px 0;
            text-align: center;
            border-left: 4px solid #3498db;
        }

        .note {
            font-size: 14px;
            color: #777;
            margin-top: 5px;
        }

        @media (max-width: 768px) {
            .form-group {
                flex: 1 0 100%;
            }
            
            .form-actions {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn {
                width: 100%;
                margin-bottom: 10px;
            }
            
            .progress-bar {
                flex-wrap: wrap;
                justify-content: center;
                gap: 20px;
            }
            
            .progress-step {
                margin-bottom: 30px;
            }
        }

        footer {
            text-align: center;
            margin-top: 30px;
            color: #7f8c8d;
            font-size: 14px;
        }

        .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
                * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

       

 
        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #444;
        }

        input[type="text"],
        input[type="date"] {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
        }

        .radio-group {
            display: flex;
            gap: 20px;
            margin: 15px 0;
        }

        .radio-option {
            display: flex;
            align-items: center;
        }

        .radio-option input {
            margin-right: 8px;
        }

        .payment-info {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            margin: 15px 0;
            text-align: center;
            border-left: 4px solid #3498db;
        }

        .checkbox-group {
            margin: 20px 0;
            display: flex;
            align-items: flex-start;
        }

        .checkbox-group input {
            margin-right: 10px;
            margin-top: 4px;
        }

        .file-upload {
            border: 2px dashed #ccc;
            padding: 30px;
            text-align: center;
            border-radius: 6px;
            margin-top: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .file-upload:hover {
            border-color: #3498db;
            background: #f8f9fa;
        }

        .file-upload i {
            font-size: 32px;
            color: #3498db;
            margin-bottom: 15px;
        }

        .file-upload p {
            margin: 5px 0;
            color: #777;
        }

        .form-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }

        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background: #3498db;
            color: white;
        }

        .btn-primary:hover {
            background: #2980b9;
        }

        .btn-secondary {
            background: #95a5a6;
            color: white;
        }

        .btn-secondary:hover {
            background: #7f8c8d;
        }

        .btn-outline {
            background: transparent;
            border: 2px solid #3498db;
            color: #3498db;
        }

        .btn-outline:hover {
            background: #3498db;
            color: white;
        }

        .instructions-link {
            color: #3498db;
            text-decoration: none;
            display: inline-block;
            margin: 10px 0;
            font-weight: 600;
        }

        .instructions-link:hover {
            text-decoration: underline;
        }

        .instructions {
            background: #e3f2fd;
            padding: 15px;
            border-radius: 6px;
            margin-top: 15px;
            display: none;
        }

        .instructions.show {
            display: block;
        }

        .instructions h4 {
            margin-bottom: 10px;
            color: #1565c0;
        }

        .instructions ol {
            margin-left: 20px;
        }

        .instructions li {
            margin-bottom: 8px;
        }

        @media (max-width: 768px) {
            .form-actions {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn {
                width: 100%;
                margin-bottom: 10px;
            }
            
            .radio-group {
                flex-direction: column;
                gap: 10px;
            }
        }
@media (max-width: 768px) {
    .header-container {
        flex-direction: row; /* keep side by side */
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .header-left {
        flex: 0 0 auto;
    }

    .header-right {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* directly below header */
        right: 0;
        background-color: white;
        width: 200px;
        text-align: left;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid #ddd;
    }

    .nav-links li a {
        display: block;
        padding: 12px 15px;
        color: #000;
    }

    .nav-links li a:hover {
        background-color: #f4f4f4;
    }
}
.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-form h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.login-form div {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.login-form button.login-btn {
    background: #95a5a6;
}

.login-form button:hover {
    opacity: 0.9;
}

.login-form a {
    display: block;
    text-align: center;
    color: #3498db;
    text-decoration: none;
    margin-top: 15px;
}

.login-form a:hover {
    text-decoration: underline;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #e53935;
}

.error-message ul {
    margin: 10px 0 0 20px;
}

.error-message li {
    margin-bottom: 5px;
}