/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
    margin-top: 60px;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Contact Content */
.contact-content {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Contact Form */
.contact-form-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.contact-form {
    animation: fadeInUp 0.6s ease;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(233, 69, 96, 0.3);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    animation: fadeInUp 0.3s ease;
}

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

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

/* Contact Info */
.contact-info-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.contact-info-box {
    background-color: var(--light-color);
    padding: 1.8rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.contact-info-box:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.contact-info-box p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info-box a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info-box a:hover {
    color: var(--primary-color);
}

.small-text {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.3rem;
}

.contact-info-box.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-left-color: var(--accent-color);
}

.contact-info-box.highlight h3 {
    color: var(--accent-color);
}

.contact-info-box.highlight p {
    color: rgba(255,255,255,0.95);
}

.contact-info-box.highlight a {
    color: var(--accent-color);
}

/* Why Contact Section */
.why-contact {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.why-contact h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reason {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.reason h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d63555 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.cta-section .cta-btn {
    min-width: 250px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
        margin-top: 50px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.8rem;
    }

    .why-contact h2 {
        font-size: 2rem;
    }

    .reasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 2rem 0;
    }

    .contact-hero h1 {
        font-size: 1.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-content {
        padding: 2.5rem 0;
    }

    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .contact-info-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .why-contact {
        padding: 2.5rem 0;
    }

    .why-contact h2 {
        font-size: 1.5rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-section .cta-btn {
        width: 100%;
        min-width: auto;
    }
}
