/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header styles */
.header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none; /* Hide menu toggle by default */
    cursor: pointer;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 15px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links li a:hover {
    background-color: #555;
}


/* Media query for small screens */
@media (max-width: 768px) {
    .header h1 {
        flex-grow: 1; /* Allow the heading to take available space */
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        margin-left: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 10; /* Ensure it appears above other content */
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        width: 100%;
    }
}

/* Styling for wide screens */
@media (min-width: 769px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        display: inline-block;
        padding: 10px 15px;
    }
}

/* Container styles */
.container {
    display: flex;
    margin-top: 10px;
    padding: 0 10px;
}

.left-section {
    flex: 3;
    margin-right: 20px;
}

.right-section {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
}

/* Service styles */
.services {
    display: grid;
    gap: 20px;
}

.service {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f0f0f0;
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

.service-title h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.service-description {
    padding: 10px;
    font-size: 14px;
    color: #666;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f0f0f0;
}

.view-details {
    color: #000;
    text-decoration: none;
}

.view-details:hover {
    text-decoration: underline;
}

.contact-whatsapp {
    color: #25d366;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-whatsapp i {
    margin-right: 5px;
}

/* Popular services styles */
.popular-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popular-service {
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-service-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.popular-service-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.popular-service-title {
    font-size: 16px;
    color: #333;
}

/* Media query for small screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-section, .right-section {
        margin-right: 0;
    }
    .services {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Update carousel controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5%; /* Adjust the width as needed */
    opacity: 0.5;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.carousel-control.right {
    right: 0;
}

.carousel-control.left {
    left: 0;
}

.carousel-control:hover,
.carousel-control:focus {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    outline: 0;
}
.service-detail {
    text-align: left;
    padding: 20px;
}

.service-detail img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-detail p {
    text-align: left;
    font-size: 16px;
    color: #555;
}

.whatsapp-contact {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;

    margin-top: 10px;
    text-decoration: none;
}
.recommended-services {
    margin-top: 30px;
}

.recommended-services h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.recommended-service {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.recommended-service img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.recommended-service a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

.recommended-service a:hover {
    text-decoration: underline;
}
