/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/abt.jpg') no-repeat center center/cover;
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb .active {
    opacity: 1;
    font-weight: 500;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Contact Main Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.section-header.left-align {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header.left-align .section-title::after {
    left: 0;
    transform: none;
}

.info-boxes {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-box {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray);
}

.info-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.info-content p, .info-content a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--primary-color);
}

.view-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.view-map i {
    transition: var(--transition);
}

.view-map:hover i {
    transform: translateX(3px);
}

.social-linkss {
    margin-top: 2rem;
}

.social-linkss h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-header p {
    color: var(--text-light);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.contact-form .required {
    color: var(--danger-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    display: inline-block;
}

.btn-loader {
    display: none;
    animation: spin 1s linear infinite;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: inline-block;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: none;
}

.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    display: block;
}

.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    display: block;
}

/* Map Section */
.map-section {
    position: relative;
    height: 500px;
}

#contactMap {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 2;
    max-width: 300px;
}

.map-overlay-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.map-overlay-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-overlay-content p i {
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--white);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta a {
    color: var(--primary-color);
    font-weight: 500;
}

.faq-cta a:hover {
    text-decoration: underline;
}

/* Contact CTA */
.contact-cta {
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-overlay {
        max-width: 100%;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 6rem 0 4rem;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .info-box {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .info-content {
        text-align: center;
    }
    
    .view-map {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
     .map-section {
        position: relative;
        margin: 20px 0;
    }
    .map-info {
        background: white;
        padding: 15px;
        text-align: center;
    }
    .map-info a {
        display: inline-block;
        margin-top: 10px;
        color: blue;
        text-decoration: none;
    }
}
