/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2951b5;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

    .nav-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
    }

        .nav-menu a:hover {
            color: #2951b5;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: linear-gradient(135deg, #2951b5, #7c3aed);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

.login-btn {
    background: linear-gradient(135deg, #2951b5, #7c3aed);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
        text-decoration:none !important;
    }
        .login-btn:hover::after {
            width:0px !important;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
    }
/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

        .nav-menu.active {
            left: 0;
        }

    #home {
        margin-top: 20px;
    }
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #081527 100%);
    color: white;
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}


@keyframes rainbow {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"> <path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%232951b5"></path> <path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%232951b5"></path> <path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%232951b5"></path> </svg>') no-repeat; background-size: cover;
    opacity: 0.9;
}

/* Stats Section with Animation */
.footer-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer-stats::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #2951b5, #7c3aed, #ec4899, #f59e0b);
        border-radius: 20px;
        z-index: -1;
        animation: glow 2s ease-in-out infinite alternate;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #f1f5f9;
    position: relative;
}

    .footer-section h4::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #2951b5, #7c3aed);
        border-radius: 2px;
    }

.footer-brand {
    max-width: 300px;
}

    .footer-brand .logo {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand p {
        line-height: 1.8;
        color: #cbd5e1;
        margin-bottom: 2rem;
    }

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 1rem;
    }

        .footer-section ul li a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 0;
        }

            .footer-section ul li a:hover {
                color: #2951b5;
                transform: translateX(5px);
            }

            .footer-section ul li a i {
                font-size: 1rem;
                width: 20px;
            }


.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    position: relative;
}

    .footer-bottom::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #2951b5, transparent);
    }

    .footer-bottom p {
        margin-bottom: 1rem;
    }

    .footer-bottom a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-bottom a:hover {
            color: #7c3aed;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
