/* Styles specific to speaking.html */
main {
    background: linear-gradient(135deg, #004C99 0%, #3384D6 100%);
}

main .hero-contact {
    background: linear-gradient(to top right, var(--color-primary-hover) 25%, var(--color-primary-light) 85%);
    background: url('../images/Me5.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    /* text-align: center; */
    padding: var(--section-padding-y) var(--section-padding-x);
    overflow-x: hidden;
}

.hero-contact .hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 1rem;
}

.hero-contact .hero-container h1 {
    width: 50%;
    text-align: start;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-contact .hero-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: var(--font-weight-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: 60%;
    text-align: start;
}

.hero-contact .hero-container p span {
    color: var(--color-secondary);
    /* text-transform: uppercase; */
    font-weight: 700;
    font-size: 1.5rem;
}

main #services {
    /* background: linear-gradient(135deg, #004C99 0%, #3384D6 100%); */
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

main #services #services-heading {
    position: relative;
    top: -2rem;
}

main #services .contact-section-cards {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

main #services .contact-section-cards article {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-right: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

main #services .contact-section-cards:hover article {
    opacity: 0.4;
    transform: scale(0.95);
    filter: blur(1px);
}

main #services .contact-section-cards article:hover {
    opacity: 1 !important;
    transform: scale(1.05) !important;
    filter: blur(0) !important;
    z-index: 2;
}

main #services .contact-section-cards article p i {
    margin: 0 .5rem;
}

main #services .contact-section-cards article p {
    margin: .5rem 0;
}

main #services .contact-section-cards article p.small-text {
    font-size: .6rem;
}

main .contact-options {
    width: 100%;
    color: white;
    padding: 1rem 2rem 4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
}

main .contact-options #contact-form {
    width: 55%;
    height: 550px;
}

main .contact-options #contact-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

main .contact-options #contact-form form .form-group {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

main .contact-options #contact-form form .form-group input:required,
main .contact-options #contact-form form .form-group select,
main .contact-options #contact-form form .form-group textarea {
    display: flex;
    flex-direction: column;
    height: 2rem;
    border-radius: 5px;
    padding: .5rem;
}

main .contact-options #contact-form form .form-group select {
    padding: .3rem !important;
}

main .contact-options #contact-form form .form-group select,
main .contact-options #contact-form form .form-group textarea {
    height: auto;
    resize: vertical;
}

main .contact-options #contact-form form .form-group select,
main .contact-options #contact-form form .form-group fieldset {
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

main .contact-options #consultation {
    width: 35%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 550px;
}

main .contact-options #consultation div h2,
main .contact-options #consultation div p,
main .contact-options #consultation div small {
    margin-bottom: .5rem;
    text-align: center;
    width: 100%;
    display: block;
}

main .contact-options #consultation div p a {
    text-decoration: none;
    color: #ffffff;
}

main .contact-options-columns {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
}

main .contact-options-columns .contact-section {
    width: 32%;
    height: 350px;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

main .contact-options-columns .contact-section ul li,
main .contact-options-columns .contact-section h2 {
    list-style: none;
    margin-bottom: .5rem;
}

main .contact-options-columns .contact-section h2 {
    text-align: center;
}

#faqs {
    color: white;
    padding: 2rem 2rem 4rem 2rem;
    text-align: center;
}

.accordion {
    max-width: 800px;
    margin: 1.5rem auto;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.accordion-item.open {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    width: 100%;
    background: #fafafa;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f0f0f0;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Inner wrapper holds the padding */
.accordion-inner {
    padding: 1rem 1.25rem;
}

.accordion-item.open .accordion-content {
    /* padding: 1rem 1.25rem; */
}

.accordion-item.open .accordion-content p {
    color: #004C99;
    text-align: start;
    font-weight: 500;
}

main #newsletter {
    color: white;
    padding: 1rem 0 3rem 0;
    text-align: center;
}

main #newsletter small {
    font-size: .7rem;
    margin-top: 2rem;
}

main #newsletter form {
    margin-top: 1rem;
}

main #newsletter form input {
    height: 3.5rem;
    width: 350px;
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

main #newsletter form .btn {
    position: relative;
    left: -15px;
}

main #newsletter form .btn:hover {
    transform: translateY(0);
}

@media (max-width: 600px) {
    main #services .contact-section-cards {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    main .contact-options {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        align-items: center;
        padding: 1rem 2rem;
    }

    main .contact-options #contact-form,
    main .contact-options #consultation {
        height: auto;
        width: 100%;
    }

    main .contact-options-columns {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    main .contact-options-columns .contact-section {
        width: 90%;
        height: auto;
    }

}

@media (max-width: 440px) {
    .hero-contact .hero-container {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .hero-contact .hero-container h1 {
        width: 100%;
        text-align: end;
    }

    .hero-contact .hero-container p {
        width: 100%;
        text-align: end;
    }

    main .hero-contact {
        background-position: right;
    }

    main #newsletter form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    main #newsletter p {
        padding: 0 2rem;
    }

    main #newsletter form input {
        width: 90%;
    }
    
   main #newsletter form .btn  {
        width: 90%;
        position: static;
        margin-top: .5rem;
    }

}