@font-face {
    font-family: 'akkuratllweb-regular';
    src: url('/fonts/AkkuratLLWeb-Regular.woff') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'akkuratllweb-light';
    src: url('/fonts/AkkuratLLWeb-Light.woff') format('truetype');
    font-weight: 300;
    font-style: normal;
}

.f-light {
    font-weight: 300;
    font-family: 'akkuratllweb-light', sans-serif
}

html, body {
    background-color: white;
    font-family: akkuratllweb-regular, sans-serif !important;
    font-weight: 300;
    
}

a, .btn-link {
    color: #006bb7;
    font-weight: 400;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    /*padding-top: 1.1rem;*/
}

.content-display {
    min-height: 400px;
    /*padding-top: 30px;*/
    /*padding: 30px 30px 0 30px;*/
}
.content-body {
    font-size: 1.2rem;
}

.content-reachOut {
    min-height: 200px;
    background-color: #323087;
    padding: 40px 0;
}


.blue-text {
    color: #43AEE3;
}
.darkBlue-text {
    color: #25589d;
}

.white-text {
    color: #fff;
}

.link-white {
    color: #aaa;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 2rem;
}
.footer-col-header {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 2rem;
}

.bg-grey {
    background-color: #f6f6f6;
}

.pad-vert-4r {
    padding: 4rem 0;
}


h1:focus {
    outline: none;
    font-family: 'akkuratllweb-light', sans-serif;
}

h2 {
    font-size: 3rem;
    font-weight: 300;
    font-family: 'akkuratllweb-light', sans-serif;
}

h3 {
    font-size: 2rem;
    font-family: 'akkuratllweb-light', sans-serif;
}

.jdpowerDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
}
.jdpowerLogo {
    height: 180px;
    border: 0;
    margin: 0 30px 0 20px;
}

.form-subsection-title {
    font-size: 1.5rem;
    margin: 1.4rem 0
}




.input-width {
    max-width: 300px;
}
.input-widthX2 {
    max-width: 630px;
}
.input-width-state {
    max-width: 150px;
}
.input-width-zip {
    max-width: 120px;
}



/*body .ic-section:first-of-type {
    background-color: #f6f6f6;
}*/





.contact-btn {
    width: 180px;
    height: 50px;
    margin: 40px 0;
    background-color: #43AEE3;
    color: #101C4A;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .contact-btn:hover {
        background-color: #2f7ca1; /* darker hover effect */
    }



.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


.header-row {
    /*border: 1px solid red;*/
    padding-right: 0 !important;
}

.logo {
    height: 80px;
    position: relative;
    top: -20px;
}

.header-title {
    font-size: 32px;
    margin: 0 0 40px 30px;
    color: #3e62ad;
}

.nav-tiny-icon {
    height: 18px;
    margin: 0 6px;
}


.nav-tiny {
    text-align: right;
    font-size: 14px;
    color: black;
    text-decoration: none;
    padding: 6px 12px;
    background: linear-gradient(270deg, #F6F6F6 0%, rgba(242, 242, 242, 0) 100%);
}
.nav-tiny-link {
    margin: 0 12px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.125px;
    color: black;
    text-decoration: none;
}

/* Navbar height */
.navbar {
    height: 100px;
    padding-top: 30px;
}

/* Top-level nav items laid out as equal-height "cells" */
.navbar-nav {
    display: flex;
    align-items: flex-start; /* align text toward top */
}

    .navbar-nav .nav-item {
        display: flex;
        align-items: center; /* vertically center text */
        position: relative;
        padding: 0 1.2rem; /* horizontal spacing */
        /* margin-left: 1.5rem; */ /* adjust as needed */
    }
    /* Dropdown menu matches accent border width and position */
    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%; /* directly below nav item */
        left: 50%;
        transform: translateX(-50%) translateX(10px); /* match shifted border */
        width: 80%; /* same as accent underline */
        min-width: unset; /* remove Bootstrap’s default min-width */
        border-radius: 0;
        background-color: #f6f6f6;
        border: 2px solid #e2e2e2; /* container for the subnav menu items*/
        /*border: 2px solid transparent;*/
        padding: 0;
        text-align: left; /* ensure left-alignment */
    }
/*.navbar-nav .active-parent .dropdown-menu {
    border-color: #e2e2e2;*/ /* show border only if active */
/*}*/

    /* Top-level nav links */
    .navbar-nav .nav-link {
        padding: 20px 0 30px 0; /* 30px space at bottom */
        line-height: 30px; /* control vertical rhythm */
        display: flex;
        align-items: center;
    }

        .navbar-nav .nav-link a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.2s ease;
        }

            .navbar-nav .nav-link a:hover {
                color: #fff;
            }

    /* Accent underline per nav item */
    .navbar-nav .nav-item::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateX(10px); /* shift 10px right */
        width: 80%; /* 80% of each cell width */
        height: 4px; /* underline thickness */
        background-color: transparent; /* border beneath top level nav items */
    }
    .navbar-nav .nav-item.active-parent::after {
        background-color: #43aee3;
    }



/* Remove default caret */
.dropdown-toggle::after {
    display: none !important;
}

/* Custom chevron */
.dropdown-toggle {
    position: relative;
    padding-right: 2rem; /* room for arrow */
}

    .dropdown-toggle::before {
        content: "";
        border: solid #2f7ca1; /* custom color */
        border-width: 0 3px 3px 0; /* slightly thicker for clarity */
        display: inline-block;
        padding: 4.6px; /* 20% larger than 4px */
        position: absolute;
        right: -0.7rem;
        top: calc(50% - 22px);
        transform: rotate(45deg); /* arrow down */
        transform-origin: center; /* rotate in place */
        transition: transform 0.2s ease;
    }

    /* Flip arrow when open (stays in same spot) */
    .dropdown-toggle[aria-expanded="true"]::before {
        transform: rotate(-135deg); /* arrow up */
    }


/* Dropdown menu styling */
.dropdown-menu {
    border-radius: 0 !important; /* remove rounded corners */
    background-color: #f6f6f6; /* submenu background */
    border: none;
    padding: 0;
}

    /* Subitem styling */
    .dropdown-menu .dropdown-item {
        display: block;
        width: 100%; /* take full width */
        padding: 15px 20px 15px 10px; /* left padding reduced to 10px */
        white-space: normal; /* allow wrapping */
        word-break: break-word; /* safety: break long words */
        margin: 0;
        background-color: #f6f6f6; /* base background */
        color: #000;
        border-bottom: 2px solid #e2e2e2 !important; /* separator */
        box-sizing: border-box; /* include padding in width */
    }

        /* Separator line using ::after */
        .dropdown-menu .dropdown-item::after {
            content: "";
            position: absolute;
            left: 20px; /* align with text padding */
            right: 20px; /* align with text padding */
            bottom: 0;
            height: 2px;
            background-color: #e2e2e2;
        }

        /* Remove separator from last item */
        .dropdown-menu .dropdown-item:last-child::after {
            display: none;
        }

        /* Hover state: background only, separator stays visible */
        .dropdown-menu .dropdown-item:hover,
        .dropdown-menu .dropdown-item:focus {
            background-color: #c6e4f2;
            color: #000;
            border-bottom: 2px solid #e2e2e2; /* separator */
        }

        /* Remove border from last item */
        .dropdown-menu .dropdown-item:last-child {
            border-bottom: none;
        }

.body-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Headings */
.section-heading {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #25589d;
}

/* Note text under Articles */
.note-text {
    font-size: 0.85rem;
    color: #6c757d; /* muted grey */
}

/* Lists of links */
.link-list li {
    margin-bottom: 0.5rem;
}

.link-list a {
    color: #43aee3;
    text-decoration: none;
    font-size: 1rem;
}

    .link-list a:hover {
        text-decoration: underline;
    }

/* Right column box */
.podcast-box {
    background-color: white; /* matches Bootstrap's light background */
    border-radius: 0; /* squared corners like screenshot */
    padding: 2rem;
    height: 100%;
}






/* Carousel =============================================================== */
/* Card styling */
.custom-card {
    background-color: #f6f6f6;
    border: none;
    border-radius: 0; /* no rounded corners */
    max-width: 250px; /*340px;*/
    min-height: 350px; /* fixed height for uniformity */
    display: flex;
    flex-direction: column;
}

    .custom-card .card-body {
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        /*text-align: center;*/
        height: 100%;
        padding: 1rem;
    }

    .custom-card .icon img {
        height: 80px; /* uniform icon size */
        width: auto;
        display: block;
        /*margin: 0 auto;*/
    }

    .custom-card .icon {
        margin-bottom: 0.75rem;
    }

    .custom-card .card-title {
        color: #25589D;
        font-weight: 400;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        font-family: 'akkuratllweb-light', sans-serif;
    }

    .custom-card .card-text {
        color: #333;
        font-size: 1.1rem;
        margin: 0;
    }

.custom-card-short {
    min-height: 260px; /* fixed height for uniformity */
}

/* Controls + Indicators wrapper */
.carousel-controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
    position: relative; /* override Bootstrap absolute positioning */
    width: 100%;
}

/* Indicators (dots -> now squares) */
.carousel-indicators.custom-indicators {
    position: relative !important; /* override Bootstrap's absolute */
    bottom: 0; /* keep them below cards */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}


    .carousel-indicators.custom-indicators button {
        width: 14px;
        height: 14px;
        border-radius: 0;
        border: none;
        background-color: #ddd;
        opacity: 1;
    }

        .carousel-indicators.custom-indicators button.active {
            background-color: #43aee3;
        }

/* Controls (arrows) */
.custom-control {
    position: relative !important; /* inline, not floating over carousel */
    width: auto;
}


    .custom-control .carousel-control-prev-icon,
    .custom-control .carousel-control-next-icon {
        filter: invert(45%) sepia(98%) saturate(426%) hue-rotate(162deg) brightness(92%) contrast(91%);
        width: 24px; /* enlarged ~20% */
        height: 24px;
        background-size: 24px 24px;
    }
/* End Carousel =============================================================== */







/* Accordion ================================================================== */
/* Accordion button (headers) */
.accordion-button {
    background-color: #323087;
    color: #43AEE3;
    font-size: 3rem; /* larger title */
    font-weight: 300;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

    .accordion-button:not(.collapsed) {
        background-color: #323087;
        color: #43AEE3;
        box-shadow: none;
    }

/* Accordion body */
.accordion-body {
    background-color: #323087;
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
    padding: 1.5rem 2rem;
    font-family: "akkuratllweb-light", sans-serif;
}
    .accordion-body p {
        font-weight: 300;
        font-size: 1.6rem;
    }
    .accordion-body p:not(:first-child) {
        font-weight: 300;
        font-size: 1.6rem;
        margin-top: 40px;
    }

    /* LIST: right-caret with correct indentation & wrapping */
    .accordion-body ul {
        list-style: none;
        margin: 1rem 0 0 0; /* space above list like screenshot */
        padding: 0;
    }

    .accordion-body li {
        position: relative;
        padding-left: 2.25rem; /* indentation for wrapped lines */
        margin-bottom: 1rem; /* space between bullets */
        line-height: 1.6;
    }

        .accordion-body li::before {
            content: "\203A"; /* › */
            position: absolute;
            left: 0; /* hangs in the margin */
            top: .2rem; /* aligns with first line cap height */
            width: 1.5rem; /* reserves consistent gutter */
            text-align: center;
            font-size: 1.54rem;
            line-height: 1;
            font-weight: 700;
            color: #43aee3; /* caret color */
        }


.accordion-subhead {
    background-color: #323087;
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
    padding: 0 2rem 2rem 2rem;
}
/* Divider line between items */
.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(66, 174, 226, 0.3);
}

    .accordion-item:last-child {
        border-bottom: none;
    }

/* --- TOGGLE ICON: square + rotate on expand --- */
.accordion .accordion-button::after {
    content: "";
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid #43aee3; /* square outline */
    border-radius: 0; /* sharp corners */
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem;
    /* Sharp caret (stroke only, no fill) */
    background-image: url("data:image/svg+xml;charset=UTF-8, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%2342aee3' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpolyline points='4 6 8 10 12 6'/%3E %3C/svg%3E");
    transition: transform 0.25s ease-in-out;
}

.accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important; /* points UP when open */
}
/* End Accordion ======================================================================= */

/* image with text component */

/* Full-width section with background image */
.ic-section {
    width: 100%;
}

    /* When background image is provided */
    .ic-section.with-bg {
        background-repeat: repeat; /* repeat both horizontally and vertically */
        background-position: top left;
        background-size: auto; /* natural tile size */
    }

.ic-separator {
    width: 100%;
    height: 50px;
    background-repeat: repeat;
    background-position: top left;
    background-size: auto; /* tile naturally */
}

/* Outer wrapper: centers whole section */
.image-content-wrapper {
    max-width: 1400px; /* don’t exceed 1400px */
    margin: 0 auto; /* center horizontally */
    padding: 4rem 1rem; /* 2rem 1rem */
}

/* Flex container inside the centered wrapper */
.image-content {
    display: flex;
    align-items: center; /* vertical alignment */
    justify-content: space-between;
    /*gap: 3rem;*/
    width: 100%;
}

    .image-content.reverse {
        flex-direction: row-reverse;
    }

/* Image column */
.image-col {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
/* Flipped: image flush right */
.image-content.reverse .image-col {
    justify-content: flex-end;
}

    .image-col img.content-image {
        width: 80%; /* image itself = 70% of its column */
        height: auto;
        display: block;
    }

/* Text column */
.text-col {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    align-items: flex-start; /* default: text flush left */
}
/* Flipped: text flush right (inner edge alignment) */
.image-content.reverse .text-col {
    /*align-items: flex-end;
    text-align: left;*/
}

.text-col h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #25589d; /* adjust to your brand color */
}

    .text-col p {
        font-size: 1.2rem;
        line-height: 1.6;
        color: #333;
    }




.form-label {
    font-size: 1.2rem;
}
.form-control {
    border-radius: 0;
}










/* Background with responsive angled hard cut (more vertical) */
.footer {
    width: 100%;
    background: linear-gradient(115deg, #111 0%, #111 45%, #1c1c1c 45%, #1c1c1c 100%);
    color: #fff;
    padding: 7rem 0; /* padding moved off inner container so grid columns line up */
}

.footer-grid {
    display: grid;
    /*grid-template-columns: minmax(30%, 0.8fr) 2.2fr;*/
    grid-template-columns: minmax(45%, 0.8fr) 2.2fr;
    /* left column = at least 30% of footer width, can grow */
    /* right column = gets proportionally more space */
    align-items: start;
    gap: clamp(16px, 4vw, 32px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top row content specifics */
.footer-left { /* grid column 1 by DOM order */
}

/* Right side: make room for 3 columns */
.footer-right {
    flex: 2 1 500px; /* grows wider */
    margin-bottom: 1.5rem;
}

.footer-social { /* grid column 3 by DOM order */
    justify-self: end;
}

.footer-logo {
    max-width: 420px;
    height: auto;
}
    .footer-logo a {
        color: #ddd;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-logo a:hover {
            color: #fff;
        }

.footer-subtext {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 0.25rem;
}

.footer-heading {
    font-size: 1.9rem;
    margin-bottom: 5rem;
}

.footer-links-grid {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    grid-template-columns: 26% 37% 37%; /* rebalance widths */
    gap: 2rem; /* spacing between columns */
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: #ddd;
        text-decoration: none;
        transition: color 0.2s ease;
        display: inline-block;
        width: 100%; /* ensures each link aligns evenly inside its column */
    }

        .footer-links a:hover {
            color: #fff;
        }

.footer-compliance-link {
    font-size: 0.85rem;
    color: #aaa;
    text-decoration: none;
}

.footer.card-title {
    height: 110px;
}

.social-icon {
    width: 38px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

    .social-icon:hover {
        opacity: 0.7;
    }

.social-icon-LI {
    width: 38px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
    position: relative;
    display: block;
    left: 105%;
    top: -115px;
}
.social-icon-LI:hover {
    opacity: 0.7;
}

/* Bottom row: place copyright in column 2 (same left edge as links) */
.footer-bottom {
    margin-top: 1.25rem;
}

    .footer-bottom p {
        grid-column: 2 / 4; /* start at links column, span under links+social */
        margin: 0;
        font-size: 0.85rem;
        color: #aaa;
    }

/* Remove divider line (kept off) */
/* .footer-bottom { border-top: 1px solid #333; } */

/* Desktop/mobile visibility control */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}













/* Media Queries ############################################################################## */
@media (max-width: 1240px) {
    .header-title {
        font-size: 24px;
        margin: 0 0 16px 20px;
    }

    .navbar {
        height: 100px;
        padding-top: 0;
    }
}

@media (max-width: 1199.98px) {
    /* Stack top nav items vertically */
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
        /* Remove accent underline */
        .navbar-nav .nav-item::after {
            display: none;
        }
        /* Submenu aligned to bottom of parent text */
        .navbar-nav .dropdown-menu {
            position: static; /* flow naturally under parent */
            transform: none; /* remove centering + offset */
            width: 100%; /* take full width of container */
            margin-top: -5px; /* pull up so top aligns with bottom of parent text */
            border-radius: 0;
        }
    /* Submenu items styling remains consistent */
    .dropdown-menu .dropdown-item {
        border-bottom: 3px solid #e2e2e2;
        background-color: #e2e2e2;
        border: #f6f6f6;
        margin: 1px;
        padding: 15px 20px 15px 10px;
        white-space: normal;
    }

    .navbar-nav .nav-link {
        padding: 20px 0 20px 0;
    }

    .nav-item {
        min-width: 240px;
        background-color: #f6f6f6;
        border: 2px solid #e2e2e2;
    }

    .dropdown-toggle::before {
        top: calc(50% - 8px);
        right: -1.7rem;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
        margin-top: 0;
        left: 0;
    }

    .header-title {
        font-size: 26px;
        position: absolute;
        top: 10px;
        left: 220px;
    }
}


@media (max-width: 1024px) {
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    .jdpowerLogo {
        height: 120px;
        margin: 0 16px 0 20px;
    }

    .logo {
        height: 60px;
        top: -10px
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .content-mobilePad {
        padding: 0 !important;
    }

    .content-display, .content-reachOut {
        padding: 30px;
    }

    .accordion-button {
        font-size: 2rem;
        padding: 20px 3px;
    }

    .footer {
        background: #111;
        padding: 3rem 2rem
    }

    .footer-logo {
        width: 85%;
    }

    /* Single-column stack */
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 0; /* let the dark block feel continuous */
    }

    .footer-right.desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 1rem;
    }

    /* Keep links under logo in the darker area */
    .footer-left {
        padding: 1rem 1.5rem;
        background-color: #111;
        border-radius: 0;
    }

    /* Center copyright beneath stacked content on mobile */
    .footer-bottom p {
        grid-column: 1;
        text-align: center;
        padding: 1rem 0 0 0;
    }

    .header-title {
        font-size: 26px;
        position: absolute;
        top: 16px;
        left: 176px;
    }
}


@media (max-width: 768px) {
    .image-content,
    .image-content.reverse {
        flex-direction: column;
        text-align: center;
    }

    .image-col,
    .text-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .image-col {
        justify-content: center; /* center on mobile */
    }

        .image-col img.content-image {
            width: 70%;
            margin: 0 auto;
        }

    .text-col {
        align-items: center; /* center text on mobile */
        text-align: center;
    }

        .text-col h2 {
            font-size: 2rem;
            margin-top: 16px;
        }

    .footer-right.desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 1rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr; /* stack if ever used on small screen */
    }
}


@media (min-width: 769.99px) {
    .carousel-mobile {
        display: none;
    }

    .carousel-desktop {
        display: block;
    }
}

@media (max-width: 769.98px) {
    .carousel-mobile {
        display: block;
    }

    .carousel-desktop {
        display: none;
    }
}

@media (max-width: 575.98px) { /* Mobile */
    .logo {
        height: 50px;
        top: -15px
    }

    .header-title {
        font-size: 22px;
        position: fixed;
        top: 50px;
        left: 150px;
    }


    .section-heading {
        font-size: 1.4rem;
    }

    .podcast-box {
        padding: 1.25rem;
        margin-top: 1.5rem; /* tighter spacing when stacked */
        width: 100%; /* span full width on mobile */
    }

    .link-list a {
        font-size: 0.95rem;
    }

    /* Reduce spacing between stacked sections */
    section {
        margin-bottom: 1.5rem !important;
    }
}


@media (max-width: 449.98px) { /* Mobile */
    .logo {
        height: 40px;
        top: -4px
    }

    .header-title {
        font-size: 18px;
        position: fixed;
        top: 64px;
        left: 130px;
    }
}


@media (max-width: 413.98px) { /* Mobile */
    .header-title {
        display: none;
    }

    .nav-tiny {
        display: none;
    }
}