/* ==========================================================
   CLEB WEBSITE
   PROFESSIONAL HEADER & FOOTER STYLES
========================================================== */


/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {

    --primary-green: #198754;
    --dark-green: #075c39;
    --light-green: #eaf7ef;

    --primary-blue: #0d6efd;
    --dark-blue: #063970;
    --deep-blue: #041f3d;

    --primary-orange: #f28c28;
    --dark-orange: #d96f00;
    --light-orange: #fff4e6;

    --white: #ffffff;
    --light-bg: #f7f9fc;

    --dark-text: #1f2937;
    --gray-text: #6b7280;

    --border-color: #e5e7eb;

    --transition: all 0.3s ease;

}


/* ==========================================================
   GENERAL
========================================================== */

body {

    font-family: "Source Sans 3", sans-serif;

    color: var(--dark-text);

    margin: 0;

}

a {

    text-decoration: none;

    transition: var(--transition);

}


/* ==========================================================
   PRELOADER
========================================================== */

#preloader {

    position: fixed;

    inset: 0;

    background: var(--white);

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

}

.preloader-content {

    text-align: center;

}

.preloader-leaf {

    width: 70px;

    height: 70px;

    margin: auto;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--light-green);

    color: var(--primary-green);

    font-size: 35px;

    animation: pulseLeaf 1.5s infinite;

}

.preloader-content p {

    margin-top: 15px;

    font-weight: 600;

    color: var(--dark-blue);

}


@keyframes pulseLeaf {

    0% {

        transform: scale(1);

    }

    50% {

        transform: scale(1.12);

    }

    100% {

        transform: scale(1);

    }

}


/* ==========================================================
   TOP BAR
========================================================== */

.top-bar {

    background:

    linear-gradient(
        90deg,
        var(--dark-blue),
        var(--dark-green)
    );

    color: white;

    font-size: 14px;

    padding: 8px 0;

}

.top-bar-left {

    display: flex;

    align-items: center;

    gap: 10px;

}

.top-divider {

    opacity: 0.5;

}

.top-bar-right {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 22px;

}

.top-bar a {

    color: white;

}

.top-bar a:hover {

    color: var(--primary-orange);

}

.top-bar i {

    color: var(--primary-orange);

    margin-right: 5px;

}


/* ==========================================================
   MAIN HEADER
========================================================== */

.site-header {

    position: relative;

    z-index: 1000;

}

.main-navbar {

    background: var(--white);

    padding: 14px 0;

    box-shadow:

    0 4px 18px rgba(0,0,0,0.07);

}


/* ==========================================================
   LOGO
========================================================== */

.cleb-logo {

    display: flex;

    align-items: center;

    max-width: 440px;

}

.logo-image-box {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 13px;

}

.official-logo {

    max-width: 68px;

    max-height: 68px;

    object-fit: contain;

}

.logo-fallback {

    display: none;

    width: 62px;

    height: 62px;

    border-radius: 50%;

    background: var(--light-green);

    border: 3px solid var(--primary-orange);

    color: var(--primary-green);

    align-items: center;

    justify-content: center;

    font-size: 30px;

}

.logo-content {

    line-height: 1.2;

}

.logo-title {

    font-family: "Montserrat", sans-serif;

    font-weight: 800;

    font-size: 16px;

    color: var(--dark-blue);

    letter-spacing: 0.2px;

}

.logo-subtitle {

    margin-top: 5px;

    color: var(--primary-green);

    font-size: 13px;

    font-weight: 600;

}


/* ==========================================================
   NAVIGATION
========================================================== */

.navbar-nav {

    gap: 3px;

}

.navbar-nav .nav-link {

    color: var(--dark-text);

    font-size: 14px;

    font-weight: 600;

    padding: 10px 11px !important;

    position: relative;

}


.navbar-nav .nav-link::after {

    transition: var(--transition);

}


.navbar-nav .nav-link:hover {

    color: var(--primary-green);

}


.navbar-nav .nav-link.active {

    color: var(--primary-green);

}


/* ==========================================================
   ACTIVE UNDERLINE
========================================================== */

@media (min-width: 1200px) {

    .navbar-nav .nav-link.active::before {

        content: "";

        position: absolute;

        bottom: 2px;

        left: 12px;

        right: 12px;

        height: 3px;

        border-radius: 5px;

        background: var(--primary-orange);

    }

}


/* ==========================================================
   DROPDOWN
========================================================== */

.dropdown-menu {

    border: none;

    border-top: 3px solid var(--primary-orange);

    border-radius: 0 0 8px 8px;

    padding: 10px;

    box-shadow:

    0 12px 35px rgba(0,0,0,0.12);

    min-width: 230px;

}

.dropdown-item {

    padding: 10px 14px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 500;

    color: var(--dark-text);

}

.dropdown-item i {

    color: var(--primary-green);

    width: 24px;

}

.dropdown-item:hover {

    background: var(--light-green);

    color: var(--dark-green);

}

.dropdown-divider {

    margin: 8px 0;

}


/* ==========================================================
   LOGIN BUTTON
========================================================== */

.login-button {

    background: var(--primary-orange);

    color: white;

    border-radius: 6px;

    padding: 10px 18px;

    font-size: 14px;

    font-weight: 600;

    border: 2px solid var(--primary-orange);

}

.login-button:hover {

    background: var(--dark-green);

    border-color: var(--dark-green);

    color: white;

    transform: translateY(-2px);

}


/* ==========================================================
   SEARCH
========================================================== */

.nav-search {

    font-size: 19px;

    color: var(--dark-blue) !important;

}

.search-modal-content {

    border: none;

    border-radius: 12px;

}

.search-button {

    background: var(--primary-orange);

    color: white;

    border: none;

}

.search-button:hover {

    background: var(--dark-green);

    color: white;

}


/* ==========================================================
   FOOTER CTA
========================================================== */

.footer-cta {

    background:

    linear-gradient(
        135deg,
        var(--dark-green),
        var(--dark-blue)
    );

    padding: 65px 0;

    color: white;

}

.cta-small-title {

    color: var(--primary-orange);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

}

.footer-cta h2 {

    font-family: "Montserrat", sans-serif;

    font-size: 34px;

    font-weight: 700;

    margin-top: 12px;

}

.footer-cta p {

    color: rgba(255,255,255,0.8);

    font-size: 17px;

}

.footer-cta-button {

    background: var(--primary-orange);

    color: white;

    padding: 14px 28px;

    border-radius: 6px;

    font-weight: 700;

}

.footer-cta-button:hover {

    background: white;

    color: var(--dark-blue);

}


/* ==========================================================
   MAIN FOOTER
========================================================== */

.site-footer {

    background: var(--deep-blue);

    color: rgba(255,255,255,0.75);

    padding: 75px 0 25px;

}


/* ==========================================================
   FOOTER BRAND
========================================================== */

.footer-brand {

    display: flex;

    align-items: center;

    margin-bottom: 22px;

}

.footer-logo {

    width: 58px;

    height: 58px;

    background: var(--primary-orange);

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 27px;

    margin-right: 13px;

}

.footer-brand h4 {

    color: white;

    font-family: "Montserrat", sans-serif;

    font-weight: 800;

    margin: 0;

}

.footer-brand span {

    font-size: 13px;

    color: rgba(255,255,255,0.65);

}

.footer-description {

    line-height: 1.8;

}


/* ==========================================================
   FOOTER HEADINGS
========================================================== */

.footer-heading {

    color: white;

    font-family: "Montserrat", sans-serif;

    font-size: 17px;

    margin-bottom: 25px;

    position: relative;

}

.footer-heading::after {

    content: "";

    display: block;

    width: 45px;

    height: 3px;

    background: var(--primary-orange);

    margin-top: 10px;

}


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer-links {

    list-style: none;

    padding: 0;

    margin: 0;

}

.footer-links li {

    margin-bottom: 12px;

}

.footer-links a {

    color: rgba(255,255,255,0.7);

    font-size: 15px;

}

.footer-links a i {

    color: var(--primary-orange);

    font-size: 11px;

    margin-right: 7px;

}

.footer-links a:hover {

    color: white;

    padding-left: 5px;

}


/* ==========================================================
   SOCIAL MEDIA
========================================================== */

.footer-social {

    display: flex;

    gap: 9px;

    flex-wrap: wrap;

}

.footer-social a {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,0.08);

    color: white;

}

.footer-social a:hover {

    background: var(--primary-orange);

    color: white;

    transform: translateY(-4px);

}


/* ==========================================================
   FOOTER CONTACT
========================================================== */

.contact-item {

    display: flex;

    gap: 12px;

    margin-bottom: 20px;

}

.contact-icon {

    width: 38px;

    height: 38px;

    min-width: 38px;

    border-radius: 50%;

    background: rgba(242,140,40,0.12);

    color: var(--primary-orange);

    display: flex;

    align-items: center;

    justify-content: center;

}

.contact-item strong {

    color: white;

    font-size: 14px;

}

.contact-item p {

    margin: 3px 0 0;

    line-height: 1.6;

    font-size: 14px;

}

.contact-item a {

    color: rgba(255,255,255,0.75);

}

.contact-item a:hover {

    color: var(--primary-orange);

}


/* ==========================================================
   FOOTER DIVIDER
========================================================== */

.footer-divider {

    height: 1px;

    background: rgba(255,255,255,0.1);

    margin: 50px 0 25px;

}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {

    font-size: 14px;

}

.footer-bottom p {

    margin: 0;

}

.footer-bottom-links {

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    flex-wrap: wrap;

}

.footer-bottom-links a {

    color: rgba(255,255,255,0.6);

}

.footer-bottom-links a:hover {

    color: var(--primary-orange);

}

.footer-bottom-links span {

    color: rgba(255,255,255,0.25);

}

.footer-credit {

    text-align: center;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,0.05);

    font-size: 12px;

    color: rgba(255,255,255,0.4);

}


/* ==========================================================
   BACK TO TOP
========================================================== */

.back-to-top {

    position: fixed;

    bottom: 25px;

    right: 25px;

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 50%;

    background: var(--primary-orange);

    color: white;

    font-size: 20px;

    cursor: pointer;

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 999;

    box-shadow:

    0 8px 20px rgba(0,0,0,0.2);

}

.back-to-top:hover {

    background: var(--primary-green);

    transform: translateY(-4px);

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199px) {

    .navbar-nav {

        padding-top: 20px;

    }

    .navbar-nav .nav-link {

        padding: 12px 0 !important;

        border-bottom: 1px solid var(--border-color);

    }

    .dropdown-menu {

        box-shadow: none;

        border-top: none;

        padding-left: 15px;

    }

    .login-button {

        margin-top: 15px;

        display: inline-block;

    }

}


@media (max-width: 991px) {

    .top-bar-left,
    .top-bar-right {

        justify-content: center;

        flex-wrap: wrap;

    }

    .top-bar-right {

        margin-top: 5px;

    }

    .footer-cta {

        text-align: center;

    }

    .footer-cta .text-lg-end {

        text-align: center !important;

        margin-top: 20px;

    }

    .footer-bottom {

        text-align: center;

    }

    .footer-bottom-links {

        justify-content: center;

        margin-top: 15px;

    }

}


@media (max-width: 768px) {

    .logo-image-box {

        width: 55px;

        height: 55px;

        margin-right: 8px;

    }

    .official-logo {

        max-width: 52px;

        max-height: 52px;

    }

    .logo-title {

        font-size: 12px;

    }

    .logo-subtitle {

        font-size: 11px;

    }

    .top-bar {

        font-size: 12px;

    }

    .top-bar-right {

        gap: 10px;

    }

    .footer-cta {

        padding: 50px 0;

    }

    .footer-cta h2 {

        font-size: 27px;

    }

    .site-footer {

        padding-top: 55px;

    }

}


@media (max-width: 500px) {

    .top-divider {

        display: none;

    }

    .top-bar-left {

        flex-direction: column;

        gap: 3px;

    }

    .top-bar-right {

        flex-direction: column;

        gap: 5px;

    }

    .cleb-logo {

        max-width: 270px;

    }

}