/* Section 4 Styles */
.section-4-no-padding {
    background-color: aquamarine;
}
.section-4-intro {
    padding: 60px 20px;
    background-image: url('../../image/imgi_29_607503e3fc699ba33d333285_Travel003.jpg');
    background-color: rgba(1, 1, 2, 0.4); /* Using --black with opacity */
    background-size: cover;
    background-position:50%;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 418px;
}
.section-4-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 2, 0.55); /* Using --black with opacity */
    z-index: 1;
}
.section-4-promise-intro {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding-top: 70px;
}
.section-4-subtitle-1{
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: rgb(250, 251, 251);
    margin-bottom: 20px;
  }
  
  .section-4-subtitle-2 {
    font-size: 50px;
    font-weight: 700;
    color: #f5f5f8;
    margin-bottom: 20px;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 100px;
    padding-right: 100px;
  }
  
  .section-4-subtitle-3 {
    font-size: 20px;
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    margin-bottom: 80px;
    padding-left: 140px;
    padding-right: 140px;
  }


.section-4-grid-wrapper {
    top: 470px;
    width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 110;
    margin-bottom: 100px;
}

.section-4-grey-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.section-4-subtitle-intro-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}


.section-4-team-box {
    height: 480px;
    width: 1320px;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 20px 40px 20px;
    border-radius: 20px;
}

.section-4-team-card {
    height: 453px;
    width: 329px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-4-team-card:hover {
    transform: scale(1.05);

}

.section-4-team-image {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.section-4-hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}

/* Placeholder background images */
.section-4-hero-background-image.team-1 {
    background-image: url('../../image/607dd2aa459b2b6f7fc0100d_Portrait011.jpeg');
}
.section-4-hero-background-image.team-2 {
    background-image: url('../../image/607dd2c8b05ec3b67689516f_Portrait019.jpeg');
}
.section-4-hero-background-image.team-3 {
    background-image: url('../../image/607dd2e5e99d455515f2034c_Portrait015.jpeg');
}
.section-4-hero-background-image.team-4 {
    background-image: url('../../image/607dd2fe2fd765fe6078acca_Portrait016.jpeg');
}

.section-4-team-member-info {
    text-align: left;
    margin-left: 40px;
    margin-bottom: 20px;
    color: rgb(8, 28, 58);
}

.section-4-team-name {
    font-size: 22px;
    display: flex;
    flex-direction: column;
    color: rgb(8, 28, 58);
    line-height: 22px;
}

.section-4-team-location {
    font-size: 14px;
    color: rgb(81, 99, 129);
}
