@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #1b1b1b;
    text-align: center;
}

.services-section {
    max-width: 1300px;
    margin: auto;
    padding: 90px 50px;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 3.2em;
    margin-bottom: 35px;
    color: #333;
    font-weight: bold;
}

.service-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    width: 100%;
}

.service-text {
    flex: 1;
    padding: 35px;
    font-size: 1.5em;
    text-align: left;
    color: #333;
    font-family: 'Playfair Display', serif;
    line-height: 1.8;
}

.service-text h3 {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    gap: 10px; /* Space between icon and text */
}

.service-text h3 i {
    font-size: 1.6em; /* Icon size */
    color: #7abd98; /* Match with theme color */
}

.service-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* Image hover effect */
.service-image:hover img {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons at the bottom inside the image */
.service-buttons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10; /* Keeps buttons above the image */
    transition: transform 0.4s ease-in-out;
}

/* Ensure buttons scale with image */
.service-image:hover .service-buttons {
    transform: translateX(-50%) scale(1.05);
}

.service-btn {
    padding: 12px 18px;
    text-decoration: none;
    background: white;
    color: #7abd98;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    border: 2px solid white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
}

.service-btn:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2.2em;
        margin-bottom: 25px;
    }

    .service-box {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }

    .service-text {
        text-align: center;
        padding: 20px;
        font-size: 1.2em;
    }

    .service-text h3 {
        font-size: 1.3em;
        white-space: normal;
    }

    .service-image img {
        max-width: 90%;
    }

    .service-buttons {
        gap: 8px;
    }

    .service-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 50px 15px;
    }

    h2 {
        font-size: 1.8em;
    }

    .service-text {
        font-size: 1em;
        padding: 15px;
    }

    .service-text h3 {
        font-size: 1.1em;
    }

    .service-image img {
        max-width: 100%;
    }

    .service-buttons {
        gap: 5px;
    }

    .service-btn {
        font-size: 10px;
        padding: 6px 10px; /* Smaller buttons */
        min-width: 80px; /* Ensure side-by-side placement */
    }
}




