:root {
    --primary-navy: #123269;
    --primary-blue: #194383;
    --secondary-blue: #2563eb;
    --accent-blue: #3b82f6;
    --light-blue: #dbeafe;
}

.gradient-bg {
    background: #ffffff;
    position: relative;
    box-shadow: 0 7px 6px 6px rgba(0, 0, 0, 0.1);
}
.card-shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}
.step-active {
    background: linear-gradient(360deg,rgba(40, 70, 125, 1) 9%, rgba(42, 126, 199, 1) 84%);
    color: white;
    box-shadow: 0 4px 10px rgba(40, 70, 125, 0.3);
}
.step-completed {
    background: #10b981;
    color: white;
}
.step-pending {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.step-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    flex: 1;
    margin: 0 1rem;
}
.step-line.completed {
    background: #10b981;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary-navy), var(--primary-blue));
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 55, 115, 0.4);
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
}
.btn-secondary {
    background: #6b7280;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #4b5563;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}
.form-control {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-bottom: 4px solid #e5e7eb;
    border-radius: 22px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(20, 55, 115, 0.1);
}
.form-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-bottom: 4px solid #e5e7eb;
    border-radius: 22px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}
.form-select:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(20, 55, 115, 0.1);
}
.required {
    color: #ef4444;
}
.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 0.25rem;
}
.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}
.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.file-upload-label {
    display: block;
    padding: 12px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
}
.file-upload:hover .file-upload-label {
    border-color: var(--primary-navy);
    background: var(--light-blue);
}
.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    display: none;
}
.file-preview.show {
    display: block;
}
.file-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
}

.section-sub-title {
    font-size: 1.45rem;
    color: #79669e;
}
.section-description {
    font-size: 0.9rem;
    color: #f20808;
}

.line-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1rem 0;
    opacity: 0.5;
}

/* Estilos para iconos del footer */
.footer-icon {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

.fade-in-animation {
    animation: fadeIn 2s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.service-card {
    position: relative;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.11);
    border-radius: 16px;
    padding: 3rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.service-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(30, 74, 140, 0.15);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: #113870;
    border-width: 3px;
    box-shadow: 0 12px 30px rgba(30, 74, 140, 0.25);
}

.checkmark-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #143773, #2563eb);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(20, 55, 115, 0.4);
    border: 3px solid white;
}

.service-card.selected .checkmark-badge {
    display: flex;
}

.checkmark-icon {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
    color: #1e4a8c;
}

.service-card.selected .service-icon {
    color: #143773;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
    margin: 0;
}

.service-card.selected .service-name {
    color: #1e4a8c;
}

.btn-next {
    background: linear-gradient(45deg, var(--primary-navy), var(--primary-blue));
    color: white;
    padding: 14px 48px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-next:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 55, 115, 0.4);
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
}

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

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    margin-top: 2rem;
}

/* Responsive improvements for step indicators */
@media (max-width: 768px) {
    .step-indicator {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .step-line {
        margin: 0 0.5rem;
    }
    .flex.items-start > div > div:last-child {
        font-size: 12px;
        padding: 0 2px;
        max-width: 80px;
    }

    .footer-icon img {
        width: 2rem;
        height: 2rem;
    }
    .footer-icon-container {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 640px) {
    .flex.items-start > div > div:last-child {
        font-size: 11px;
        padding: 0 1px;
        max-width: 60px;
    }
    .section-sub-title {
        font-size: 1.15rem;
    }

    .section-description {
        font-size: 0.60rem;
    }

}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
