/*
* Haricane Consultancy Services - Contact Page CSS
* This file contains custom styles for the Contact page
*/

/* Import base styles from main stylesheet */
@import url('styles.css');

/*----------------------------------
# Page Header Styles
----------------------------------*/
#page-hero {
    min-height: 60vh;
    padding: 80px 0 50px;
}

#page-hero .hero-title {
    text-align: center;
}

#page-hero .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
}

#page-hero .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/*----------------------------------
# Contact Highlight Cards
----------------------------------*/
.contact-highlight-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-highlight-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--secondary-color-1);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.contact-highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.contact-highlight-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-highlight-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.contact-highlight-icon i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-highlight-card:hover .contact-highlight-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.contact-highlight-card:hover .contact-highlight-icon i {
    color: #fff;
}

.whatsapp-icon {
    background-color: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.contact-highlight-card:hover .whatsapp-icon {
    background-color: #25d366;
}

.contact-highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-highlight-card p {
    color: var(--gray);
    margin-bottom: 20px;
    min-height: 50px;
}

.contact-highlight-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-highlight-info a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.contact-highlight-info a:hover {
    color: var(--secondary-color-1);
}

.whatsapp-link {
    background-color: #25d366;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: #fff !important;
}

/*----------------------------------
# Main Contact Form Section
----------------------------------*/
.contact-form-wrapper {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: clamp(30px, 5vw, 50px);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    top: 0;
    left: 0;
    background: var(--secondary-color-1);
    z-index: -1;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.form-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color-1);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.form-header p {
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    font-size: 1rem;
    color: var(--dark-color);
    background-color: #fdfdfd;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.15);
    background-color: #fff;
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover, .submit-btn:focus {
    background-color: var(--secondary-color-1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(228, 95, 43, 0.3);
    outline: none;
}

.confirmation-message {
    display: none;
    border-radius: 10px;
    padding: 20px;
    background-color: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
    text-align: center;
}

.confirmation-message i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/*----------------------------------
# Contact Information & Map
----------------------------------*/
.contact-info-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.office-information {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    flex-grow: 1;
}

.office-information h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.office-information h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color-1);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.office-address {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.office-address i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 4px;
    margin-right: 15px;
}

.office-address h4 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.office-address p {
    color: var(--gray);
    margin-bottom: 0;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.office-detail-item {
    display: flex;
    align-items: flex-start;
}

.office-detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

.office-detail-item h5 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.office-detail-item p {
    color: var(--gray);
    margin-bottom: 10px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.contact-social {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-social h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.2);
}

/*----------------------------------
# FAQ Section
----------------------------------*/
#contact-faq .accordion-item {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#contact-faq .accordion-button {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-color);
    background-color: #fff;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

#contact-faq .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-bg);
    box-shadow: none;
}

#contact-faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

#contact-faq .accordion-body {
    padding: 20px 25px 25px;
    background-color: #fff;
}

#contact-faq .accordion-body p {
    margin-bottom: 10px;
    color: var(--gray);
}

#contact-faq .accordion-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

#contact-faq .accordion-body li {
    margin-bottom: 8px;
    color: var(--gray);
}

/*----------------------------------
# Quick Contact CTA Section
----------------------------------*/
#quick-contact-cta {
    position: relative;
}

.quick-contact-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0 30px;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 220px;
}

.quick-contact-btn i {
    font-size: 1.8rem;
    margin-right: 15px;
}

.quick-contact-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.quick-contact-btn strong {
    font-size: 1rem;
    font-weight: 700;
}

.quick-contact-btn small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.quick-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.call-btn {
    background-color: var(--primary-color);
}

.call-btn:hover {
    background-color: #2a4cb3;
}

.meeting-btn {
    background-color: var(--secondary-color-1);
}

.meeting-btn:hover {
    background-color: #c23f0d;
}

.working-hours {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.working-hours i {
    color: var(--secondary-color-2);
}

/*----------------------------------
# Responsive Styles
----------------------------------*/
@media (max-width: 991.98px) {
    .contact-form-wrapper, .office-information {
        margin-bottom: 30px;
    }
    
    .quick-contact-btn {
        min-width: auto;
        flex: 1 1 180px;
    }
    
    .contact-highlight-card p {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    #page-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .office-information h3 {
        font-size: 1.6rem;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .quick-contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-contact-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    #page-hero {
        min-height: 40vh;
        padding: 80px 0 40px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .office-information {
        padding: 25px;
    }
    
    .office-address, .office-detail-item {
        flex-direction: column;
    }
    
    .office-address i, .office-detail-item i {
        margin-bottom: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .office-detail-item h5 {
        text-align: center;
    }
}