/* ==========================================================================
   MARGDARSHAN EDUCATION
   SHARED HEADER + FOOTER CSS
   Laravel Main Website + WordPress Blog
   ========================================================================== */


/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */

.site-header,
.site-header *,
.site-topbar,
.site-topbar *,
.site-mobile-menu,
.site-mobile-menu *,
.footer,
.footer * {
    box-sizing: border-box;
}

.site-header a,
.site-topbar a,
.site-mobile-menu a,
.footer a {
    text-decoration: none !important;
}


/* ==========================================================================
   SHARED CONTAINER
   ========================================================================== */

.site-container {
    width: 100%;
    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* ==========================================================================
   TOP BAR
   ========================================================================== */

.site-topbar {
    width: 100%;

    min-height: 48px;

    background: #003b63;

    color: #ffffff;

    font-family: Lato, Arial, sans-serif;

    font-size: 13px;

    line-height: 1;
}

.site-topbar-inner {
    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.site-topbar-left {
    display: flex;

    align-items: center;

    gap: 26px;
}

.site-topbar-item {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #ffffff !important;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 400;

    line-height: 1;
}

.site-topbar-item i {
    width: 14px;

    text-align: center;

    font-size: 13px;
}

.site-topbar-right {
    display: flex;

    align-items: center;

    gap: 16px;
}

.site-topbar-social {
    width: 18px;
    height: 18px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: #ffffff !important;

    font-size: 14px;
}


/* ==========================================================================
   MAIN HEADER
   ========================================================================== */

.site-header {
    width: 100%;

    position: relative;

    background: #ffffff;

    z-index: 9999;

    font-family: Lato, Arial, sans-serif;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .08);
}

.site-header-inner {
    min-height: 108px;

    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr)
        auto;

    align-items: center;

    column-gap: 30px;
}


/* ==========================================================================
   LOGO
   ========================================================================== */

.site-logo-wrap {
    width: 220px;

    display: flex;

    align-items: center;
}

.site-logo-link {
    display: inline-flex;

    align-items: center;

    line-height: 0;
}

.site-logo {
    display: block;

    width: auto;

    max-width: 205px;

    height: 76px;

    object-fit: contain;
}


/* ==========================================================================
   DESKTOP NAVIGATION
   ========================================================================== */

.site-navigation {
    min-width: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 31px;

    white-space: nowrap;
}

.site-nav-link {
    position: relative;

    display: inline-flex;

    align-items: center;

    height: 108px;

    color: #243746 !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 15px !important;

    font-weight: 600 !important;

    line-height: 1 !important;
}

.site-nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 27px;

    height: 3px;

    background: #ff641f;

    transform: scaleX(0);

    transition: transform .2s ease;
}

.site-nav-link:hover {
    color: #1769aa !important;
}

.site-nav-link:hover::after,
.site-nav-link.active::after {
    transform: scaleX(1);
}

.site-nav-link.active {
    color: #ff641f !important;

    font-weight: 700 !important;
}


/* ==========================================================================
   HEADER BUTTONS
   ========================================================================== */

.site-header-actions {
    display: flex;

    align-items: center;

    gap: 12px;

    white-space: nowrap;
}

.site-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    border-radius: 5px;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    line-height: 1 !important;
}

.site-btn-primary {
    background: #ff641f;

    color: #ffffff !important;

    border: 1px solid #ff641f;
    
    border-radius:50px !important;
}

.site-btn-outline {
    background: #ffffff;

    color: #003b70 !important;

    border: 1px solid #003b70;
    
    border-radius:50px !important;
}

.site-btn-primary:hover {
    background: #e95716;

    color: #ffffff !important;
}

.site-btn-outline:hover {
    background: #003b70;

    color: #ffffff !important;
}


/* ==========================================================================
   MOBILE TOGGLE
   ========================================================================== */

.site-mobile-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;
}

.site-mobile-toggle span {
    width: 25px;
    height: 2px;

    display: block;

    background: #003b70;

    border-radius: 2px;
}


/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.site-mobile-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, .10);

    z-index: 9998;
}

.site-mobile-menu.is-open {
    display: block;
}

.site-mobile-menu-inner {
    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding: 20px 24px 24px;
}

.site-mobile-nav-link {
    display: flex;

    align-items: center;

    min-height: 48px;

    color: #243746 !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 16px !important;

    font-weight: 600 !important;

    border-bottom: 1px solid #edf1f5;
}

.site-mobile-nav-link.active {
    color: #ff641f !important;
}

.site-mobile-actions {
    display: flex;

    flex-direction: column;

    gap: 12px;

    padding-top: 20px;
}

.site-mobile-actions .site-btn {
    width: 100%;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    width: 100% !important;

    margin: 0 !important;

    padding: 64px 0 30px !important;

    background: #021a2f !important;

    color: #ffffff !important;

    font-family: Lato, Arial, sans-serif !important;

    border: 0 !important;
}

.footer-container {
    max-width: 1280px;

    padding-left: 24px;
    padding-right: 24px;
}


/* ==========================================================================
   FOOTER GRID
   ========================================================================== */

.footer-grid {
    width: 100%;

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    column-gap: 45px;

    align-items: start;

    margin: 0 !important;

    padding: 0 !important;
}

.footer-column {
    min-width: 0;

    margin: 0 !important;

    padding: 0 !important;
}


/* ==========================================================================
   FOOTER HEADINGS
   ========================================================================== */

.footer .footer-title,
.footer h3.footer-title,
.footer h4.footer-title {
    display: block !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #ffffff !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 21px !important;

    font-weight: 800 !important;

    line-height: 1.35 !important;

    letter-spacing: 0 !important;
}


/* ==========================================================================
   YELLOW / ORANGE HEADING UNDERLINE
   ========================================================================== */

.footer .footer-title-line {
    display: block !important;

    width: 40px !important;

    height: 3px !important;

    margin-top: 13px !important;

    margin-bottom: 25px !important;

    padding: 0 !important;

    background: #ff641f !important;

    border: 0 !important;
}


/* ==========================================================================
   FOOTER DESCRIPTION
   ========================================================================== */

.footer .footer-description {
    max-width: 300px;

    margin: 0 !important;

    padding: 0 !important;

    color: #d1d8df !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 15px !important;

    font-weight: 500 !important;

    line-height: 1.55 !important;

    letter-spacing: 0 !important;
}


/* ==========================================================================
   QUICK LINKS
   ========================================================================== */

.footer .footer-link-list {
    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;
}

.footer .footer-link-list li {
    list-style: none !important;

    margin: 0 0 18px !important;

    padding: 0 !important;
}

.footer .footer-link-list li:last-child {
    margin-bottom: 0 !important;
}


/* --------------------------------------------------------------------------
   FORCE LINKS WHITE
   -------------------------------------------------------------------------- */

.footer .footer-link-list a,
.footer .footer-link-list a:visited,
.footer .footer-link-list a:link {
    display: inline-block !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #ffffff !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 15px !important;

    font-weight: 500 !important;

    line-height: 1.4 !important;

    text-decoration: none !important;
}

.footer .footer-link-list a:hover {
    color: #ffffff !important;

    opacity: .82;
}


/* ==========================================================================
   CONTACT INFORMATION
   ========================================================================== */

.footer .footer-contact-list {
    display: flex;

    flex-direction: column;

    gap: 17px;

    margin: 0 !important;

    padding: 0 !important;
}

.footer .footer-contact-item,
.footer .footer-contact-item:visited,
.footer .footer-contact-item:link {
    display: flex !important;

    align-items: center;

    gap: 12px;

    margin: 0 !important;

    padding: 0 !important;

    color: #ffffff !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 15px !important;

    font-weight: 500 !important;

    line-height: 1.4 !important;

    text-decoration: none !important;
}

.footer .footer-contact-item:hover {
    color: #ffffff !important;

    opacity: .85;
}

.footer .footer-contact-icon {
    width: 18px;

    height: 18px;

    flex: 0 0 18px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #d0d7de !important;

    font-size: 15px;
}


/* ==========================================================================
   FOLLOW US
   ========================================================================== */

.footer .footer-social {
    display: flex;

    align-items: center;

    gap: 11px;

    margin: 0 !important;

    padding: 0 !important;
}

.footer .footer-social-icon {
    width: 37px !important;
    height: 37px !important;

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #263e53 !important;

    color: #ffffff !important;

    font-size: 16px !important;

    line-height: 1 !important;

    text-decoration: none !important;
}

.footer .footer-social-icon:hover {
    background: #1769aa !important;

    color: #ffffff !important;

    transform: translateY(-2px);
}


/* ==========================================================================
   COPYRIGHT
   ========================================================================== */

.footer .footer-copyright {
    width: 100%;

    margin-top: 50px !important;

    padding-top: 34px !important;

    border-top: 1px solid rgba(255, 255, 255, .14) !important;

    text-align: center;

    color: #b9c4ce !important;

    font-family: Lato, Arial, sans-serif !important;

    font-size: 14px !important;

    font-weight: 500 !important;

    line-height: 1.5 !important;
}


/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */

.floating-whatsapp {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 64px;
    height: 64px;

    display: flex !important;

    align-items: center;

    justify-content: center;

    background: #00d66f !important;

    color: #ffffff !important;

    border-radius: 50%;

    font-size: 30px !important;

    line-height: 1 !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 25px rgba(37, 211, 102, .30);

    z-index: 99999;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1100px) {

    .site-header-inner {
        grid-template-columns:
            185px
            minmax(0, 1fr)
            auto;

        column-gap: 18px;
    }

    .site-logo-wrap {
        width: 185px;
    }

    .site-logo {
        max-width: 175px;

        height: 68px;
    }

    .site-navigation {
        gap: 20px;
    }

    .site-nav-link {
        font-size: 14px !important;
    }

    .site-btn {
        padding-left: 15px;
        padding-right: 15px;

        font-size: 13px !important;
    }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 989px) {

    .site-topbar-inner {
        min-height: 42px;

        justify-content: center;

        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-topbar-left {
        gap: 14px;
    }

    .site-topbar-item {
        font-size: 12px;
    }

    .site-topbar-location {
        display: none;
    }

    .site-topbar-right {
        display: none;
    }

    .site-header-inner {
        min-height: 82px;

        display: flex;

        justify-content: space-between;

        gap: 15px;
    }

    .site-logo-wrap {
        width: auto;

        flex: 1 1 auto;
    }

    .site-logo {
        max-width: 180px;

        height: 62px;
    }

    .site-navigation,
    .site-header-actions {
        display: none;
    }

    .site-mobile-toggle {
        display: flex;
    }


    /* Footer */

    .footer {
        padding: 50px 0 25px !important;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        row-gap: 45px;
    }
}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 600px) {

    .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-topbar-left {
        width: 100%;

        justify-content: center;

        gap: 8px;
    }

    .site-topbar-item {
        font-size: 10px;
    }

    .site-header-inner {
        min-height: 74px;
    }

    .site-logo {
        max-width: 155px;

        height: 55px;
    }


    /* Footer */

    .footer {
        padding: 45px 0 25px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        row-gap: 35px;
    }

    .footer .footer-description {
        max-width: 100%;
    }

    .footer .footer-copyright {
        margin-top: 35px !important;

        padding-top: 25px !important;
    }

    .floating-whatsapp {
        width: 54px;
        height: 54px;

        right: 18px;
        bottom: 18px;

        font-size: 25px !important;
    }
}