/* Contact Page Styles */
.contact-hero {
    text-align: center;
    padding: 60px 0;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%); */
    /*background-image:   
    linear-gradient(rgba(64, 123, 172, 0.507), rgba(0, 0, 0, 0.5)), 
    url('./images/background_images/pexels-francesco-ungaro-396547.webp');*/
       background-image:   
    linear-gradient(#0078e18f, rgba(0, 0, 0, 0.5)), 
    url('./images/background_images/pexels-thepaintedsquare-189378.webp');
     background-size: cover;
     background-position: center;
    color: var(--text-light);
    margin-bottom: 40px;
    border-radius: 12px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-container,
.contact-info-container {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    padding: 30px;
}

.contact-form-container h2,
.contact-info-container h2,
.map-section h2,
.faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
    outline: none;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-box {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.social-connect {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.social-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.social-connect p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
    text-align: center;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-small);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-small);
    overflow: hidden;
}
/* Add a subtle hover effect to the FAQ item */
.faq-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.active {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}

/* Improve the toggle icon */
.faq-toggle {
    background-color: rgba(0, 113, 227, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    margin: 0 10px 10px 10px;
    border-radius: 0 0 8px 8px;
    text-align: left;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 1000px; /* Adjust based on your content needs */
}


.faq-answer p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.02rem;
    margin-bottom: 10px;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 30px;
}

.form-success i {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.2rem;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 25px 20px;
    }
    
    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-form-container h2,
    .contact-info-container h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 220px;
    padding: 40px 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}
@media (max-width: 988px) {
  .contact-hero {
    min-height: 40px;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}