*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    height: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #413d8f;
background: linear-gradient(7deg, rgba(65, 61, 143, 1) 5%, rgba(74, 178, 199, 1) 76%);
    color: #191970;
}

header h1 {
    font-size: 3rem;
}

.title {
    color: #87CEEB;
}

nav a{
    color: #2e49c2;
    gap: 20px;
    font-size: 1.2rem;
    margin: 10px;
}

.hero {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #413d8f;
background: linear-gradient(7deg, rgba(65, 61, 143, 1) 5%, rgba(74, 178, 199, 1) 76%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 66vh;
}

.hero-image img {
    max-width: 100%;
    height: 500px;
    width: 70vh;
    max-height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 20px;
}

.hero-text {
    max-width: 30vh;
    padding: 20px;
    text-align: center;
    margin-left: 25%;
}
.hero-text h2 {
    font-size: 2.5rem;
    color: #00FFFF;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #AFEEEE;
    margin-bottom: 20px;
}

.hero-text button {
    background: #2980B9;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 2rem;
    border-radius: 5px;
    cursor: pointer;
}

.hero-text button:hover {
    background-color: #0f4c0f;
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    padding: 20px;
    height: 80vh;
    align-items: center;
    background: #413d8f;
    background: linear-gradient(7deg, rgba(65, 61, 143, 1) 5%, rgba(74, 178, 199, 1) 76%);
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #413d8f;
    background: linear-gradient(7deg, rgba(65, 61, 143, 1) 5%, rgba(74, 178, 199, 1) 76%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service span {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.service h3 {
    font-size: 1.8rem;
    color: #6DD5FA;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
    color: #333;
    text-align: center;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #413d8f;
    background: linear-gradient(7deg, rgba(65, 61, 143, 1) 5%, rgba(74, 178, 199, 1) 76%);
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial h4 {
    font-size: 1.5rem;
    color: #413d8f;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 1rem;
    color: #6DD5FA;
    text-align: center;
}

footer {
    text-align: center;
    padding: 20px;
    background: #413d8f;
    background: linear-gradient(7deg, rgba(65, 61, 143, 1) 5%, rgba(74, 178, 199, 1) 76%);
    color: #191970;
    font-size: 1.2rem;
}
footer p {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }
    .hero-image img {
        width: 80%;
        height: auto;
    }
    .hero-text {
        width: 80%;
        margin-left: 0;
    }
    .services {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        align-items: center;
        height: auto;
        padding: 10px;
        gap: 10px;
    }
    .service {
        width: 90%;
        padding: 10px;
    }
    .testimonials {
        grid-template-columns: 1fr;
        height: auto;
    }
}




