/* General styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    background: url('img/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #007acc;
    color: white;
    padding: 15px 30px;
    border: none;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
}

.cta-btn:hover {
    background-color: #005a9c;
}

/* Section Styling */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Services Section */
.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-box {
    background-color: white;
    padding: 20px;
    margin: 15px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.service-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Pricing Section */
.pricing-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pricing-box {
    background-color: white;
    padding: 20px;
    margin: 15px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.pricing-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.testimonial {
    background-color: white;
    padding: 20px;
    margin: 15px;
    width: 45%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.testimonial p {
    font-style: italic;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer .social-links {
    list-style: none;
    padding: 0;
}

footer .social-links li {
    display: inline;
    margin: 0 10px;
}

footer .social-links a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('img/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    background-size: cover; /* Ensures the background image covers the entire area */
}

.hero-content {
    max-width: 800px; /* Limits the content width for larger screens */
    margin: 0 auto;
}

/* Desktop view */
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #007acc;
    color: white;
    padding: 15px 30px;
    border: none;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
}

.cta-btn:hover {
    background-color: #005a9c;
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 150px; /* Adjust height as needed */
    background-color: #007acc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px; /* Adds spacing before the next section */
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-slide.active {
    background-color: #005a9c;
}

/* Mobile Friendly Carousel */
@media (max-width: 768px) {
    .banner-carousel {
        height: 120px; /* Adjust for smaller screens */
    }

    .carousel-slide {
        font-size: 1.4rem;
        padding: 10px;
    }
}

/* Hero Section Adjustments for Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

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

    .cta-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
}

/* Services Section Mobile */
@media (max-width: 768px) {
    .services-container, .pricing-container, .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box, .pricing-box, .testimonial {
        width: 90%; /* Takes more width in smaller screens */
    }
}

/* Testimonials Section Mobile */
@media (max-width: 768px) {
    .testimonial {
        width: 100%;
    }
}


/* Mobile Adjustments for Hero Section */
@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Reduce the height on smaller screens */
        padding: 0 10px; /* Reduce padding for smaller screens */
    }

    .hero h1 {
        font-size: 32px; /* Smaller font size for mobile */
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 12px 25px; /* Adjust button size for mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px; /* Further reduce font size on very small screens */
    }

    .hero p {
        font-size: 14px; /* Adjust paragraph size */
    }

    .cta-btn {
        font-size: 14px;
        padding: 10px 20px; /* Further adjust button size */
    }
}
