@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

/* =========================================================
   ROOT
========================================================= */

:root {
    --navy: #08273D;
    --navy-dark: #041A2A;
    --navy-soft: #123D58;
    --red: #ff0808;
    --white: #ffffff;
    --black: #111111;
    --light: #f5f5f5;
    --light-2: #f8fafb;
    --grey: #666666;
    --grey-dark: #4b5563;
    --border: #e7eaee;
    --shadow-sm: 0 8px 24px rgba(8, 39, 61, 0.08);
    --shadow-md: 0 16px 36px rgba(8, 39, 61, 0.12);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--navy);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
}

.main-container,
.body-container {
    width: 100%;
}


/* =========================================================
   NAVBAR
========================================================= */

.nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 88px;
    padding: 0 6%;

    background: rgba(8, 39, 61, 0.98);
    backdrop-filter: blur(12px);

    color: var(--white);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(4, 26, 42, 0.16);
}

.nav-bar > a {
    display: inline-flex;
    align-items: center;
}

.nav-bar .logo {
    width: auto;
    height: 66px;
    object-fit: contain;
}

.nav-bar ul {
    display: flex;
    align-items: center;
    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-bar ul li {
    position: relative;
}

.nav-bar ul li a {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 31px 0;

    color: rgba(255, 255, 255, 0.88);

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.nav-bar ul li a i {
    font-size: 12px;
    opacity: 0.9;
}

.nav-bar ul li a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 23px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width 0.3s ease;
}

.nav-bar ul li a:hover,
.nav-bar ul li a.active {
    color: var(--white);
}

.nav-bar ul li a:hover::after,
.nav-bar ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;

    border: none;
    background: transparent;

    color: var(--white);

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   SKILLS DEVELOPMENT HERO
   UNIQUE SPLIT-LAYOUT DESIGN
========================================================= */

.skills-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 56%, #f3f6f8 56%, #f3f6f8 100%);
}

.skills-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 100%;
}

.skills-hero-inner {
    position: relative;
    width: min(88%, 1320px);
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 70px;
    padding: 72px 0;
}

.skills-hero-content {
    position: relative;
    z-index: 3;
    max-width: 660px;
}

.skills-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.skills-hero-kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--red);
}

.skills-hero h1 {
    max-width: 650px;
    margin-bottom: 26px;
    color: var(--navy);
    font-size: clamp(56px, 5.8vw, 82px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -4px;
}

.skills-hero h1 span {
    display: block;
    color: var(--red);
}

.skills-hero-lead {
    max-width: 600px;
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.8;
}

.skills-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.skills-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 610px;
}

.skills-point {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(8, 39, 61, 0.06);
}

.skills-point-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 8, 8, 0.08);
    color: var(--red);
    font-size: 16px;
}

.skills-point strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
    font-size: 13px;
}

.skills-point small {
    display: block;
    color: var(--grey);
    font-size: 11px;
    line-height: 1.5;
}

.skills-hero-visual {
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-image-frame {
    position: relative;
    z-index: 2;
    width: 88%;
    height: 505px;
    margin-left: auto;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(8, 39, 61, 0.16);
}

.skills-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 56%, rgba(8, 39, 61, 0.20));
}

.skills-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.skills-hero:hover .skills-image-frame img {
    transform: scale(1.025);
}

.skills-hero-visual::before {
    content: "";
    position: absolute;
    top: 18px;
    right: -34px;
    z-index: 0;
    width: 78%;
    height: 92%;
}

.skills-red-block {
    position: absolute;
    right: -2px;
    bottom: 7px;
    z-index: 3;
    width: 115px;
    height: 115px;
}

.skills-floating-card {
    position: absolute;
    left: -8px;
    bottom: 48px;
    z-index: 4;
    width: 230px;
    padding: 20px 22px;
    background: var(--white);
    border-left: 4px solid var(--red);
    box-shadow: 0 18px 46px rgba(8, 39, 61, 0.16);
}

.skills-floating-card strong {
    color: var(--navy);
    font-size: 17px;
}

@media screen and (max-width: 1100px) {
    .skills-hero-inner {
        width: 90%;
        min-height: 610px;
        grid-template-columns: 1fr 0.92fr;
        gap: 45px;
        padding: 60px 0;
    }

    .skills-hero h1 {
        font-size: clamp(50px, 6.5vw, 70px);
        letter-spacing: -3px;
    }

    .skills-image-frame {
        width: 92%;
        height: 455px;
    }

    .skills-hero-visual {
        min-height: 480px;
    }
}

@media screen and (max-width: 768px) {
    .skills-hero {
        background: var(--white);
    }

    .skills-hero-inner {
        width: calc(100% - 40px);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 58px 0 70px;
    }

    .skills-hero h1 {
        font-size: clamp(48px, 11vw, 64px);
        letter-spacing: -2.5px;
    }

    .skills-hero-lead {
        font-size: 15px;
    }

    .skills-hero-points {
        max-width: 100%;
    }

    .skills-hero-visual {
        min-height: 460px;
        width: 100%;
    }

    .skills-image-frame {
        width: calc(100% - 24px);
        height: 430px;
        margin-left: 0;
        margin-right: auto;
    }

    .skills-hero-visual::before {
        top: 24px;
        right: 0;
        width: 86%;
        height: 91%;
    }

    .skills-floating-card {
        left: auto;
        right: 18px;
        bottom: -18px;
        width: 215px;
    }

    .skills-red-block {
        left: -10px;
        right: auto;
        bottom: 14px;
        width: 82px;
        height: 82px;
    }
}

@media screen and (max-width: 480px) {
    .skills-hero::before {
        width: 5px;
    }

    .skills-hero-inner {
        width: calc(100% - 32px);
        padding: 48px 0 62px;
    }

    .skills-hero h1 {
        font-size: 43px;
        line-height: 1;
        letter-spacing: -2px;
    }

    .skills-hero-lead {
        font-size: 14px;
        line-height: 1.7;
    }

    .skills-hero-actions {
        margin-bottom: 34px;
    }

    .skills-btn {
        min-height: 47px;
        padding: 0 18px;
        font-size: 12px;
    }

    .skills-hero-points {
        grid-template-columns: 1fr;
    }

    .skills-hero-visual {
        min-height: 390px;
    }

    .skills-image-frame {
        width: calc(100% - 18px);
        height: 355px;
    }

    .skills-floating-card {
        right: 0;
        bottom: -20px;
        width: 190px;
        padding: 16px 18px;
    }

    .skills-red-block {
        width: 62px;
        height: 62px;
        bottom: 9px;
    }
}

/* =========================================================
   TRAININGS SECTION
========================================================= */

.trainings-container {
    width: 100%;

    padding: 84px 6% 74px;

    background: var(--white);
}

.training-title,
.course-offerings-title {
    position: relative;

    margin-bottom: 44px;

    color: var(--navy);

    text-align: center;

    font-size: clamp(38px, 4vw, 54px);
    font-weight: 800;

    letter-spacing: -1.5px;
}

.training-title::before,
.course-offerings-title::before {
    content: "MORIPE HOLDINGS";

    display: block;

    margin-bottom: 10px;

    color: var(--red);

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.training-title::after,
.course-offerings-title::after {
    content: "";

    display: block;

    width: 58px;
    height: 3px;

    margin: 15px auto 0;

    background: var(--red);
}

.training-segment {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    width: min(100%, 1200px);

    margin: 0 auto 34px;

    overflow: hidden;

    background: var(--light-2);

    border: 1px solid var(--border);
    border-radius: 8px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.training-segment:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.training-segment:nth-child(even) {
    grid-template-columns: 1.05fr 0.95fr;
}

.training-segment:nth-child(even) .training-image {
    order: 2;
}

.training-segment:nth-child(even) .training-info {
    order: 1;
}

.training-image {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    background: #e8edf0;
}

.training-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(8, 39, 61, 0.12)
        );

    pointer-events: none;
}

.training-image img {
    width: 100%;
    height: 100%;

    min-height: 360px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.training-segment:hover .training-image img {
    transform: scale(1.035);
}

.training-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 44px 46px;
}

.training-info h3 {
    position: relative;

    margin-bottom: 22px;

    color: var(--navy);

    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 800;

    letter-spacing: -0.9px;
}

.training-info h3::after {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    margin-top: 12px;

    background: var(--red);
}

.training-info p,
.training-info li {
    color: var(--grey-dark);

    font-size: 15px;
    line-height: 1.8;
}

.training-info p {
    margin-bottom: 12px;
}

.training-info ul {
    margin: 12px 0 14px !important;
    padding-left: 22px;
}

.training-info li {
    margin-bottom: 7px;
}

.training-info li::marker {
    color: var(--red);
}


/* =========================================================
   COURSE OUTLINE
========================================================= */

.training-courses-outline-container {
    width: min(calc(100% - 12%), 1200px);

    margin: 70px auto;

    padding: 56px;

    background: var(--light-2);

    border: 1px solid var(--border);
    border-radius: 8px;

    box-shadow: var(--shadow-sm);
}

.training-courses-outline-container > span {
    display: block;

    margin-top: -28px;
    margin-bottom: 28px;

    color: var(--grey);

    text-align: center;

    font-size: 14px;
}

.divider {
    width: 100%;
    height: 1px;

    margin: 26px 0 34px;

    background: var(--border);
}

.courses-lists-container {
    display: grid;

    gap: 24px;
}

.course-offerings-sub-title {
    margin: 24px 0 20px;

    color: var(--red);

    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 800;
}

.courses {
    display: grid;

    gap: 14px;
}

.course-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 6px;

    box-shadow: 0 4px 12px rgba(8, 39, 61, 0.04);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.course-card:hover {
    border-color: rgba(8, 39, 61, 0.20);

    box-shadow: 0 10px 24px rgba(8, 39, 61, 0.08);
}

.course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 17px 20px;

    background: var(--navy);

    color: var(--white);

    cursor: pointer;

    transition: background 0.25s ease;
}

.course-header:hover {
    background: var(--navy-soft);
}

.course-header h3 {
    margin: 0;

    color: var(--white);

    font-size: 16px;
    font-weight: 700;
}

.toggle-icon {
    flex: 0 0 auto;

    font-size: 20px;
    font-weight: 700;

    transition: transform 0.25s ease;
}

.toggle-icon.open {
    transform: rotate(45deg);
}

.course-body {
    max-height: 0;

    overflow: hidden;

    padding: 0 20px;

    background: var(--white);

    transition:
        max-height 0.4s ease,
        padding 0.3s ease;
}

.course-body.open {
    max-height: 560px;

    padding: 18px 20px 20px;
}

.course-body h4 {
    margin: 10px 0 9px;

    color: var(--red);

    font-size: 15px;
}

.course-body ul {
    padding-left: 20px;
}

.course-body li {
    margin-bottom: 7px;

    color: var(--grey-dark);

    font-size: 14px;
    line-height: 1.65;
}

.course-body li::marker {
    color: var(--red);
}

.course-body a,
.course-body p {
    color: var(--navy);

    text-decoration: none;

    font-size: 14px;
}

.course-body a:hover {
    color: var(--red);
}


/* =========================================================
   COLLEGE CARDS
========================================================= */

.course {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 12px;

    padding: 26px 28px;

    overflow: hidden;

    background: var(--navy);

    border-radius: 7px;

    box-shadow: var(--shadow-sm);
}

.course::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: var(--red);
}

.course .course-title {
    color: var(--white);

    font-size: 20px;
    line-height: 1.4;
}

.course p {
    margin-top: 10px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 14px;
    line-height: 1.75;
}

.course .q-header,
.course .s-header {
    margin-top: 5px;
    margin-bottom: 4px;

    color: var(--red);

    font-size: 15px;
}


/* =========================================================
   TABS
========================================================= */

.tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    background: var(--navy);

    border-radius: 4px;

    color: var(--white);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.tab:hover,
.tab#active,
.tab.active {
    transform: translateY(-1px);

    background: var(--red);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    background: var(--navy);

    color: var(--white);
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-columns {
    width: min(92%, 1300px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1.45fr
        0.75fr;

    gap: 45px;

    align-items: start;

    padding: 70px 0 55px;
}

.footer-columns > .col-1,
.footer-columns > .col-2,
.footer-columns > .col-3,
.footer-columns > .col-4 {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-columns h4 {
    margin: 0 0 22px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.3;
}

.footer-columns h4::after {
    content: "";

    display: block;

    width: 32px;
    height: 2px;

    margin-top: 9px;

    background: var(--red);
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo-link {
    display: inline-block;

    margin-bottom: 18px;
}

.footer-logo {
    width: auto;
    height: auto;

    max-width: 180px;
    max-height: 85px;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    transform: scale(1.03);

    opacity: 0.90;
}


/* =========================================================
   FOOTER DEDICATION
========================================================= */

.footer-columns .col-1 p {
    max-width: 280px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact-link {
    display: flex;

    align-items: center;

    gap: 11px;

    width: fit-content;

    margin-bottom: 15px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 14px;

    line-height: 1.5;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-contact-link i {
    width: 18px;

    flex-shrink: 0;

    color: var(--red);

    font-size: 15px;

    text-align: center;
}

.footer-contact-link span {
    word-break: break-word;
}

.footer-contact-link:hover {
    color: var(--white);

    transform: translateX(4px);
}


/* =========================================================
   FOOTER LOCATIONS
========================================================= */

.footer-location {
    width: 100%;

    margin-bottom: 19px;
}

.footer-location:last-child {
    margin-bottom: 0;
}

.location-label {
    display: block;

    margin-bottom: 6px;

    color: var(--white);

    font-size: 14px;
    font-weight: 700;
}

.location-link {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    width: fit-content;

    color:
        rgba(255, 255, 255, 0.67);

    font-size: 13px;

    line-height: 1.65;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.location-link i {
    flex-shrink: 0;

    margin-top: 5px;

    color: var(--red);

    font-size: 13px;
}

.location-link span {
    display: block;
}

.location-link:hover {
    color: var(--white);

    transform: translateX(4px);
}


/* =========================================================
   FOOTER SOCIALS
========================================================= */

.social-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.social-links li {
    margin: 0 0 14px;
    padding: 0;

    list-style: none;
}

.social-link a {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    white-space: nowrap;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 14px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.social-link a i {
    width: 18px;

    flex-shrink: 0;

    color: var(--red);

    font-size: 16px;

    text-align: center;
}

.social-link a:hover {
    color: var(--white);

    transform: translateX(4px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: min(92%, 1300px);

    margin: 0 auto;

    padding: 21px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-top-btn {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 999;

    width: 46px;
    height: 46px;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: var(--red);

    border: none;

    border-radius: 50%;

    color: var(--white);

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(255, 8, 8, 0.24);

    transition: 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--navy);

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1100px) {

    .nav-bar {
        padding: 0 4%;
    }

    .nav-bar ul {
        gap: 18px;
    }

    .nav-bar ul li a {
        font-size: 12px;
    }

    .hero,
    .slideshow-container {
        min-height: 600px;
        height: 600px;
    }

    .text-overlay {
        left: 6%;

        width: 58%;
    }

    .text-overlay h1,
    .text-overlay h2 {
        font-size: clamp(50px, 6.5vw, 70px);
    }

    .training-segment {
        grid-template-columns: 1fr 1.1fr;
    }

    .training-segment:nth-child(even) {
        grid-template-columns: 1.1fr 1fr;
    }

    .training-info {
        padding: 36px 34px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media screen and (max-width: 768px) {

    .nav-bar {
        flex-wrap: wrap;

        min-height: 76px;

        padding: 0 22px;
    }

    .nav-bar .logo {
        height: 58px;
    }

    .hamburger {
        display: block;
    }

    .nav-bar ul {
        width: 100%;

        max-height: 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        overflow: hidden;

        background: var(--navy);

        transition:
            max-height 0.35s ease,
            padding 0.35s ease;
    }

    .nav-bar ul.active {
        max-height: 420px;

        padding: 10px 0 18px;
    }

    .nav-bar ul li {
        width: 100%;
    }

    .nav-bar ul li a {
        width: 100%;

        padding: 11px 0;
    }

    .nav-bar ul li a::after {
        bottom: 6px;
    }

    .hero,
    .slideshow-container {
        min-height: 570px;
        height: 570px;
    }

    .slide {
        background-position: 68% center;
    }

    .slide::before {
        background:
            linear-gradient(
                180deg,
                rgba(4, 26, 42, 0.18) 0%,
                rgba(8, 39, 61, 0.56) 46%,
                rgba(4, 26, 42, 0.98) 100%
            );
    }

    .hero::before {
        left: -58px;
        bottom: -108px;

        width: 190px;
        height: 190px;
    }

    .hero::after {
        display: none;
    }

    .text-overlay {
        top: auto;
        left: 24px;
        right: 24px;
        bottom: 52px;

        width: auto;

        transform: none;
    }

    .text-overlay::after {
        left: -12px;

        height: 62px;
    }

    .text-overlay h1,
    .text-overlay h2 {
        font-size: clamp(42px, 10vw, 58px);

        line-height: 1;

        letter-spacing: -2.3px;
    }

    .text-overlay p {
        font-size: 15px;
    }

    .trainings-container {
        padding: 62px 20px;
    }

    .training-segment,
    .training-segment:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .training-segment:nth-child(even) .training-image,
    .training-segment:nth-child(even) .training-info {
        order: initial;
    }

    .training-image,
    .training-image img {
        min-height: 290px;
    }

    .training-info {
        padding: 30px 26px;
    }

    .training-courses-outline-container {
        width: calc(100% - 40px);

        margin: 48px auto;

        padding: 34px 26px;
    }

    .footer-columns {
        grid-template-columns: 1fr;

        gap: 34px;

        padding: 54px 0 40px;
    }
}


/* =========================================================
   MOBILE PHONES
========================================================= */

@media screen and (max-width: 480px) {

    .nav-bar {
        min-height: 70px;

        padding: 0 18px;
    }

    .nav-bar .logo {
        height: 52px;
    }

    .hero,
    .slideshow-container {
        min-height: 520px;
        height: 520px;
    }

    .slide {
        background-position: 70% center;
    }

    .text-overlay {
        left: 20px;
        right: 20px;
        bottom: 42px;
    }

    .text-overlay::after {
        display: none;
    }

    .hero-eyebrow {
        margin-bottom: 14px;

        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-eyebrow::before {
        width: 24px;
    }

    .text-overlay h1,
    .text-overlay h2 {
        margin-bottom: 18px;

        font-size: 39px;

        letter-spacing: -1.8px;
    }

    .text-overlay p {
        margin-bottom: 24px;

        font-size: 14px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-btn {
        min-height: 46px;

        padding: 0 18px;

        font-size: 12px;
    }

    .training-title,
    .course-offerings-title {
        font-size: 34px;
    }

    .training-info {
        padding: 26px 20px;
    }

    .training-info h3 {
        font-size: 24px;
    }

    .training-info p,
    .training-info li {
        font-size: 14px;
    }

    .training-courses-outline-container {
        width: calc(100% - 32px);

        padding: 28px 20px;
    }

    .course-header {
        padding: 14px 16px;
    }

    .course-header h3 {
        font-size: 14px;
    }

    .course-body.open {
        padding: 15px 16px 17px;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
