/* Contact Us Page Styles */

/* Contact Header Section */
.contact-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0 60px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('https://images.unsplash.com/photo-1569098644584-210bcd375b59?w=1200&auto=format&fit=crop&q=80') center/cover no-repeat;
    opacity: 0.04;
    z-index: 0;
}

.contact-header .container {
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    color: var(--dark-blue, #0d3b66);
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.contact-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color, #0d6efd);
    margin: 15px auto 0;
    border-radius: 2px;
}

.contact-header .lead {
    color: #495057;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 80px 0 40px;
    background-color: #fff;
}

.contact-card {
    background-color: #f8f9fa;
    padding: 40px 30px;
    height: 100%;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-top: 4px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.contact-card:nth-child(1) {
    border-top-color: #0d6efd; /* Primary color */
}

.contact-card:nth-child(2) {
    border-top-color: #198754; /* Success color */
}

.contact-card:nth-child(3) {
    border-top-color: #fd7e14; /* Warning color */
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color, #0d6efd);
    margin-bottom: 20px;
    display: inline-block;
}

.contact-card:nth-child(2) .contact-icon {
    color: #198754;
}

.contact-card:nth-child(3) .contact-icon {
    color: #fd7e14;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

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

.contact-link {
    display: inline-block;
    color: var(--primary-color, #0d6efd);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card:nth-child(2) .contact-link {
    color: #198754;
}

.contact-card:nth-child(3) .contact-link {
    color: #fd7e14;
}

.contact-link:hover {
    transform: translateX(5px);
}

.contact-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(3px);
}

/* Form and Map Section */
.contact-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.form-container, .map-container {
    height: 100%;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 25px;
}

.section-subtitle {
    color: var(--primary-color, #0d6efd);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    color: #333;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Form Styling */
.contact-form label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    font-size: 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color, #0d6efd);
    background-color: #fff;
}

.contact-submit-btn {
    padding: 12px 30px;
    background-color: var(--primary-color, #0d6efd);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Map Container */
.map-container {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
}

.location-details {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.location-details h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.location-details p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    background-color: #f8f9fa;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e9ecef;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color, #0d6efd);
    background-color: rgba(13, 110, 253, 0.05);
}

.accordion-body {
    padding: 20px 25px;
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 15px 40px;
    background-color: white;
    color: var(--primary-color, #0d6efd);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

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

.contact-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.contact-heading {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.contact-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 8px;
}

.contact-form {
    padding: 40px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.contact-info {
    padding: 40px;
    background-color: #f8f9fa;
}

.contact-info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-info-text h5 {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.contact-map {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-info {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form, .contact-info {
        padding: 30px;
    }
}

/* Media Queries */
@media (max-width: 991px) {
    .contact-card {
        margin-bottom: 30px;
    }
    
    .form-container, .map-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .contact-header h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .contact-header {
        padding: 60px 0 40px;
    }
    
    .contact-info-section,
    .contact-form-section,
    .faq-section,
    .cta-section {
        padding: 50px 0;
    }
}

@media (max-width: 575px) {
    .form-container, .map-container {
        padding: 25px;
    }
    
    .location-details {
        left: 15px;
        bottom: 15px;
        padding: 15px;
        max-width: calc(100% - 30px);
    }
}