.home-team { padding: 75px 0 10px; background: #f8f6f2; }
.home-team__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 52px; }
.home-team__heading span { color: #ee212b; font-size: 1.5rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.main-team__heading span {
    color: #ee212b;
    font-size: 2rem !important;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.home-team__heading h2 { max-width: 760px; margin: 9px 0 0; color: #082c4b; font-size: clamp(2.15rem, 4vw, 3.55rem); line-height: 1.1; }
.home-team__heading > a { flex: 0 0 auto; color: #082c4b; font-weight: 800; }
.home-team__heading > a:hover { color: #ee212b; }
.home-team__heading > a i { margin-left: 8px; }
.home-team__carousel-shell { width: 100%; padding: 0 24px; }
.home-team__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.home-team__grid.owl-loaded { display: block; }
.home-team__grid .owl-stage { will-change: transform; }
.home-team__grid .owl-stage-outer { padding-top: 8px; padding-bottom: 28px; touch-action: pan-y pinch-zoom; }
.home-team__grid .owl-item .team-profile { width: 100%; min-height: 100%; }
.home-team__grid.owl-drag .owl-stage-outer { cursor: grab; }
.home-team__grid.owl-grab .owl-stage-outer { cursor: grabbing; }
.home-team__grid.owl-grab .team-profile { border-color: transparent; box-shadow: 0 12px 35px rgba(10,38,61,.08); }
.home-team__grid.owl-grab .team-profile__image img { transform: scale(1); filter: none; }
.home-team__grid.owl-grab .team-profile__image::after { opacity: 0; }
.home-team__grid .owl-nav { margin-top: 30px; }
.home-team__grid .owl-dots { margin-top: 24px; text-align: center; }
.home-team__grid .owl-dot span { display: block; width: 8px; height: 8px; margin: 0 5px; border-radius: 50%; background: #b8c1c8; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.home-team__grid .owl-dot.active span { width: 26px; border-radius: 5px; background: #ee212b; }

.team-profile { box-sizing: border-box; overflow: hidden; border: 1px solid transparent; border-radius: 5px; background: #fff; box-shadow: 0 12px 35px rgba(10,38,61,.08); transition: border-color .35s ease, box-shadow .35s ease; }
.team-profile:hover { border-color: rgba(238,33,43,.22); box-shadow: 0 16px 40px rgba(10,38,61,.13); }
.team-profile__image { position: relative; height: 255px; overflow: hidden; background: #dce3e8; }
.team-profile__image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(4,28,49,.74), rgba(8,44,75,.08) 62%); opacity: .15; transition: opacity 1.05s ease; }
.team-profile__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s cubic-bezier(.2,.75,.25,1), filter .9s ease; will-change: transform; }
.team-profile:hover .team-profile__image img { transform: scale(1.08); filter: saturate(1.06) contrast(1.02); }
.team-profile:hover .team-profile__image::after { opacity: .48; }
.team-profile__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, #dce3e8, #b9c6cf); color: #fff; font-size: 4.5rem; }
.team-profile__content { padding: 22px 20px 21px; }
.team-profile h3 { margin: 0 0 7px; color: #082c4b; font-size: 1.15rem; line-height: 1.35; }
.team-profile__content > p { min-height: 2.8em; margin: 0; color: #68757e; line-height: 1.45; }
.team-profile__actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 21px; padding-top: 18px; border-top: 1px solid #e5e9ec; }
.team-profile__actions a { color: #082c4b; font-size: 1.2rem; font-weight: 700; }
.team-profile__actions a:hover { color: #ee212b; }
.team-profile__actions a:first-child i { margin-right: 7px; }
.team-profile__actions a:last-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #082c4b; color: #fff; }
.team-profile__actions a:last-child:hover { background: #ee212b; }

@media (max-width: 991px) {
    .home-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-profile__image { height: 315px; }
}

@media (max-width: 575px) {
    .home-team { padding: 70px 0 78px; }
    .home-team__heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 38px; }
    .home-team__grid { grid-template-columns: 1fr; }
    .home-team__carousel-shell { padding: 0 15px; }
    .team-profile__image { height: 360px; }
}
