* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('../image/img.jpg'); /* Ensure proper path */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center; /* Center items */
    align-items: center;
    padding: 0 20px;
}

.section {
    width: 100%;
    max-width: 1200px;
    padding: 50px 10px; /* Adjusted for better spacing */
}

.title {
    text-align: center;
    margin-bottom: 40px;
}

.title h1 {
    font-size: 2.5em; /* Adjusted for better scaling */
    color: white;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    width: calc(25% - 20px); /* Default width */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon {
    text-align: center;
    padding: 20px 0;
}

.icon i {
    font-size: 3em; /* Adjusted icon size */
    color: #2c677c;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.card h2 {
    font-size: 1.5em; /* Adjusted for better scaling */
    color: #333;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em; /* Adjusted for better scaling */
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px; /* Adjusted for better button size */
    background-color: #5d88d5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #4e7ac7;
}
@media screen and (max-width: 480px) {
    .card {
        width: calc(100% - 20px); /* One card per row */
    }

    .title h1 {
        font-size: 2em; /* Smaller title size on small screens */
    }

    .section {
        padding: 30px 10px; /* Less padding for small screens */
    }

    .button {
        padding: 10px; /* Smaller button padding */
    }
}
