/* template/css/contact.css */
.contact-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1a3a8f 0%, #2c5aa0 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

.contact-hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
}

.contact-hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.illustration-container {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    height: 100%;
}

.contact-info-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-info-header h2 {
    color: #1a3a8f;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info-header p {
    color: #666;
    margin: 0;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-item:hover {
    background: white;
    border-color: #1a3a8f;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(26, 58, 143, 0.1);
}

.contact-info-item.highlighted {
    background: linear-gradient(135deg, #f8f9fa, #e8f4fd);
    border-color: #25d366;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a3a8f, #2c5aa0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: white;
}

.contact-info-item.highlighted .info-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.info-content h5 {
    color: #1a3a8f;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-content p {
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
}

.phone-number, .email-address {
    font-weight: 600;
    color: #1a3a8f !important;
}

.info-note, .info-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.whatsapp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.feature-badge {
    background: rgba(37, 211, 102, 0.1);
    color: #128c7e;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: white;
    transform: translateY(-2px);
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a3a8f;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.email-btn:hover {
    background: #153077;
    color: white;
    transform: translateY(-2px);
}

.support-info ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0;
}

.support-info li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 0.9rem;
}

.support-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #25d366;
    font-weight: bold;
}

/* Contact Social Section */
.contact-social-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.contact-social-section h6 {
    color: #1a3a8f;
    margin-bottom: 15px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.linkedin { background: #0a66c2; }
.social-link.youtube { background: #ff0000; }

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    color: #1a3a8f;
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-header p {
    color: #666;
    margin: 0;
}

/* Form Progress */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #1a3a8f;
    color: white;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #1a3a8f;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #1a3a8f;
    font-weight: 600;
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #1a3a8f;
    box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
}

.form-helper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #666;
    font-size: 0.85rem;
}

.form-helper i {
    color: #1a3a8f;
}

.form-check {
    margin-top: 20px;
}

.form-check-input:checked {
    background-color: #1a3a8f;
    border-color: #1a3a8f;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-prev, .btn-next, .btn-submit {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #f8f9fa;
    color: #666;
}

.btn-prev:hover {
    background: #e9ecef;
    color: #333;
}

.btn-next, .btn-submit {
    background: #1a3a8f;
    color: white;
}

.btn-next:hover, .btn-submit:hover {
    background: #153077;
    transform: translateY(-2px);
}

/* Confirmation Step */
.confirmation-step {
    text-align: center;
    padding: 20px 0;
}

.confirmation-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.confirmation-step h4 {
    color: #1a3a8f;
    margin-bottom: 30px;
}

.confirmation-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.summary-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-item strong {
    color: #1a3a8f;
    display: block;
    margin-bottom: 5px;
}

.message-preview {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-height: 150px;
    overflow-y: auto;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h4 {
    color: #1a3a8f;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-new-message {
    background: #1a3a8f;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-new-message:hover {
    background: #153077;
    transform: translateY(-2px);
}

/* FAQ Section */
.contact-faq {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #1a3a8f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: #1a3a8f;
    font-weight: 600;
    padding: 20px;
    border: none;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #1a3a8f;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3a8f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3a8f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px;
    background: white;
    line-height: 1.6;
}

.accordion-body ul {
    padding-left: 20px;
    margin-top: 10px;
}

.accordion-body li {
    margin-bottom: 5px;
    color: #555;
}

.schedule-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.schedule-item {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-item:last-child {
    border-bottom: none;
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #1a3a8f 0%, #2c5aa0 100%);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp-cta {
    background: #25d366;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-whatsapp-cta:hover {
    background: #128c7e;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .illustration-container {
        width: 250px;
        height: 250px;
        font-size: 6rem;
    }
    
    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-item {
        justify-content: center;
        flex: 1;
        min-width: 200px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .form-progress::before {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-form-card, .contact-info-card {
        padding: 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .btn-whatsapp-cta {
        width: 100%;
        justify-content: center;
    }
}