﻿:root {
    --bg-dark-primary: #0a192f;
    --bg-dark-secondary: #112240; 
    --bg-dark-tertiary: #1e293b;
    --accent-color: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.3);
    --text-main: #ccd6f6; 
    --text-dim: #8892b0;
    --text-white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --purple-grad: linear-gradient(90deg, #7c3aed, #64ffda);
    --orange-grad: linear-gradient(90deg, #f59e0b, #64ffda);
    --yellow-grad: linear-gradient(90deg, #eab308, #fff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #0e1544;
}
    body .section {
        scroll-margin-top: 100px;
    }

.logo {
    font-family: 'Space Mono', monospace;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.menu {
    position: fixed ;
    top: 20px ;
    left: 50% ;
    transform: translateX(-50%) ;
    width: 95% ;
    max-width: 1200px ;
    z-index: 2000 ;
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    padding: 10px 40px ;
    border-radius: 50px ;
    border: 1.5px solid rgba(100, 255, 218, 0.4) ;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 10px rgba(100, 255, 218, 0.1) ;
    background: rgba(17, 34, 64, 0.7) ;
    backdrop-filter: blur(12px) ;
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
}

    .menu:hover {
        background: rgba(17, 34, 64, 0.85) ;
        border-color: var(--accent-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

.menu-links {
    display: flex ;
    flex-direction: row ;
    gap: 25px ;
    list-style: none ;
    margin: 0 ;
    padding: 0 ;
    flex-shrink: 1 ;
}
    .menu-links li a {
        white-space: nowrap ; 
        text-decoration: none;
        color: #a8b2d1 ;
        font-size: 0.95rem;
    }
        .menu-links li a:hover {
            color: var(--accent-color) ;
            text-shadow: 0 0 8px rgba(100, 255, 218, 0.3);
        }
    .menu-links a:hover {
        color: var(--accent-color);
    }
.hero-section {
    display: flex ;
    flex-direction:row;
    align-items: center;
    justify-content: space-between ;
    min-height: 100vh;
    padding: 120px 3% ;
    gap: 120px ;
    width: 94%;
    max-width: 1600px; 
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 140px ;
}

.hero-text {
    flex: 1.6 ;
    max-width: 800px ;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    text-align: justify;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #a8b2d1; 
    line-height: 1.6;
    margin: 20px 0 30px 0;
    max-width: 500px; 
}
.profile {
    flex: 1;
    flex-shrink: -10;
    width: 100%;
    display: flex;
    overflow: hidden;
    justify-content: flex-end;
    max-width: 600px;
}
    .profile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.5s ease;
        filter: brightness(1.05) contrast(1.05);
    }
        .profile img:hover {
            transform: scale(1.1);
        }

.nut-GuiMail {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0;
    padding:0;
}

.downCV {
    text-decoration: none;
    padding: 12px 28px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color) ;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 5px rgba(100, 255, 218, 0.2);
}

    .downCV i {
        margin-right: 8px;
        font-size: 1rem;
        line-height: 1;
    }

    .downCV:hover {
        background: var(--accent-color);
        color: #0a192f ;
        box-shadow: 0 0 20px var(--accent-color);
        transform: translateY(-2px);
    }

.name-highlight {
    font-size: 3rem;
    background-image: linear-gradient(45deg, #2af598 0%, #009efd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
}
.nut-contact {
    padding: 12px 28px ;
    background-color: #ffffff ;
    color: #0a192f ;
    border: 2px solid #ffffff ;
    font-weight: 600 ;
    text-decoration: none ;
    border-radius: 8px ;
    align-items: center ;
    transition: all 0.3s ease ;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) ;
}

    .nut-contact:hover {
        background-color: transparent ;
        color: #ffffff ;
        border-color: var(--accent-color) ;
        box-shadow: 0 0 20px var(--accent-color) ;
        transform: translateY(-2px) ;
    }

h1 {
    font-size: 3rem; 
    line-height: 1.2;
    margin-bottom: 15px;
    white-space: nowrap; 
}

/* Khối bao quanh tất cả  */
.iconMXHcontact {
    display: flex;
    align-items: flex-start; 
    gap: 30px; 
    padding: 0; 
    margin-top: 25px;
}
.iconMXH {
    display: flex ;
    gap: 15px;
    margin-top: 10px;
    padding:0;
}

    .iconMXH a {
        color: var(--text-main);
        font-size: 1.5rem;
        transition: 0.3s;
        text-decoration: none;
        justify-content: flex-start ;
        padding-left: 0 ;
        margin-left: 0 ;
        margin-top: auto;
        margin-bottom: auto;
    }

        .iconMXH a:hover {
            color: var(--accent-color);
            transform: translateY(-3px);
        }

            .iconMXH a:hover .fa-github {
                color: #fff;
            }

            .iconMXH a:hover .fa-linkedin {
                color: #0077b5;
            }

            .iconMXH a:hover .fa-facebook {
                color: #1877f2;
            }

            .iconMXH a:hover .fa-instagram {
                color: #e4405f;
            }

            .iconMXH a:hover .fa-tiktok {
                color: #ff0050;
            }




@keyframes float-up-down {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

h2 {
    display: flex ;
    align-items: center ;
    flex-wrap: wrap ;
    width: 100% ;
    gap: 15px ;
    white-space: normal ;
    font-size: 2rem ;
    color: #ccd6f6 ;
    font-family: 'Montserrat', sans-serif ;
    font-weight: 700 ;
    margin-bottom: 30px ;
    border-bottom: none ;
    line-height: 1.3 ;
}

@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8892b0;
}

@keyframes glow-move {
    0% {
        transform: translate(-20%, -20%);
    }

    50% {
        transform: translate(20%, 20%);
    }

    100% {
        transform: translate(-20%, -20%);
    }
}

/* CHUYỂN ĐỘNG */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    visibility: hidden;
}
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }