﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px 0;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

    .hero-text h1 {
        font-size: 2.5em;
        color: #1a1a1a;
        margin-bottom: 0.5em;
    }

    .hero-text p {
        font-size: 1.2em;
        margin-bottom: 1em;
    }

.btn-primary {
    display: inline-block;
    padding: 0.75em 1.5em;
    background-color: #007acc;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    text-decoration: none;
}

    .btn-primary:hover {
        background-color: #005fa3;
    }

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

    .feature-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 1.5em;
        margin-bottom: 0.5em;
        color: #1a1a1a;
    }

    .feature-item p {
        font-size: 1em;
        color: #555;
    }

footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 0.9em;
}

/* 📱 Mobile Styles */
/* Applies styles when the screen width is 768px or less */
@media (max-width: 768px) {
    /* Adjust Hero Section */
    .hero-section {
        flex-direction: column; /* Stacks items vertically */
        text-align: center;
        padding-top: 20px;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 30px; /* Add space below text before image */
    }

        .hero-text h1 {
            font-size: 2em; /* Slightly smaller heading */
        }

        .hero-text p {
            font-size: 1.1em;
        }

    .hero-image {
        order: -1; /* Move image above text on mobile for better visibility */
        margin-bottom: 20px;
    }

        .hero-image img {
            max-width: 300px; /* Smaller image on mobile */
        }

    /* Adjust Features Section */
    .features {
        flex-direction: column; /* Stacks feature items vertically */
        margin-top: 30px;
    }

    .feature-item {
        margin-bottom: 40px; /* Add space between stacked feature items */
        padding: 0;
    }

        .feature-item h3 {
            font-size: 1.4em;
        }

        /* Remove unnecessary line breaks that cause large gaps in the HTML on small screens */
        .feature-item br {
            display: none;
        }
}
