/* custom css page */
.d-flex {
    display: flex;
    align-items: stretch;
}

.flex-item {
    display: flex;
    flex-direction: column;
}

.btn-apply {
    background-color: #ed7353;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    border-radius: 30px;
    display: inline-block;
    padding: 15px 20px;
    cursor: pointer;
}

input[type="checkbox"] {
    display: none;
    }
  
  #button-lag {
    position: relative;
    display: block;
    width: 160px;
    height: 60px;
    background-color: #0d1366;
    border-radius: 30px;
    cursor: pointer;
    margin: auto;
    transition: background-color 0.3s ease;
  }
  
  #knob {
    width: 50px;
    height: 50px;
    background-color: #fff;
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 50%;
    transition: 0.4s ease left, 0.4s ease background-color;
    background-image: url(images/flag/eng.jpg);
    background-size: cover;
    background-position: center;;
  }
  
  #language-text {
    position: absolute;
    top: 50%;
    left: 70px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.4s ease, left 0.4s ease;;
  }
  
  #language-toggle:checked + #button-lag {
    background-color: #97bf96;
  }
  
  #language-toggle:checked + #button-lag #knob {
    left: 95px;
    background-color: #ffffff;
    background-image: url(images/flag/pak.jpg);
  }
  
  #language-toggle:checked + #button-lag #language-text {
    color: #ffffff;
    left: 20px;
    transition: left 0.4s ease;
  }

.service-icon{
    margin-bottom: 10px;
}

.service-icon img{
    height: 45px;
    width: auto;
}

.white-box {
    flex-grow: 1;
    background-color: #FFF;
    border-radius: 12px;
    padding: 15px 20px;
    margin: 5px;
}

.white-box-2 {
    flex-grow: 1;
    background-color: #FFF;
    border-radius: 12px;
    padding: 25px 20px;
    margin: 5px;
    height: 230px;
}

.color-primary {
    color: #ed7353;
}

.service-text {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.service-c1{
    width: 45%;
}

.service-c2{
    width: 25%;
}

.service-c3{
    width: 30%;
}

.purpose-icon img{
    width: 70px !important;
    max-height: 70px;}

.purpose h4{
    color: #ed7353;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.3;
}

.purpose p{
    color: #464646;
    font-size: 16px;
    line-height: 1.2;
}

.service-ban{
    position: relative;
    border-radius: 12px;
    padding: 25px 30px;
    background-image: url(images/bg_main.jpg);
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}

.service-ban::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    border-radius: 12px;
    z-index: 0;
}

.service-ban > * {
    position: relative;
    z-index: 1;
}

.service-ban h3{
    line-height: 1;
}

.btn-primary{
    background-color: #ed7353;
    padding: 20px 35px;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    border: none;
}

.adv-box-org{
    background-color: #ff6a49;
    padding: 30px 30px;
    border-radius: 12px;
}

.adv-box-white{
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 12px;
}

.color-sec{
    color: #fbb39e;
}

.color-grey{
    color: #b8b8b8;
}

.calc-row {
    font-size: 16px;
    border-color: #ddd;
  }

@media (max-width:767px){
    .service-c1{
        width: 100%;
    }
    
    .service-c2{
        width: 100%;
        display: flex;
    }

    .service-c2 .white-box{
        width: 50%;
    }

    .service-c3{
        width: 100%;
    }

    .white-box-2 {
        height: auto;
    }

    .btn-primary{
        margin-top:10px;
    }
    
    .adv-box-white{
        margin-top: 20px;
    }

}