/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Ensures content starts from the top */
    min-height: 100vh; /* Prevents clipping */
    padding-top: 20px; /* Gives breathing room at the top */
}

/* Header */
header {
    display: flex;
    justify-content: space-between; /* Ensures logo is on the left, menu icon on the right */
    align-items: center;
    width: 100%;
    max-width: 600px;
    background-color: #222;
    color: white;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Centers the header */
    z-index: 1000; /* Keeps header above other elements */
    border-radius: 10px; /* Optional for a cleaner look */
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-top: 80px; /* Prevents it from hiding under the fixed header */
    padding: 50px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevents content from overflowing */
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Images */
img {
    max-width: 100%; /* Ensures images never exceed their container */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra spacing below images */
    margin: 0 auto; /* Centers images inside their container */
}

/* Buttons */
.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    min-width: 150px;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

.primary {
    background-color: #007bff;
    color: white;
}

.secondary {
    background-color: #ddd;
    color: black;
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.feature {
    background-color: white;
    padding: 15px;
    width: 100%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden; /* Ensures images don't overflow */
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #222;
    color: white;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-links a,
.social-icons a {
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .hero {
        width: 100%;
        padding: 40px 15px;
    }

    .feature {
        width: 95%;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        text-align: center;
    }
}
