.services-container {
    margin-top: 80px; /* Space for fixed navbar */
    background: linear-gradient(135deg, #fff9f2, #ffe6cc);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
    text-align: center;
}

.services-header {
    width: 100%;
    height: 300px;
    object-fit: cover;
	object-position: top;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.services-container h1 {
    color: #ff9933;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
    margin: 0 20px 40px;
    max-width: 800px;
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 20px;
}

.service-card {
    position: relative; /* For absolute positioning of button */
    height: 400px; /* Fixed height to ensure consistency */
    padding-bottom: 50px; /* Space for the button */
    overflow: hidden; /* Prevents content overflow */
}

.service-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.2em;
    color: #ff9933;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    padding: 0 10px;
}

.service-card .learn-more {
    position: absolute;
    bottom: 10px; /* Pins button to bottom */
    left: 50%;
    transform: translateX(-50%); /* Centers horizontally */
    width: 100px; /* Fixed width for consistency */
}

.additional-info {
    margin: 40px 20px 0;
}

.additional-info h2 {
    font-size: 1.8em;
}

.additional-info p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card img {
        width: 150px;
        height: 150px;
    }
    .service-card {
        height: 350px; /* Slightly smaller for smaller screens */
    }
}

@media (max-width: 768px) {
    .services-header {
        height: 200px;
    }
    .services-container h1 {
        font-size: 2em;
    }
    .intro-text {
        font-size: 1em;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card img {
        width: 200px;
        height: 200px;
    }
    .service-card {
        height: 400px; /* Consistent height on mobile */
    }
    .additional-info h2 {
        font-size: 1.5em;
    }
}