.ban_sec {
    position: relative;
    width: 100%;
    margin-top: 80px;
}

.ban_img {
    position: relative;
    width: 100%;
}

.ban_img img {
    width: 100%;
    display: block;
    height: auto;
}

.ban_text {
    position: absolute;
    bottom: 30px;
    left: 40px;
    background-color: black;
    padding: 20px;
}

.ban_text strong {
    font: 800 62.22px/70px "Montserrat", sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.ban_text strong span {
    font: 400 44.44px/52px "Montserrat", sans-serif;
    letter-spacing: 3px;
}

.ban_text p {
    font: 400 25px/30px "Montserrat", sans-serif;
    color: #fff;
    margin: 7px 0 25px;
}

.enquiry-form-container {
    position: absolute;
    bottom: 8rem;
    right: 3rem;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10.5rem;
    height: 3rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
    margin-top: 10px;
    display: inline-block;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black;
}

/* Arrange form and buttons in a row */
.enquiry-form-container + a {
    position: absolute;
    bottom: 2rem;
    right: 235px; /* Adjust depending on form width */
}

.enquiry-form-container + a + a {
    position: absolute;
    bottom: 2rem;
    right: 55px; /* Adjust for 2nd button */
}



@media (min-width: 1200px) and (max-width: 1399px) {
    .ban_text p {
        font-size: 21px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ban_text p {
        font-size: 17px;
    }

    .ban_text strong {
        font-size: 50px;
        line-height: 60px;
    }

    .ban_text strong span {
        font-size: 37px;
    }
}

@media only screen and (max-width: 991px) {
    .ban_text strong {
        font-size: 35px;
        line-height: 40px;
    }

    .ban_text strong span {
        font-size: 28px;
        line-height: 35px;
        letter-spacing: 2px;
    }

    .ban_text p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .ban_img img {
        min-height: 290px;
        object-fit: cover;
    }

    .ban_text {
        left: 4%;
        top: 61%;
    }
}

@media only screen and (max-width: 575px) {
    .ban_text strong {
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        width: 100%;
        display: block;
    }
}

@media only screen and (max-width: 480px) {
    .ban_text strong span {
        font-size: 22px;
        line-height: 31px;
        letter-spacing: 1px;
    }
}

/* ----------------------------------------*/
.background-container{
    padding-top: 50px;
}
.it-container {
    max-width: 1200px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.background-container {
    position: relative;
    padding-bottom: 100px !important;
    padding-top: 100px !important;
    text-align: center !important;
    margin-top: 20px;
}

.background-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            from(rgba(23, 27, 38, 0.92)),
            to(rgba(39, 45, 62, 0.92))
    );
}

.background-cover {
    z-index: 2;
    position: relative;
    color: #fff;
}

.line-heading {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.line-heading-left {
    text-align: right !important;
    margin: 0;
    padding: 0;
}

.line-heading-left h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro",
    "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    line-height: 1.1;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

.line-heading-left h4 {
    font-size: 1.75rem;
    font-weight: 300;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro",
    "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: #05b0e3;
    line-height: 1.1;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

.line-heading p {
    margin-left: 38px;
    margin-top: 0;
    border-left: 3px solid #05b0e3;
    padding: 12px 0 12px 30px;
    line-height: 24px;
    -webkit-box-flex: 1;
    flex: 1;
    font-size: 1rem;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro",
    "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: #bfbfbf;
    text-align: left;
    margin-bottom: 0;
}

/* ------------------------------------- */
.itsource-service-heading h1 {
    font-size: 2.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 13px;
    padding-top: 0;
    color: var(--color-light);
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 15px;
    text-wrap: wrap;
}

.container3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-image: url(/static/assets/it_source_bg.png);
    padding: 30px;
    background-size: cover;
}

.card1 {
    width: 300px;
    margin: 10px;
    padding: 20px;
    background-color: #ddd !important;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card1:hover {
    transform: scale(1.1);
}

.title {
    text-align: center;
    color: #0066cc;
}

.benefit-title {
    color: #187838;
}

.benefit-description {
    margin-top: 10px;
    font-size: 14px;
}

/* ---------------------------------------------- */
.it-solution-card {
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #0e1829;
}

.it-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.solution {
    display: flex;
    margin-bottom: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
}

.solution-content {
    flex: 1;
    padding: 20px;
    background-color: rgb(164, 207, 230);
}

.solution-heading {
    font-size: 24px;
    margin-top: 0;
    color: rgb(45, 45, 135);
    margin-bottom: 15px;
    background-color: rgb(164, 207, 230);
    padding: 10px;
    border-bottom: 2px solid rgb(118, 118, 118);
}

.solution-description {
    text-align: justify;
    font-size: 12px;
}

.solution-section-right1 {
    flex: 1;
    padding: 20px;
    background-image: url(/static/assets/time.jpg);
    background-position: center;
    background-size: contain;
    border-left: 3px solid black;
}

.solution-section-right2 {
    flex: 1;
    padding: 20px;
    width: 100%;
    background-image: url(/static/assets/chain.png);
    background-position: center;
    background-size: contain;
    border-right: 3px solid black;
}

.solution-section-right3 {
    flex: 1;
    padding: 20px;
    width: 100%;
    background-image: url(/static/assets/company.png);
    border-left: 3px solid black;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ------------------------------------------------ */

.outsourcing-plans {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    background-color: #003f5c     ;
}

.plan {
    background-color: #f3f0ff   ;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.plan-heading {
    font-size: 24px;
}

.plan-description {
    text-align: justify;
    font-size: 14px;
}

/* ---------------------------------------------------------- */
.outsourcing-division-sec {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10rem;
}

.outsourcing-division-sec p {
    color: #fff;
    font-size: 20px;
    padding: 20px;
    margin: 2rem;
    background-color: #fff;
    border-radius: 20px;
    background-image: url(/static/assets/gradient_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 1000px) {
    .outsourcing-division-sec {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 700px) {
    .outsourcing-division-sec {
        margin-top: 5rem;
    }

    .outsourcing-division-sec-image img {
        width: 450px;
    }
}

@media screen and (max-width: 550px) {
    .outsourcing-division-sec-image img {
        width: 320px;
    }
}

/* -------------------------------------------------------- */
.apply-now-section {
    background-color: #f9f9f9;
    padding: 50px;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.content {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.content h2 {
    text-transform: uppercase;
    color: #dc3545;
}

.content p {
    font-size: 16px;
}

.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}
