/* ========================================= */
/* ROOT VARIABLES FROM DB */
/* ========================================= */

:root {

    --primary-color: var(--db-primary-color, #3b82f6);
    --secondary-color: var(--db-secondary-color, #f97316);
    --accent-color: var(--db-accent-color, #06b6d4);

    --background-color: var(--db-background-color, #0f172a);
    --background-light: #162033;
    --background-card: rgba(255,255,255,0.05);

    --text-color: var(--db-text-color, #ffffff);
    --text-muted: rgba(255,255,255,0.72);

    --border-color: rgba(255,255,255,0.08);

    --border-radius: var(--db-border-radius, 14px);

    --font-family: var(--db-font-family, "Segoe UI", sans-serif);
}


/* ========================================= */
/* GLOBAL */
/* ========================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;
}

body {

    font-family: var(--font-family);

    background:
            radial-gradient(
                    circle at top left,
                    color-mix(in srgb, var(--primary-color) 35%, #ffffff 0%) 0%,
                    var(--background-light) 40%,
                    var(--background-color) 100%
            );

    color: var(--text-color);

    overflow-x: hidden;

    min-height: 100vh;
}


/* ========================================= */
/* CONTAINER */
/* ========================================= */

.container {

    max-width: 1280px;
}


/* ========================================= */
/* HEADER */
/* ========================================= */

.main-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(15, 23, 42, 0.72);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border-color);

    transition: all 0.3s ease;
}


/* ========================================= */
/* NAVBAR */
/* ========================================= */

.navbar {

    min-height: 86px;

    padding: 12px 0;
}

.navbar .container {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* ========================================= */
/* LOGO */
/* ========================================= */

.navbar-brand {

    display: flex;

    align-items: center;

    margin: 0;

    padding: 0;

    flex-shrink: 0;
}

.brand-logo {

    height: 56px;

    width: auto;

    max-width: 260px;

    object-fit: contain;

    display: block;
}


/* ========================================= */
/* NAVIGATION */
/* ========================================= */

.navbar-collapse {

    flex-grow: 0;
}

.navbar-nav {

    gap: 10px;
}

.nav-link {

    color: rgba(255,255,255,0.86) !important;

    font-size: 15px;

    font-weight: 500;

    padding: 10px 14px !important;

    transition: all 0.3s ease;

    position: relative;
}

.nav-link:hover {

    color: var(--secondary-color) !important;
}

.nav-link.active {

    color: var(--secondary-color) !important;
}

.nav-link::after {

    content: "";

    position: absolute;

    left: 14px;
    bottom: 4px;

    width: 0;

    height: 2px;

    background: var(--secondary-color);

    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {

    width: calc(100% - 28px);
}


/* ========================================= */
/* BUTTON */
/* ========================================= */

.btn-main {

    background: linear-gradient(
            135deg,
            var(--primary-color),
            var(--secondary-color)
    );

    color: #ffffff !important;

    border: none;

    border-radius: var(--border-radius);

    padding: 11px 24px;

    font-weight: 600;

    transition: all 0.35s ease;

    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.btn-main:hover {

    transform: translateY(-3px);

    box-shadow: 0 14px 35px rgba(0,0,0,0.25);

    opacity: 0.95;
}


/* ========================================= */
/* MAIN CONTENT */
/* ========================================= */

.main-content {

    padding-top: 110px;

    min-height: 100vh;
}


/* ========================================= */
/* SECTION TITLES */
/* ========================================= */

.section-title {

    font-size: 46px;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 20px;

    color: var(--text-color);
}

.section-subtitle {

    color: var(--text-muted);

    max-width: 700px;

    margin: auto;

    font-size: 18px;

    line-height: 1.7;
}


/* ========================================= */
/* CARDS */
/* ========================================= */

.card-glass {

    background: var(--background-card);

    border: 1px solid var(--border-color);

    border-radius: 22px;

    backdrop-filter: blur(14px);

    transition: all 0.35s ease;
}

.card-glass:hover {

    transform: translateY(-5px);

    border-color: rgba(255,255,255,0.14);
}


/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer-section {

    padding: 80px 0 30px;

    margin-top: 100px;

    background: rgba(255,255,255,0.03);

    border-top: 1px solid var(--border-color);
}

.footer-logo {

    height: 52px;

    width: auto;
}

.footer-text {

    color: var(--text-muted);

    line-height: 1.8;
}

.footer-title {

    font-size: 20px;

    font-weight: 700;

    margin-bottom: 24px;

    color: var(--text-color);
}

.footer-links {

    list-style: none;

    padding: 0;
}

.footer-links li {

    margin-bottom: 12px;

    color: var(--text-muted);
}

.footer-links a {

    color: var(--text-muted);

    text-decoration: none;

    transition: all 0.3s ease;
}

.footer-links a:hover {

    color: var(--secondary-color);
}

.footer-contact {

    list-style: none;

    padding: 0;
}

.footer-contact li {

    margin-bottom: 14px;

    color: var(--text-muted);

    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-contact i {

    color: var(--secondary-color);
}

.footer-bottom {

    margin-top: 60px;

    padding-top: 25px;

    border-top: 1px solid var(--border-color);

    text-align: center;
}

.footer-bottom p {

    margin: 0;

    color: rgba(255,255,255,0.60);
}


/* ========================================= */
/* SCROLLBAR */
/* ========================================= */

::-webkit-scrollbar {

    width: 10px;
}

::-webkit-scrollbar-track {

    background: var(--background-color);
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(
            var(--primary-color),
            var(--secondary-color)
    );

    border-radius: 20px;
}


/* ========================================= */
/* MOBILE NAVBAR */
/* ========================================= */

@media (max-width: 991px) {

    .navbar-collapse {

        background: rgba(15, 23, 42, 0.95);

        padding: 25px;

        margin-top: 20px;

        border-radius: 20px;

        border: 1px solid var(--border-color);
    }

    .navbar-nav {

        gap: 5px;
    }

    .nav-link {

        padding: 12px 0 !important;
    }

    .brand-logo {

        height: 46px;

        max-width: 220px;
    }

    .btn-main {

        width: 100%;

        margin-top: 15px;
    }
}


/* ========================================= */
/* TABLET */
/* ========================================= */

@media (max-width: 768px) {

    .section-title {

        font-size: 36px;
    }

    .section-subtitle {

        font-size: 16px;
    }

    .main-content {

        padding-top: 100px;
    }
}


/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 576px) {

    .section-title {

        font-size: 30px;
    }

    .footer-section {

        text-align: center;
    }

    .footer-contact li {

        justify-content: center;
    }
}