/* hero section image */
.rounded-top-image,
.rounded-bottom-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
    
    width: 140px;
    height: 200px;
    left: 80px;
    top: 180px;
}

.rounded-top-image img,
.rounded-bottom-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rounded-top-image {
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
}
.rounded-top-image img {
    border-bottom-left-radius: 8%;
    border-bottom-right-radius: 8%;
}

.rounded-bottom-image {
    border-bottom-left-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    width: 400px;
    height: 450px;
    left: 35px;
    top: 0;
}
.rounded-bottom-image img {
    border-top-left-radius: 4%;
    border-top-right-radius: 4%;
}

@media (min-width: 1200px) and (max-width: 1299.98px) {
    .rounded-top-image {
        width: 130px;
        height: 190px;
        left: 80px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 400px;
        height: 400px;
        left: 40px;
        top: 0;
    }
}

@media (min-width: 1300px) and (max-width: 1399.98px) {
    .rounded-top-image {
        width: 135px;
        height: 195px;
        left: 85px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 420px;
        height: 420px;
        left: 45px;
        top: 0;
    }
}

@media (min-width: 1400px) and (max-width: 1499.98px) {
    .rounded-top-image {
        width: 140px;
        height: 200px;
        left: 90px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 430px;
        height: 430px;
        left: 20px;
        top: 0;
    }
}

@media (min-width: 1500px) and (max-width: 1599.98px) {
    .rounded-top-image {
        width: 145px;
        height: 210px;
        left: 120px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 440px;
        height: 440px;
        left: 55px;
        top: 0;
    }
}

@media (min-width: 1600px) and (max-width: 1699.98px) {
    .rounded-top-image {
        width: 150px;
        height: 220px;
        left: 120px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 460px;
        height: 460px;
        left: 60px;
        top: 0;
    }
}

@media (min-width: 1700px) and (max-width: 1799.98px) {
    .rounded-top-image {
        width: 160px;
        height: 230px;
        left: 105px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 470px;
        height: 470px;
        left: 65px;
        top: 0;
    }
}

@media (min-width: 1800px) and (max-width: 1919.98px) {
    .rounded-top-image {
        width: 170px;
        height: 240px;
        left: 110px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 480px;
        height: 480px;
        left: 70px;
        top: 0;
    }
}

@media (min-width: 1920px) {
    .rounded-top-image {
        width: 180px;
        height: 250px;
        left: 120px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 500px;
        height: 500px;
        left: 80px;
        top: 0;
    }
}


/* Larger screens (Desktops) */
@media (max-width: 1200px) {
    .rounded-top-image {
        width: 120px;
        height: 200px;
        left: 76px;
        top: 180px;
    }

    .rounded-bottom-image {
        width: 360px;
        height: 370px;
        left: 35px;
        top: 0;
    }
}

/* Tablets (Medium screens) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .rounded-top-image {
        width: 100px;
        height: 160px;
        left: 40px;
        top: 160px;
        left: 90px;
    }

    .rounded-bottom-image {
        width: 350px;
        height: 350px;
        left: -75px;
        top: 0;
    }
}
@media (min-width: 525px) and (max-width: 767px) {
    .rounded-top-image {
        width: 90px;
        height: 150px;
        top: 160px;
        left: 50px;
    }

    .rounded-bottom-image {
        width: 330px;
        height: 330px;
        left: -50px;
        top: 0;
    }
}
@media (min-width: 480px) and (max-width: 524px) {
    .rounded-top-image {
        width: 85px;
        height: 145px;
        top: 130px;
        left: 55px;
    }

    .rounded-bottom-image {
        width: 250px;
        height: 250px;
        left: -50px;
        top: 0;
    }
}
@media (min-width: 401px) and (max-width: 479px) {
    .rounded-top-image {
        width: 75px;
        height: 135px;
        top: 130px;
        left: 50px;
    }

    .rounded-bottom-image {
        width: 230px;
        height: 230px;
        left: -30px;
        top: 0;
    }
}
@media (min-width: 344px) and (max-width: 400px) {
    .rounded-top-image {
        width: 70px;
        height: 120px;
        top: 130px;
        left: 35px;
    }

    .rounded-bottom-image {
        width: 230px;
        height: 230px;
        left: -30px;
        top: 0;
    }
}


/* life-beyond-work section  */
.life-card1 {
    width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 0 12px 12px 0;
}
.life-card2 {
    width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 0 12px 12px 0;
}
.beyond1 {
    position: absolute;
    top: 65%;
    left: -16%;
    width: 76%;
    padding: 2%;
    border: 1px solid rgb(219, 216, 216);
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.beyond2 {
    position: relative;
    top: -20%;
    left: 17%;
    width: 90%;
    padding: 2%;
    border: 1px solid rgb(219, 216, 216);
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

@media (max-width: 1185px) {
    .life-beyond-section {
        flex-direction: column;
        padding: 2rem 1.5rem !important;
        gap: 7rem !important;
    }
}

@media (max-width: 700px) {
    .beyond1 {
        position: absolute;
        top: 65%;
        left: 1%;
        width: 65%;
    }
    .beyond2 {
        position: relative;
        top: -20%;
        left: 18%;
        width: 82%;
    }
}

/* gallery-container */
.gallery-container {
    column-count: 6;
    column-gap: 1rem;
    margin: 20px;
}

.gallery-container img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.gallery-container img:hover {
    transform: scale(1.03);
}

@media (max-width: 1200px) {
    .gallery-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        column-count: 1;
    }
}

.team {
    color: #F7931E;
    font-size: 30px;
    font-weight: 700;
}

.vibes {
    color: #00B0F0;
    font-size: 30px;
    font-weight: 700;
}

/* cards-section */
.custom-life-card {
    border-radius: 15px;
    border: none;
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.custom-life-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00a3e1, #ccefff);
    transform: rotate(45deg);
    border-radius: 15px;
    z-index: 0;
    opacity: 0.08;
}

.custom-life-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.custom-life-card h4,
.custom-life-card p {
    position: relative;
    z-index: 1;
}
.custom-life-card {
    border-radius: 15px;
  border: none;
  position: relative;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.custom-life-card.blue-shade::before {
    background: linear-gradient(135deg, #00a3e1, #ccefff);
}

.custom-life-card.orange-shade::before {
    background: linear-gradient(135deg, #f7941d, #ffe7cc);
}

.gallery-collage {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.gallery-collage img {
  flex-shrink: 0;
  margin-right: 10px;
}

.scroll {
  display: flex;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* life beyond work image */
.image-diagram {
    position: relative;
    width: 400px;
    height: 500px;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
}
.circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-weight: bold;
}
.main-img {
    top: 18px;
    right: 1px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f39c12;
}
.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.circle1 {
    background: #16bde3;
    width: 190px;
    height: 190px;
    top: 79px;
    left: 15px;
    flex-direction: column;
    font-size: 14px;
}
.circle2 {
    background: #f39c12;
    width: 147px;
    height: 147px;
    bottom: 129px;
    left: 9px;
    font-size: 28px;
    flex-direction: column;
    z-index: 10;
}

.circle3 {
    background: #a4e6f5;
    width: 104px;
    height: 104px;
    bottom: 168px;
    left: 129px;
    font-size: 12px;
    z-index: 10;
}

.circle4 {
    background: #38d1f3;
    width: 100px;
    height: 100px;
    bottom: 131px;
    right: 27px;
    font-size: 16px;
}
.circle5 {
    background: #16bde3;
    width: 143px;
    height: 143px;
    bottom: 40px;
    left: 106px;
    font-size: 12px;
    flex-direction: column;
    border-radius: 50%;
}
.circle6 {
    background: #f3d8ac;
    width: 80px;
    height: 80px;
    bottom: 43px;
    right: 62px;
    font-size: 20px;
}
@media (min-width: 385px) and (max-width: 399px) {
    .image-diagram {
        position: relative;
        width: 371px;
        height: 514px;
        background: transparent;
        border-radius: 10px;
        overflow: hidden;
        padding: 20px;
    }
    .circle1 {
        top: 84px;
        left: 1px;
    }
}
@media (min-width: 344px) and (max-width: 384px) {
    .image-diagram {
        position: relative;
        width: 340px;
        height: 514px;
        background: transparent;
        border-radius: 10px;
        overflow: hidden;
        padding: 20px;
    }
    .main-img {       
        width: 250px;
        height: 250px;
    }
    .circle1 {
        top: 84px;
        left: 1px;
        width: 160px;
        height: 160px;
    }
    .circle2 {
        width: 110px;
        height: 110px;
        bottom: 184px;
        left: 9px;
    }
    .circle3 {
        width: 85px;
        height: 85px;
        bottom: 214px;
        left: 103px;
    }
    .circle4 {
        width: 90px;
        height: 90px;
        bottom: 194px;
        right: 24px;
    }
    .circle5 {
        width: 115px;
        height: 115px;
        bottom: 126px;
        left: 93px;
    }
    .circle6 {
        width: 65px;
        height: 65px;
        bottom: 110px;
        right: 54px;
    } 
}

@media(max-width: 1185px) {
    .life-beyond-section {
        gap: 0px !important;
    }
    .life-beyond-work {
        text-align: center !important;
    }
}