/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
}

.logo {
    max-height: 80px;
    max-width: 300px;
    object-fit: contain;
}

.logo-placeholder h1 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: bold;
    margin: 0;
}

.tagline {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.tagline p {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}

.age-badge {
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.truck-image-container {
    text-align: center;
    margin-bottom: 30px;
}

.truck-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-height: 400px;
    object-fit: contain;
}

.title {
    font-size: 42px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.description {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.description p {
    margin-bottom: 15px;
}

.license-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid #3498db;
}

.license-info p {
    font-size: 18px;
    color: #2c3e50;
    margin: 10px 0;
}

.license-note {
    font-size: 14px !important;
    color: #7f8c8d !important;
    font-style: italic;
    margin-top: 10px;
}

.eligibility-info {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #ffc107;
}

.eligibility-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #856404;
    font-size: 20px;
}

.eligibility-info p {
    margin: 0;
    color: #856404;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3498db;
}

.separator {
    margin: 0 15px;
    color: #7f8c8d;
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 14px;
    color: #95a5a6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

.success-content {
    text-align: center;
    padding: 50px 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #e74c3c;
}

.modal-content h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 28px;
}

.modal-text {
    text-align: left;
    line-height: 1.8;
}

.modal-text h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 20px;
}

.modal-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-text li {
    margin-bottom: 8px;
}

/* Form Styles */
.registration-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-cancel {
    flex: 1;
    background: #95a5a6;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #7f8c8d;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .logo-container {
        justify-content: center;
    }

    .tagline {
        order: 2;
    }

    .age-badge {
        order: 3;
    }

    .main-content {
        padding: 25px;
    }

    .title {
        font-size: 32px;
    }

    .description {
        font-size: 16px;
    }

    .btn-primary {
        padding: 15px 40px;
        font-size: 18px;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 28px;
    }

    .age-badge {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .logo-placeholder h1 {
        font-size: 24px;
    }
}

