: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;
}

/* 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: #212529;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #32353a;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #112f53;
    /* 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. */
}

/* --accent-color: #5d57f4; */
/* 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: #3a3939;
    /* The default color of the main navmenu links */
    --nav-hover-color: #112f53;
    /* 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: #3a3939;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #112f53;
    /* 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: #f4f4f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --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);
    overflow-x: hidden;
}

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);
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    /* background-color: var(--accent-color); */
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/* --------------------- */

.process-step {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: #e9f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
}

.process-icon i {
    color: #112f53;
}

.process-icon span {
    position: absolute;
    bottom: 21px;
    right: -14px;
    background: #112f53;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.process-step h5 {
    margin-top: 10px;
    font-weight: 600;
}

.process-step p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;

}

/* Connector line */
.process-line {
    position: absolute;
    top: 35px;
    /* middle of circle */
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: #d0d7e2;
    z-index: 0;
}

@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 35px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: #d0d7e2;
        z-index: 0;
    }
}

/* ----------------------- */

.bg-review-box {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 20px;
    /* ✅ Padding inside box */
    height: 100%;
    transition: transform 0.2s ease-in-out;
}

.bg-review-box:hover {
    transform: translateY(-5px);
}

.review-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.review-icon {
    font-size: 28px;
    color: #000;
    flex-shrink: 0;
}

.review-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-text {
    font-size: 15px;
    color: #555;
}

/* ------------------------------ */

.how-it-works {
    text-align: center;
}

.step-box {
    position: relative;
    padding-left: 50px;
    text-align: left;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    font-weight: bold;
    color: #112f53;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.step-title {
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-text {
    font-size: 15px;
    color: #555;
}

@media (max-width: 767.98px) {
    .step-box {
        padding-left: 0;
        padding-top: 40px;
    }

    .step-number {
        position: relative;
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 10px;
        display: inline-block;
    }
}

/* --------------------- */

.side-line {
    height: 100px;
    width: 7px;
    background-color: #112f53;
    border: none;
    margin-right: 20px;
    margin-top: 7px;
}