body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #defff8;
    color: #333;
}

header {
    background: linear-gradient(90deg, #9b4dbc, #0d3669);
    color: white;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    align-items: center;
    padding: 20px;
}

header .logo {
    font-size: 1.75em;
    font-weight: 800;
    text-shadow: 0.15em 0.15em 0.31em #9b4dbc, 0.31em 0.31em 0.625em #0d3669, 0.47em 0.47em 0.9375em #00f8a4, 0.625em 0.625em 1.25em #44e2bf;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-shadow: 0.075em 0.075em 0.155em #9b4dbc, 0.155em 0.155em 0.3125em #0d3669, 0.235em 0.235em 0.46875em #00f8a4, 0.3125em 0.3125em 0.625em #44e2bf;
}

header nav ul li a:hover {
    color: #00f8a4;
}

#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0.2em 0.2em 0.36em #9b4dbc, 0.36em 0.36em 0.675em #0d3669, 0.52em 0.52em 0.9875em #00f8a4, 0.675em 0.675em 1.3em #44e2bf;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::after {
    content: '';
    background: url('background.webp') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.cta-button {
    background-color: #00f8a4;
    color: white;
    padding: 10px 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #009c6b;
}

section {
    padding: 60px 20px;
    text-align: center;
}

#services {
    background-color: #defff8;
}

#services .service-item {
    margin: 20px 0;
}

#about {
    background: linear-gradient(90deg, #44e2bf, #defff8);
    text-align: center;
}

#about p, #about ul {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

#testimonials {
    background-color: #defff8;
}

#testimonials .testimonial-item {
    margin: 20px 0;
    font-style: italic;
}

#contact {
    background: linear-gradient(90deg, #0d3669, #9b4dbc);
    color: white;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact form input, #contact form textarea, #contact form select, #contact form .form-group {
    width: 80%;
    max-width: 500px;
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

#contact form textarea {
    height: 200px;
}

#contact form button {
    background-color: #00f8a4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact form button:hover {
    background-color: #009c6b;
}

footer {
    background-color: #0d3669;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.4); 
}

.modal-content {
    background: linear-gradient(90deg, #9b4dbc, #0d3669);
    color: white;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: #00f8a4;
    text-decoration: none;
    cursor: pointer;
}

/* === Media Queries for Responsive Design === */

/* Mobile Devices */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    #hero {
        height: auto;
        padding: 20px;
    }

    .cta-button {
        width: 90%;
    }

    section {
        padding: 30px 10px;
    }

    #contact form input, #contact form textarea {
        width: 100%;
    }

    #contact form button {
        width: 100%;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    header nav ul {
        justify-content: space-around;
    }

    .cta-button {
        font-size: 1.1em;
    }
}

/* Navigation Menu Styles */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #00f8a4;
}

/* Drop-Down Menu Styles */
nav ul li ul.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d3669;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 1000;
}

nav ul li:hover ul.dropdown {
    display: block;
}

nav ul li ul.dropdown li {
    width: 200px;
}

nav ul li ul.dropdown li a {
    padding: 10px;
    color: white;
}

nav ul li ul.dropdown li a:hover {
    background-color: #009c6b;
}

