﻿html, body {
    height: 100%; /* Pure page ki height ko full karein */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Content ko vertical stack karein */
}

#MainContent {
    flex: 1; /* Content ko expand karein taki footer neeche rahe */
    min-height: calc(100vh - 150px); /* Footer ki height ko adjust karein */
}

footer {
    background-color: steelblue;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto; /* Footer ko neeche push karein */
}
.jumbotron {
    background-color: steelblue !important; /* Background color set karein */
    margin-bottom: 0; /* Margin ko remove karein */
    padding: 2rem 1rem; /* Padding ko adjust karein */
}
video, img {
    max-width: 100%; /* Video aur images ko responsive banaye */
    height: auto;
}

/* Responsive Divs ke liye custom CSS */
.service-card {
    align-content: center;
    border-radius: 40px 40px 40px;
    border: solid 1px steelblue;
    background-color: whitesmoke;
    height: 250px;
    width: 260px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

    .service-card:hover {
        background-color: lightsteelblue; /* Hover effect */
    }

    .service-card h3 {
        color: steelblue;
        text-align: center;
    }

    .service-card h4 {
        align-content: center;
        text-align: center;
    }

/* Contact Form  custom CSS */
.contact-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Small screens (mobile)  adjustments */
@media (max-width: 768px) {
    html, body {
        height: auto; /* Small screens par height ko auto karein */
    }

    #MainContent {
        min-height: calc(100vh - 200px); /* Footer ki height ko adjust karein */
    }
    .jumbotron table {
        display: block;
    }

        .jumbotron table td {
            display: block;
            width: 100%;
            text-align: center;
        }

    .jumbotron video {
        margin-top: 20px; /* Video ko neeche shift karein */
    }

    .jumbotron .display-4 {
        font-size: 2rem; /* Hero section ke text ko chota karein */
    }
    .jumbotron .row {
        flex-direction: column; /* Small screens par content ko vertically stack karein */
    }

    .jumbotron .col-md-6 {
        width: 100%; /* Small screens par columns ko full width banayein */
        text-align: center; /* Text ko center align karein */
    }

    .jumbotron video {
        margin-top: 20px; /* Video ko neeche shift karein */
    }

    .btn-lg {
        font-size: 1rem; /* Buttons ko chota karein */
    }

    .card {
        margin-bottom: 20px; /* Cards ke beech mein space badhayein */
    }

    h2 {
        font-size: 1.5rem; /* Heading size ko chota karein */
    }

    .card-title {
        font-size: 1.2rem; /* Card titles ko chota karein */
    }

    .card-text {
        font-size: 1rem; /* Card text ko chota karein */
    }
    .order-md-1, .order-md-2 {
        order: 0; /* Small screens par content ko default order mein display karein */
    }

    img {
        margin-top: 20px; /* Small screens par image ke upar margin add karein */
    }

}
