/* Contact Page Styles */

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Introduction Section */
.contact-intro-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(75, 46, 131, 0.03) 0%, rgba(57, 181, 74, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.contact-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.02;
    z-index: 1;
}

.contact-intro-section .container {
    position: relative;
    z-index: 2;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.intro-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    border-radius: 2px;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin: 0;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(75, 46, 131, 0.08);
    border: 1px solid rgba(75, 46, 131, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.intro-content p::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-purple);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.intro-content p::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-info-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-purple);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.contact-info-card p {
    margin-bottom: 20px;
    color: #666;
}

.contact-info-card .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-info-card .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
}

.contact-info-card .btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: white;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.contact-form {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-purple);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

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

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* International Support Section */
.international-support {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.international-support .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 40px auto 0;
}

.international-support .contact-info-card {
    background: white;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.international-support .contact-icon {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    margin-bottom: 25px;
}

.international-support .contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.international-support .contact-info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: white;
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.map-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 1.1rem;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-purple);
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: var(--primary-purple);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--primary-purple);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Floating Buttons Styles */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-button:hover {
    transform: scale(1.1);
}

.floating-button.whatsapp {
    background-color: #25D366;
}

.floating-button.phone {
    background-color: #007bff;
}

.floating-button i {
    font-size: 24px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-form-container {
        flex-direction: column;
    }

    .contact-form-content {
        order: 2;
        max-width: 100%;
    }

    .map-container {
        height: 400px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.designer-credit {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
}

.designer-credit a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.designer-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-intro-section {
        padding: 40px 0;
    }
    
    .intro-content p {
        font-size: 1.1rem;
        padding: 25px 30px;
        line-height: 1.7;
    }
    
    .intro-content::before {
        width: 60px;
        top: -15px;
    }
    
    .intro-content p::before,
    .intro-content p::after {
        font-size: 3rem;
    }
    
    .intro-content p::before {
        top: -8px;
        left: 15px;
    }
    
    .intro-content p::after {
        bottom: -25px;
        right: 15px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .map-section {
        padding: 60px 0;
    }

    .map-container {
        height: 350px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-info-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .contact-info-section h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-info-grid {
        margin-top: 30px;
    }
    
    .contact-info-card {
        padding: 25px;
    }
    
    .international-support .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .international-support .contact-info-card {
        min-height: auto;
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }

    .contact-intro-section {
        padding: 30px 0;
    }
    
    .intro-content {
        max-width: 100%;
    }
    
    .intro-content p {
        font-size: 1rem;
        padding: 20px 25px;
        line-height: 1.6;
        border-radius: 12px;
    }
    
    .intro-content::before {
        width: 50px;
        top: -12px;
    }
    
    .intro-content p::before,
    .intro-content p::after {
        font-size: 2.5rem;
    }
    
    .intro-content p::before {
        top: -5px;
        left: 12px;
    }
    
    .intro-content p::after {
        bottom: -20px;
        right: 12px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-info-section,
    .map-section,
    .faq-section,
    .cta-section {
        padding: 40px 0;
    }
    
    .contact-info-section h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.3rem;
    }
    
    .faq-toggle {
        width: 24px;
        height: 24px;
    }
    
    .section-intro {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .faq-item {
        margin-bottom: 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
        max-width: 90%;
    }
    
    .contact-intro-section {
        padding: 25px 0;
    }
    
    .intro-content p {
        font-size: 0.95rem;
        padding: 18px 20px;
        line-height: 1.5;
        border-radius: 10px;
    }
    
    .intro-content::before {
        width: 40px;
        height: 3px;
        top: -10px;
    }
    
    .intro-content p::before,
    .intro-content p::after {
        font-size: 2rem;
    }
    
    .intro-content p::before {
        top: -3px;
        left: 10px;
    }
    
    .intro-content p::after {
        bottom: -18px;
        right: 10px;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .map-container {
        height: 250px;
        border-radius: 8px;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
    }
    
    .floating-button i {
        font-size: 20px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* Portrait phones */
@media (max-width: 320px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .contact-info-section h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 1.3rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-info-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-card p {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons .btn-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Fix for floating buttons on mobile */
@media (max-width: 768px) {
    .floating-buttons {
        display: flex;
        flex-direction: row;
        bottom: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
} 