/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Navigation Bar */
header {
    background-color: #2c3e50;
    padding: 15px 0;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 600px; /* Set a height for your hero section */
    overflow: hidden; /* Hide any overflowing images */
    background-color: #333;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Image Carousel Section */
.image-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    animation: image-rotation 16s infinite ease-in-out;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Fade In/Out Animation */
@keyframes image-rotation {
    0%, 20% {
        opacity: 1;
    }
    25%, 45% {
        opacity: 0;
    }
    50%, 70% {
        opacity: 1;
    }
    75%, 95% {
        opacity: 0;
    }
}

/* Make images appear in sequence */
.image-carousel img:nth-child(1) {
    animation-delay: 0s;
}

.image-carousel img:nth-child(2) {
    animation-delay: 4s;
}

.image-carousel img:nth-child(3) {
    animation-delay: 8s;
}

.image-carousel img:nth-child(4) {
    animation-delay: 12s;
}

/* About Us Section */
.about {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 50px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.service {
    margin: 30px;
}

.service h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.testimonials blockquote {
    font-size: 1.2em;
    font-style: italic;
    margin: 20px auto;
    width: 80%;
}

.testimonials em {
    display: block;
    margin-top: 10px;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.contact form {
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 600px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.contact button {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
}

.contact button:hover {
    background-color: #c0392b;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}
