/* ===== CONTACT PAGE STYLES ===== */

/* Page Header */
.contact-header {
    background: linear-gradient(rgba(42, 157, 143, 0.9), rgba(42, 157, 143, 0.8)),
                url('../images/photo-1490750967868-88aa4486c946.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 80px;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Info */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-color);
    color: white;
}

.info-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.info-text {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.info-link i {
    transition: transform 0.3s ease;
}

.info-link:hover {
    color: var(--primary-dark);
}

.info-link:hover i {
    transform: translateX(5px);
}

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--dark-color);
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23264' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* Form Options */
.form-options {
    margin-bottom: 30px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-option input {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
}

.checkbox-option input:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-option input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-option:hover .checkmark {
    border-color: var(--primary-color);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.submit-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.submit-btn .btn-text {
    transition: transform 0.3s ease;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-text {
    transform: translateX(-5px);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Contact Details */
.contact-details-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Map */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 300px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(42, 157, 143, 0.8), rgba(42, 157, 143, 0.9));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    color: white;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

.map-overlay h3 {
    margin-bottom: 10px;
    color: white;
}

.map-overlay p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.map-overlay .btn {
    background-color: white;
    color: var(--primary-color);
}

.map-overlay .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Business Hours */
.business-hours {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.hours-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.hours-day:last-child {
    border-bottom: none;
}

.hours-day .day {
    font-weight: 500;
    color: var(--dark-color);
}

.hours-day .time {
    color: var(--primary-color);
    font-weight: 600;
}

.hours-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #fff8e1;
    border-radius: 8px;
    color: #e65100;
    font-size: 0.95rem;
}

.hours-note i {
    font-size: 1.2rem;
}

/* Quick Contact */
.quick-contact {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.quick-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background-color: #f8f8f8;
    border-radius: 10px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.quick-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.quick-btn i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.quick-btn.whatsapp:hover {
    background-color: #25D366;
}

/* FAQ Section */
.contact-faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(42, 157, 143, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* Departments */
.departments-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.department-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.department-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.department-card:hover .department-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: white;
}

.department-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.department-email,
.department-phone {
    color: var(--gray-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.department-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.department-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-phone i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.phone-number {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.phone-number:hover {
    color: var(--secondary-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    min-width: 180px;
}

.cta-buttons .btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #2a9d8f, #264653);
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 1rem;
    outline: none;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    padding: 15px 30px;
    white-space: nowrap;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.success-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-icon {
    width: 100px;
    height: 100px;
    background-color: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.modal-text {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-modal {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .quick-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-phone {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .contact-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .quick-buttons {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 40px 25px;
    }
    
    .modal-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}