﻿/*==================================================
    ODG LAB WEBSITE
    Part 1
    Theme + Reset + Typography + Navbar + Hero
===================================================*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

/*==================================================
ROOT
===================================================*/

:root {
    --bg: #050816;
    --bg2: #090d1f;
    --card: #101526;
    --card2: #171d31;
    --primary: #6C63FF;
    --primary-light: #8C84FF;
    --cyan: #53C7FF;
    --text: #ffffff;
    --text2: #D8DAE8;
    --muted: #9097B5;
    --border: rgba(255,255,255,.08);
    --shadow: 0 20px 60px rgba(0,0,0,.35);
    --transition: .35s;
    --radius: 18px;
}

/*==================================================
RESET
===================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top right, rgba(108,99,255,.15), transparent 35%), radial-gradient(circle at bottom left, rgba(0,255,255,.06), transparent 40%), var(--bg);
    color: var(--text);
    font-family: 'Outfit',sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    position: relative;
}

/*==================================================
SCROLLBAR
===================================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050816;
}

::-webkit-scrollbar-thumb {
    background: #383f66;
    border-radius: 50px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

/*==================================================
CONTAINER
===================================================*/

.container-xl {
    width: min(1380px,92%);
    margin: auto;
}

/*==================================================
TEXT
===================================================*/

h1 {
    font-size: 74px;
    line-height: 1.08;
    font-weight: 800;
}

h2 {
    font-size: 48px;
    font-weight: 700;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

p {
    color: var(--text2);
    line-height: 1.8;
}

.text-gradient {
    background: linear-gradient( 90deg, #ffffff, #9f92ff, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    text-transform: uppercase;
    font-size: 14px;
    color: var(--primary-light);
    letter-spacing: 4px;
    margin-bottom: 12px;
}

/*==================================================
NAVBAR
===================================================*/

.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(18px);
    background: rgba(4,6,18,.55);
    border-bottom: 1px solid rgba(255,255,255,.04);
}

    .navbar-custom nav {
        height: 88px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/*========================*/

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo img {
        width: 44px;
    }

    .logo span {
        font-size: 26px;
        font-weight: 700;
    }

/*========================*/

.nav-menu {
    display: flex;
    gap: 42px;
}

    .nav-menu a {
        position: relative;
        color: var(--muted);
        font-size: 15px;
        transition: var(--transition);
    }

        .nav-menu a:hover {
            color: white;
        }

        .nav-menu a::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: .35s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

/*========================*/

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .nav-right > a {
        transition: .3s;
    }

        .nav-right > a:hover {
            transform: translateY(-3px);
        }

    .nav-right i {
        font-size: 18px;
        color: #c4c8e5;
    }

.btn-talk {
    margin-left: 10px;
    background: linear-gradient( 135deg, #5B5BFF, #806CFF);
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .35s;
    box-shadow: 0 0 25px rgba(108,99,255,.45);
}

    .btn-talk:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 40px rgba(108,99,255,.65);
    }

/*==================================================
BUTTONS
===================================================*/

.btn {
    border: none;
    border-radius: 12px;
    padding: 15px 34px;
    font-size: 15px;
    font-weight: 600;
    transition: .35s;
}

.btn-primary {
    background: linear-gradient( 135deg, #6C63FF, #8D84FF);
    color: white;
    box-shadow: 0 10px 35px rgba(108,99,255,.35);
}

    .btn-primary:hover {
        transform: translateY(-5px);
    }

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    color: white;
}

    .btn-outline-light:hover {
        background: white;
        color: #050816;
    }

/*==================================================
HERO
===================================================*/

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient( rgba(5,8,20,.45), rgba(5,8,20,.82) ), url("/images/hero-character.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top:290px;
}

    /* Background */

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(4,6,18,.65), rgba(4,6,18,.82)), url("/images/hero-character.png");
        background-size: cover;
        background-position: center;
        z-index: -3;
    }

    /* Purple Glow */

    .hero-section::after {
        content: "";
        position: absolute;
        width: 900px;
        height: 900px;
        right: -350px;
        top: -250px;
        border-radius: 50%;
        background: radial-gradient( rgba(108,99,255,.22), transparent 70%);
        filter: blur(80px);
        z-index: -2;
    }

/*========================*/

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(108,99,255,.15);
    border: 1px solid rgba(108,99,255,.3);
    color: #C9C3FF;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 26px;
}

/*========================*/

.hero-section h1 {
    max-width: 720px;
    margin-bottom: 24px;
}

/*========================*/

.hero-description {
    max-width: 560px;
    font-size: 18px;
    color: #BEC5E0;
    margin-bottom: 45px;
}

/*========================*/

.hero-image {
    width: 95%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow( 0 0 70px rgba(108,99,255,.35));
}

/*==================================================
FLOAT
===================================================*/

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0);
    }
}
/*==================================================
    PART 2
    SERVICES
    PROJECTS
    TECH STACK
===================================================*/

/*====================================
SECTION SPACING
====================================*/

.services-section,
.projects-section {
    padding: 90px 0;
    position: relative;
}

    .services-section::before,
    .projects-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(255,255,255,.01), transparent);
        pointer-events: none;
    }

/*====================================
GRID
====================================*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

@media(max-width:1200px) {

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width:768px) {

    .mobile-menu {
        width: 85%;
        max-width: none;
        min-width: unset;
    }
}
@media (max-width:576px) {

    .mobile-menu {
        width: 100%;
        right: 0;
        border-radius: 0 0 18px 18px;
    }
}

/*====================================
SERVICE CARD
====================================*/

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #12192d;
    border: 1px solid rgba(255,255,255,.05);
    height: 280px;
    transition: .45s;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

    /* image */

    .service-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s;
    }

    /* overlay */

    .service-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(5,8,22,.15), rgba(5,8,22,.95) );
        z-index: 1;
    }

    /* purple glow */

    .service-card::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient( rgba(108,99,255,.28), transparent );
        right: -120px;
        bottom: -120px;
        opacity: 0;
        transition: .45s;
    }

/* content */

.service-card-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 6px;
    z-index: 3;
}
/* Cột bên trái */
.why-section .col-lg-3 {
    position: relative;
    z-index: 10;
}

/* Cột chứa Three.js */
.why-section .col-lg-2 {
    position: relative;
    z-index: 1;
}

.three-wrapper {
    width: auto;
    height: auto;
    position: static;
    margin-left: -30px;
}
/* Laptop và Desktop */
@media (min-width: 1802px) {
    .three-wrapper {
        margin-left: -700px;
    }
}

#world {
    width: auto;
    height: auto;
}
.btn-world {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg,#6C63FF,#3DA8FF);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(108,99,255,.35);
    transition: .35s;
}

    .btn-world:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 60px rgba(108,99,255,.45);
    }
.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(108,99,255,.12);
    border: 1px solid rgba(108,99,255,.25);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
}

    .service-icon i {
        font-size: 34px;
        color: #8A80FF;
    }
.service-card h4 {
    font-size: 26px;
    margin-bottom: 0px;
}

/* Ẩn mặc định */
.service-card p {
    color: #c7cbe3;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(12px);
    max-height: 0;
    overflow: hidden;
    transition: opacity .35s ease, transform .35s ease, max-height .35s ease;
}

/* Hover */

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(108,99,255,.35);
}

    .service-card:hover img {
        transform: scale(1.08);
    }

    .service-card:hover::after {
        opacity: 1;
    }

    /* Hiện sau một khoảng delay */
    .service-card:hover p {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
        transition-delay: .25s;
    }

/*====================================
PROJECTS
====================================*/

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

@media(max-width:1200px) {

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/*====================================
PROJECT CARD
====================================*/

.project-card {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: .45s;
    cursor: pointer;
}
.slimeking-card {
    background-image: url("/images/projects/slimeking-adventure-img.png");
}

.project-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 24px;
    background: linear-gradient( transparent 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.92) 100% );
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(111,92,255,.35);
}
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    transition: .7s;
}
.project-card:hover::before {
    transform: scale(1.08);
}

.project-card .btn {
    height: 22px;
    padding: 0 20px;
    font-size: .92rem;
    border-radius: 12px;
}

.project-card h3 {
    margin: 10px 0 6px;
}
.project-card p {
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(15px);
    max-height: 0;
    overflow: hidden;
    transition: opacity .35s ease, transform .35s ease, max-height .35s ease;
}
.project-card:hover p {
    opacity: 1;
    transform: translateY(0);
    max-height: 120px;
    margin-bottom: 16px;
}
    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .6s;
    }

    /* overlay */

    /* glow */

    .project-card::after {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        background: radial-gradient( rgba(108,99,255,.28), transparent);
        right: -150px;
        bottom: -150px;
        opacity: 0;
        transition: .45s;
    }

/* text */

.project-content {
    position: absolute;
    bottom: 30px;
    left: 28px;
    right: 28px;
    z-index: 5;
}

.project-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(108,99,255,.2);
    border: 1px solid rgba(108,99,255,.3);
    color: #D6D0FF;
    font-size: 12px;
    margin-bottom: 18px;
}

.project-content h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.project-content p {
    color: #d0d5ea;
}

/* hover */

.project-card:hover {
    transform: translateY(-12px);
    border-color: rgba(108,99,255,.35);
}

    .project-card:hover img {
        transform: scale(1.12);
    }

    .project-card:hover::after {
        opacity: 1;
    }

/*====================================
TECH STACK
====================================*/

.tech-stack {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 30;
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 220px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(15,20,36,.72);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.05);
    transition: .35s;
}

    .tech-card img {
        width: 52px;
        height: 52px;
        object-fit: contain;
    }

    .tech-card span {
        font-size: 17px;
        color: white;
    }

    .tech-card:hover {
        transform: translateX(-10px);
        border-color: rgba(108,99,255,.35);
        box-shadow: 0 0 30px rgba(108,99,255,.25);
    }

/*====================================
SECTION HEADER
====================================*/

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 42px;
        margin-top: 10px;
    }

    .section-header p {
        max-width: 700px;
        margin: auto;
        margin-top: 18px;
        color: #BDC4DE;
    }

/*====================================
VIEW MORE BUTTON
====================================*/

.center-button {
    text-align: center;
    margin-top: 45px;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.08);
    background: #11182d;
    transition: .35s;
}

    .btn-view:hover {
        background: #6C63FF;
        transform: translateY(-4px);
    }

/*==================================================
    PART 3
    STATS
    CTA
    FOOTER
==================================================*/

/*======================================
STATS SECTION
======================================*/

.stats-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

    .stats-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(108,99,255,.08), transparent 70%);
        pointer-events: none;
    }

    .stats-section .row {
        row-gap: 30px;
    }

.stat-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 55px 30px;
    border-radius: 26px;
    background: rgba(17,24,42,.82);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,.05);
    transition: .45s;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

    /* glow */

    .stat-card::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: radial-gradient( rgba(108,99,255,.28), transparent);
        top: -130px;
        right: -130px;
        opacity: 0;
        transition: .45s;
    }

    .stat-card:hover {
        transform: translateY(-10px);
        border-color: rgba(108,99,255,.35);
    }

        .stat-card:hover::after {
            opacity: 1;
        }

    .stat-card h1 {
        font-size: 68px;
        font-weight: 800;
        background: linear-gradient( 135deg, #ffffff, #7F77FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stat-card p {
        margin-top: 18px;
        font-size: 17px;
        color: #C9D0E7;
        letter-spacing: 1px;
    }

/*======================================
CTA SECTION
======================================*/

.cta-section {
    padding: 130px 0;
    position: relative;
}

    .cta-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("/images/backgrounds/cta.webp");
        background-size: cover;
        background-position: center;
        opacity: .22;
    }

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 35px;
    padding: 90px;
    text-align: center;
    background: linear-gradient( 145deg, rgba(18,25,45,.95), rgba(9,13,31,.95) );
    border: 1px solid rgba(255,255,255,.05);
    box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

    /* purple orb */

    .cta-box::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient( rgba(108,99,255,.30), transparent);
        top: -170px;
        left: -170px;
    }

    /* cyan orb */

    .cta-box::after {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: radial-gradient( rgba(82,205,255,.12), transparent);
        right: -140px;
        bottom: -140px;
    }

    .cta-box > * {
        position: relative;
        z-index: 5;
    }

    .cta-box h2 {
        font-size: 58px;
        margin-bottom: 20px;
        font-weight: 800;
    }

    .cta-box p {
        max-width: 720px;
        margin: auto;
        color: #CDD3E8;
        font-size: 19px;
        line-height: 1.9;
        margin-bottom: 45px;
    }

/*======================================
FOOTER
======================================*/

.footer {
    position: relative;
    background: #040713;
    padding-top: 90px;
    margin-top: 120px;
    border-top: 1px solid rgba(255,255,255,.05);
}

    /* top glow */

    .footer::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        top: 0;
        left: 0;
        background: linear-gradient( 90deg, transparent, rgba(108,99,255,.7), transparent);
    }

    .footer h3 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer h5 {
        color: white;
        margin-bottom: 25px;
        font-size: 18px;
    }

    .footer p {
        color: #9DA6C6;
        line-height: 1.8;
    }

    /* links */

    .footer ul {
        padding: 0;
    }

    .footer li {
        margin-bottom: 14px;
    }

    .footer a {
        color: #98A0BF;
        transition: .35s;
    }

        .footer a:hover {
            color: white;
            padding-left: 6px;
        }

/*======================================
FOOTER SOCIAL
======================================*/

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .footer-social i {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.06);
        transition: .35s;
        font-size: 18px;
    }

        .footer-social i:hover {
            transform: translateY(-6px);
            background: #6C63FF;
            box-shadow: 0 0 25px rgba(108,99,255,.45);
        }

/*======================================
COPYRIGHT
======================================*/

.footer hr {
    border-color: rgba(255,255,255,.05);
    margin: 60px 0 30px;
}

.copyright {
    text-align: center;
    color: #8B93B4;
    padding-bottom: 35px;
    font-size: 15px;
    letter-spacing: .6px;
}

/*======================================
BACKGROUND DECORATIONS
======================================*/

.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .25;
    pointer-events: none;
}

.blur-purple {
    width: 550px;
    height: 550px;
    background: #6C63FF;
}

.blur-cyan {
    width: 420px;
    height: 420px;
    background: #42BFFF;
}

/*======================================
SECTION DIVIDER
======================================*/

.section-divider {
    width: 120px;
    height: 4px;
    border-radius: 50px;
    background: linear-gradient( 90deg, transparent, #6C63FF, transparent);
    margin: 30px auto 60px;
}

/*==================================================
    PART 4
    ANIMATION
    RESPONSIVE
    DARK EFFECT
===================================================*/


/*==========================================
GLOBAL TRANSITION
==========================================*/

*{

    transition:

        background .35s,

        color .35s,

        border-color .35s,

        transform .35s,

        box-shadow .35s;

}


/*==========================================
FADE IN
==========================================*/

.fade-up{

    opacity:0;

    transform:translateY(50px);

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}


/*==========================================
ZOOM
==========================================*/

.zoom{

    opacity:0;

    transform:scale(.92);

}

.zoom.show{

    opacity:1;

    transform:scale(1);

}


/*==========================================
FLOATING
==========================================*/

.float{

    animation:

        floating 6s ease-in-out infinite;

}

@keyframes floating{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-14px);

    }

    100%{

        transform:translateY(0);

    }

}


/*==========================================
ROTATE
==========================================*/

.rotate{

    animation:

        rotate360 18s linear infinite;

}

@keyframes rotate360{

    from{

        transform:rotate(0);

    }

    to{

        transform:rotate(360deg);

    }

}


/*==========================================
GLOW
==========================================*/

.glow{

    animation:

        glow 4s ease infinite;

}

@keyframes glow{

    0%{

        box-shadow:

        0 0 0 rgba(108,99,255,.25);

    }

    50%{

        box-shadow:

        0 0 45px rgba(108,99,255,.45);

    }

    100%{

        box-shadow:

        0 0 0 rgba(108,99,255,.25);

    }

}


/*==========================================
BUTTON HOVER
==========================================*/

.btn:hover{

    transform:

        translateY(-5px);

}

.btn:active{

    transform:

        scale(.97);

}


/*==========================================
IMAGE HOVER
==========================================*/

img{

    transition:.45s;

}

.project-card:hover img,

.service-card:hover img{

    transform:

        scale(1.08);

}


/*==========================================
CARD HOVER
==========================================*/

.service-card:hover,

.project-card:hover,

.stat-card:hover,

.tech-card:hover{

    box-shadow:

        0 30px 70px rgba(0,0,0,.45),

        0 0 40px rgba(108,99,255,.18);

}


/*==========================================
UNDERLINE
==========================================*/

.nav-menu a{

    overflow:hidden;

}

.nav-menu a::after{

    border-radius:50px;

}


/*==========================================
HERO TEXT
==========================================*/

.hero-section h1{

    animation:

        heroText 1s ease;

}

@keyframes heroText{

    from{

        opacity:0;

        transform:

            translateY(40px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*==========================================
BACKGROUND PARTICLES
==========================================*/

.particle{

    position:absolute;

    border-radius:50%;

    background:white;

    opacity:.2;

    animation:

        particleMove 15s linear infinite;

}

@keyframes particleMove{

    from{

        transform:

            translateY(0);

    }

    to{

        transform:

            translateY(-100vh);

    }

}


/*==========================================
GLASS
==========================================*/

.glass{

    backdrop-filter:blur(25px);

    background:

        rgba(255,255,255,.04);

    border:

        1px solid rgba(255,255,255,.06);

}


/*==========================================
SECTION TITLE
==========================================*/

.section-title{

    position:relative;

    display:inline-block;

}

.section-title::after{

    content:"";

    position:absolute;

    width:70px;

    height:3px;

    background:

        linear-gradient(

        90deg,

        transparent,

        #6C63FF,

        transparent);

    bottom:-16px;

    left:50%;

    transform:translateX(-50%);

}


/*==========================================
CUSTOM SELECTION
==========================================*/

::selection{

    background:#6C63FF;

    color:white;

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:1400px){

    h1{

        font-size:62px;

    }

}

@media(max-width:1200px){

    .hero-section{

        text-align:center;

    }

    .hero-image{

        margin-top:70px;

    }

    .tech-stack{

        display:none;

    }

}

@media(max-width:992px){

    h1{

        font-size:52px;

    }

    h2{

        font-size:40px;

    }

    .navbar-custom nav{

        flex-wrap:wrap;

        height:auto;

        padding:18px 0;

    }

    .nav-menu{

        margin-top:18px;

        gap:22px;

        justify-content:center;

        width:100%;

        flex-wrap:wrap;

    }

    .nav-right{

        margin-top:18px;

        width:100%;

        justify-content:center;

    }

    .cta-box{

        padding:60px 40px;

    }

}

@media(max-width:768px){

    h1{

        font-size:42px;

    }

    h2{

        font-size:34px;

    }

    p{

        font-size:15px;

    }

    .hero-section{

        padding-top:140px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .hero-buttons .btn{

        width:100%;

        max-width:320px;

    }

    .project-card{

        height:300px;

    }

    .service-card{

        height:250px;

    }

    .cta-box{

        padding:45px 30px;

    }

    .cta-box h2{

        font-size:38px;

    }

}

@media(max-width:576px){

    .logo span{

        display:none;

    }

    h1{

        font-size:34px;

    }

    h2{

        font-size:28px;

    }

    .hero-description{

        font-size:16px;

    }

    .btn{

        padding:14px 24px;

    }

}


/*==========================================
DARK SHADOW
==========================================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    pointer-events:none;

    background:

        radial-gradient(

            circle at top,

            rgba(108,99,255,.08),

            transparent 45%),

        radial-gradient(

            circle at bottom,

            rgba(61,181,255,.05),

            transparent 50%);

    z-index:-10;

}


/*==========================================
BOTTOM FADE
==========================================*/

.hero-section::before{

    box-shadow:

        inset 0 -180px 180px rgba(5,8,22,.95);

}


/*==========================================
SMOOTH SCROLL
==========================================*/

html{

    scroll-behavior:smooth;

}


/*==========================================
LOADING EFFECT
==========================================*/

.loading{

    animation:

        pulse 1.2s infinite;

}

@keyframes pulse{

    0%{

        opacity:.4;

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:.4;

    }

}

/*==================================================
NAVBAR RESPONSIVE
==================================================*/

/* ===== Navbar ===== */

.navbar {
    position: relative;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ===== Hamburger ===== */

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

    .mobile-toggle:hover {
        color: var(--primary);
    }

/* ===== Dropdown ===== */

.mobile-menu {
    position: absolute;
    top: 80px;
    right: 0;
    width: 50%;
    max-width: 420px;
    min-width: 300px;
    background: rgba(9,13,31,.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all .35s ease;
    z-index: 999;
}
    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

        .mobile-menu li:last-child {
            border: none;
        }

    .mobile-menu a {
        display: block;
        padding: 14px 0;
        color: #fff;
        font-size: 17px;
        transition: .3s;
    }

        .mobile-menu a:hover {
            color: var(--primary-light);
            padding-left: 10px;
        }

/* ===== Social ===== */

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 24px;
}

    .mobile-social a {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: .3s;
    }

        .mobile-social a:hover {
            background: var(--primary);
            transform: translateY(-4px);
        }

    .mobile-social i {
        font-size: 20px;
    }

/* ===== Mobile Button ===== */

.mobile-menu .btn-talk {
    width: 100%;
    margin: 0;
    text-align: center;
}

/*==================================================
TABLET + MOBILE
==================================================*/

@media (max-width:992px) {

    .navbar {
        height: 80px;
    }

    .nav-menu,
    .nav-right {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        top: 80px;
    }
}

/*==================================================
PHONE
==================================================*/

@media (max-width:576px) {

    .logo img {
        width: 38px;
    }

    .logo span {
        font-size: 22px;
    }

    .mobile-menu {
        padding: 22px;
        border-radius: 0 0 18px 18px;
    }

        .mobile-menu a {
            font-size: 16px;
        }
}

/*==================================================
                MOBILE OPTIMIZATION
==================================================*/

@media (max-width: 992px) {
    /* ===========================
       HERO
    =========================== */

    .hero-section {
        min-height: auto;
        padding: 120px 0 70px;
        text-align: center;
        background-position: 68% center;
    }

        .hero-section h1 {
            max-width: 100%;
            margin-inline: auto;
        }

    .hero-description {
        max-width: 100%;
        margin: 24px auto 35px;
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 320px;
        }

    .hero-image {
        width: 82%;
        margin: 60px auto 0;
    }

}


.mobile-drop-btn {
    display: none;
}

@media (max-width:992px) {

    .mobile-drop-btn {
        display: flex;
        position: fixed;
        right: 20px;
        bottom: 25px;
        width: 64px;
        height: 64px;
        border: none;
        border-radius: 50%;
        background: #6C63FF;
        color: #fff;
        font-size: 28px;
        justify-content: center;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
        z-index: 9999;
    }

        .mobile-drop-btn:active {
            transform: scale(.95);
        }
}

.desktop-hint {
    position: fixed;
    left: 90%;
    max-width:300px;
    bottom: 28px;
    transform: translateX(-50%);
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(10,14,28,.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .4px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
}

    .desktop-hint kbd {
        display: inline-block;
        margin: 0 4px;
        padding: 3px 10px;
        border-radius: 6px;
        background: #6C63FF;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(108,99,255,.35);
    }

/* Ẩn trên thiết bị cảm ứng */

@media (pointer:coarse) {

    .desktop-hint {
        display: none;
    }
}

.desktop-hint{

    animation:hintFloat 2.5s ease-in-out infinite;
}

@keyframes hintFloat{

    0%,100%{

        transform:translateX(-50%) translateY(0);
    }

    50%{

        transform:translateX(-50%) translateY(-6px);
    }

}


/*======================================
TABLET
======================================*/

@media (max-width:991.98px) {

    .footer {
        padding-top: 70px;
        margin-top: 80px;
    }

        .footer .col-lg-4,
        .footer .col-lg-2 {
            text-align: center;
        }

    .footer-social {
        justify-content: center;
    }

    .footer ul {
        margin-bottom: 10px;
    }
}

/*======================================
MOBILE
======================================*/

@media (max-width:575.98px) {

    .footer {
        padding-top: 55px;
        margin-top: 60px;
    }

        .footer h3 {
            font-size: 24px;
            margin-top: 16px;
            margin-bottom: 12px;
        }

        .footer h5 {
            margin-top: 22px;
            margin-bottom: 14px;
            font-size: 17px;
        }

        .footer p {
            font-size: 15px;
            line-height: 1.7;
        }

        .footer ul {
            margin-bottom: 0;
        }

        .footer li {
            margin-bottom: 10px;
        }

        .footer a:hover {
            padding-left: 0;
        }

    .footer-social {
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
    }

        .footer-social i {
            width: 42px;
            height: 42px;
            font-size: 17px;
        }

    .footer hr {
        margin: 35px 0 25px;
    }

    .copyright {
        font-size: 13px;
        line-height: 1.7;
        padding-bottom: 25px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.footer-brand {
    display: block;
}
@media (max-width:767px) {

    .footer-brand {
        display: flex;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-brand-left {
        width: 90px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .footer-brand-left img {
            width: 60px;
            margin-bottom: 8px;
        }

        .footer-brand-left h3 {
            margin: 0;
            font-size: 20px;
            text-align: center;
        }

    .footer-brand-content {
        flex: 1;
    }

        .footer-brand-content p {
            margin: 0;
            text-align: left;
        }
}