/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: Arial, sans-serif, "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Roboto", sans-serif;
    --nav-font: "Roboto", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #47b2e4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --csueu-blue-color: #0072ce; /* Specific blue color associated with the CSUEU brand */
    --csueu-yellow-color: #ffd100; /* Specific yellow color associated with the CSUEU brand */
    --csueu-dark-blue-color: #004984;
    /* Oqtane Admin Interface Colors*/
    --oqtane-heading-color: #37517e;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: var(--csueu-yellow-color); /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: var(--csueu-blue-color); /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: var(--csueu-yellow-color); /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f5f6f8;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #37517e;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #4668a2;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-weight: bold;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--csueu-blue-color);
    border-bottom: 6px solid var(--csueu-yellow-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            height: 50px;
            margin-right: 8px;
        }

        .header .logo h1 {
            font-size: 30px;
            margin: 0;
            font-weight: 500;
            color: var(--heading-color);
            letter-spacing: 2px;
            text-transform: uppercase;
        }

    .header .btn-getstarted {
        color: var(--csueu-blue-color);
        background: var(--background-color);
        font-size: 17px;
        font-weight: bold;
        padding: 10px 20px;
        margin: 0 0 0 30px;
        border-radius: 8px;
        white-space: nowrap !important;
        max-width: 90vw;
        transition: 0.3s;
    }

        .header .btn-getstarted:hover {
            color: var(--csueu-blue-color);
            background: var(--csueu-yellow-color);
        }

/*@media (max-width: 768px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}*/

/* Index Page Header
------------------------------*/
.index-page .header {
    --background-color: rgba(255, 255, 255, 0);
    --heading-color: #ffffff;
    --nav-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
    --background-color: rgba(40, 58, 90, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 768px) {

    .nav-menu-container {
        display: flex;
        flex-direction: row;
    }

        .navmenu {
            padding: 0;
        }

            .navmenu ul {
                margin: 0;
                padding: 0;
                display: flex;
                list-style: none;
                align-items: center;
            }

            .navmenu li {
                position: relative;
            }

                .navmenu li > a,
                .navmenu li > a:focus {
                    color: var(--nav-color);
                    padding-left: 0.5rem;
                    padding-right: 0.5rem;
                    line-height: 2rem;
                    height: 2rem;
                    border-top: 0.2rem solid transparent;
                    font-size: clamp(.8rem, 1vw, 1.3rem);
                    font-family: var(--nav-font);
                    font-weight: bold;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    white-space: nowrap;
                    transition: 0.3s;
                }

                .navmenu a i,
                .navmenu a:focus i {
                    font-size: 12px;
                    line-height: 0;
                    margin-left: 5px;
                    transition: 0.3s;
                }

            /*.navmenu li:last-child a {
                padding-right: 0;
            }*/

            .navmenu li > a:hover {
                color: var(--nav-hover-color);
                border-top: 0.2rem solid var(--nav-hover-color);
            }

            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-hover-color);
                border-top: 0.2rem solid transparent;
            }

            .navmenu .dropdown ul {
                margin: 0;
                padding: 10px 0;
                background: var(--nav-dropdown-background-color);
                display: block;
                position: absolute;
                visibility: hidden;
                left: 14px;
                top: 130%;
                opacity: 0;
                transition: 0.3s;
                border-radius: 4px;
                z-index: 99;
                box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
            }

                .navmenu .dropdown ul li {
                    min-width: 200px;
                }

                .navmenu .dropdown ul a {
                    padding: 10px 20px;
                    font-size: 15px;
                    text-transform: none;
                    color: var(--nav-dropdown-color);
                }

                    .navmenu .dropdown ul a i {
                        font-size: 12px;
                    }

                    .navmenu .dropdown ul a:hover,
                    .navmenu .dropdown ul .active:hover,
                    .navmenu .dropdown ul li:hover > a {
                        color: var(--nav-dropdown-hover-color);
                    }

            .navmenu .dropdown:hover > ul {
                opacity: 1;
                top: 100%;
                visibility: visible;
            }

            .navmenu .dropdown .dropdown ul {
                top: 0;
                left: -90%;
                visibility: hidden;
            }

            .navmenu .dropdown .dropdown:hover > ul {
                opacity: 1;
                top: 0;
                left: -100%;
                visibility: visible;
            }

            .navmenu .megamenu {
                position: static;
            }

                .navmenu .megamenu ul {
                    margin: 0;
                    padding: 10px;
                    background: var(--nav-dropdown-background-color);
                    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
                    position: absolute;
                    top: 130%;
                    left: 0;
                    right: 0;
                    visibility: hidden;
                    opacity: 0;
                    display: flex;
                    transition: 0.3s;
                    border-radius: 4px;
                    z-index: 99;
                }

                    .navmenu .megamenu ul li {
                        flex: 1;
                    }

                        .navmenu .megamenu ul li a,
                        .navmenu .megamenu ul li:hover > a {
                            padding: 10px 20px;
                            font-size: 15px;
                            color: var(--nav-dropdown-color);
                        }

                            .navmenu .megamenu ul li a:hover,
                            .navmenu .megamenu ul li .active,
                            .navmenu .megamenu ul li .active:hover {
                                color: var(--nav-dropdown-hover-color);
                            }

                .navmenu .megamenu:hover > ul {
                    opacity: 1;
                    top: 100%;
                    visibility: visible;
                }

            .navmenu .dd-box-shadow {
                box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
            }
    }

/* Mobile Navigation */
@media (max-width: 1200px) {
    /*.header .join-container {
        order: 2;
        margin-right: 15px;
        display: flex;
    }

    .header .nav-container {
        order: 3;
    }*/

    .header .btn-getstarted {
        margin: 0;
    }

    .nav-menu-container {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        position: absolute;
        inset: 60px 20px 20px 20px;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        text-align: center;
        overflow-y: auto;
        transition: 0.3s;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        z-index: 9997;
    }

    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 32px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9996;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            padding: 40px 0;
            margin: 0;
            z-index: 9998;
        }

            .navmenu ul li {
                text-align: center;
                padding: 0 15px 0 15px;
            }

        .navmenu li > a,
        .navmenu li > a:focus {
            color: var(--nav-color);
            padding: 10px 20px;
            height: 3rem;
            font-family: var(--nav-font);
            font-size: 28px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            text-transform: uppercase;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

        .navmenu li > a:hover,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-dropdown-hover-color);
            border-top: 0.2rem solid transparent;
        }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            color: #fff;
            position: absolute;
            font-size: 32px;
            top: 15px;
            right: 15px;
            margin-right: 0;
            z-index: 9999;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            background: rgba(33, 37, 41, 0.8);
            transition: 0.3s;
        }

        .mobile-nav-active .navmenu .nav-menu-container > ul {
            display: block;
        }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    background-color: #004984;
    color: #fff;
}

.footer-branding {
    background: linear-gradient(rgba(0,73,132,0.7), rgba(0,73,132,0.7)), url("../../assets/img/footer-bg.jpg") center/cover no-repeat;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

    .footer-container h5 {
        font-size: clamp(1rem, 1vw, 1.25rem);
    }

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

    .footer-contact a {
        color: #fff;
        text-decoration: none;
    }

        .footer-contact a:hover {
            text-decoration: underline;
        }

.footer-login-button {
    color: #0072ce;
    background: #004984;
    font-size: 14px;
    font-weight: 600;
    border-width: 0px;
    transition: 0.3s;
}
    .footer-login-button:hover {
        color: #0059a2;
        background: #004984;
    }

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-social-links {
        display: flex !important; 
        align-items: center !important;
        justify-content: center !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

    .page-title h1 {
        font-size: 28px;
        font-weight: 700;
        margin: 0;
    }

    .page-title .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0 0 10px 0;
        margin: 0;
        font-size: 14px;
    }

        .page-title .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .page-title .breadcrumbs ol li + li::before {
                content: "/";
                display: inline-block;
                padding-right: 10px;
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 88px;
    overflow: clip;
}

@media (max-width: 767.98px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-top: 20px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        color: var(--oqtane-heading-color);
        padding-bottom: 20px;
        text-transform: uppercase;
        position: relative;
    }

        /*.section-title h2:before {
            content: "";
            position: absolute;
            display: block;
            width: 160px;
            height: 1px;
            background: color-mix(in srgb, var(--default-color), transparent 60%);
            left: 0;
            right: 0;
            bottom: 1px;
            margin: auto;
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }*/

    .section-title p {
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# Overrides Section var(--csueu-yellow-color);
--------------------------------------------------------------*/
div.controls-group a.app-profile {
    color: var(--csueu-blue-color);
    background: color-mix(in srgb, var(--background-color), transparent 25%);
}

    div.controls-group a.app-profile:hover {
        color: var(--csueu-blue-color);
        background: color-mix(in srgb, var(--csueu-yellow-color), transparent 25%);
    }

.app-search-noinput button {
    color: var(--nav-color);
}

    .app-search-noinput button:hover {
        color: var(--nav-hover-color);
    }

.app-link-unstyled h5 {
    color: var(--oqtane-heading-color);
}

.app-moduletitle {
    color: var(--oqtane-heading-color);
}

a.nav-link h2 {
    color: var(--oqtane-heading-color);
}

.csueu-blue-white-angle-top {
    background-image: linear-gradient(-178deg, var(--csueu-blue-color) 80%, #ffffff calc(80% + 2px));
    background-color: #ffffff !important;
}

.csueu-blue-white-angle-bottom {
    background-image: linear-gradient(-178deg, #ffffff 5%, var(--csueu-blue-color) calc(5% + 2px));
    background-color: #ffffff !important;
}

/*--------------------------------------------------------------
# Containers Section
--------------------------------------------------------------*/
.container-default {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

.container-full {
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin: 0 auto;
    max-width: 1200px;
}

.position-wrapper {
    position: relative;
}

/*--------------------------------------------------------------
# CSUEU Content Section
--------------------------------------------------------------*/
.home-feature-container {
    /*padding: 100px 50px 0px 50px;
    max-width: 1328px;*/
    width: 83%;
    margin: 0 auto;
    z-index: 1;
}

.home-feature-image {
    max-width: 550px;
}

.home-feature-title {
    display: flex;
    align-items: center;
    text-align: center;
}

.home-feature-bottom {
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
    z-index: 1;
}

@media (min-width: 768px) {
    .home-feature-bottom {
        --width: 83%;
    }
}

.home-feature-left h2 {
    font-family: "Archivo Black", Sans-serif;
    font-size: 2em;
    font-weight: 900;
    text-align: left;
    color: var(--csueu-blue-color);
    padding: 20px;
    line-height: 1;
}

.home-feature-right {
    font-family: "Roboto", Sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #000000;
    padding: 20px;
    text-align: left;
    line-height: 1;
}

.csueu-yellow-title {
    font-family: "Archivo Black", Sans-serif;
    font-size: 4.6em;
    font-weight: 900;
    color: var(--csueu-yellow-color);
    line-height: 1;
}

.blue-heading h1,
.blue-heading h2,
.blue-heading h3,
.blue-heading h4,
.blue-heading h5,
.blue-heading h6 {
    font-family: "Archivo Black", Sans-serif !important;
    color: var(--csueu-blue-color) !important;
}

.white-heading h1,
.white-heading h2,
.white-heading h3,
.white-heading h4,
.white-heading h5,
.white-heading h6 {
    font-family: "Archivo Black", Sans-serif;
    color: #fff;
}

.yellow-heading h1,
.yellow-heading h2,
.yellow-heading h3,
.yellow-heading h4,
.yellow-heading h5,
.yellow-heading h6 {
    font-family: "Archivo Black", Sans-serif;
    color: var(--csueu-yellow-color);
}

.fw-900 h1,
.fw-900 h2 {
    font-weight: 900;
}

.hero-blue-2 {
    background-image: url("../../assets/img/heroblue2.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--csueu-blue-color);
}

.csueu-blue-container {
    background-color: var(--csueu-blue-color);
    padding-bottom: 30px;
}

.csueu-home-blue-full {
    background-color: var(--csueu-blue-color);
    padding: 60px 30px 20px 30px;
    overflow: auto;
    min-height: 660px;
    margin-block-start: -50px;
}

    .csueu-home-blue-full li {
        font-family: "Roboto", Sans-serif;
        font-size: 30px;
        font-weight: 600;
        color: #fff;
        line-height: 54px;
    }

    .csueu-home-blue-full h1 {
        font-size: 3.5rem;
        margin: 0;
        line-height: 56px;
    }

    .csueu-home-blue-full h2 {
        font-size: 2.25rem;
        margin: 0;
        line-height: 36px;
    }

.csueu-child {
    position: absolute;
    z-index: 1;
}

/* Member Resources */
.hero-member-resources {
    background-image: url("../../assets/img/memberresourcesbanner-scaled.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--csueu-blue-color);
    padding-block-end: clamp(70px, 10vw, 200px);
    padding-block-start: clamp(35px, 10vw, 350px);
}

.hero-content {
    padding: 10px;
    background-color: #ffffff;
    color: var(--csueu-blue-color);
    max-width: 310px;
    text-align: center;
    font-family: "Archivo Black", Sans-serif;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.hero-line-one {
    font-size: 3.1em;
    line-height: 46px;
    word-spacing: 3px;
}

.hero-line-two {
    font-size: 2.2em;
    line-height: 36px;
}

.hero-line-three {
    font-size: 4.7em;
    line-height: 66px;
}

/* Resources Card */
.member-resources-card {
    background: #fff;
    border-radius: .1rem;
    margin-top: -3.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    max-width: clamp(430px, 60%, 80%);
}

.member-resources-title {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(2em, 7vw, 3.2em);
    font-weight: 800;
    color: var(--csueu-blue-color);
}

.member-resources-photo {
    width: 100%;
    border-radius: .25rem;
}

.member-resources-button {
    background: var(--csueu-blue-color);
    color: var(--nav-color);
}

.member-resources-icon {
}

/* Content Band */
.content-band {
    background: #fff;
    padding: 2rem 0 3rem;
}

.dropcap:first-letter {
    float: left;
    font-family: "Archivo Black", sans-serif;
    font-size: 3.25rem;
    line-height: 1;
    margin: .15rem .45rem 0 0;
    color: var(--csueu-blue);
}

.president-img {
    width: 100%;
    max-width: 300px;
    border-radius: .35rem;
    display: block;
    margin-inline: auto;
}

.whoweare-card {
    --blue: #0072CE;
    font-family: "Archivo Black", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #fff;
    color: #000;
    text-align: center;
    padding: clamp(18px, 3vw, 28px);
    max-width: 520px;
    margin: 0 auto;
}

.whoweare-title {
    margin: 0 0 clamp(10px, 2vw, 18px);
    font-size: clamp(34px, 7vw, 56px);
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.whoweare-stat {
    margin: clamp(16px, 2.6vw, 26px) 0;
}

.whoweare-num {
    font-size: clamp(54px, 11vw, 96px);
    line-height: .95;
    color: var(--blue);
    /* bold black shadow, bottom-left, increased distance */
    text-shadow: -3px 3px 0 #000;
}

.whoweare-label {
    margin-top: 8px;
    font-size: clamp(22px, 4.6vw, 44px);
    line-height: 1;
}
