/* 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;
}

/* Section 1 */
#ip-about-sec1 {
    padding: 80px 0;
}

#ip-about-sec1 .ip-about-col {
    width: 50%;
}

#ip-about-sec1 .content .ip-about-col-inner {
    max-width: 436px;
    width: 100%;
}

.img-gallery {
    display: flex;
    gap: 10px;
    max-width: 622px;
    margin: 0 0 0 auto;
    height: 463px; /* overall gallery height on desktop */
}

  /* Left large image — spans full height */
.img-gallery .img-gallery-left {
    flex: 1 1 55%;
    height: 100%;
}

  /* Right column — two stacked images */
.img-gallery .img-gallery-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.img-gallery .img-gallery-right .img-gallery-top {
    flex: 1 1 45%; /* smaller top image */
}

.img-gallery .img-gallery-right .img-gallery-bot {
    flex: 1 1 55%; /* larger bottom image */
}

.img-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ip-about-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: 100px 0 0;
}

.ip-about-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-about-sec2 {
    padding: 20px 0 100px;
}

#ip-about-sec2 .ip-about-col {
    width: 50%;
}

#ip-about-sec2 .img .img-wrapper {
    max-width: 600px;
    width: 100%;
}

#ip-about-sec2 .content {
    padding: 0 0 0 17px;
}

#ip-about-sec2 .content .ip-about-col-inner {
    max-width: 622px;
    width: 100%;
}

.ip-about-quote {
    background: #fff;
    max-width: 575px;
    width: 100%;
    min-height: 110px;
    box-shadow: 3px 3px 26px rgba(0,0,0,0.12);
    border-left: 2px solid var(--primary);
    padding: 15px;
    display: flex;
    margin: 70px 0 0;
    transition: var(--default-transition);
}

.ip-about-quote p {
    margin: auto;
    font-size: clamp(16px,0.99vw,19px);
    font-weight: 300;
    color: var(--secondary);
    max-width: 483px;
    width: 100%;
    line-height: 1.5;
    transition: var(--default-transition);
}


/* Section 3 */
#ip-about-sec3 {
    background: var(--secondary);
    padding: 71px 0;
}

.ip-about-stats-inner {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding: 0 0 0 20px;
    transition: var(--default-transition);
}

.ip-about-stats-item {
    width: calc(100% / 3);
}

.ip-about-stats-item span {
    display: block;
    font-size: clamp(35px,2.6vw,50px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin: 0 0 10px;
}

.ip-about-stats-item em {
    font-style: normal;
    font-size: clamp(14px,0.83vw,16px);
    font-weight: 300;
    line-height: 1;
    display: block;
    color: #fff;
    text-transform: uppercase;
}

/* Section 4 */
#ip-about-sec4 {
    padding: 120px 0 100px;
    background: var(--accent2);
}

.ip-about-top-right {
    padding: clamp(30px,2.76vw,53px) 0 0;
}

.ip-about-gallery-row {
    display: flex;
    gap: 20px;
    margin: 0 0 20px;
    overflow: hidden;
}

.ip-about-gallery-col.right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ip-about-gallery img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.row1 .left {
    width: 46.875%;
}

.row1 .right {
    width: 51.5625%;
}

.row1 .right .bot img {
    width: 69.0909%;
}

.row2 .left {
    width: 33.59375%;
}

.row2 .right {
    width: 48.90625%;
}

.row2 .right .top img {
    width: 62.7795%;
}

.row3 {
    width: 46.875%;
}


.ip-about-gallery {
    margin: 40px 0 0;
}

/* Section 5 */
#ip-about-sec5 {
    padding: 125px 0 95px;
}

#ip-about-sec5 .ip-about-col {
    width: 50%;
}

#ip-about-sec5 .ip-about-col.img {
    padding: 0 0 0 15px;
}

#ip-about-sec5 .img-wrapper {
    max-width: 579px;
    width: 100%;
    margin: 0 0 0 auto;
}

#ip-about-sec5 .content .ip-about-col-inner {
    max-width: 623px;
    width: 100%;
}

#ip-about-sec5 .content .ip-about-txt {
    max-width: 525px;
    width: 100%;
}

.ip-about-boxes ul {
    margin: 50px 0 0;
    padding: 0;
    list-style: none;
    gap: 6px;
    max-width: 457px;
    width: 100%;
}

.ip-about-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-about-boxes ul li:first-of-type {
    background: var(--secondary);
    color: #fff;
}

/* Hovers */
.img-gallery * {
    overflow: hidden;
    transition: var(--default-transition);
}

.img-gallery > div:hover img {
    transform: scale(1.1);
}

.ip-about-quote:hover {
    background: var(--primary);
    color: #fff;
}

.ip-about-quote:hover p {
    color: #fff;
}

.ip-about-stats-inner:hover {
    border-color: var(--primary);
}

.ip-about-gallery-row * {
    transition: var(--default-transition);
    overflow: hidden;
}

.ip-about-gallery-row img:hover {
    transform: scale(1.1);
}

.ip-about-boxes ul li:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

@media only screen and (max-width: 1024px) {
    #ip-about-sec1 .ip-about-col, 
    #ip-about-sec2 .ip-about-col,
    #ip-about-sec5 .ip-about-col {
        width: 100%;
    }

    #ip-about-sec1 .ip-about-main,
    #ip-about-sec5 .ip-about-main {
        flex-direction: column-reverse;
    }

    .img-gallery {
        margin: 0 0 50px;
    }

    #ip-about-sec1 {
        padding: 0 0 50px;
    }

    .ip-about-subtxt {
        margin: 50px 0 0;
    }

    .ip-about-subtxt ul {
        flex-direction: column;
    }

    .ip-about-subtxt ul li {
        padding: 4px 0;
    }

    #ip-about-sec2 .content {
        padding: 50px 0 0;
    }

    #ip-about-sec1 .content .ip-about-col-inner,
    #ip-about-sec2 .content .ip-about-col-inner,
    #ip-about-sec5 .content .ip-about-col-inner,
    #ip-about-sec5 .content .ip-about-txt,
    .ip-about-boxes ul {
        max-width: 100%;
    }

    #ip-about-sec3 .ip-about-main {
        flex-direction: column;
    }

    .ip-about-stats-item {
        width: 100%;
    }

    .ip-about-top {
        flex-direction: column;
        align-items: flex-start;
    }

    #ip-about-sec5 .img-wrapper {
        margin: 0;
    }

    #ip-about-sec5 .ip-about-col.img {
        padding: 0 0 50px;
    }

    #ip-about-sec2 {
        padding-bottom: 50px;
    }

    #ip-about-sec3 {
        padding: 50px 0;
    }

    #ip-about-sec4,
    #ip-about-sec5 {
        padding: 50px 0;
    }
}

@media only screen and (max-width: 768px) { 
    .img-gallery {
        height: 300px;
    }

    .ip-about-gallery-col,
    .ip-about-gallery img,
    .row3 {
        width: 100% !important;
    }

    .ip-about-gallery-row {
        flex-wrap: wrap;
    }

    
}
