:root {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --accent-color: #f093fb;
    --dark-bg: #0f0c29;
    --dark-bg-2: #302b63;
    --dark-bg-3: #24243e;
    --text-color: #ffffff;
    --text-muted: #e0e0e0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-2), var(--dark-bg-3));
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* --- Liquid Background --- */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
    border-radius: 50%;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    bottom: -50px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #667eea, transparent);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #764ba2, transparent);
    bottom: 20%;
    left: 10%;
    animation-delay: -15s;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* --- Common Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* --- Glass Header --- */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-color);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-speed);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- Buttons --- */
.cta-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.cta-btn.small {
    padding: 8px 20px;
    font-size: 12px;
}

.cta-btn.primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.8);
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.cta-btn.secondary:hover {
    background: rgba(0, 242, 254, 0.1);
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    display: none;
    cursor: pointer;
}

/* --- Mobile Menu --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: rgba(15, 12, 41, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    transition: 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav a {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge-glass {
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-content h1,
.gradient-text {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #b3cdd1, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--secondary-color);
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.stats-row {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    height: 400px;
}

.abstract-shape {
    width: 100%;
    height: 100%;
    /* In a real project, this would be a 3D spline model or SVG */
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 50%);
    position: absolute;
    top: 0;
    left: 0;
}

.hero-card {
    position: absolute;
    padding: 20px;
    width: 200px;
    z-index: 10;
}

.hero-card:nth-child(1) {
    top: 10%;
    right: 10%;
}

.hero-card:nth-child(2) {
    bottom: 20%;
    left: 0;
    z-index: 9;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    /* Very transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.floating-anim {
    animation: floating 6s ease-in-out infinite;
}

.floating-anim-delayed {
    animation: floating 7s ease-in-out infinite reverse;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
}

.subtitle {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.line-gradient {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px;
    /* Border gap */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.about-img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.experience-badge .year {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--secondary-color);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 0;
    text-align: left;
    transition: transform 0.1s;
    transform-style: preserve-3d;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 30px;
}

.service-icon {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* --- Why Us Highlights --- */
.highlight-box {
    display: flex;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.highlight-content {
    flex: 1;
}

.highlight-features {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

.h-feature {
    text-align: center;
}

.h-feature .icon-box {
    width: 60px;
    height: 60px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--accent-color);
    font-size: 24px;
    border: 1px solid var(--glass-border);
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.contact-info {
    padding: 60px;
    background: rgba(0, 0, 0, 0.2);
}

.contact-info h2 {
    margin-bottom: 10px;
}

.contact-info>p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon,
.info-item .icon-zalo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
}

.icon-zalo {
    font-weight: bold;
    font-family: sans-serif;
    color: white !important;
    background: #0068FF !important;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    padding: 60px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-group select option {
    background: var(--dark-bg);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:focus,
.form-group textarea:not(:placeholder-shown) {
    border-bottom-color: var(--secondary-color);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 12px;
    color: var(--secondary-color);
}

.full-width {
    width: 100%;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: 0.3s;
}

.social-links a:hover {
    background: white;
    color: var(--dark-bg);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
        /* Simplify mobile view */
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid,
    .highlight-box,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .highlight-features {
        justify-content: center;
    }

    .contact-info {
        padding: 40px 20px;
    }

    .contact-form-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .glass-header {
        width: 100%;
        top: 0;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .liquid-bg {
        opacity: 0.1;
    }

    .hero-section {
        background-image: linear-gradient(rgba(15, 12, 41, 0.8), rgba(15, 12, 41, 0.8)), url('../img/mobile_hero_bg.png?v=1.1');
        background-size: cover;
        background-position: center;
        padding-top: 120px;
        position: relative;
    }

    .hero-content h1,
    .gradient-text {
        font-size: 1.8rem;
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        -webkit-text-fill-color: initial;
        color: #ffffff !important;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
        animation: none;
    }

    .hero-content p {
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        font-size: 1.1rem;
        font-weight: 500;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }
}