* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f8f0;
    color: #333;
}

.header {
    background-color: rgba(88, 28, 116, 0.9);
    color: white;
    padding: 20px;
    text-align: center;
}

.header img {
    max-width: 200px;
    height: auto;
}

.nav-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4c12d4;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 20px;
    background-color: #cdc5df;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    background-color: #2e8b57;
    color: white;
}

.nav-menu a:hover {
    background-color: rgba(88, 28, 116, 0.9);
    color: rgb(112, 57, 57);
}

.welcome-section {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    animation: changeBackground 6s infinite;
}

@keyframes changeBackground {
    0% {
        background-image: url('../img/backgraond1.png');
    }

    50% {
        background-image: url('../img/29163135.jpeg');
    }

    100% {
        background-image: url('../img/backgraond1.png');
    }
}

.welcome-section h2,
.welcome-section p {
    position: relative;
    z-index: 1;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(88, 28, 116, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
}

.service-card:hover .overlay-text {
    opacity: 1;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.contact-section {
    background-color: rgba(88, 28, 116, 0.9);
    color: white;
    padding: 20px;
    text-align: center;
}

.contact-section a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: #4c12d4;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s;
}

.contact-section a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: #4c12d4;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.footer {
    background-color: #4c12d4;
    color: white;
    text-align: center;
    padding: 20px;
}