/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(45deg, #f0f4f8, #e0e8f0); /* Soft gradient background */
    color: #333;
    padding: 1rem 3rem; /* Added more padding for space */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px; /* Adjust logo height */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section Styles */
.hero {
    background: url('img/hero-background.jpg') no-repeat center center/cover; /* Background image */
    color: #fff;
    text-align: center;
    padding: 10rem 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.hero .hero-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    z-index: 1;
    position: relative;
}

.hero .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 1;
    position: relative;
}

.hero .cta-button:hover {
    background-color: #0056b3;
}

/* Services Section Styles */
.services {
    padding: 5rem 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 2rem;
    flex: 1 1 30%; /* Three items per row on desktop */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 1rem;
    color: #666;
}

/* Packages Section Styles */
.packages {
    padding: 5rem 2rem;
    text-align: center;
}

.packages h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.packages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.package-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 2rem;
    flex: 1 1 30%; /* Three items per row on desktop */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.package-item.best-seller {
    border-color: #007bff;
}

.package-item.best-seller .best-seller-badge {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.package-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.package-item p.package-speed {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.package-item p.package-price {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.package-item ul.package-features {
    list-style: none;
    padding: 0;
}

.package-item ul.package-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Advantages Section Styles */
.advantages {
    padding: 5rem 2rem;
    text-align: center;
}

.advantages h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.advantages ul {
    list-style: none;
    padding: 0;
}

.advantages ul li {
    margin-bottom: 1rem;
    color: #666;
}

/* Contact Section Styles */
.contact {
    padding: 5rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact ul li {
    margin-bottom: 1rem;
    color: #666;
}

/* Contact Form Styles */
.contact-form {
    padding: 5rem 2rem;
    text-align: center;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 3rem;
    text-align: center;
}

footer .footer-info p {
    margin-bottom: 1rem;
}

footer .footer-social a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer .footer-social a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    header nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .hero {
        padding: 5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .hero-text {
        font-size: 1rem;
    }

    .services-container {
        flex-direction: column;
    }

    .service-item {
        flex: 1 1 100%;
    }

    .packages-container {
        flex-direction: column;
    }

    .package-item {
        flex: 1 1 100%;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    header {
        padding: 1rem 2rem;
    }

    .hero {
        padding: 8rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .hero-text {
        font-size: 1.2rem;
    }

    .services-container {
        flex-wrap: wrap;
    }

    .service-item {
        flex: 1 1 48%;
    }

    .packages-container {
        flex-wrap: wrap;
    }

    .package-item {
        flex: 1 1 48%;
    }
}

@media (min-width: 1025px) {
    body {
        font-size: 18px;
    }

    header {
        padding: 1rem 3rem;
    }

    .hero {
        padding: 10rem 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .hero-text {
        font-size: 1.5rem;
    }

    .services-container {
        flex-wrap: wrap;
    }

    .service-item {
        flex: 1 1 30%;
    }

    .packages-container {
        flex-wrap: wrap;
    }

    .package-item {
        flex: 1 1 30%;
    }
}
