@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
:root {
    --hero-background-image: url('../images/hero.jpg');
}

.hero-section {
    position: relative;
    background-image: var(--hero-background-image);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 200px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    }

.hero-section h1,
.hero-section p {
    position: relative; /* Ensure text appears above the overlay */
    z-index: 1; /* Make sure the text is on top of the overlay */
    }

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    }

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    }

/* CSS for services section */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.services-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../images/coding.png') no-repeat right center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 50px;
    box-sizing: border-box;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
}

.services-list {
    position: relative;
    z-index: 1;
    width: 40%; /* Adjust width as needed */
    color: white;
    text-align: right; /* Align text to the right */
    margin-right: 10%; /* Adjust margin to move the list further right */
}

.services-list h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: white; /* White color for the heading */
    position: relative;
    z-index: 1; /* Ensure text is above overlay */
}

.services-list ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1; /* Ensure list is above overlay */
}

.services-list ul li {
    font-size: 18px;
    margin-bottom: 10px;
    padding: 10px 25px;
    background: linear-gradient(to right, #55b6ee, #ffffff);
    border-radius: 5px; /* Add rounded corners to each list item */
    color: black; /* Black text color */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content inside list items to the right */
}

.services-list ul li:not(:last-child) {
    margin-bottom: 10px; /* Space between list items */
}

.services-list ul li::before {
    content: "✓";
    color: #ffffff; /* White color for the checkmark */
    margin-left: 10px; /* Space between checkmark and text */
    font-weight: bold;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .services-section {
        justify-content: center; /* Center content on smaller screens */
        padding: 20px;
        background: white; /* Set background to white */
    }

    .services-section::before {
        display: none; /* Hide the overlay */
    }

    

    .services-list {
        width: 90%; /* Full width on mobile */
        text-align: center; /* Center text on mobile */
        margin-right: 0; /* Remove right margin on mobile */
        color: black; /* Change text color to black */
    }

    .services-list ul li {
        justify-content: center; /* Center list items on mobile */
        background: linear-gradient(to right, #55b6ee, #ffffff); /* Ensure list item background is blue gradient */
        color: black; /* Change text color to black */
    }

    .services-list ul li::before {
        margin-right: 10px; /* Adjust margin for checkmark */
        margin-left: 0; /* Remove left margin for checkmark */
        color: black; /* Change checkmark color to black */
    }
}
