html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    margin-top: 0;
}

.container {
    padding: 15px;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn-primary,
.bg-primary,
.text-primary {
    --bs-primary: #148ace;
    background-color: #148ace !important;
    border-color: #148ace !important;
    color: #fff !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 0;
    min-height: 100vh;
}

/* Main content wrapper */
.main-content {
    min-height: 80vh;
    padding-bottom: 2rem;
}

/* Carousel Responsive Styles */
.carousel-item {
    height: 600px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        padding: 10px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
    }

        .carousel-caption h1 {
            font-size: 1.8rem;
        }

        .carousel-caption p {
            font-size: 1rem;
        }
}

/* Service Cards Responsive Styles */
.service-card {
    height: 100%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
    margin-bottom: 20px;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

    .icon-wrapper i {
        font-size: 24px;
        color: #0d6efd;
    }

/* Service page specific styles */
.service-page {
    padding-bottom: 3rem;
}

/* Why Choose Us section spacing */
.mt-5 {
    margin-bottom: 3rem !important;
}

/* Call to Action section spacing */
.cta-section {
    margin-bottom: 0 !important;
}

/* Certification Logos Styles */
.certification-logos {
    padding: 15px 0;
}

.certification-logo {
    max-width: 100px;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

    .certification-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.1);
    }


.certification-logo-SolidColor {
    max-width: 100px;
    height: auto;
    transition: all 0.3s ease;
    opacity: 0.8;
}

    .certification-logo-SolidColor:hover {        
        opacity: 1;
        transform: scale(1.1);
    }


@media (max-width: 768px) {
    .certification-logo {
        max-width: 80px;
    }
}
