/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

header {
    background-color: #ff6600;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-left: auto;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.cta {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 20px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    background-color: #fff;
}

.hero-text {
    max-width: 600px;
    margin-left: 50px;
}

.hero h1 {
    font-size: 2.5em;
    color: #ff6600;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
}

.cta-buttons .btn {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 5px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    margin-right: 150px;
}

.features {
    background-color: #f8f8f8;
    padding: 40px 20px;
    text-align: center;
}

.features h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #ff6600;
}

.feature-list {
    display: flex;
    justify-content: space-around;
}

.feature-item {
    max-width: 300px;
}

.testimonial {
    padding: 40px 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.5em;
    font-style: italic;
}

.cta-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #ff6600;
    color: #fff;
}

.footer {
    padding: 20px;
    text-align: center;
    background-color: #000;
    color: #fff;
}

.social-links a {
    color: #ff6600;
    text-decoration: none;
    margin: 0 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Header */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px; /* Distance from the right edge */
        background-color: #ff6600;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
        z-index: 1000; /* Make sure it appears above other content */
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 20px; /* Adjust as needed */
        top: 10px; /* Adjust vertical position */
    }

    .nav-links li {
        margin-bottom: 10px;
        text-align: center;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 20px;
    }

    /* CTA Buttons */
    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
    }

    /* Features Section */
    .feature-list {
        flex-direction: column;
    }

    .feature-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* Smaller screens adjustments */
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .feature-item h3 {
        font-size: 1.2em;
    }

    .feature-item p {
        font-size: 1em;
    }

    .testimonial blockquote {
        font-size: 1.2em;
    }

    .cta-section h2 {
        font-size: 1.5em;
    }

    .cta-section p {
        font-size: 1em;
    }
}

/* For Desktop */
.nav-links {
    display: flex;
    list-style: none;
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

/* For Mobile Screens */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #ff6600;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-links li {
        margin-bottom: 10px;
        text-align: center;
    }

    .menu-icon {
        display: block;
    }

    .cta {
        display: none; /* You can hide or style the CTA differently for mobile */
    }

    /* When menu is open */
    .nav-links.active {
        display: flex;
    }

    /* Further Mobile Adjustments */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .feature-item h3 {
        font-size: 1.2em;
    }

    .feature-item p {
        font-size: 1em;
    }

    .testimonial blockquote {
        font-size: 1.2em;
    }

    .cta-section h2 {
        font-size: 1.5em;
    }

    .cta-section p {
        font-size: 1em;
    }
}
}
