/* =====================================================
   EDUWAX SERVICES PAGE
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --navy-dark: #00152e;
    --blue: #003b6f;

    --gold-light: #e8cb69;

    --light: #f6f8fb;
    --lighter: #fbfcfe;

    --shadow:
        0 15px 45px rgba(0, 25, 55, .08);

    --shadow-hover:
        0 25px 60px rgba(0, 25, 55, .14);
}


/* =====================================================
   EYEBROW
===================================================== */


.eyebrow.dark {
    color:
        #a17e12;
}
.eyebrow.core-service{
    border-left: 5px solid var(--gold);
}


/* =====================================================
   HERO
===================================================== */


.hero-content h1 {

    font-size:
        clamp(42px, 5.5vw, 72px);

    line-height: 1.08;

    letter-spacing: -1.5px;

    margin-bottom: 28px;

}

.hero-content h1 span {

    display: block;

    color:
        var(--gold);

}

.hero-content p {

    max-width: 720px;

    color:
        rgba(255,255,255,.84);

    font-size: 19px;

    line-height: 1.8;

    margin-bottom: 35px;

}


/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding:
        15px 25px;

    border-radius: 4px;

    font-weight: 700;

    transition:
        all .3s ease;

}

.btn-primary {

    background:
        var(--gold);

    color:
        var(--navy);

}

.btn-primary:hover {

    background:
        var(--gold-light);

    transform:
        translateY(-2px);

}

.btn-outline {

    border:
        1px solid rgba(255,255,255,.5);

    color:
        #fff;

}

.btn-outline:hover {

    background:
        #fff;

    color:
        var(--navy);

}


/* =====================================================
   SECTION
===================================================== */

.section {

    padding:
        110px 0;

}


/* =====================================================
   INTRO
===================================================== */

.services-intro {

    background:
        var(--white);

}

.intro-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 90px;

    align-items:
        start;

}

.intro-heading h2 {

    font-size: 48px;

    line-height: 1.2;

    color:
        var(--navy);

}

.intro-text {

    color:
        var(--muted);

    font-size: 18px;

}

.intro-text p + p {

    margin-top: 20px;

}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {

    max-width: 760px;

    margin-bottom: 60px;

}

.section-heading.centered {

    margin-inline: auto;

    text-align: center;

}

.section-heading h2 {

    font-size:
        clamp(34px, 4vw, 50px);

    line-height: 1.2;

    color:
        var(--navy);

    margin-bottom: 20px;

}

.section-heading p {

    color:
        var(--muted);

    font-size: 17px;

}


/* =====================================================
   SERVICES SECTION
===================================================== */

.services-section {

    background:
        var(--light);

}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {

    position: relative;

    background:
        #fff;

    border:
        1px solid var(--border);

    padding:
        38px 32px;

    border-radius:
        8px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.service-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(212,175,55,.5);

}

.service-card.featured {

    border-top:
        4px solid var(--gold);

}

.service-card h3 {

    color:
        var(--navy);

    font-size: 24px;

    line-height: 1.3;

    margin-bottom: 15px;

}

.service-card > p {

    color:
        var(--muted);

    margin-bottom: 22px;

}

.service-card ul {

    list-style: none;

    border-top:
        1px solid var(--border);

    padding-top: 18px;

}

.service-card li {

    position: relative;

    padding:
        7px 0 7px 22px;

    color:
        #4f5b65;

    font-size: 14px;

}

.service-card li::before {

    content:
        "\f058";

    font-family:
        "Font Awesome 6 Free";

    font-weight:
        900;

    position: absolute;

    left: 0;

    top: 8px;

    color:
        var(--gold);

}


/* =====================================================
   LIFECYCLE
===================================================== */

.lifecycle-section {

    background:
        #fff;

}

.lifecycle-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 20px;

}

.lifecycle-item {

    position: relative;

    text-align: center;

    padding:
        35px 20px;

    border:
        1px solid var(--border);

    border-radius:
        8px;

}

.lifecycle-item > span {

    display: block;

    color:
        var(--gold);

    font-size: 13px;

    font-weight: 800;

    margin-bottom: 15px;

}

.lifecycle-item i {

    font-size: 34px;

    color:
        var(--navy);

    margin-bottom: 20px;

}

.lifecycle-item h3 {

    color:
        var(--navy);

    margin-bottom: 10px;

}

.lifecycle-item p {

    color:
        var(--muted);

    font-size: 14px;

}


/* =====================================================
   EXCELLENCE
===================================================== */

.excellence-section {

    background:
        var(--light);

}

.excellence-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items:
        center;

}

.excellence-image img {

    width: 100%;

    height: 580px;

    object-fit: cover;

    border-radius:
        10px;

}

.excellence-content h2 {

    color:
        var(--navy);

    font-size:
        clamp(35px, 4vw, 50px);

    line-height: 1.2;

    margin-bottom: 22px;

}

.excellence-content > p {

    color:
        var(--muted);

    font-size: 17px;

    margin-bottom: 15px;

}

.commitment-list {

    margin-top: 30px;

}

.commitment-list > div {

    display: flex;

    gap: 18px;

    padding:
        18px 0;

    border-bottom:
        1px solid var(--border);

}

.commitment-list i {

    color:
        var(--gold);

    font-size: 23px;

    padding-top: 4px;

}

.commitment-list h4 {

    color:
        var(--navy);

    margin-bottom: 5px;

}

.commitment-list p {

    color:
        var(--muted);

    font-size: 14px;

}


/* =====================================================
   LOCAL CONTENT
===================================================== */

.local-content-banner {

    background:
        var(--navy);

    color:
        #fff;

    padding:
        90px 0;

}

.local-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items:
        center;

}

.local-grid h2 {

    font-size:
        clamp(35px, 4vw, 50px);

    line-height: 1.2;

}

.local-grid p {

    color:
        rgba(255,255,255,.75);

    font-size: 17px;

    margin-bottom: 25px;

}

.text-link {

    color:
        var(--gold);

    font-weight:
        700;

}

.text-link i {

    margin-left:
        8px;

}


/* =====================================================
   CTA
===================================================== */

.services-cta {

    padding:
        110px 0;

    text-align:
        center;

    color:
        #fff;

    background:

        linear-gradient(
            rgba(0,25,55,.93),
            rgba(0,25,55,.93)
        ),

        url("../images/project-cta.jpg")
        center / cover;

}

.cta-content {

    max-width:
        800px;

    margin-inline:
        auto;

}

.cta-content h2 {

    font-size:
        clamp(38px, 5vw, 60px);

    line-height:
        1.15;

    margin-bottom:
        20px;

}

.cta-content p {

    color:
        rgba(255,255,255,.75);

    font-size:
        18px;

    margin-bottom:
        30px;

}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    background:
        var(--navy-dark);

    color:
        #fff;

    padding:
        75px 0 0;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.3fr 1.2fr;

    gap:
        50px;

    padding-bottom:
        60px;

}


.footer-column {

    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;

}

.footer-column h4 {

    color:
        var(--gold);

    margin-bottom:
        10px;

}

.footer-column a,
.footer-column p {

    color:
        rgba(255,255,255,.68);

    font-size:
        14px;

}

.footer-column a:hover {

    color:
        var(--gold);

}

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,.12);

    min-height:
        75px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

}

.footer-bottom p {

    color:
        rgba(255,255,255,.5);

    font-size:
        13px;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:1100px) {

    .main-nav ul {

        gap:
            18px;

    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .lifecycle-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:800px) {

    .nav-container {

        min-height:
            75px;

    }


    .mobile-menu-btn {

        display:
            block;

    }

    .header-cta {

        display:
            none;

    }

    .main-nav {

        position:
            absolute;

        top:
            75px;

        left:
            0;

        width:
            100%;

        background:
            var(--navy);

        display:
            none;

    }

    .main-nav.open {

        display:
            block;

    }

    .main-nav ul {

        flex-direction:
            column;

        gap:
            0;

    }

    .main-nav li {

        border-bottom:
            1px solid rgba(255,255,255,.08);

    }

    .main-nav a {

        display:
            block;

        padding:
            16px 20px;

    }

    .main-nav a::after {

        display:
            none;

    }

    .hero-content h1 {

        font-size:
            43px;

    }

    .hero-content p {

        font-size:
            17px;

    }

    .section {

        padding:
            75px 0;

    }

    .intro-grid,
    .excellence-grid,
    .local-grid {

        grid-template-columns:
            1fr;

        gap:
            40px;

    }

    .intro-heading h2 {

        font-size:
            36px;

    }

    .services-grid {

        grid-template-columns:
            1fr;

    }

    .lifecycle-grid {

        grid-template-columns:
            1fr;

    }

    .excellence-image img {

        height:
            400px;

    }

    .footer-grid {

        grid-template-columns:
            1fr;

        gap:
            35px;

    }

    .footer-bottom {

        flex-direction:
            column;

        justify-content:
            center;

        text-align:
            center;

        padding:
            20px 0;

    }

}