/* Contact Page Styles */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Contact Hero Section - Split Layout */
.contact-hero-split {
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.contact-hero-split::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(179, 59, 44, 0.05), transparent);
    pointer-events: none;
}

.contact-info-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
}

.contact-card {
    background: var(--ied-light-gray);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--ied-gray);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--ied-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(179, 59, 44, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--ied-red);
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--ied-text-light);
    margin-bottom: 0.3rem;
}

.contact-form-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
}

.form-container {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control,
.form-select {
    border: 1px solid var(--ied-gray);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ied-red);
    box-shadow: 0 0 0 3px rgba(179, 59, 44, 0.1);
    outline: none;
}

.submit-btn {
    background: var(--ied-red);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--ied-red-dark);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.map-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.faq-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
}

.accordion-item {
    border: 1px solid var(--ied-gray);
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background: white;
    font-weight: 600;
    padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(179, 59, 44, 0.05);
    color: var(--ied-red);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--ied-red);
}

.accordion-body {
    padding: 1.2rem;
    color: var(--ied-text-light);
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }

    .contact-hero-split {
        text-align: center;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Google Reviews Widget Container */
.reviews-widget-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    position: relative;
}

.reviews-widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-widget-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ied-text-dark);
    margin-bottom: 0.5rem;
}

.reviews-widget-header p {
    font-size: 0.9rem;
    color: var(--ied-text-light);
}

.reviews-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    border-radius: 24px;
    background: var(--ied-light-gray);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

.reviews-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.reviews-scroll-container::-webkit-scrollbar-track {
    background: var(--ied-gray);
    border-radius: 10px;
}

.reviews-scroll-container::-webkit-scrollbar-thumb {
    background: var(--ied-red);
    border-radius: 10px;
}

.reviews-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #8b2a1e;
}

/* Widget styling enhancements */
.sk-ww-google-reviews {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-scroll-container {
        max-height: 400px;
        padding: 0.8rem;
    }

    .reviews-widget-header h2 {
        font-size: 1.6rem;
    }
}

/* Additional styles for contact page course selector */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b33b2c;
    font-size: 0.85rem;
    z-index: 2;
    pointer-events: none;
}

.modern-input {
    width: 100%;
    padding: 0.6rem 0.8rem 0.6rem 2.2rem;
    border: 1.5px solid #e0e4e8;
    border-radius: 12px;
    font-size: 0.85rem;
    transition: all 0.3s;
    background: white;
}

.modern-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2rem;
    background-color: white;
}

.modern-select option {
    padding: 8px;
    font-size: 0.85rem;
}

.select-arrow {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.7rem;
    pointer-events: none;
    transition: all 0.3s;
}

.course-hint {
    display: block;
    font-size: 0.65rem;
    color: #6c757d;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
}

.modern-input:focus {
    outline: none;
    border-color: #b33b2c;
    box-shadow: 0 0 0 3px rgba(179, 59, 44, 0.08);
}

textarea.form-control {
    border-radius: 12px;
    border: 1.5px solid #e0e4e8;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
}

textarea.form-control:focus {
    outline: none;
    border-color: #b33b2c;
    box-shadow: 0 0 0 3px rgba(179, 59, 44, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, #b33b2c 0%, #8b2a1e 100%);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(179, 59, 44, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.2rem;
    }
}