@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #141414;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: #0d0d0d;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f05656;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f05656;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        flex-direction: column;
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #141414;
        width: 100%;
        padding: 20px 0;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul.show-menu {
        display: flex;
    }
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background-color: #1c1c1c;
    padding: 20px;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s forwards ease-in-out;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-text {
    max-width: 500px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
}

#dynamic-text {
    display: inline-block;
    overflow: hidden;
    animation: typing 1ms steps(100, end), 5ms infinite ;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-text h2 {
    font-size: 1.8rem;
    margin: 20px 0;
}

.highlight {
    color: #f05656;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #f05656;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(240, 86, 86, 0.3);
}

.cta-button:hover {
    background-color: #ff6666;
    transform: translateY(-3px);
}
