/* Import base styles */
@import url('index.css');

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -50px;
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-banner h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--gold);
}

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

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form h2, 
.contact-info h2 {
    color: var(--dark-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.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 select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(193, 39, 45, 0.1);
    outline: none;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--gray-dark);
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(193, 39, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.info-content p {
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.social-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-card h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 10px;
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--light-color);
}

/* Map Section */
.map-section {
    height: 450px;
    position: relative;
}

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

.map-placeholder {
    background-color: #e9e9e9;
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url('https://placehold.co/1920x450/e9e9e9/cccccc?text=Google+Maps');
    background-size: cover;
    background-position: center;
}

.map-overlay {
    position: absolute;
    top: 50px;
    left: 50px;
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    max-width: 300px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.map-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.map-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

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

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

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

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--gray-dark);
}

.faq-item.active .faq-question {
    background-color: rgba(193, 39, 45, 0.05);
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--light-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

.cta-buttons .btn i {
    margin-right: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalOpen 0.3s ease forwards;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: a.5rem;
    cursor: pointer;
    color: var(--gray-dark);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.modal-icon.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.modal-icon.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.modal h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.modal p {
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.modal-btn {
    min-width: 150px;
}

/* Form validation styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-links {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .map-overlay {
        left: 30px;
    }
}

@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .social-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .map-overlay {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 70px 0;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}
