/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.logo h1 {
    font-size: 24px;
    color: #0056b3;
}

.logo p {
    font-size: 13px;
    color: #666;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navigation a {
    padding: 5px 10px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navigation a.active,
.navigation a:hover {
    background-color: #007bff;
    color: white;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 50px;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    color: #555;
}

/* Login Form */
.login-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.login-form h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
}

.btn {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.form-footer {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

/* Messages */
.error-message,
.success-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error-message {
    background-color: #fdecea;
    color: #d93025;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #e6f4ea;
    color: #198754;
    border: 1px solid #c3e6cb;
}

/* Features Section */
.features {
    margin-top: 80px;
    text-align: center;
}

.features h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    width: 240px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #555;
}

/* Footer */
.footer {
    margin-top: 60px;
    background-color: #f9f9f9;
    padding: 40px 20px 20px;
    font-size: 14px;
    color: #555;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 12px;
    color: #111;
    font-size: 16px;
}

.footer-section p,
.footer-section ul {
    color: #666;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 20px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
}

.form-row.two-col {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.form-row.two-col .form-group {
    flex: 1;
    min-width: 200px;
}
.registration-form .form-group {
    margin-bottom: 15px;
}
.registration-form input,
.registration-form textarea {
    padding: 8px 12px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.registration-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}
.registration-form .btn-primary {
    padding: 10px 20px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
}
.registration-form .btn-primary:hover {
    background-color: #0056b3;
}

