/*
Theme Name: FlexERP
Theme URI: https://flexerp.net
Author: M Abdullah
Author URI: https://flexerp.net
Description: Custom WordPress theme for FlexERP.
Version: 2.0.7
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexerp-theme
*/
:root {
    --flexerp-white: #ffffff;
    --flexerp-blue-start: #16c4ff;
    --flexerp-blue-end: #4b8cff;
}

html {
    scroll-behavior: smooth;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select,
label {
    font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--flexerp-white);
    margin-top: 0;
}
h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
}
h2 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}
h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}
h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}
h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}
h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--flexerp-blue-start),
        var(--flexerp-blue-end)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
}
.lead,
.hero-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
}
.small-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
}
a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
}
.main-nav a {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
}
button,
.primary-btn,
.secondary-btn {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}
.section-tag {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 3px;
    color: #ffffff;
}
.card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}
.card-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
}
.label,
.badge,
.caption,
.meta,
.form-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
}
footer {
    font-size: 14px;
    color: #ffffff;
}
footer a {
    font-size: 14px;
    color: #ffffff;
}
footer p {
    font-size: 14px;
    color: #ffffff;
}
small,
sub,
sup {
    font-size: 14px;
    color: var(--flexerp-white);
}
@media (max-width: 1100px) {

    h1 {
        font-size: 56px;
    }
    h2 {
        font-size: 46px;
    }
    h3 {
        font-size: 30px;
    }
    .lead,
    .hero-description {
        font-size: 19px;
    }
}
@media (max-width: 768px) {

    body {
        font-size: 15px;
    }
    h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }
    h2 {
        font-size: 38px;
        letter-spacing: -0.5px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 22px;
    }
    h5 {
        font-size: 17px;
    }
    h6 {
        font-size: 14px;
    }
    p {
        font-size: 15px;
    }
    .lead,
    .hero-description {
        font-size: 18px;
    }
    .section-tag {
        font-size: 13px;
        letter-spacing: 2.5px;
    }
    .main-nav a {
        font-size: 15px;
    }
}
@media (max-width: 480px) {

    body {
        font-size: 14px;
    }
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 25px;
    }
    h4 {
        font-size: 21px;
    }
    h5 {
        font-size: 17px;
    }
    h6 {
        font-size: 14px;
    }
    p {
        font-size: 14px;
    }
    .lead,
    .hero-description {
        font-size: 17px;
    }
    .section-tag {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .card-text {
        font-size: 14px;
    }
}
.homepage > section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.homepage > .hero {
    padding-bottom: 1px;
}
.homepage > .modules {
    padding-top: 1px;
}
.homepage > .hero {
    padding-top: 155px;
    padding-bottom: 45px;
    margin-bottom: 0 !important;
}
.homepage > .modules {
    padding-top: 45px;
    margin-top: 0 !important;
}
.homepage > .dashboard-showcase {
    padding-top: 1px;
    margin-top: 0 !important;
}
.back-to-top {
    position: fixed !important;

    right: 26px !important;
    bottom: 26px !important;

    top: auto !important;
    left: auto !important;

    width: 54px;
    height: 54px;

    margin: 0 !important;
    padding: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid rgba(120, 210, 255, 0.28);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(18, 34, 58, 0.92),
            rgba(7, 18, 34, 0.88)
        );

    color: #ffffff;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(18px) scale(0.88);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

    z-index: 2147483647 !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 8px 28px rgba(0, 110, 255, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.16);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}
.back-to-top span {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0;
}
.back-to-top span::before {
    content: "";

    width: 9px;
    height: 9px;

    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;

    transform: rotate(45deg) translate(2px, 2px);
}
.back-to-top:hover {
    transform: translateY(-5px) scale(1.04);

    border-color: rgba(90, 200, 255, 0.65);

    box-shadow:
        0 14px 38px rgba(0, 130, 255, 0.32),
        0 0 24px rgba(0, 170, 255, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}
.back-to-top:active {
    transform: translateY(-2px) scale(0.96);
}
@media (max-width: 768px) {

    .back-to-top {
        right: 18px !important;
        bottom: 18px !important;

        width: 50px;
        height: 50px;
    }
}
@media (max-width: 480px) {

    .back-to-top {
        right: 14px !important;
        bottom: 14px !important;

        width: 47px;
        height: 47px;
    }
}