body {
    margin: 0;
}
hr {
    background-color: #b6b6b6;
    width: 100%;
    border: none;
    height: 1px;
}

/******************/
/***hero section***/
/******************/

.banner {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 570px;
    margin: 0 auto;
    /* background image fills the section */
    background-image: url("/wp-content/uploads/2025/10/0067-FAA-SEM-LandingPage-Dev-Header-v02-full_n.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; /* vertical centering */
}

.banner-content {
    width: 56%; /* left half */
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-left-copy {
    width: 100%;
    padding: 0 0 0 clamp(24px, 18vw, 348px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.banner h1 {
    color: #003087;
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 57px;
    margin: 0;
}

h1 span {
    font-size: 65px;
    line-height: 1em;
}

.banner .subtext {
    color: #333;
    margin: 0;
    font-style: italic;
    font-family: Georgia, serif;
    font-size: 30px;
}

.portal-copy {
    color: #333;
    font-family: Montserrat;
    font-size: 16px;
    margin: 0;
}

.portal-copy a {
    color: #003087;
    text-decoration: underline;
}

.banner-badge {
    position: absolute;
    right: 0px;
    bottom: -220px;
}

.section-badge-row {
    position: relative;
    z-index: 0;
    padding: 0 20px;
    pointer-events: none;
}

.section-badge-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.section-badge {
	position: absolute;
	display: block;
	width: 285px;
	height: auto;
	margin: 0;
	left: -32px;
	top: -9vw;
}

.cta-button {
    background-color: #003087;
    color: #fff;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 22px;
    padding: 20px 0;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background 0.3s ease;
    width: 225px;
    text-align: center;
    border: 1px solid #003087;
    min-width: 225px;
    max-width: fit-content;
}

.cta-button:hover {
    background-color: transparent;
    color: #003087;
}

.cta-button-orange {
    background-color: #ef8b22;
    color: #fff;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 22px;
    padding: 20px 16px;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    border: 1px solid #ef8b22;
    min-width: 225px;
    max-width: fit-content;
}

.cta-button-orange:hover {
    background-color: transparent;
    color: #ef8b22;
}

.cta-button-orange-trans {
    background-color: transparent;
    color: #ef8b22;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 22px;
    padding: 20px 16px;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    border: 1px solid #ef8b22;
    min-width: 225px;
    max-width: fit-content;
}

.cta-button-orange-trans:hover {
    background-color: #ef8b22;
    color: #fff;
}

.cta-button-turquoise {
    background-color: #009abe;
    color: #fff;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 22px;
    padding: 20px 0;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    border: 1px solid #009abe;
    min-width: 225px;
    max-width: 260px;
    width: 260px;
}

.cta-button-turquoise:hover {
    background-color: transparent;
    color: #009abe;
}

/******************/
/*services section*/
/******************/

.services-section {
    background-color: #fff;
    padding: 60px 20px;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.services-section h2 {
    color: #003087;
    font-family: Georgia;
    font-weight: 700;
    font-size: 36px;
    margin: 0;
}

.services-section .intro {
    max-width: 80%;
    color: #000;
    margin: 0;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
}

.services-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background-color: #eaf2fb !important;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.icon-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.orange {
    background-color: #f0b23a;
}

.service-card h3 {
    color: #003087;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    margin: 0;
}

.service-card p {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}

.subtext {
    color: #000;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
}

.center-button {
    text-align: center;
}

/*********************/
/*testimonial section*/
/*********************/

.trust-section,
.feature-split-section {
    padding: 4em 1em;
}

.trust-section {
    background: #f9f9fb;
}

.trust-section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 64px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.trust-sec-l,
.trust-sec-r {
    flex: 1 1 0;
    min-width: 0;
}

.trust-sec-l img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
}

.trust-sec-r {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-section h2 {
    color: #003087;
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.trust-section p {
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    margin: 0;
    max-width: 100%;
}

.feature-split-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
    box-sizing: border-box;
}

.feature-split-copy,
.feature-split-media {
    flex: 1 1 0;
    min-width: 0;
}

.feature-split-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.feature-split-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-split-copy h2 {
    color: #003087;
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.feature-split-copy p {
    color: #333;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    margin: 0;
}

.feature-split-section-reverse .feature-split-copy {
    order: 1;
}

.feature-split-section-reverse .feature-split-media {
    order: 2;
}

.testimonial-section {
    background-color: #003087;
    padding: 4em 1em;
    overflow: hidden;
    position: relative;
}

.testimonial-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-slider-container h2 {
    color: #fff;
    font-family: Georgia;
    font-weight: 700;
    font-size: 36px;
    margin: 0;
}

.testimonial-slider-container .intro {
    color: #fff;
    max-width: 80%;
    margin: 0;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
}

.testimonial-slider-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    flex: 0 0 calc(33.333% - 21.333px); /* 3 cards + 32px gaps */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.stars {
    color: #ffc72c;
    font-size: 51px;
    text-align: center;
    letter-spacing: 8px;
}

.testimonial-text {
    font-size: 14px;
    font-family: Montserrat;
    color: #000;
    text-align: center;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    color: #333;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.slider-nav {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    font-size: 24px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    transition: 0.3s ease-in-out;
}
.slider-nav:hover {
    background: #f8e08e;
    border: 2px solid #f8e08e;
    color: #003087;
}

.slider-nav.prev {
    left: -60px;
}

.slider-nav.next {
    right: -60px;
}
.testimonial-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

/*********************/
/**location section**/
/*********************/

.location-section {
    background-color: #f9f9fb;
    padding: 60px 20px;
    font-family: "Montserrat", sans-serif;
}

.location-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-header h2 {
    color: #003087;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.location-header p {
    font-size: 16px;
    color: #333;
}

.clinic-hours h3 {
    font-size: 24px;
    color: #003087;
    margin-bottom: 0;
    margin-top: 40px;
}

.clinic-hours p {
    color: #333;
    font-size: 16px;
    margin-bottom: 24px;
    margin-top: 16px;
}

.location-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.map-container {
    width: 100%;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
    margin: 16px 0 24px;
    background: #dfe7f3;
}

.location-map {
    width: 100%;
    height: 100%;
}

.location-map.map-unavailable {
    position: relative;
}

.location-map.map-unavailable::after {
    content: "Map temporarily unavailable";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: #333;
    background: rgba(223, 231, 243, 0.92);
}

.location-list {
    flex: 1 1 250px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #000;
}

.location-list li {
    margin-bottom: 6.5px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
}

.location-cta {
    text-align: center;
    margin-top: 40px;
}

.location-list {
    columns: 4;
    -webkit-columns: 4; /* for Safari */
    -moz-columns: 4; /* for Firefox */
    column-gap: 32px; /* space between columns */
    list-style: none;
    padding: 0;
    margin: 0;
}
.location-list li {
    break-inside: avoid;
    padding: 4px 0;
}

.location-list li.active {
    color: #003087;
    font-weight: 700;
}

.location-list li:hover {
    color: #003087;
}

.location-list li.location-map-item {
    cursor: pointer;
}

.location-list li.location-static {
    cursor: pointer;
}

.location-list li.location-static a {
    color: #000;
    text-decoration: none;
}

.location-list li.location-static a:hover {
    color: #003087;
}

.location-list li.location-map-item a {
    margin-left: 6px;
    color: #003087;
    text-decoration: underline;
    font-size: 13px;
}

.infowindow-box {
    font-family: Montserrat, sans-serif;
    max-width: 220px;
}

.infowindow-title {
    color: #003087;
    font-weight: 700;
    margin-bottom: 8px;
}

.infowindow-links a {
    color: #003087;
    text-decoration: underline;
    font-size: 13px;
    margin-right: 10px;
}

.infowindow-links a:focus,
.infowindow-links a:focus-visible {
    outline: none;
    box-shadow: none;
}

/*********************/
/**faq section***/
/*********************/

.faq-container {
    margin: 0 auto;
    padding: 4em 1em;
    display: flex;
    flex-direction: column;
    align-items: start;
    background: #eaf2fb;
}

.faq-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-title {
    letter-spacing: 1px;
    color: #003087;
    font-family: Georgia;
    font-weight: 700;
    font-size: 36px;
}

.faq-list {
    list-style: none;
    padding: 0 0 4em 0;
    margin: 0 auto;
    max-width: 1200px;
}

.faq-item {
    background: #d9d9d9;
    border-radius: 18px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e8ee;
    overflow: hidden;
}

.faq-question {
    padding: 20px 28px 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    outline: none;
    width: 100%;
    color: #142265;
    text-align: left;
    transition: background 0.2s;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 16px;
    background: #f9f9f9;
}

.faq-question:hover {
    background: #f8e08e;
}

.faq-answer {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 16px;
    color: #222;
    background: #fafbfc;
    border-top: 1px solid #e5e8ee;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding-bottom 0.4s,
        padding-top 0.4s;
    padding: 0 28px 0 24px;
    /* default closed */
    padding-top: 0px;
    padding-bottom: 0px;
}

.faq-item.open .faq-answer {
    /* No need for max-height here! JS will handle it. */
    padding-bottom: 20px;
    padding-top: 20px;
}

.faq-toggle {
    font-size: 1.7rem;
    line-height: 1;
    color: #25317a;
    margin-left: 16px;
    transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.book-btn {
    display: block;
    margin: 50px auto 32px auto;
    padding: 18px 46px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: #25317a;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 49, 122, 0.08);
    transition: background 0.18s;
}
.book-btn:hover {
    background: #142265;
}

/*********************/
/**appointment banner***/
/*********************/

.appointment-banner {
    background: #003087;
    color: #fff;
    padding: 4em 1em;
    box-sizing: border-box;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 18px;
}

.appointment-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.appointment-banner-logo {
    width: 185px;
    max-width: 100%;
    height: auto;
    display: block;
    align-self: flex-start;
}

.appointment-banner-copy {
    text-align: center;
}

.footer-link {
    color: #f8e08e;
    text-decoration: underline;
    font-weight: 700;
}
.footer-link:hover {
    color: #fff;
}

/***************/
/**cta banner***/
/***************/

.cta-banner {
    background: url(/wp-content/uploads/2025/05/0067-FAA-SEM-LandingPage-Dev-Pattern-v01.png);
    background-size: cover;
    color: #333;
    padding: 4em 1em;
    box-sizing: border-box;
    font-family: Montserrat;
    font-size: 18px;
}

.cta-banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-banner h2 {
    color: #003087;
    font-family: Georgia;
    font-weight: 700;
    font-size: 36px;
    padding: 0;
    margin: 0;
}

.cta-banner p {
    padding: 0;
    margin: 0;
    line-height: 1.3em;
    font-weight: 400;
}

.buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.buttons.center {
    justify-content: center;
    align-items: center;
}

/*********************/
/**responsive styles**/
/*********************/

@media (max-width: 768px) {
    h1 span {
        line-height: 0.5em;
        font-size: 54px;
    }
    .buttons.center {
        justify-content: center;
        align-items: start;
    }
    .services-section,
    .trust-section,
    .feature-split-section,
    .testimonial-section,
    .location-section,
    .faq-container,
    .cta-banner,
    .appointment-banner {
        padding-top: 3em;
        padding-bottom: 3em;
    }
    .services-section .container,
    .testimonial-slider-container,
    .cta-banner-container {
        gap: 20px;
    }
    .services-section h2,
    .trust-section h2,
    .feature-split-copy h2,
    .testimonial-slider-container h2,
    .location-header h2,
    .faq-title,
    .cta-banner h2 {
        font-size: 30px;
        line-height: 1.15;
    }
    .trust-section-container {
        flex-direction: column;
        gap: 24px;
    }
    .trust-sec-l img {
        height: auto;
        aspect-ratio: auto;
    }
    .trust-sec-r {
        order: 1;
    }
    .trust-sec-l {
        order: 2;
    }
    .feature-split-container {
        flex-direction: column;
        gap: 24px;
    }
    .banner h1 {
        font-size: 34px;
    }
    .banner .subtext {
        font-size: 20px;
    }
    .cta-button {
        font-size: 3vw;
    }
    .buttons {
        display: flex;
        gap: 16px;
        flex-direction: column;
    }
    .location-cta {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .banner {
        height: auto;
        min-height: 55vh;
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        justify-content: center;
        background-position: right;
        padding: 2em 0;
    }
    .banner-content {
        width: 100%;
    }
    .banner-badge {
        display: none;
    }
    .banner-left-container {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .banner-left-copy {
        padding: 32px 24px;
        align-items: flex-start;
        gap: 16px;
        z-index: 2;
    }

    .banner-left h1 {
        font-size: 36px;
    }

    .banner-left .subtext {
        font-size: 20px;
    }

    .banner-right {
        height: 300px;
    }

    .services-section .intro {
        max-width: 100%;
    }

    .service-card {
        flex: 1 1 100%;
        padding: 24px;
    }
    .testimonial-slider-container .intro,
    .location-header p {
        max-width: 100%;
    }
    .location-grid {
        flex-direction: column;
        gap: 24px;
    }
    .location-list {
        flex: 0 0 auto;
        min-height: 0;
    }
    .clinic-hours h3 {
        margin-top: 20px;
        font-size: 22px;
    }
    .clinic-hours p {
        margin-top: 12px;
        margin-bottom: 16px;
    }

    .cta-button {
        font-size: 18px;
        padding: 14px 28px;
        width: auto;
    }
    .location-list {
        columns: 1;
    }
    .slider-nav {
        border: 2px solid #b6b6b6;
        color: #b6b6b6;
        top: 66%;
    }
    .slider-nav {
        font-size: 21px;
        border-radius: 50%;
        width: 32px;
        height: 32px;
    }
    .testimonial-card {
        flex: 0 0 calc(50% - 32px);
        padding: 32px;
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 16px); /* 2 cards */
    }
}

@media (max-width: 1400px) {
    .banner-left-copy {
        padding: 0 0 0 2em;
    }
}

@media (max-width: 1200px) {
    .banner-left-copy {
        padding: 0 1em;
    }
}

@media (max-width: 600px) {
    .services-section,
    .trust-section,
    .feature-split-section,
    .testimonial-section,
    .location-section,
    .faq-container,
    .cta-banner,
    .appointment-banner {
        padding-top: 2.25em;
        padding-bottom: 2.25em;
    }
    .services-section,
    .trust-section,
    .feature-split-section,
    .testimonial-section,
    .location-section,
    .faq-container,
    .cta-banner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .services-section .container,
    .testimonial-slider-container,
    .cta-banner-container,
    .feature-split-copy,
    .trust-sec-r {
        gap: 16px;
    }
    .services-section h2,
    .trust-section h2,
    .feature-split-copy h2,
    .testimonial-slider-container h2,
    .location-header h2,
    .faq-title,
    .cta-banner h2 {
        font-size: 26px;
        line-height: 1.15;
    }
    .services-section .intro,
    .subtext,
    .trust-section p,
    .feature-split-copy p,
    .testimonial-slider-container .intro,
    .location-header p,
    .clinic-hours p,
    .faq-answer,
    .cta-banner p,
    .appointment-banner,
    .appointment-banner-copy {
        font-size: 15px;
        line-height: 1.45;
    }
    .service-card {
        padding: 20px;
    }
    .trust-section-container,
    .feature-split-container,
    .location-grid {
        gap: 20px;
    }
    .clinic-hours h3 {
        margin-top: 16px;
        font-size: 20px;
    }
    .location-list li {
        margin-bottom: 2px;
        font-size: 15px;
    }
    .slider-nav.prev {
        left: 4px;
    }

    .slider-nav.next {
        right: 4px;
    }
    .faq-container {
        max-width: 98vw;
        padding: 2em 1em;
    }
    .faq-question,
    .faq-answer {
        padding-left: 14px;
        padding-right: 14px;
    }
}
