/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
}

/* Header Styles */
header {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-area {
    animation: fadeInDown 0.8s ease;
}

.home-icon {
    color: white;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

header h1 {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 10px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

header .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    animation: fadeInDown 0.8s ease 0.4s both;
}

header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    animation: fadeInDown 0.8s ease 0.6s both;
}

/* Compassionate Message Section */
.compassionate-message {
    animation: fadeIn 1s ease 0.8s both;
}

.message-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.icon-wrapper {
    display: inline-block;
}

.icon-wrapper svg {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.message-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.message-text {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.message-text strong {
    color: #e67e22;
    font-weight: 600;
}

/* What to Expect Section */
.what-to-expect {
    animation: fadeIn 1s ease 1s both;
}

.section-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
}

.step-icon {
    margin: 1rem 0;
}

.step-icon svg {
    color: #3498db;
}

.step-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0;
}

.step-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Form Card Styles */
.form-card {
    border: none;
    border-radius: 20px;
    margin: 20px 0;
    animation: fadeIn 1s ease 1.2s both;
}

.form-subtitle {
    color: #666;
    font-size: 1rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    margin: 20px 0;
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    color: #333;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.form-text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.form-control:focus,
.form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.15);
    outline: none;
}

.form-control:hover,
.form-select:hover {
    border-color: #5dade2;
}

.consent-check {
    background: #e8f8f5;
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid #a9dfbf;
}

.form-check-input {
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.2rem;
    cursor: pointer;
    border: 2px solid #2ecc71;
}

.form-check-input:checked {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

.form-check-label {
    font-size: 1rem;
    color: #555;
    cursor: pointer;
    line-height: 1.6;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
    background: linear-gradient(135deg, #d35400 0%, #ca6f1e 100%);
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1.25rem;
    font-size: 1rem;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Privacy Note */
.privacy-note {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border-left: 3px solid #2ecc71;
}

.privacy-note small {
    font-size: 0.95rem;
}

/* Help Section */
.help-section {
    animation: fadeIn 1s ease 1.4s both;
}

.help-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.help-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.help-card svg {
    color: #3498db;
    margin-bottom: 1rem;
}

.help-card h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.help-card p {
    color: #666;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer Styles */
footer {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-content {
    animation: fadeIn 1s ease 1.6s both;
}

.footer-content p {
    font-size: 1rem;
    line-height: 1.6;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.98rem;
}

/* Required Field Indicator */
.text-danger {
    color: #dc3545;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.alert {
    animation: slideDown 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header .lead {
        font-size: 1.1rem;
    }
    
    header .subtitle {
        font-size: 1rem;
    }
    
    .home-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .message-card {
        padding: 2rem 1.5rem;
    }
    
    .message-title {
        font-size: 1.6rem;
    }
    
    .message-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .step-card {
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .help-section,
    .privacy-note {
        page-break-inside: avoid;
    }
}
