/* --------------------------------------- 
------- Services Outsourcing Page2 -------
------------------------------------------ */

.hero-section-serOutsourcing {
    position: relative;
    background: url("../img/outsourcing/OS-banner-min.jpg") no-repeat center center/cover;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    height: 80vh;
    /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-overlay-serOutsourcing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(34.43% 59.31% at 50% 50%, rgba(0, 0, 0, 0.3) 58.38%, rgba(8, 8, 41, 0.15) 100%),
        linear-gradient(0deg, rgba(11, 29, 51, 0.5), rgba(11, 29, 51, 0.5));
}
@media (max-width: 1024px) {
    .out-content h1{
        font-size: 35px;
    }
}
/* section-1 */
.finance-section {
    background: url("../img/outsourcing/OS-Finance-Accounts-min.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    color: white;
    text-align: left;
    padding: 70px 40px;
    margin-top: 50px;
}


.headOutsource h3{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 45px;
}
.out-head{
    font-size: 30px;
}
  .outcard-feature {
    flex-wrap: wrap;
    gap: 20px;
    margin: 12px 0px;
  }
/* section-2 */
.section-gap{
  padding-bottom: 30px;
}
.sect-gap{
    padding-bottom: 50px;
}
.Acc-Consultation-section {
    background: url("../img/outsourcing/OS-Exprt-Acc-Consult-min.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    color: white;
    text-align: left;
    padding: 70px 40px;
    margin-top: 50px;
    position: relative;
  }
.services-outsource {
    background: linear-gradient(125.35deg, rgba(4, 78, 119, 0.05) 0%, rgba(4, 78, 119, 0.1) 100%);
    border-radius: 25px;
}

.services-outsource h1 {
    font-size: 30px;
}

.services-outsource .out-par3,.services-outsource .out-par4 {
    font-size: 15px;
}
.custom-bx{
    max-width: 20%;
}

.servOuts-img {
    width: 100%;
    height: 100%;
    border-radius: 35px;
}
/* section-3 */
.HR-section {
    background: url("../img/outsourcing/OS-HR-Payroll-min.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    color: white;
    text-align: left;
    padding: 70px 40px;
    margin-top: 50px;
}
.internalAudit-section {
    background: url("../img/outsourcing/OS-Internal-Audit-min.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    color: white;
    text-align: left;
    padding: 70px 40px;
    margin-top: 50px;
}
.staffSolution-section {
    background: url("../img/outsourcing/OS-Staff-Solutions-min.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    color: white;
    text-align: left;
    padding: 70px 40px;
    margin-top: 50px;
}

/* section-4 */
.out-audit{
    font-weight: 400;
    color: black;
    font-size: 18px;
}
.subhead{
    color: #ddd;
    font-size: 14px;
    font-weight: 200;
    text-align: center;
    width: 165px;
}
.outheading{
    color: #ddd;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 15px;
}
.card-out{
    height: 185px;
}
.sub{
    display: flex;
    justify-content: center;  
}
.mgn{
    width: 22%;
}
.mgr{
    width: 28%;
}
.space{
    padding-top: 10px;
    padding-bottom: 10px;
}
/* section-5 */
.out-sec-5 h1, .out-sec-5 .out-ser {
    text-align: center;
}
.out-sec-5 .out-ser{
    margin-bottom: 45px;
    font-weight: 400;
    color: rgba(68, 70, 77, 1);
}
.out-sec-5 .foc{
    margin:45px 95px;
    text-align: center;
}
.serv-Outbox{
    background: rgba(239, 241, 243, 1);
}
.serv-Outbox p1, .serv-Outbox outPar{
    color: rgba(0, 0, 0, 1);
    max-width: 90%;
}
.outPar{
    font-size:12px; 
    font-weight:300;
}
.p1{
    font-size: 15px;
    color: black;
}
.serv-Outbox img{
    background: linear-gradient(180deg, #F52717 0%, #C1282A 100%);
    padding: 9px;
    border-radius: 12px;
}
.bxl{
    margin-top: 0;
}
.bx{
    margin-top: 45px;
}

/* section-6 */
.outfeature-card{
    text-align: center;
    max-width: 250px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.out-red img,
.out-dark img,
.out-maroon img,
.out-light img
{
    border-radius: 50%;
    padding: 10px;
}
.out-red,
.out-red img{
    background: rgba(245, 39, 23, 1);
}
.out-dark,
.out-dark img{
    background: rgba(184, 29, 17, 1);
}
.out-maroon,
.out-maroon img{
    background: rgba(123, 20, 12, 1);
}
.out-light,
.out-light img{
    background: rgba(245, 39, 23, 0.84);
}

.out-red,
.out-dark,
.out-maroon,
.out-light {
    position: relative;
}
.outse-img{
 height: 100%;
}
.icon-wrapper {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.out-headings {
    color: white;
    height: 100px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    margin-top: 10px;
}
.outserv-Icon {
    width: 55px;
    height: auto;
}
.outSec6{
    margin-bottom: 80px;
}

/* Media Queries */
@media (max-width:1200px) {
    .outserv-Icon {
        width: 55px;
        height: auto;
    }
    .out-content h1 {
        font-size: 30px;
    }
}
@media (max-width:1024px) {
    .out-headings {
        height: 110px;
        font-size: 12px;
    }
    .outserv-Icon {
        width: 55px;
        height: auto;
    }
    /* sec-4 */
    .outfeature-card {
        max-width: 175px;
    }
    .outheading {
        font-size: 15px;
    }
    .subhead {
        font-size: 12px;
    }
    /* sec-5 */
    .serv-Outbox{
        padding: 17px;
    }
    .bxl {
        margin-top: 3px;
    }
    .bx{
        margin-top: 0;
        padding-top: 25px;
    }
    .bx1{
        margin-top: 0;
        padding-top: 0px;
    }
    /* sec-6 */
    .services-outsource h1 {
        font-size: 35px;
    }
}

@media (max-width:920px) {
    .bx1, .bx2, .bxl{
        width:100%;
    }
    .bx1{
        margin-top: 25px;
    }
}
@media (max-width:768px) {
    .out-headings {
        height: 120px;
        font-size: 12px;
    }
    .sec2-card{
        max-width: 110px;
    }
    .mg{
        margin-top: 15px;
        width: 30%;
    }
    .mgn{
        margin-top: 15px;
        width: 22%;
    }
    .mgr{
        margin-top: 15px;
        width: 30%;
    }
    .sec3-card{
        max-width: 107px;
    }
    .outheading {
        font-size: 13px;
    }
    /* sec-5 */
    .serv-Outbox img {
        padding: 5px;
        border-radius: 7px;
    }
    .servIcon {
        width: 30px;
        height: auto;
    }
    .serv-Outbox p {
        font-size: 11px;
    }
    .outg-row{
        display: flex;
        justify-content: center;
        /* height: 150px; */
    }
    .bx1, .bx2, .bxl{
        width:50%;
    }
    .outserv-Icon {
        width: 40px;
        height: auto;
    }
    .four-boxes{
        width: 100%;
    }
    .outserv-Icon {
        width: 55px;
        height: auto;
    }
    .hero-height{
      height: 70vh;
}
}
@media (max-width:576px) {
    .hero-height{
        height: 70vh;
    }
}
@media (max-width:450px) {
    .outcont h1 {
        font-size: 20px;
    }
    .sec2-card, .sec3-card {
        max-width: 55px;
    }
    .out-head {
        font-size: 23px;
    }
    .out-headings {
        height: 30px;
        font-size: 6px;
    }
    .outserv-Icon {
        width: 25px;
        height: auto;
    }
    .out-red img, .out-dark img, .out-maroon img, .out-light img {
        
        padding: 6px;
    }
    .icon-wrapper {
        top: -15px;
        width: 25px;
        height: 25px;
        padding: 14px;
    }

    .mgn {
        margin-top: 0px;
        width: 20%;
    }
    .outheading {
        font-size: 7px;
        margin-top: 5px;
    }
    .card-out {
        width: 58px;
        height: 150px;
    }
    .outcard-out {
        width: 58px;
        height: 85px;
    }
    .subhead {
        font-size: 6px;
    }
    .outcard-feature {
        flex-wrap: wrap;
        gap: 14px;
        padding: 0px 25px;
    }
    .mgr {
        margin-top: 0px;
        width: 25%;
    }
    .out-sec-5 .foc {
        margin: 40px 30px;
    }
    .services-outsource h1 {
        font-size: 20px;
    }
    .out-audit {
        font-size: 12px;
    }
    .servOuts-img {
        width: 80%;
        height: 80%;
    }
    .exp-acc{
        display: flex;
        justify-content: center;
    }
    .mg {
        width: 28%;
    }
    .bx1{
        margin-top: 10px;
    }
    .bx{
        padding-top: 0;
        margin-top: 10px;
    }
    .bx2{
        margin-top: 10px;
        padding-top: 0;
    }
    .hero-height {
        height: 70vh;
      }
}
@media (max-width:375px) {
    .hero-height{
        height: 70vh;
    }
    /* .hero-section-serOutsourcing{
        height: 70vh;
    } */
}
