* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.main-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.main-header p {
    font-size: 1.2em;
    opacity: 0.95;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.about-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2em;
}

.about-section p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.bible-verse {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid #e17055;
    font-style: italic;
    font-size: 1.15em;
    color: #2d3436;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bible-verse::before {
    content: '📖';
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.bible-verse small {
    font-size: 0.9em;
    font-style: normal;
    opacity: 0.8;
}

.form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.form-section h2 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 2em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

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

.error-text {
    display: block;
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 5px;
    min-height: 18px;
}

.file-upload {
    border: 2px dashed #667eea;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9ff;
}

.file-upload:hover {
    background-color: #eef1ff;
    border-color: #5568d3;
}

.file-upload p {
    margin: 0;
    font-size: 1.1em;
    color: #667eea;
    font-weight: 600;
}

.file-upload small {
    color: #888;
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    background: #f6f6f6;
    border-radius: 12px;

    text-decoration: none;
    color: #222;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;

    transition: all 0.25s ease;
}


.social-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}


.social-link:hover {
    background: #eaeaea;
    transform: translateY(-2px);
}


.file-preview-item {
    position: relative;
    display: inline-block;
}

.file-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.remove-photo:hover {
    background: #c82333;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message,
.error-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease;
}

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

.success-message {
    background: #00b894;
    color: white;
}

.error-message {
    background: #d63031;
    color: white;
}

footer {
    text-align: center;
    padding: 30px;
    color: #666;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2em;
    }

    .main-header p {
        font-size: 1em;
    }

    .form-section,
    .about-section {
        padding: 25px;
    }

    .form-section h2,
    .about-section h2 {
        font-size: 1.5em;
    }
}
