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

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #222;
    color: white;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 900;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: crimson;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: #f4f4f4;
}

.hero h1 {
    font-size: 40px;
}

.hero p {
    font-size: 18px;
    margin: 15px 0;
}

.hero button {
    padding: 10px 30px;
    background: crimson;
    color: white;
    font-size: 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero button:hover {
    background: darkred;
    transform: scale(1.05);
}

/* FEATURES */
.features {
    padding: 40px 20px;
    text-align: center;
}

.features h2 {
    font-size: 25px;
}

.feature-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    font-size: 15px;
}

.feature {
    background: #eee;
    padding: 20px;
    margin: 10px;
    border-radius: 50px;
    width: 30%;
    min-width: 200px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        background: #222;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    nav ul.show {
        display: flex;
    }

    .hero h1 {
        font-size: 30px;
    }

    .feature-list {
        flex-direction: column;
    }
}

/* ✅ Responsive Design */
@media (max-width: 300px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero button {
        font-size: 13px;
        padding: 8px 20px;
    }

    .feature {
        width: 90%;
        font-size: 13px;
        padding: 15px;
    }
}
