/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    color: #7f8c8d;
}

.phone-button button {
    background-color: #1abc9c;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.phone-button button:hover {
    background-color: #16a085;
    transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 700px; /* Adjust this value to control the width of the cards */
    margin-left: auto;
    margin-right: auto;
}

.service-box {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-content {
    padding: 30px;
}

.service-content h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    color: #34495e;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
}

.service-image {
    text-align: center;
    padding: 20px;
    background-color: #ecf0f1;
}

.service-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.service-box:hover .service-image img {
    transform: scale(1.05);
}

/* Color Themes for Service Boxes */
#container1 { background: linear-gradient(135deg, #6dd5ed, #2193b0); }
#container2 { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
#container3 { background: linear-gradient(135deg, #a8e063, #56ab2f); }
#container4 { background: linear-gradient(135deg, #f6d365, #fda085); }

#container1 .service-content h2, #container1 .service-content p,
#container2 .service-content h2, #container2 .service-content p,
#container3 .service-content h2, #container3 .service-content p,
#container4 .service-content h2, #container4 .service-content p {
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #95a5a6;
}

.footer a {
    color: #1abc9c;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #16a085;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 36px;
    }
}
