/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--dark-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.85) 0%, rgba(139, 92, 246, 0.85) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Main Section */
.contact-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-intro p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* Contact Content Grid */
.contact-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-detailed {
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-medium);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary-blue);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.submit-btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.3);
}

.submit-btn-primary:active {
    transform: translateY(0);
}

/* Calendly Inline Section */
.calendly-inline-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.calendly-inline-section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.calendly-placeholder {
    background: #f8f9fa;
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.placeholder-content h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.placeholder-steps {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.placeholder-steps p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.placeholder-steps ul {
    list-style: none;
    padding: 0;
}

.placeholder-steps li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: flex-start;
}

.placeholder-steps li:before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-detail h4 {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail p,
.contact-detail a {
    color: var(--text-dark);
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--primary-blue);
}

/* Maxwell Certified Badge */
.maxwell-certified-badge {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.sidebar-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sidebar-clas-logo {
    height: 80px;
    width: auto;
}

.sidebar-maxwell-logo {
    height: 100px;
    width: auto;
}

.sidebar-disc-logo {
    height: 80px;
    width: auto;
}

.maxwell-certified-badge img {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.maxwell-certified-badge p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.maxwell-certified-badge p:first-of-type {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* Social Connect */
.social-connect {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.social-connect h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
    color: var(--primary-blue);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.faq-answer ul {
    padding-left: 3rem;
    padding-top: 0.5rem;
}

.faq-answer li {
    margin-bottom: 0.75rem;
}

.faq-answer strong {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-content h1 {
        font-size: 2.25rem;
    }

    .contact-hero-content p {
        font-size: 1.1rem;
    }

    .contact-info-sidebar {
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
        min-height: 350px;
    }

    .contact-hero-content h1 {
        font-size: 1.75rem;
    }

    .contact-hero-content p {
        font-size: 1rem;
    }

    .contact-main {
        padding: 2rem 0;
    }

    .contact-intro h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper,
    .contact-info-card,
    .maxwell-certified-badge,
    .social-connect {
        padding: 1.5rem;
    }

    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-content {
        padding: 0 1rem;
    }

    .contact-hero-content h1 {
        font-size: 1.5rem;
    }

    .contact-intro h2 {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .submit-btn-primary {
        font-size: 1rem;
    }
}
