/* =========================================================
   MORIPE HOLDINGS
   SERVICES PAGE
   MSA + MBC DESIGN FAMILY
========================================================= */

@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;
    --red: #ff0808;
    --white: #ffffff;
    --black: #111111;
    --light: #f5f5f5;
    --grey: #666666;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    width: 100%;
    margin: 0;

    background: var(--white);
    color: var(--black);

    font-family: "Inter", sans-serif;

    line-height: 1.7;

    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;

    line-height: 1.1;
}


p {
    color: var(--grey);
}


.main-container {
    width: 100%;
}


/* =========================================================
   STICKY NAVBAR SAFETY
========================================================= */

.main-container {
    overflow: visible;
}

/* =========================================================
   NAVIGATION
   MATCHES ENQUIRIES PAGE
========================================================= */

.nav-bar {
    position: sticky;
    top: 0;

    z-index: 1000;

    width: 100%;
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: var(--navy);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.10);
}

.nav-bar > a {
    display: flex;
    align-items: center;
}

.nav-bar .logo {
    width: auto;
    height: 67px;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-bar ul {
    display: flex;
    align-items: center;

    gap: 30px;

    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: 7px;

    padding: 13px 0;

    color: var(--white);

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.nav-bar ul li a i {
    font-size: 13px;
}

.nav-bar ul li a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 5px;

    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(--red);
}

.nav-bar ul li a:hover::after,
.nav-bar ul li a.active::after {
    width: 100%;
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    display: none;

    padding: 4px;

    background: transparent;

    border: none;

    color: var(--white);

    font-size: 27px;

    cursor: pointer;
}

/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-icons {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 18px;
}


.social-icons a {
    color: var(--white);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.social-icons a:hover {
    color: var(--red);

    transform: translateY(-2px);
}


/* =========================================================
   SERVICES HERO
   MSA-INSPIRED SPLIT LAYOUT
========================================================= */

.services-hero {
    position: relative;

    width: 100%;

    background: var(--white);

    overflow: hidden;
}


.services-hero-inner {
    width: min(94%, 1500px);
    min-height: 680px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.12fr);

    align-items: center;

    gap: 64px;

    padding:
        70px
        0
        76px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.services-hero-content {
    position: relative;

    z-index: 3;

    max-width: 650px;
}


.services-hero-kicker {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.3px;

    text-transform: uppercase;
}


.services-hero-kicker::before {
    content: "";

    width: 36px;
    height: 2px;

    background: var(--red);
}


/* BIG RED TITLE */

.services-hero h1 {
    margin:
        0
        0
        30px;

    color: var(--red);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(70px, 8vw, 118px);

    font-weight: 800;

    line-height: 0.88;

    letter-spacing: -6px;
}


.services-hero h1 span {
    display: block;
}


/* BLACK STATEMENT */

.services-hero h2 {
    max-width: 590px;

    margin:
        0
        0
        25px;

    color: var(--black);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(38px, 4.2vw, 58px);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -2px;
}


/* SUPPORTING TEXT */

.services-hero-content > p {
    max-width: 600px;

    margin:
        0
        0
        32px;

    color: var(--grey);

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.services-hero-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


.services-hero-btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0
        24px;

    border:
        1px solid transparent;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}


.services-hero-btn.primary {
    background: var(--red);

    border-color: var(--red);

    color: var(--white);
}


.services-hero-btn.primary:hover {
    transform: translateY(-2px);

    background: var(--navy);

    border-color: var(--navy);
}


.services-hero-btn.secondary {
    background: transparent;

    border-color:
        rgba(8, 39, 61, 0.24);

    color: var(--navy);
}


.services-hero-btn.secondary:hover {
    transform: translateY(-2px);

    background: var(--navy);

    border-color: var(--navy);

    color: var(--white);
}


/* =========================================================
   RIGHT IMAGE
========================================================= */

.services-hero-image-wrap {
    position: relative;

    min-height: 525px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.services-hero-image {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 500px;

    overflow: hidden;

    background: var(--light);

    box-shadow:
        0
        20px
        50px
        rgba(8, 39, 61, 0.10);
}


.services-hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(8, 39, 61, 0.10)
        );

    pointer-events: none;
}


.services-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease;
}


.services-hero:hover
.services-hero-image img {
    transform: scale(1.025);
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1100px) {

    .services-hero-inner {
        width: 92%;

        grid-template-columns:
            minmax(0, 0.92fr)
            minmax(0, 1.08fr);

        gap: 42px;

        min-height: 620px;

        padding:
            58px
            0
            65px;
    }


    .services-hero h1 {
        font-size:
            clamp(64px, 8vw, 94px);

        letter-spacing: -5px;
    }


    .services-hero h2 {
        font-size:
            clamp(34px, 4vw, 48px);
    }


    .services-hero-image {
        height: 455px;
    }


    .services-hero-image-wrap {
        min-height: 475px;
    }
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media screen and (max-width: 900px) {

    .services-hero-inner {
        width:
            calc(100% - 48px);

        min-height: auto;

        grid-template-columns: 1fr;

        gap: 44px;

        padding:
            58px
            0
            72px;
    }


    .services-hero-content {
        max-width: 760px;
    }


    .services-hero h1 {
        font-size:
            clamp(68px, 12vw, 100px);
    }


    .services-hero h2 {
        max-width: 680px;
    }


    .services-hero-image-wrap {
        width: 100%;

        min-height: 430px;
    }


    .services-hero-image {
        height: 420px;
    }


    .services-hero-image-accent {
        width: 90px;
        height: 90px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 560px) {

    .services-hero-inner {
        width:
            calc(100% - 36px);

        gap: 34px;

        padding:
            45px
            0
            58px;
    }


    .services-hero-kicker {
        margin-bottom: 15px;

        font-size: 9px;

        letter-spacing: 1.8px;
    }


    .services-hero h1 {
        margin-bottom: 24px;

        font-size: 58px;

        line-height: 0.90;

        letter-spacing: -3px;
    }


    .services-hero h2 {
        margin-bottom: 20px;

        font-size: 35px;

        line-height: 1.12;

        letter-spacing: -1.5px;
    }


    .services-hero-content > p {
        margin-bottom: 26px;

        font-size: 14px;

        line-height: 1.75;
    }


    .services-hero-btn {
        min-height: 46px;

        padding:
            0
            18px;

        font-size: 12px;
    }


    .services-hero-image-wrap {
        min-height: 325px;
    }


    .services-hero-image {
        height: 315px;
    }


    .services-hero-image-accent {
        right: -8px;
        bottom: -8px;

        width: 64px;
        height: 64px;
    }


    .services-hero-image-wrap::before {
        left: -8px;

        top: 28px;

        height: 80px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 380px) {

    .services-hero h1 {
        font-size: 51px;
    }


    .services-hero h2 {
        font-size: 31px;
    }
}


/* =========================================================
   SERVICES TITLE
========================================================= */

.services-title,
.course-offerings-title {
    position: relative;

    width: min(90%, 1200px);

    margin:
        0 auto
        42px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(46px, 5vw, 64px);

    font-weight: 700;

    line-height: 1;

    letter-spacing: -2.5px;

    text-align: left;
}

/* =========================================================
   SERVICES CONTAINER
========================================================= */

.services-container {
    position: relative;

    width: 100%;

    padding:
        75px
        0
        80px;

    background: var(--white);
}


/* =========================================================
   SERVICE SEGMENT
========================================================= */

.services-segment {
    width: min(90%, 1200px);

    margin:
        0 auto
        28px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: stretch;

    background: var(--light);

    border-radius: 0;

    box-shadow: none;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.services-segment:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px
        rgba(8, 39, 61, 0.10);
}


/* =========================================================
   ALTERNATING SERVICE ROW
========================================================= */

.services-segment:nth-child(even) {
    direction: rtl;
}


.services-segment:nth-child(even) > * {
    direction: ltr;
}


/* =========================================================
   SERVICE IMAGE
========================================================= */

.services-image {
    position: relative;

    min-height: 380px;

    overflow: hidden;
}


.services-image img {
    width: 100%;
    height: 100%;

    min-height: 380px;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.services-segment:hover
.services-image img {
    transform: scale(1.035);
}


/* IMAGE OVERLAY */

.services-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(8, 39, 61, 0.18)
        );

    pointer-events: none;
}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.services-info {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        55px
        55px;

    background: var(--light);
}


/* RED TOP LINE */

.services-info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 95px;
    height: 5px;

    background: var(--red);
}


/* =========================================================
   SERVICE HEADING
========================================================= */

.services-info h3 {
    margin:
        0
        0
        20px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size:
        clamp(28px, 3vw, 38px);

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -1px;
}


/* =========================================================
   SERVICE TEXT
========================================================= */

.services-info p {
    margin:
        0
        0
        18px;

    color: var(--grey);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   SERVICE LIST
========================================================= */

.services-info ul {
    margin-top: 5px;

    padding: 0;

    list-style: none;
}


.services-info ul li {
    position: relative;

    margin-bottom: 11px;

    padding-left: 22px;

    color: var(--grey);

    font-size: 15px;

    line-height: 1.7;
}


.services-info ul li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 10px;

    width: 7px;
    height: 7px;

    background: var(--red);
}


/* =========================================================
   COURSE / OUTLINE SECTION
========================================================= */

.services-courses-outline-container {
    position: relative;

    width: 100%;

    padding:
        75px
        7%
        80px;

    background: var(--navy);

    overflow: hidden;

    text-align: left;
}


/* DECORATIVE BACKGROUND */

.services-courses-outline-container::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -100px;

    width: 370px;
    height: 370px;

    border:
        70px solid
        rgba(255, 255, 255, 0.035);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   COURSE TITLE
========================================================= */

.services-courses-outline-container
.course-offerings-title {
    position: relative;

    z-index: 2;

    color: var(--white);
}


.services-courses-outline-container
.course-offerings-title::before {
    content: "EXPLORE OUR OFFERINGS";

    display: block;

    margin-bottom: 14px;

    color: var(--red);

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.4px;
}


/* =========================================================
   SERVICES TABS
========================================================= */

.services-tabs-container {
    position: relative;

    z-index: 2;

    width: min(90%, 1200px);

    margin:
        30px auto
        0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   TAB
========================================================= */

.tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        12px
        22px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 0;

    color: var(--white);

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.tab:hover,
.tab#active,
.tab.active {
    background: var(--red);

    border-color: var(--red);

    color: var(--white);

    transform: translateY(-2px);
}



/* =========================================================
   SERVICES SECTION INTRO + CTA ADDITIONS
========================================================= */

.services-heading-wrap {
    width: min(90%, 1200px);
    margin: 0 auto 36px;
    text-align: center;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.services-kicker::before,
.services-kicker::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--red);
}

.services-heading-wrap .services-title {
    width: 100%;
    margin: 0 0 18px;
    text-align: center;
}

.services-intro {
    max-width: 760px;
    margin: 0 auto;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.85;
}

.service-number {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--red);
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.service-link-btn {
    width: fit-content;
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    padding: 0 23px;
    background: var(--navy);
    border: 1px solid var(--navy);
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.service-link-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.service-link-btn:hover i {
    transform: translateX(4px);
}

@media screen and (max-width: 700px) {
    .services-heading-wrap {
        width: calc(100% - 40px);
        margin-bottom: 30px;
    }

    .services-intro {
        font-size: 14px;
        line-height: 1.75;
    }
}

@media screen and (max-width: 560px) {
    .services-heading-wrap {
        width: calc(100% - 36px);
        margin-bottom: 26px;
    }

    .services-kicker {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .services-kicker::before,
    .services-kicker::after {
        width: 20px;
    }

    .service-link-btn {
        width: 100%;
        min-height: 46px;
        padding: 0 18px;
        font-size: 12px;
    }
}

/* =========================================================
   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);
}



/* =========================================================
   NAVIGATION - LARGE TABLET / SMALL LAPTOP
========================================================= */

@media screen and (max-width: 1050px) {

    .nav-bar {
        padding:
            0
            4%;
    }


    .nav-bar ul {
        gap: 19px;
    }


    .nav-bar ul li a {
        font-size: 13px;
    }


    /* SERVICES */

    .services-info {
        padding:
            45px
            40px;
    }


    /* FOOTER */

    .footer-columns {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            40px
            45px;
    }


    .footer-columns > .col-1,
    .footer-columns > .col-2,
    .footer-columns > .col-3,
    .footer-columns > .col-4 {
        grid-column: auto;

        justify-self: start;

        width: 100%;
        max-width: none;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 900px) {

    /* NAVBAR */

    .nav-bar {
        min-height: 76px;

        padding:
            0
            24px;

        flex-wrap: wrap;
    }


    .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.4s ease,
            padding 0.4s ease;
    }


    .nav-bar ul.active {
        max-height: 550px;

        padding:
            12px
            0
            22px;
    }


    .nav-bar ul li {
        width: 100%;
    }


    .nav-bar ul li a {
        width: 100%;

        padding:
            13px
            0;
    }


    /* HERO */

    .hero {
        height: 62vh;
        min-height: 480px;
    }


    .text-overlay {
        left: 6%;

        width: 70%;
    }


    .text-overlay h1,
    .text-overlay h2 {
        font-size:
            clamp(46px, 7vw, 64px);
    }


    /* SERVICES */

    .services-container {
        padding:
            65px
            0
            70px;
    }


    .services-title,
    .course-offerings-title {
        width: 90%;

        margin-bottom: 35px;
    }


    .services-segment,
    .services-segment:nth-child(even) {
        width: 90%;

        grid-template-columns: 1fr;

        direction: ltr;
    }


    .services-image {
        min-height: 350px;
    }


    .services-image img {
        min-height: 350px;
    }


    .services-info {
        padding:
            40px
            38px;
    }


    /* COURSES */

    .services-courses-outline-container {
        padding:
            65px
            5%
            70px;
    }


    .services-tabs-container {
        width: 90%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 700px) {

    /* HERO */

    .hero {
        height: 58vh;
        min-height: 430px;
    }


    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(8, 39, 61, 0.96),
                rgba(8, 39, 61, 0.70)
            );
    }


    .hero::after {
        width: 85px;
        height: 85px;
    }


    .text-overlay {
        top: 52%;

        left: 22px;
        right: 22px;

        width: auto;

        transform:
            translateY(-50%);
    }


    .text-overlay h1,
    .text-overlay h2 {
        font-size:
            clamp(38px, 10vw, 50px);

        letter-spacing: -2px;
    }


    .text-overlay p {
        font-size: 15px;
    }


    /* SERVICES */

    .services-container {
        padding:
            55px
            0
            60px;
    }


    .services-title,
    .course-offerings-title {
        width:
            calc(100% - 40px);

        margin-bottom: 30px;

        font-size: 40px;
    }


    .services-segment {
        width:
            calc(100% - 40px);

        margin-bottom: 22px;
    }


    .services-image {
        min-height: 290px;
    }


    .services-image img {
        min-height: 290px;
    }


    .services-info {
        padding:
            34px
            28px;
    }


    .services-info h3 {
        font-size: 28px;
    }


    .services-info p,
    .services-info ul li {
        font-size: 14px;
    }


    /* COURSE SECTION */

    .services-courses-outline-container {
        padding:
            55px
            20px
            60px;
    }


    .services-tabs-container {
        width: 100%;

        gap: 10px;
    }


    .tab {
        min-height: 44px;

        padding:
            10px
            17px;

        font-size: 13px;
    }


    /* FOOTER */

    .footer-columns {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 560px) {

    /* NAVBAR */

    .nav-bar {
        min-height: 70px;

        padding:
            0
            18px;
    }


    .nav-bar .logo {
        height: 52px;
    }


    .hamburger {
        font-size: 24px;
    }


    /* HERO */

    .hero {
        min-height: 400px;
    }


    .text-overlay {
        left: 20px;
        right: 20px;
    }


    .text-overlay::before {
        margin-bottom: 12px;

        font-size: 10px;
    }


    .text-overlay h1,
    .text-overlay h2 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }


    .text-overlay p {
        font-size: 14px;
    }


    /* SERVICES */

    .services-container {
        padding:
            48px
            0
            52px;
    }


    .services-title,
    .course-offerings-title {
        width:
            calc(100% - 36px);

        font-size: 35px;
    }


    .services-segment {
        width:
            calc(100% - 36px);
    }


    .services-image,
    .services-image img {
        min-height: 245px;
    }


    .services-info {
        padding:
            30px
            23px;
    }


    .services-info h3 {
        margin-bottom: 15px;

        font-size: 25px;
    }


    /* COURSE */

    .services-courses-outline-container {
        padding:
            48px
            18px
            52px;
    }


    .tab {
        width: 100%;

        justify-content: flex-start;
    }


    /* FOOTER */

    .footer-columns {
        width: 90%;

        padding:
            55px
            0
            42px;

        gap: 35px;
    }


    .footer-bottom {
        width: 90%;
    }


    /* SCROLL */

    .scroll-top-btn {
        right: 17px;
        bottom: 17px;

        width: 42px;
        height: 42px;

        font-size: 16px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 380px) {

    .text-overlay h1,
    .text-overlay h2 {
        font-size: 34px;
    }


    .services-title,
    .course-offerings-title {
        font-size: 32px;
    }


    .services-info h3 {
        font-size: 23px;
    }
}


/* FINAL SPACING + CENTERING FIX */
.services-hero-inner {
    min-height: 590px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.services-container {
    padding-top: 48px;
    padding-bottom: 55px;
}

.services-segment {
    margin-bottom: 20px;
}

.services-title {
    width: min(90%, 1200px);
    margin: 0 auto 32px;
    text-align: center;
}

.services-courses-outline-container {
    padding-top: 55px;
    padding-bottom: 60px;
}

.services-courses-outline-container .course-offerings-title {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    text-align: center;
}

.services-courses-outline-container .course-offerings-title::before {
    text-align: center;
}

.services-tabs-container {
    margin-top: 22px;
    justify-content: center;
}

@media screen and (max-width: 900px) {
    .services-hero-inner {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .services-container {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .services-title {
        margin-bottom: 28px;
        text-align: center;
    }

    .services-courses-outline-container {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .services-courses-outline-container .course-offerings-title,
    .services-courses-outline-container .course-offerings-title::before {
        text-align: center;
    }

    .services-tabs-container {
        justify-content: center;
    }
}

@media screen and (max-width: 560px) {
    .services-hero-inner {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .services-container {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .services-title {
        width: calc(100% - 36px);
        margin-bottom: 24px;
        text-align: center;
    }

    .services-segment {
        margin-bottom: 16px;
    }

    .services-courses-outline-container {
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .services-courses-outline-container .course-offerings-title,
    .services-courses-outline-container .course-offerings-title::before {
        text-align: center;
    }

    .services-tabs-container {
        margin-top: 18px;
        justify-content: center;
    }
}
