/* Services Page Styles */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.services {
    padding: 100px 0 60px;
    flex: 1; /* This makes the content section expand to fill available space */
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    color: #FF8300;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 24px;
    color: #FF8300;
    margin-bottom: 10px;
}

.service-content p {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer is now sticky to the bottom */
.footer {
    margin-top: auto; /* Push to the bottom */
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 80px 0 40px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    .service-content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .services {
        padding: 60px 0 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 180px;
    }
}