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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ========================================
   Image Container
   ======================================== */
.image-container {
    width: 100%;
    background-color: #fff;
}

.image-container picture {
    display: block;
    width: 100%;
    margin-bottom: 40px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* ========================================
   Form Section
   ======================================== */
.form-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 12px;
}

.form-description {
    font-size: 14px;
    color: #718096;
    text-align: center;
    margin-bottom: 32px;
}

/* ========================================
   Form Elements
   ======================================== */
.registration-form {
    width: 100%;
}

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

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

.required {
    color: #e53e3e;
    font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #2d3748;
    background-color: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background-color: #ffffff;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a0aec0;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d3748' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Submit Button
   ======================================== */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

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

.submit-btn:disabled {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========================================
   Success Message
   ======================================== */
.success-message {
    margin-top: 24px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #22543d;
    background-color: #c6f6d5;
    border: 2px solid #48bb78;
    border-radius: 8px;
    text-align: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    width: 100%;
    padding: 40px 20px;
    background-color: #1a202c;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 8px;
}

.footer-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 767px) {
    .form-section {
        padding: 40px 16px;
    }

    .form-container {
        padding: 28px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-description {
        font-size: 13px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .form-container {
        padding: 36px 32px;
    }
}