.case .swiper-pagination-bullet{
    background-color: white;
    height: 2px;
    width: 10px;
    border-radius:0px;
}

@media only screen and (min-width:2560px) {
  .case  .swiper-pagination-bullet{
        background-color: white;
        height: 4px;
        width: 20px;
        border-radius:0px;
    }
}

.aside::-webkit-scrollbar{
    display: none;
}

.swiper-button-disabled{
    opacity:0.3
}

.cards .swiper-pagination-bullet{
    background-color: black;
    height: 2px;
    width: 10px;
    border-radius:0px;
}

.swiper-slide-thumb-active  img{
    border: 2px solid #e94546;
  
  

}

.gallery-section .gallery-index{
    color: #fff;

}

.mobile-active{
    color: #696969;
}

.web-active{
    color: #D8D8D8;
}

::-webkit-scrollbar{
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

/* Our Team section - homepage teaser cards */
.team-teaser-card{
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.25rem;
    aspect-ratio: 3 / 4;
    background: #151717;
    box-shadow: 0 14px 34px -26px rgba(21, 23, 23, 0.35);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-teaser-card:hover,
.team-teaser-card:focus-visible{
    transform: translateY(-8px);
    box-shadow: 0 34px 64px -26px rgba(6, 116, 183, 0.45);
}

.team-teaser-card img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-teaser-card:hover img,
.team-teaser-card:focus-visible img{
    transform: scale(1.08);
}

.team-teaser-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0) 68%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.team-teaser-card::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.team-teaser-card:hover::after,
.team-teaser-card:focus-visible::after{
    opacity: 1;
    border-color: rgba(214, 179, 106, 0.55);
}

.team-teaser-info{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem;
}

.team-teaser-role{
    display: inline-flex;
    align-items: center;
    color: #D6B36A;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.9;
}

.team-teaser-name{
    color: #fff;
    margin-top: 0.4rem;
}

.team-teaser-line{
    height: 2px;
    width: 2rem;
    margin-top: 0.85rem;
    background: #D6B36A;
    transform: scaleX(1);
    transform-origin: left;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-teaser-card:hover .team-teaser-line,
.team-teaser-card:focus-visible .team-teaser-line{
    width: 3.5rem;
}

.team-teaser-arrow{
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translate(-6px, 6px) rotate(-45deg);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.team-teaser-card:hover .team-teaser-arrow,
.team-teaser-card:focus-visible .team-teaser-arrow{
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
    background: #D6B36A;
}

.team-teaser-arrow svg path{
    transition: fill 0.4s ease;
}

.team-teaser-card:hover .team-teaser-arrow svg path,
.team-teaser-card:focus-visible .team-teaser-arrow svg path{
    fill: #151717;
}

@media (prefers-reduced-motion: reduce){
    .team-teaser-card,
    .team-teaser-card img,
    .team-teaser-line,
    .team-teaser-arrow{
        transition: none;
    }
}

/* Our Team - dedicated page profile cards */
.reveal-up{
    opacity: 0;
    transform: translateY(28px);
}

.reveal-card{
    opacity: 0;
    transform: translateY(90px) scale(0.94);
}

.team-hero-wrap{
    position: relative;
    overflow: hidden;
}

.team-hero-blob{
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: team-blob-float 18s ease-in-out infinite;
}

.team-hero-blob.blob-a{
    width: 30rem;
    height: 30rem;
    background: #0674B7;
    top: -12rem;
    left: -10rem;
}

.team-hero-blob.blob-b{
    width: 24rem;
    height: 24rem;
    background: #EC452E;
    top: -4rem;
    right: -10rem;
    animation-delay: -7s;
}

.team-hero-blob.blob-c{
    width: 20rem;
    height: 20rem;
    background: #D6B36A;
    bottom: -12rem;
    left: 30%;
    animation-delay: -12s;
}

@keyframes team-blob-float{
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3rem, 2.5rem) scale(1.1); }
    66% { transform: translate(-2rem, 1.5rem) scale(0.92); }
}

.team-eyebrow{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.team-eyebrow::before{
    content: "";
    width: 28px;
    height: 1px;
    background: #0674B7;
}

.team-title-split .word{
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.05em;
}

.team-title-split .word > .char{
    display: inline-block;
}

/* Cards - centered "floating avatar" bubble layout, each person carries its
   own accent hue (--team-accent) instead of one flat brand color, so the
   role-color coding reads intentional rather than arbitrary. */
.team-grid{
    perspective: 1500px;
    align-items: stretch;
}

@property --team-angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.team-grid .team-profile-card:nth-child(1){
    --team-accent: #0674B7;
    --team-accent-soft: rgba(6, 116, 183, 0.12);
    --team-accent-strong: rgba(6, 116, 183, 0.3);
    --team-ring: #0674B7;
}

.team-grid .team-profile-card:nth-child(2){
    --team-accent: #49449C;
    --team-accent-soft: rgba(73, 68, 156, 0.14);
    --team-accent-strong: rgba(73, 68, 156, 0.32);
    --team-ring: #49449C;
}

.team-grid .team-profile-card:nth-child(3){
    --team-accent: #EC452E;
    --team-accent-soft: rgba(236, 69, 46, 0.12);
    --team-accent-strong: rgba(236, 69, 46, 0.3);
    --team-ring: #EC452E;
}

.team-profile-card{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    background: linear-gradient(165deg, #FFFFFF 0%, #FFFCF7 55%, #FBF2E3 100%);
    border-radius: 1.75rem;
    padding: 0 1.75rem 1.4rem;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 40px -28px rgba(21, 23, 23, 0.35);
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    --team-spot-x: 50%;
    --team-spot-y: 50%;
    --team-rx: 0deg;
    --team-ry: 0deg;
    transform: translateY(0) scale(1) rotateX(var(--team-rx)) rotateY(var(--team-ry));
}

.team-profile-card:hover,
.team-profile-card.is-open,
.team-profile-card:focus-visible{
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 44px 74px -30px var(--team-accent-strong);
    transform: translateY(-10px) scale(1.02) rotateX(var(--team-rx)) rotateY(var(--team-ry));
}

/* The entrance "rise" animation lives on this inner wrapper rather than
   .team-profile-card itself. Both the card's hover lift (above) and this
   wrapper's scroll-triggered rise animate `transform` - if they shared one
   element, the card's CSS `transition` would fight the JS-driven WAAPI
   animation once it naturally finished (a delay/duration jump, or the
   animation's effect being released) and cause a visible snap-back-then-
   recover flicker. Keeping them on separate elements avoids that entirely. */
.team-profile-rise{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    height: 100%;
}

/* soft glow that follows the cursor */
.team-profile-card::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(360px circle at var(--team-spot-x) var(--team-spot-y), var(--team-accent-soft), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.team-profile-card:hover::before,
.team-profile-card.is-open::before{
    opacity: 1;
}

/* rotating gradient border sweep */
.team-profile-card::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--team-angle), var(--team-accent), #67BEFF, #D6B36A, #EC452E, var(--team-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.team-profile-card:not(:hover):not(.is-open)::after{
    border: 1px solid #E7E3DD;
    background: none;
    -webkit-mask: none;
    mask: none;
    opacity: 1;
    padding: 0;
}

.team-profile-card:hover::after,
.team-profile-card.is-open::after,
.team-profile-card:focus-visible::after{
    opacity: 1;
    animation: team-border-spin 3.5s linear infinite;
}

@keyframes team-border-spin{
    to { --team-angle: 360deg; }
}

/* The avatar sits half above the card's top edge - `transform` (not margin)
   does the lift so it doesn't reflow the name/role/etc. that follow it. */
.team-profile-avatar{
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    flex: none;
    margin-bottom: 0.3rem;
    border-radius: 9999px;
    overflow: hidden;
    transform: translateY(-42px);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--team-ring, var(--team-accent)), 0 14px 26px -14px rgba(21, 23, 23, 0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.team-profile-card:hover .team-profile-avatar,
.team-profile-card.is-open .team-profile-avatar,
.team-profile-card:focus-visible .team-profile-avatar{
    transform: translateY(-42px) scale(1.05);
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--team-ring, var(--team-accent)), 0 18px 32px -14px rgba(21, 23, 23, 0.35);
}

.team-profile-avatar img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(85%) contrast(1.03);
    transform: scale(1.08);
    transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-profile-card:hover .team-profile-avatar img,
.team-profile-card.is-open .team-profile-avatar img,
.team-profile-card:focus-visible .team-profile-avatar img{
    filter: grayscale(0%) contrast(1);
    transform: scale(1.14);
}

.team-profile-content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
}

.team-profile-name{
    color: #151717;
    font-weight: 600;
}

.team-profile-role{
    color: var(--team-accent);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
}

.team-profile-divider{
    position: relative;
    width: 48px;
    height: 3px;
    border-radius: 9999px;
    background: #E7E3DD;
    overflow: hidden;
    margin: 1.1rem auto;
}

.team-profile-divider::after{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--team-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-profile-card:hover .team-profile-divider::after,
.team-profile-card.is-open .team-profile-divider::after,
.team-profile-card:focus-visible .team-profile-divider::after{
    transform: scaleX(1);
}

.team-profile-quote{
    color: var(--team-accent);
    opacity: 0.35;
    margin-bottom: 0.4rem;
    transition: opacity 0.4s ease, color 0.4s ease;
}

.team-profile-card:hover .team-profile-quote,
.team-profile-card.is-open .team-profile-quote,
.team-profile-card:focus-visible .team-profile-quote{
    opacity: 0.6;
}

/* The description (quote + achievements) sits on its own solid-blue,
   wave-topped panel that bleeds to the card's own edges - a contained
   accent instead of recoloring the whole card. One consistent blue is
   used here (not the per-card --team-accent hue) to match the reference. */
.team-profile-description{
    position: relative;
    align-self: stretch;
    margin: auto -1.75rem -1.4rem;
    padding: 1.9rem 1.75rem 1.6rem;
    background: #0674B7;
    border-radius: 0 0 1.75rem 1.75rem;
}

.team-profile-description-wave{
    position: absolute;
    top: -29px;
    left: 0;
    width: 100%;
    height: 30px;
    color: #0674B7;
    line-height: 0;
    pointer-events: none;
}

.team-profile-description-wave svg{
    width: 100%;
    height: 100%;
    display: block;
}

.team-profile-description .team-profile-quote{
    color: #fff;
    opacity: 0.55;
}

.team-profile-card:hover .team-profile-description .team-profile-quote,
.team-profile-card.is-open .team-profile-description .team-profile-quote,
.team-profile-card:focus-visible .team-profile-description .team-profile-quote{
    opacity: 0.85;
}

.team-profile-description .team-profile-highlights{
    color: rgba(255, 255, 255, 0.85);
}

.team-profile-description .team-profile-highlights li:not(:last-child)::after{
    color: rgba(255, 255, 255, 0.5);
}

.team-profile-card:hover .team-profile-description .team-profile-highlights li,
.team-profile-card.is-open .team-profile-description .team-profile-highlights li,
.team-profile-card:focus-visible .team-profile-description .team-profile-highlights li{
    color: #fff;
}

.team-profile-highlights{
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    color: #57575A;
    line-height: 1.6;
}

.team-profile-highlights li{
    display: inline-block;
    list-style: none;
    transition: color 0.4s ease;
}

.team-profile-highlights li:nth-child(1){ transition-delay: 0s; }
.team-profile-highlights li:nth-child(2){ transition-delay: 0.05s; }
.team-profile-highlights li:nth-child(3){ transition-delay: 0.1s; }

.team-profile-highlights li:not(:last-child)::after{
    content: "\2022";
    margin: 0 0.55em;
    color: #C9C4BB;
}

.team-profile-card:hover .team-profile-highlights li,
.team-profile-card.is-open .team-profile-highlights li,
.team-profile-card:focus-visible .team-profile-highlights li{
    color: #232325;
}

/* LinkedIn is a small icon-only badge in the card's top-right corner,
   inset within the card's own edge (not overflowing it), rather than a
   button competing for space in the content flow. */
.team-profile-linkedin-badge{
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: #FFFFFF;
    color: var(--team-accent);
    box-shadow: 0 10px 22px -10px rgba(21, 23, 23, 0.4);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.team-profile-linkedin-badge:hover,
.team-profile-linkedin-badge:focus-visible{
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 14px 28px -12px var(--team-accent-strong);
}

.reveal-child{
    opacity: 0;
    transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce){
    .team-hero-blob,
    .team-profile-card::after{
        animation: none;
    }
    .team-profile-card,
    .team-profile-avatar,
    .team-profile-avatar img,
    .team-profile-highlights li,
    .team-profile-linkedin-badge{
        transition: none;
    }
}
