:root {
    --primary-color: #0077ff;
    --secondary-color: #ffcc00;
    --background-color: #0a0a1a;
    --text-color: #e0e0e0;
    --text-glow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    --card-bg: rgba(20, 20, 40, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    background-image: linear-gradient(rgba(10, 10, 26, 0.95), rgba(10, 10, 26, 0.95)), url('Asset/Image/greenhill.png');
    background-size: cover;
    background-attachment: fixed;
}

.ribbon-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(0, 0, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    text-shadow: 0 0 8px var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: var(--text-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

section {
    padding: 100px 10%;
    min-height: 80vh;
    border-bottom: 1px solid rgba(0, 119, 255, 0.2);
}

section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: var(--text-glow);
    text-align: center;
    margin-bottom: 40px;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#home {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-content p {
    word-break: break-all;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 10px 20px; 
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 119, 255, 0.4);
}

.faq-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-color);
}
.faq-item h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 2rem 5%;
    background: #050510;
    font-size: 0.9rem;
    color: #aaa;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 65px;
        background: rgba(0, 0, 10, 0.95);
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

.cta-button + .cta-button {
    margin-left: 15px;
}

a:link {
  color : rgb(255, 255, 255);
}
a:visited {
  color : rgb(255, 255, 255);
}
a:hover {
  color : rgb(255, 255, 255);
}
a:active {
  color : rgb(255, 255, 255)
}

h1[data-lang="mod"] {
  margin-top: 60px;
}