/* ============================================================
   E-SCHOOLZ NEW WEBSITE
   MASTER STYLESHEET
   ============================================================ */


/* ============================================================
   ROOT
   ============================================================ */

:root {

    --es-cyan: #16b8d4;
    --es-cyan-dark: #079db9;

    --es-yellow: #f7c928;
    --es-red: #ed1c24;

    --es-navy: #102a43;
    --es-dark: #172b4d;
    --es-text: #243b53;
    --es-muted: #627d98;

    --es-light: #f5fbfd;
    --es-border: #e4eef2;
    --es-white: #ffffff;

    --es-radius: 18px;

    --es-shadow:
        0 10px 30px rgba(16, 42, 67, 0.08);

    --es-shadow-hover:
        0 18px 45px rgba(16, 42, 67, 0.13);
}


/* ============================================================
   GLOBAL
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        'Poppins',
        sans-serif;

    color: var(--es-text);

    background:
        var(--es-white);

    line-height: 1.7;

    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {

    position: sticky;
    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid rgba(228, 238, 242, 0.8);

    transition:
        all 0.25s ease;

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}


.site-header.scrolled {

    box-shadow:
        0 5px 25px rgba(16, 42, 67, 0.08);
}


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {

    min-height: 64px;

    padding-top: 3px;
    padding-bottom: 3px;
}


/* ============================================================
   E-SCHOOLZ LOGO
   SINGLE CLEAN LOGO SYSTEM
   ============================================================ */

header.site-header .navbar .navbar-brand.eschoolz-logo {

    display: flex !important;

    align-items: center !important;

    justify-content: flex-start !important;

    width: auto !important;

    height: 52px !important;

    margin: 0 !important;

    padding: 0 !important;

    min-width: 0 !important;

    max-width: none !important;

    flex-shrink: 0 !important;

    line-height: 1 !important;
}


header.site-header .navbar .navbar-brand.eschoolz-logo img.eschoolz-logo-img {

    display: block !important;

    width: auto !important;

    height: 48px !important;

    max-width: 185px !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    object-fit: contain !important;

    object-position: left center !important;

    flex-shrink: 0 !important;

    line-height: 1 !important;
}


/* ============================================================
   OLD TEXT LOGO SUPPORT
   ============================================================ */

.logo-mark {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 39px;
    height: 39px;

    margin-right: 5px;

    border-radius: 10px;

    background:
        var(--es-cyan);

    color: white;

    font-size: 24px;

    font-weight: 800;
}


.logo-text {

    color:
        var(--es-navy);

    font-weight: 800;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar-nav {

    gap: 3px;

    align-items: center;
}


.nav-link {

    color:
        var(--es-text) !important;

    font-size: 14px;

    font-weight: 500;

    padding:
        9px 13px !important;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.nav-link:hover,
.nav-link.active {

    color:
        var(--es-cyan-dark) !important;
}


/* ============================================================
   DEMO BUTTON
   ============================================================ */

.btn-demo {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding:
        11px 19px;

    border-radius:
        10px;

    background:
        var(--es-cyan);

    color:
        white !important;

    font-size:
        14px;

    font-weight:
        600;

    border:
        none;

    box-shadow:
        0 7px 18px rgba(22, 184, 212, 0.22);

    transition:
        all 0.2s ease;
}


.btn-demo:hover {

    background:
        var(--es-cyan-dark);

    transform:
        translateY(-1px);

    color:
        white !important;
}


/* ============================================================
   MOBILE MENU BUTTON
   ============================================================ */

.navbar-toggler {

    border:
        1px solid var(--es-border);

    padding:
        7px 10px;

    border-radius:
        9px;

    color:
        var(--es-navy);

    background:
        white;
}


.navbar-toggler:focus {

    box-shadow:
        none;
}


.navbar-toggler i {

    font-size:
        24px;
}


/* ============================================================
   GENERAL BUTTONS
   ============================================================ */

.btn {

    font-family:
        'Poppins',
        sans-serif;
}


.btn-primary-es {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding:
        12px 22px;

    border-radius:
        10px;

    background:
        var(--es-cyan);

    border:
        1px solid var(--es-cyan);

    color:
        white;

    font-size:
        14px;

    font-weight:
        600;

    transition:
        all 0.2s ease;
}


.btn-primary-es:hover {

    background:
        var(--es-cyan-dark);

    border-color:
        var(--es-cyan-dark);

    color:
        white;

    transform:
        translateY(-1px);
}


.btn-outline-es {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding:
        12px 22px;

    border-radius:
        10px;

    background:
        white;

    border:
        1px solid var(--es-border);

    color:
        var(--es-navy);

    font-size:
        14px;

    font-weight:
        600;

    transition:
        all 0.2s ease;
}


.btn-outline-es:hover {

    border-color:
        var(--es-cyan);

    color:
        var(--es-cyan-dark);

    transform:
        translateY(-1px);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {

    background:
        var(--es-navy);

    color:
        rgba(255,255,255,0.75);

    padding:
        70px 0 25px;

    margin-top:
        80px;
}


.footer-brand {

    display:
        flex;

    align-items:
        center;

    margin-bottom:
        18px;
}


/* ============================================================
   FOOTER OLD TEXT LOGO
   ============================================================ */

.footer-logo-mark {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        38px;

    height:
        38px;

    margin-right:
        6px;

    border-radius:
        9px;

    background:
        var(--es-cyan);

    color:
        white;

    font-size:
        23px;

    font-weight:
        800;
}


.footer-logo-text {

    color:
        white;

    font-size:
        26px;

    font-weight:
        800;
}


/* ============================================================
   FOOTER DESCRIPTION
   ============================================================ */

.footer-description {

    max-width:
        400px;

    font-size:
        14px;

    line-height:
        1.8;

    color:
        rgba(255,255,255,0.65);
}


.site-footer h5 {

    color:
        white;

    font-size:
        15px;

    font-weight:
        600;

    margin-bottom:
        18px;
}


.site-footer ul {

    list-style:
        none;

    padding:
        0;

    margin:
        0;
}


.site-footer li {

    margin-bottom:
        9px;
}


.site-footer li a {

    color:
        rgba(255,255,255,0.62);

    font-size:
        13px;

    transition:
        color 0.2s ease;
}


.site-footer li a:hover {

    color:
        var(--es-cyan);
}


/* ============================================================
   FOOTER SOCIAL
   ============================================================ */

.footer-social {

    display:
        flex;

    gap:
        9px;

    margin-top:
        20px;
}


.footer-social a {

    width:
        35px;

    height:
        35px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius:
        8px;

    color:
        white;

    transition:
        all 0.2s ease;
}


.footer-social a:hover {

    background:
        var(--es-cyan);

    border-color:
        var(--es-cyan);
}


/* ============================================================
   FOOTER DEMO BUTTON
   ============================================================ */

.footer-demo-btn {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        10px 14px;

    border:
        1px solid rgba(255,255,255,0.2);

    border-radius:
        9px;

    color:
        white;

    font-size:
        13px;

    transition:
        all 0.2s ease;
}


.footer-demo-btn:hover {

    background:
        var(--es-cyan);

    border-color:
        var(--es-cyan);

    color:
        white;
}


.site-footer hr {

    margin:
        45px 0 22px;

    border-color:
        rgba(255,255,255,0.1);
}


.footer-bottom {

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

    flex-wrap:
        wrap;

    font-size:
        12px;

    color:
        rgba(255,255,255,0.45);
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {

    width:
        100%;
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 991.98px) {

    .navbar {

        min-height:
            60px;

        padding-top:
            3px;

        padding-bottom:
            3px;
    }


    /* LOGO */

    header.site-header .navbar .navbar-brand.eschoolz-logo {

        height:
            50px !important;
    }


    header.site-header .navbar .navbar-brand.eschoolz-logo img.eschoolz-logo-img {

        height:
            46px !important;

        max-width:
            175px !important;

        min-width:
            0 !important;
    }


    /* NAVIGATION */

    .navbar-nav {

        align-items:
            flex-start;

        padding-top:
            15px;

        padding-bottom:
            10px;
    }


    .nav-link {

        padding:
            10px 0 !important;
    }


    .btn-demo {

        display:
            inline-flex;

        margin-top:
            5px;
    }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 575.98px) {

    .navbar {

        min-height:
            56px;

        padding-top:
            2px;

        padding-bottom:
            2px;
    }


    /* LOGO */

    header.site-header .navbar .navbar-brand.eschoolz-logo {

        height:
            48px !important;

        max-width:
            calc(100vw - 90px) !important;

        overflow:
            visible !important;
    }


    header.site-header .navbar .navbar-brand.eschoolz-logo img.eschoolz-logo-img {

        height:
            44px !important;

        max-width:
            165px !important;

        min-width:
            0 !important;

        object-fit:
            contain !important;

        object-position:
            left center !important;
    }


    .eschoolz-logo {

        font-size:
            24px;
    }


    .logo-mark {

        width:
            35px;

        height:
            35px;

        font-size:
            21px;
    }


    .site-footer {

        padding-top:
            50px;
    }


    .footer-bottom {

        flex-direction:
            column;

        gap:
            5px;
    }
}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 380px) {

    header.site-header .navbar .navbar-brand.eschoolz-logo {

        height:
            45px !important;

        max-width:
            calc(100vw - 80px) !important;
    }


    header.site-header .navbar .navbar-brand.eschoolz-logo img.eschoolz-logo-img {

        height:
            41px !important;

        max-width:
            150px !important;

        min-width:
            0 !important;
    }
}


/* ============================================================
   FINAL LOGO SAFETY
   ============================================================ */

/*
   IMPORTANT:
   This is the ONLY final logo sizing rule.

   Do NOT add another logo override below this section.
*/

header.site-header .navbar .navbar-brand.eschoolz-logo img.eschoolz-logo-img {

    display:
        block !important;

    width:
        auto !important;

    height:
        48px !important;

    max-width:
        185px !important;

    min-width:
        0 !important;

    object-fit:
        contain !important;

    object-position:
        left center !important;
}


/* ============================================================
   END OF MASTER STYLESHEET
   ============================================================ */
   /* ============================================================
   SOLUTIONS PAGE HERO
   Keep clear separation from sticky header
   ============================================================ */

.solutions-hero {
    position: relative;
    padding-top: 85px !important;
    padding-bottom: 85px !important;
    margin-top: 0 !important;
}


/* Desktop */
@media (min-width: 992px) {

    .solutions-hero {
        padding-top: 90px !important;
        padding-bottom: 90px !important;
    }
}


/* Tablet */
@media (max-width: 991.98px) {

    .solutions-hero {
        padding-top: 65px !important;
        padding-bottom: 65px !important;
    }
}


/* Mobile */
@media (max-width: 575.98px) {

    .solutions-hero {
        padding-top: 50px !important;
        padding-bottom: 55px !important;
    }
}