/* Contact Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.9), rgba(255, 111, 60, 0.9));
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 80px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after,
.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Details */
.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Social Media */
.social-media h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-form:hover::before {
    width: 8px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-group input:not(:placeholder-shown):valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.form-group input:not(:placeholder-shown):not(:focus):invalid {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

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

/* Map */
.map-container {
    margin-bottom: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    transition: transform 0.5s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

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

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

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

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    transition: var(--transition);
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover .faq-toggle {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9fafb;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Active State */
.faq-item.active .faq-question {
    background-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--white);
}

.faq-item.active .faq-toggle {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.5s ease-in;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info,
    .contact-form-container {
        width: 100%;
        max-width: 100%;
    }
    
    .page-header h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}
