/* ========================
   CONTACT PAGE SPECIFIC STYLES
   ======================== */

/* Contact Info Section */
.contact-info-section {
    background: var(--white);
}

.contact-info-card {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card.highlight {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    border-color: var(--primary-color);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-info-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-info-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--light-color);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form .form-control {
    border: 2px solid var(--light-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(3, 169, 244, 0.15);
    outline: none;
}

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

.form-message {
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    background: var(--white);
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.accordion-item {
    border: 2px solid var(--light-color);
    border-radius: 15px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.accordion-button {
    background: var(--white);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 991px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem 2rem;
    }

    .map-wrapper iframe {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .contact-info-card {
        padding: 1.8rem 1.3rem;
    }

    .contact-info-icon {
        width: 70px;
        height: 70px;
    }

    .contact-info-icon i {
        font-size: 1.8rem;
    }

    .contact-info-card h3 {
        font-size: 1.3rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-form label {
        font-size: 0.95rem;
    }

    .contact-form .form-control {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }

    .accordion-body {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .contact-info-card {
        padding: 1.5rem 1rem;
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.2rem;
    }

    .contact-info-icon i {
        font-size: 1.6rem;
    }

    .contact-info-card h3 {
        font-size: 1.2rem;
    }

    .contact-info-card p {
        font-size: 0.9rem;
    }

    .contact-link {
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .contact-form .form-group {
        margin-bottom: 1.2rem;
    }

    .contact-form .btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }

    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        margin: 0 !important;
        width: 100%;
    }
}

@media (max-width: 375px) {
    .contact-info-card h3 {
        font-size: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 1.3rem 0.9rem;
    }

    .accordion-button {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .contact-info-card,
    .contact-form-wrapper,
    .accordion-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .map-wrapper {
        display: none;
    }

    .contact-form,
    .cta-section {
        display: none;
    }
}

/* Fix: WhatsApp icon uses same blue gradient as all other icons */
.contact-info-icon.whatsapp {
    background: var(--gradient-1) !important;
}
