:root {
    /* Colors */
    --bg-color: #081329;
    --surface: #081329;
    --surface-container: #151f36;
    --surface-container-low: #111b32;
    --surface-container-high: #202941;
    --surface-container-lowest: #030d24;

    --on-surface: #d9e2ff;
    --on-surface-variant: #b9cacb;
    --outline: #849495;
    --outline-variant: #3b494b;

    --primary: #dbfcff;
    --primary-container: #00f0ff;
    --primary-fixed: #7df4ff;
    --primary-fixed-dim: #00dbe9;
    --on-primary-container: #006970;

    --secondary: #ffabf3;
    --secondary-container: #fe00fe;
    --secondary-fixed: #ffd7f5;
    --secondary-fixed-dim: #ffabf3;
    --on-secondary: #5b005b;

    --tertiary-container: #ffd700;
    --tertiary-fixed: #ffe16d;

    --error: #ffb4ab;
}

body {
    background-color: var(--bg-color);
    color: var(--on-surface);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

/* Typography */
.font-display-xl {
    font-family: 'Oswald', sans-serif;
    font-size: 90px;
    line-height: 124px;
    letter-spacing: 2px;
}

.font-headline-lg {
    font-family: 'Oswald', sans-serif;
    font-size: 46px;
    line-height: 64px;
    letter-spacing: 1px;
}

.font-headline-md {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    line-height: 36px;
}

.font-body-lg {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 28px;
}

.font-body-md {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.font-label-sm {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .font-display-xl {
        font-size: 44px;
        line-height: 68px;
    }

    .font-headline-lg {
        font-size: 40px;
        line-height: 48px;
    }
}

/* Text Colors */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-primary-container {
    color: var(--primary-container) !important;
}

.text-primary-fixed {
    color: var(--primary-fixed) !important;
}

.text-primary-fixed-dim {
    color: var(--primary-fixed-dim) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.text-secondary-container {
    color: var(--secondary-container) !important;
}

.text-secondary-fixed {
    color: var(--secondary-fixed) !important;
}

.text-secondary-fixed-dim {
    color: var(--secondary-fixed-dim) !important;
}

.text-tertiary-container {
    color: var(--tertiary-container) !important;
}

.text-tertiary-fixed {
    color: var(--tertiary-fixed) !important;
}

.text-on-surface-variant {
    color: var(--on-surface-variant) !important;
}

.text-outline {
    color: var(--outline) !important;
}

.text-outline-variant {
    color: var(--outline-variant) !important;
}

.text-error {
    color: var(--error) !important;
}

/* Backgrounds */
.bg-surface-container {
    background-color: var(--surface-container) !important;
}

.bg-surface-container-high {
    background-color: var(--surface-container-high) !important;
}

.bg-surface-container-lowest {
    background-color: var(--surface-container-lowest) !important;
}

/* Gradients & Glows */
.bg-gradient-primary {
    background: linear-gradient(to right, var(--secondary-container), var(--primary-container));
}

.bg-clip-text-gradient {
    background: linear-gradient(to right, var(--primary-container), var(--secondary-container), var(--tertiary-container));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-glow-cyan {
    box-shadow: 0 0 20px rgba(0, 219, 233, 0.4);
}

.neon-glow-magenta {
    box-shadow: 0 0 20px rgba(254, 0, 254, 0.4);
}

/* Custom Components & Utilities */
.material-symbols-outlined {
    font-variation-settings: 'FILL'0, 'wght'400, 'GRAD'0, 'opsz'24;
}

.custom-nav {
    background: rgba(8, 19, 41, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 73, 75, 0.2);
    box-shadow: 0 0 20px rgba(0, 219, 233, 0.15);
}

.glass-card {
    background: rgba(8, 19, 41, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(185, 202, 203, 0.1);
}

.mesh-gradient {
    background: radial-gradient(at 0% 0%, #081329 0%, transparent 50%),
        radial-gradient(at 100% 0%, #006970 0%, transparent 50%),
        radial-gradient(at 100% 100%, #500050 0%, transparent 50%),
        radial-gradient(at 0% 100%, #081329 0%, transparent 50%);
}

.btn-custom {
    border: none;
    transition: transform 0.3s;
}

.btn-custom:hover {
    transform: scale(1.05);
}

.btn-custom:active {
    transform: scale(0.95);
}

.btn-outline-custom {
    border: 2px solid var(--primary-container);
    color: var(--primary-fixed);
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-fixed);
}

.letter-spacing-widest {
    letter-spacing: 0.1em;
}

.letter-spacing-2x {
    letter-spacing: 0.2em;
}

.min-vh-100-custom {
    min-height: 100vh;
}

.aspect-3-4 {
    aspect-ratio: 3/4;
}

.mix-blend-lighten {
    mix-blend-mode: lighten;
}

.z-index-0 {
    z-index: 0;
}

.z-index-10 {
    z-index: 10;
}

/* Interactive States */
.nav-link-custom {
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link-custom:hover {
    color: var(--primary-fixed-dim) !important;
}

.hover-grayscale {
    filter: grayscale(100%);
    transition: filter 0.7s, transform 0.7s;
}

.hover-group:hover .hover-grayscale {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.hover-scale {
    transition: transform 0.3s;
}

.hover-group:hover .hover-scale {
    transform: scale(1.05);
}

/* Timeline Animation */
.timeline-bar {
    height: 4px;
    background: rgba(59, 73, 75, 0.3);
    position: relative;
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.timeline-group:hover .timeline-progress {
    transform: scaleX(1);
}

/* Custom Borders */
.border-l-primary {
    border-left: 4px solid var(--primary-container);
}

.border-l-tertiary {
    border-left: 4px solid var(--tertiary-container);
}

.border-l-outline {
    border-left: 4px solid var(--outline);
}

.border-t-secondary {
    border-top: 4px solid var(--secondary-container);
}

/* Section Spacing */
.py-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.object-position-top {
    object-position: top;
}


@media (max-width: 768px) {
    .min-vh-100-custom {
        min-height: 86vh;
    }

    .py-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.f-carousel {
    --f-arrow-pos: 10px;

    --f-arrow-width: 38px;
    --f-arrow-height: 38px;

    --f-arrow-svg-width: 16px;
    --f-arrow-svg-height: 16px;
    --f-arrow-svg-stroke-width: 2.5;

    --f-arrow-color: #475569;
    --f-arrow-shadow: 0 6px 12px -2px rgb(50 50 93 / 25%), 0 3px 7px -3px rgb(0 0 0 / 30%);

    --f-arrow-border-radius: 50%;
    --f-arrow-bg: #fff;
    --f-arrow-hover-bg: #f9f9f9;
    --f-arrow-active-bg: #f0f0f0;
}

#aboutCarousel {
    --f-carousel-gap: 20px;
    overflow: hidden;
}

/* Slide chính chiếm khoảng 80% chiều rộng */
#aboutCarousel .f-carousel__slide {
    width: 60%;
}

#aboutCarousel .f-carousel__slide img {
    width: 100%;
    /* height: 700px; */
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

#brandCarousel {
    --f-carousel-gap: 10px;
    overflow: hidden;
}

#brandCarousel .f-carousel__slide {
    width: calc((100% - 60px) / 7);
}

#brandCarousel .f-carousel__slide a {
    max-width: 100%;
    width: 100%;
    background: #fff;
    text-align: center;
    display: block;
    padding: 10px;
    border-radius: 12px;
}

#brandCarousel .f-carousel__slide img {
    max-width: 100%;
    height: 140px;
    object-fit: contain;
    /* display: block; */
    border-radius: 12px;
}

/* @media (min-width: 768px) {
        #brandCarousel .f-carousel-slide {
            width: calc(100% / 3);
        }
        }

        #brandCarousel .f-carousel-slide {
            width: calc(100% / 3);
        } */

/* Mobile */
@media (max-width: 768px) {
    #aboutCarousel {
        --f-carousel-gap: 15px;
    }

    #aboutCarousel .f-carousel__slide {
        width: 80%;
    }

    #aboutCarousel .f-carousel__slide img {
        /* height: 450px; */
    }

    #brandCarousel {
        --f-carousel-gap: 8px;
        overflow: hidden;
    }

    #brandCarousel .f-carousel__slide {
        width: calc((100% - 24px) / 3);
    }

    #brandCarousel .f-carousel__slide img {
        height: 100px;
    }
}
