@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

h1,
h2,
h3,
h4 {
    font-family: "Lato" !important;
    font-optical-sizing: auto;
    font-style: normal;
}


a {
    font-family: "Lato" !important;
    font-optical-sizing: auto;
    font-style: normal;
}

@font-face {
    font-family: 'Lato' !important;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://cms.presscentric.com/3VdoEx6ZSS78tati3U1FgN/CSS/Lato-Regular.woff2) format('woff2') !important;
    unicode-range: U +0460 -052F, U +1C80 -1C8A, U +20B4, U +2DE0 -2DFF, U + A640-A69F, U + FE2E-FE2F;
}

.site-search {
    border-radius: 20px !important;

}

div.active.slide-item.item {
    border: none !important;
}


.nav.navbar-nav ul.dropdown-menu {
    margin-top: 35px !important;
}

ul#tmenu-item1.nav.navbar-nav li ul li ul {
    margin-top: -5px !important;
}

ul#tmenu-item2.nav.navbar-nav li ul li ul {
    margin-top: -5px !important;
}

ul#tmenu-item3.nav.navbar-nav li ul li ul {
    margin-top: -5px !important;
}

ul#tmenu-item4.nav.navbar-nav li ul li ul {
    margin-top: -5px !important;
}

ul#tmenu-item5.nav.navbar-nav li ul li ul {
    margin-top: -5px !important;
}

#s-menu {
    justify-content: flex-end;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 75%;
    flex: 0 1 75%;
    text-align: right;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    max-width: 75%;
}

@media (max-width: 900px) {
    #s-menu {
        justify-content: unset;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 75%;
        flex: 0 1 75%;
        text-align: left !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: block !important;
        max-width: 100%;
    }
}


#container__footer {
    background-color: #585858 !important;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}


#copyright_footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px !important;
    font-size: 12px;
    margin: 0px;
}

#container__footer {
    background-image: url('https://cms.presscentric.com/3VdoEx6ZSS78tati3U1FgN/Assets/Rocket_Web_Texture_2.jpg');
    background-repeat: repeat;
    background-size: contain;
}

#copyright_footer {
    background-color: #000 !important;
}

#s-nav {
    background-color: #000 !important;
}

@media (min-width: 1200px) {
    #s-nav .container {
        width: 1650px !important;
    }
}

.dropdown-toggle,
.nav.navbar-nav li a {
    color: #fff !important;
}

/*ADDED Sub*/
ul#link-home.nav.navbar-nav li ul li a,
ul#tmenu-account.nav.navbar-nav li ul li a,
ul#tmenu-item1.nav.navbar-nav li ul li a,
ul#tmenu-item2.nav.navbar-nav li ul li a,
ul#tmenu-item3.nav.navbar-nav li ul li a,
ul#tmenu-item4.nav.navbar-nav li ul li a,
ul#tmenu-item5.nav.navbar-nav li ul li a,
ul#tmenu-item1.nav.navbar-nav li ul li ul li a,
ul#tmenu-item2.nav.navbar-nav li ul li ul li a,
ul#tmenu-item3.nav.navbar-nav li ul li ul li a,
ul#tmenu-item4.nav.navbar-nav li ul li ul li a,
ul#tmenu-item5.nav.navbar-nav li ul li ul li a,
ul#tmenu-item6.nav.navbar-nav li ul li ul li a,
ul#tmenu-item7.nav.navbar-nav li ul li ul li a {
    color: #000 !important;
}


ul#tmenu-item7.nav.navbar-nav li ul a {
    color: black !important;
}

#System_Header::before,
#System_Header,
#s-user.navbar-right,
#s-user.navbar-right::after,
#s-search.navbar-form {
    background-image: url('https://cms.presscentric.com/3VdoEx6ZSS78tati3U1FgN/Assets/Rocket_Web_Texture_2.jpg');
    background-repeat: repeat-x;
    background-size: cover;
}

@media screen and (min-width: 768px) {
    .carousel-custom {
        position: absolute;
        top: 0;
        left: 43.5vw;
        /* Ensures minimum 10% viewport space on left */
        height: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 1350px) {
    .carousel-custom {
        position: absolute;
        top: -45px;
        left: 55vw;
    }
}

@media screen and (max-width: 768px) {
    .carousel-custom {
        left: 6vw;
        top: -3vw;
    }

    .carousel-custom h1,
    .carousel-custom h2,
    .carousel-custom h3,
    .carousel-custom h4 {
        color: #fff !important;
        white-space: pre-wrap;
    }

    /* Responsive typography */
    .carousel-custom h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .carousel-custom h2 {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }

    .carousel-custom h3 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    .carousel-custom h4 {
        font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    }
}

@media screen and (min-width: 768px) {
    .slide-content {
        color: #fff;
        width: 45% !important;
        margin-bottom: 20px !important;
    }

    .slide-content h4 {
        line-height: 1.75 !important;
    }
}

.targets__inner {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

@media screen and (max-width: 769px) {
    .targets__inner {
        max-width: 65vw;
    }
}

.target-card__btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 44px;
    background-color: #5aaec6;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.target-card__btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 44px;
    background-color: #fef200;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-left: 20px;
}

.target-card__btn1:hover,
.target-card__btn2:hover {
    background-color: #999;
    color: #fff;
}

/*FOUR SECTION AT BOTTOM OF BANNER IMAGE */
:root {
    --pad: clamp(25px, 4vw, 50px);
    --gap: clamp(10px, 1.2vw, 18px);
    --iconCol: clamp(90px, 8vw, 140px);

    /* responsive type (keeps readable on mobile) */
    --title: clamp(14px, 0.9vw + 10px, 20px);
    --body: clamp(12px, 0.5vw + 10px, 14px);

    --text: #fff;

    --btn-bg: #005158;
    --btn-fg: #ffffff;

}

/* FULL WIDTH + BACKGROUND IMAGE */
.targets {
    padding: var(--pad);
    width: 100%;
    background-image: url('https://cms.presscentric.com/3VdoEx6ZSS78tati3U1FgN/Assets/Rocket_Web_Texture_1.jpeg');
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    position: relative;
    color: var(--text);
}

/* optional overlay for contrast (remove if not needed) */
.targets::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    pointer-events: none;
}

.targets__inner {
    position: relative;
    /* keeps content above overlay */
    width: 100%;
    max-width: none;
    /* stretches across page */
    margin: 0;
}

.targets__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: pre-wrap;
    border: 0;
}

/* DESKTOP: 4 ACROSS */
.targets__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    width: 100%;
}

/* MOBILE: 2x2 */
@media (max-width: 720px) {
    .targets__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :root {
        --gap: clamp(8px, 1.4vw, 12px);
        --iconCol: clamp(56px, 14vw, 80px);
        --title: clamp(12px, 2.1vw, 15px);
        --body: clamp(10px, 1.9vw, 12px);
    }

    .targets {
        padding: clamp(12px, 3vw, 18px);
    }
}

.target-card {
    display: grid;
    grid-template-columns: var(--iconCol) 1fr;
    align-items: stretch;
    padding: 0;
    min-width: 0;
}

.target-card__icon {
    width: 70%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    margin-right: -25px;
    margin-top: 25px;
}

@media screen and (min-width: 1000px) {
    .target-card__icon img {
        margin-right: -100px;
        margin-top: 25px;
    }
}

.target-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(12px, 1.6vw, 24px);
    text-align: left;
    min-width: 0;
    color: var(--text);
}

.target-card__title {
    font-size: var(--title);
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.15;
    color: var(--text);

    /* keeps layout tight */
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.target-card__desc {
    margin: 0;
    font-size: var(--body);
    line-height: 1.35;
    color: var(--text);
    opacity: .95;

    /* keeps layout tight */
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* If you add buttons later, they won’t force wrap */
.target-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(140px, 14vw, 220px);
    height: 44px;
    background-color: var(--btn-bg);
    color: var(--btn-fg);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(12px, 0.6vw + 10px, 14px);
    border-radius: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: pre-wrap;
}

.target-card__btn:hover {
    background-color: #333;
    color: #fff;
}

/*-----------------------------------------*/
/* DESKTOP / TABLET KEEP EXISTING BEHAVIOR */
@media screen and (min-width: 801px) {
    .carousel-custom {
        position: absolute;
        top: 0;
        left: 43.5vw;
        height: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 1350px) and (min-width: 801px) {
    .carousel-custom {
        position: absolute;
        top: -45px;
        left: 55vw;
    }
}

/* MOBILE FIX */
@media screen and (max-width: 800px) {

    .slide-item,
    .slide-item.item.active,
    .carousel-inner,
    #carousel1 .item,
    #carousel1 .slide-item {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .carousel-custom {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 20px 0 20px !important;
        margin-top: -10px !important;
        transform: none !important;
        z-index: 2;
    }

    .carousel-custom h1,
    .carousel-custom h2,
    .carousel-custom h3,
    .carousel-custom h4 {
        color: #fff !important;
        white-space: normal !important;
    }

    .carousel-custom h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .carousel-custom h2 {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
        line-height: 1.1;
        margin: 10px 0 12px 0;
    }

    .carousel-custom h3 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    .carousel-custom h4 {
        font-size: clamp(1rem, 3.8vw, 1.25rem);
        line-height: 1.35 !important;
        margin: 30px 0 16px 0;
    }

    .slide-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 50px !important;
        margin-bottom: 20px !important;
    }

    /* target ONLY the CTA row in the hero */
    .slide-content>.targets__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .slide-content>.targets__inner .target-card__btn1,
    .slide-content>.targets__inner .target-card__btn2 {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 3 !important;
    }

    /* preserve original colors */
    .slide-content>.targets__inner .target-card__btn1 {
        background-color: #5aaec6 !important;
        color: #000 !important;
    }

    .slide-content>.targets__inner .target-card__btn2 {
        background-color: #fef200 !important;
        color: #000 !important;
    }

    /* keep lower icon section tight, but below hero content */
    .targets {
        position: relative;
        margin-top: 12px !important;
        padding-top: 18px !important;
        z-index: 1;
    }

    .targets .targets__inner {
        max-width: 100% !important;
    }

    .targets__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 800px) {

    .container.carousel-custom,
    .slide-content>.targets__inner {
        background: #000;
        padding: 14px;
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }

    .targets {
        margin-top: -8px !important;
    }

}