/* Custom IP inner */
#inner-page-wrapper > .container {
    max-width: 100%;
    padding: 0;
}

.ip-global-container {
    max-width: 1310px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

#inner-page-wrapper {
    padding-bottom: 0;
}

/* Section 1 */
#ip-services-sec1 {
    min-height: clamp(400px,31.25vw,600px);
    background: var(--secondary);
    display: flex;
    align-items: flex-end;
    padding: 15px 0 30px;
}

#ip-services-sec1 .bg-c {
    opacity: 0.2;
}

#ip-services-sec1 .global-title-lg {
    color: #fff;
}

#ip-services-sec1 .ip-services-txt {
    color: #fff;
    max-width: 491px;
    width: 100%;
}

.ip-services-subtxt {
    border-top: 1px solid rgba(30, 30, 30, 0.2);
    border-bottom: 1px solid rgba(30, 30, 30, 0.2);
    padding: 29px 0;
    margin: 0 0 0;
}

.ip-services-subtxt ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    max-width: 1310px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
    font-size: clamp(14px,0.83vw,16px);
    font-weight: 300;
    color: var(--accent);
    text-transform: uppercase;
}

/* Section 2 */
#ip-services-sec2 {
    padding: 80px 0 72px;
}

#ip-services-sec2 .ip-services-top .ip-services-txt p {
    max-width: 501px;
    width: 100%;
    margin: 0 0 0 auto;
}

.ip-services-holder {
    border-top: 1px solid rgba(30, 30, 30, 0.2);
    margin: 80px 0 0;
}

.ip-services-item a {
    color: var(--secondary);
}

.ip-services-item-img,
.ip-services-item-content {
    width: 50%;
}

.ip-services-item-img {
    padding: 0 15px 0 0;
}

.ip-services-item-img .img-wrapper {
    max-width: 615px;
    width: 100%;
    overflow: hidden;
}

.ip-services-item-img .img-wrapper img {
    transition: var(--default-transition);
}

.ip-services-item-img .img-wrapper img:hover {
    transform: scale(1.1);
}

.ip-services-item-content {
    padding: 0 0 0 15px;
}

.ip-services-boxes ul {
    margin: 50px 0 0;
    padding: 0;
    list-style: none;
    gap: 6px;
}

.ip-services-boxes ul li {
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    border: 1px solid rgba(30, 30, 30, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 27px;
    width: max-content;
    transition: var(--default-transition);
}

.ip-services-boxes ul li:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.ip-services-item-content-inner {
    max-width: 611px;
    width: 100%;
    margin: 0 0 0 auto;
}

.ip-services-item {
    border-bottom: 1px solid rgba(30, 30, 30, 0.3);
    padding: 72px 0;
}

.ip-services-item:nth-child(even) {
    flex-direction: row-reverse;
}

.ip-services-item:nth-child(even) .ip-services-item-img .img-wrapper {
    margin: 0 0 0 auto;
}

.ip-services-item:nth-child(even) .ip-services-item-img {
    padding: 0 0 0 15px;
}

.ip-services-item:nth-child(even) .ip-services-item-content-inner {
    margin: 0;
}

.ip-services-item:nth-child(even) .ip-services-item-content {
    padding: 0 15px 0 0;
}

/* Section 3 */
#ip-services-sec3 {
    background: #F4F2EE;
    padding: 100px 0;
}

#ip-services-sec3 .global-title {
    max-width: 528px;
    width: 100%;
}

.ip-who-holder .who-cards-item h3 {
    text-transform: none;
    letter-spacing: 0;
}

.ip-who-holder .who-cards-item-inner {
    height: auto;
}

.ip-who-holder .who-cards-item {
    width: calc(100% / 4);
}

.ip-who-holder .who-cards-item:nth-child(n + 2) ~ div .who-cards-item-inner {
    border-top: 1px solid #D9D9D9;
    border-left: 0;
}

.ip-who-holder .who-cards-item:nth-child(even) .who-cards-item-inner {
    border-left: 0;
}

/* Section 4 */
#ip-services-sec4 {
    background: var(--secondary);
    padding: 55px 0;
}

#ip-services-sec4 .global-title-lg {
    color: #fff;
}

#ip-services-sec4 .ip-services-btn {
    max-width: 268px;
    width: 100%;
}

#ip-services-sec4 .ip-services-btn a {
    max-width: 100%;
    background: var(--primary);
    color: #fff;
}

#ip-services-sec4 .ip-services-btn a:hover {
    background: #fff;
    color: var(--secondary);
}


@media only screen and (max-width: 1024px) { 
    #inner-page-wrapper {
        padding-top: 80px;
    }

    #ip-services-sec1 {
        padding: 30px 0;
    }

    .ip-services-subtxt ul {
        flex-direction: column;
    }

    .ip-services-subtxt ul li {
        padding: 4px 0;
    }

    #ip-services-sec2 .ip-services-title {
        width: 100%;
    }

    #ip-services-sec2 .ip-services-top .ip-services-txt p {
        max-width: 100%;
    }

    .ip-services-item-img, .ip-services-item-content {
        width: 100%;
    }

    .ip-services-item-img {
        padding: 0 0 50px !important;
    }

    .ip-services-item-img .img-wrapper {
        margin: 0 !important;
    }

    .ip-services-item-content {
        padding: 0 !important;
    }

    .ip-services-item-content-inner {
        max-width: 100% !important;
    }

    .ip-services-item:nth-child(even) {
        flex-direction: column;
    }

    .ip-who-holder .who-cards-item {
        width: 100%;
    }

    #ip-services-sec4 .ip-services-main {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}
