﻿body {
}

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Raleway", sans-serif;
}
: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: #2c4964; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #1977cc; /* 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. */
}

/* 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: #2c4964; /* The default color of the main navmenu links */
    --nav-hover-color: #1977cc; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* 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: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #1977cc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}



/* Navbar */
.navbar-custom {
    background-color: #1977CC;
}

    .navbar-custom .navbar-brand,
    .navbar-custom .nav-link {
        color: #fff;
    }

        .navbar-custom .nav-link:hover {
            color: #F1F7FC;
        }

.nav-link.active {
    text-decoration: underline;
    color: var(--bs-warning) !important; /* Bootstrap's warning (yellow) */
}

    /* Optional: also change hover behavior for consistency */
    .nav-link.active:hover {
        text-decoration: underline;
        color: var(--bs-warning) !important;
    }



/* Footer */
footer {
    background-color: #F1F7FC;
}


/* 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: #f1f7fc;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}



.intro-message img {
    max-width: 125px;
    height: auto;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    padding-top: 30px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    transition: all ease-in-out 0.3s;
    height: 100%;
}

    .services .service-item .icon {
        margin: 0 auto;
        width: 64px;
        height: 64px;
        background: var(--accent-color);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        transition: 0.3s;
        transform-style: preserve-3d;
    }

        .services .service-item .icon i {
            color: var(--contrast-color);
            font-size: 28px;
            transition: ease-in-out 0.3s;
        }

        .services .service-item .icon::before {
            position: absolute;
            content: "";
            left: -8px;
            top: -8px;
            height: 100%;
            width: 100%;
            background: color-mix(in srgb, var(--accent-color), transparent 80%);
            border-radius: 5px;
            transition: all 0.3s ease-out 0s;
            transform: translateZ(-1px);
        }

    .services .service-item h3 {
        font-weight: 700;
        margin: 10px 0 15px 0;
        font-size: 22px;
    }

    .services .service-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .services .service-item:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
    }

        .services .service-item:hover .icon {
            background: var(--surface-color);
        }

            .services .service-item:hover .icon i {
                color: var(--accent-color);
            }

            .services .service-item:hover .icon::before {
                background: color-mix(in srgb, var(--background-color), transparent 70%);
            }

        .services .service-item:hover h3,
        .services .service-item:hover p {
            color: var(--contrast-color);
        }

