@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap'); /* Imports Montserrat font */

/* General body styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Basic body styling */
body {
    display: flex;
    flex-direction: column;
    min-height:10vh;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Main content area should grow to fill available space */
.main-content {
    flex: 1 0 auto;
}

/* Styling for the hero section of the services page */
.services-hero {
    background-color: #f49c2a; 
    color: #fff; 
    padding: 60px 20px;
    text-align: center;
}

/* Styling for the services hero logo */
.services-hero-logo {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 1500px;
    object-fit: contain;
    float: left;
    margin-right: 15px;
    margin-left: 50px;
    margin-top: -150px;
}

/* Styling for the main heading within the services hero section */
.services-hero h1 {
    margin: 0 0 10px 0;
    font-size: 3em;
    color: #000000; 
}
    
/* Styling for paragraphs within the services hero section */
.services-hero p {
    font-size: 1.2em;
    margin-bottom: 0;
}

/* Grid layout for service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: #fff;
}

/* Styling for individual service cards */
.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; 
}

/* Hover effect for service cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Styling for images within service cards */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease; 
}

/* Hover effect for images within service cards */
.service-card:hover img {
    transform: scale(1.05); 
}

/* Styling for headings (h3) within service cards */
.service-card h3 {
    font-size: 1.5em;
    color: #000; 
    margin: 15px;
}

/* Styling for paragraphs within service cards */
.service-card p {
    font-size: 1em;
    color: #555; 
    margin: 0 15px 15px 15px;
    line-height: 1.6;
}

/* Styling for the aboutus logo */
#aboutuslogo {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 1500px;
    object-fit: contain;
    float: left;
    margin-right: 15px;
    margin-left: 50px;
    margin-top: -150px;
}

/* Responsive adjustments for smaller screens (max-width 768px) */
@media (max-width: 768px) {
    /* Adjust heading font size in services hero section for smaller screens */
    .services-hero h1 {
        font-size: 2.5em;
    }

    /* Adjust paragraph font size in services hero section for smaller screens */
    .services-hero p {
        font-size: 1em;
    }

    /* Adjust grid layout for services on smaller screens */
    .services-grid {
        grid-template-columns: 1fr; 
    }
}

/* Footer styles */
.footer {
    flex-shrink: 0;
}