/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    position: relative;
    overflow: hidden;
    color: var(--hero-text-color);
}

.contact-hero .hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--hero-text-color);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.contact-hero .highlight {
    color: var(--hero-accent);
    position: relative;
    display: inline-block;
}

.contact-hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(13, 110, 253, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background-color: white;
    position: relative;
}

.contact-info {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: 0 auto;
    width: fit-content;
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.3rem;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    width: 100%;
}

.contact-item .icon-box {
    width: 32px;
    height: 32px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.contact-item:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Compact contact info box */
.compact-info {
    padding: 1rem;
    width: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Enhanced Contact Info Styles */
.enhanced-contact-info {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    border: 1px solid rgba(13, 110, 253, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    transform: translateY(0);
    width: 100%;
    max-width: 100%;
}

.enhanced-contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(13, 110, 253, 0.5));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.enhanced-contact-info:hover .contact-title::after {
    width: 70px;
}

.enhanced-contact-item {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.enhanced-contact-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 15px rgba(13, 110, 253, 0.08);
    transform: translateX(5px);
}

.enhanced-icon-box {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color), #4e85fd);
    color: white;
    font-size: 1rem;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enhanced-contact-item:hover .enhanced-icon-box {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}

.contact-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
    word-wrap: break-word;
    transition: all 0.3s ease;
}

.enhanced-contact-item:hover .contact-label {
    color: var(--primary-color);
}

.enhanced-contact-item:hover .contact-value {
    color: var(--dark-color);
}


.contact-text {
    flex: 1;
}

.contact-text h5 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-text p {
    color: var(--gray-color);
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.social-links {
    margin-top: auto;
    padding-top: 0.8rem;
}

.social-links h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.social-links a {
    width: 32px;
    height: 32px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    max-width: 90%;
    margin: 0 auto;
}

.contact-form-container h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.5rem;
    display: inline-block;
}

.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.contact-form .form-control,
.contact-form .form-select {
    margin-bottom: 0.5rem;
    height: 45px;
}

.contact-form textarea.form-control {
    height: auto;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    background-color: #fff;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--primary-color);
    border: none;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.15);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.submit-btn:hover::before {
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.25);
}


/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
    position: relative;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-color);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
    background-size: 1.2rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }

    .contact-hero .hero-title {
        font-size: 3rem;
    }

    .contact-info {
        padding: 1.2rem;
        max-width: 90%;
    }

    .enhanced-contact-info {
        padding: 1.3rem;
        max-width: 100%;
    }

    .contact-title {
        font-size: 1.4rem;
        margin-bottom: 1.3rem;
    }

    .enhanced-contact-item {
        padding: 0.9rem;
    }

    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 5rem 0 2.5rem;
    }

    .contact-hero .hero-title {
        font-size: 2.5rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .enhanced-contact-info {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }

    .contact-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .enhanced-icon-box {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .contact-label {
        font-size: 0.95rem;
    }

    .contact-value {
        font-size: 0.9rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        padding: 4rem 0 2rem;
    }

    .contact-hero .hero-title {
        font-size: 2.2rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }

    .contact-info {
        padding: 1rem;
        max-width: 100%;
    }

    .enhanced-contact-info {
        padding: 1rem;
        border-radius: 12px;
    }

    .contact-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .contact-title::after {
        height: 3px;
        bottom: -6px;
    }

    .enhanced-contact-item {
        padding: 0.8rem;
        border-radius: 10px;
    }

    .enhanced-icon-box {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        margin-right: 0.8rem;
    }

    .contact-label {
        font-size: 0.9rem;
    }

    .contact-value {
        font-size: 0.85rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .submit-btn {
        width: 100%;
    }
}
