/* brand-story.css - Centered Typography Layout */

.centered-heading-section {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 6%;
    margin-top: 5vh;
}

.centered-heading-section .hero-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.centered-heading-section .hero-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

.center-text {
    text-align: center;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Trust Indicator */
.trust-indicator {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.avatar-group {
    display: flex;
    justify-content: center;
}

.avatar-group img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--color-bg); /* Use background color for transparent cutout effect */
    object-fit: cover;
    margin-left: -15px; /* Creates the overlap */
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.avatar-group img:first-child {
    margin-left: 0;
}

.avatar-group img:hover {
    transform: translateY(-5px);
    z-index: 10;
    position: relative;
}

.trust-text {
    font-size: 0.95rem;
    color: rgba(12, 16, 4, 0.75); /* Dark color to contrast with the light cream background */
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Mission & Values Section */
.mission-values-section {
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
    margin-top: 5vh;
}

.mv-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.mv-left .pre-title {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.mv-left .section-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mv-left .section-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

.mv-left .section-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(12, 16, 4, 0.85);
    margin-bottom: 2rem;
    max-width: 550px;
}

/* Vertical Carousel */
.mv-right {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.values-vertical-carousel {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 480px;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.value-item {
    position: absolute;
    width: 100%;
    padding: 2.5rem;
    background: transparent;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    will-change: transform, opacity, filter;
    border: none;
    box-shadow: none;
}

.value-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* Border thickness */
    /* Golden gradient that will scroll to animate the border */
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), var(--color-gold), rgba(212, 175, 55, 0.1), var(--color-gold));
    background-size: 200% 100%;
    animation: goldBorderGlow 4s linear infinite;
    
    /* CSS Masking trick to hollow out the inside, leaving only the transparent border */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes goldBorderGlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.value-item.active {
    transform: translateY(0) scale(1.05);
    z-index: 3;
    opacity: 1;
    filter: blur(0px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15); /* Subtle golden glow behind the active card */
}

.value-item.top {
    transform: translateY(-140px) scale(0.85);
    z-index: 1;
    opacity: 0.4;
    filter: blur(5px);
}

.value-item.bottom {
    transform: translateY(140px) scale(0.85);
    z-index: 1;
    opacity: 0.4;
    filter: blur(5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.value-item p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text);
    opacity: 0.8;
    line-height: 1.6;
}

/* Responsive constraints */
@media (max-width: 992px) {
    .mv-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .mv-left .section-description {
        margin: 0 auto 2rem auto;
    }
    .value-item {
        align-items: center;
        text-align: center;
    }
}

/* Director Message Section */
.director-message-section {
    padding: 3rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Entrance Animation Keyframes */
@keyframes dm-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dm-slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dm-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dm-scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dm-goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Initial hidden state (before scroll triggers) */
.director-message-section .director-message-content .hero-title,
.director-message-section .quotation-box,
.director-message-section .director-message-photo {
    opacity: 0;
}

/* Triggered states */
.director-message-section.dm-visible .director-message-content .hero-title {
    animation: dm-slideInLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.1s;
}

.director-message-section.dm-visible .quotation-box {
    animation: dm-fadeInUp 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.4s;
}

.director-message-section.dm-visible .director-message-photo {
    animation: dm-slideInRight 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.3s;
}

.director-message-container {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.director-message-content {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-message-content .hero-title {
    margin-bottom: 2rem;
    text-align: left;
    font-size: 3.5rem; /* Slightly smaller than default */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.director-message-content .hero-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

.quotation-box {
    position: relative;
    padding: 3rem 4rem;
    background: rgba(255, 244, 216, 0.03); /* Subtle premium tint */
    border-left: 4px solid var(--color-gold);
    border-radius: 0 16px 16px 0;
    transition: all 0.4s ease;
}

.quotation-box:hover {
    background: rgba(255, 244, 216, 0.08);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.08);
    border-left-width: 6px;
    transform: translateX(5px);
}

.quote-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.2;
}

.director-msg-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.director-info .director-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.director-info .director-designation {
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.director-message-photo {
    flex: 0 0 calc(30% - 4rem);
    max-width: calc(30% - 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.director-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: var(--color-bg); /* Removed the green (--color-primary) base */
    padding: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.director-photo-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.2);
}

.director-photo-wrapper .animated-border {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 40%, var(--color-gold) 50%, transparent 60%, transparent 100%);
    animation: rotate-border 4s linear infinite;
    z-index: 0;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

.director-photo-wrapper .photo-inner {
    position: relative;
    z-index: 1;
    background: var(--color-bg);
    border-radius: 12px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.director-photo-wrapper .photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 992px) {
    .director-message-container {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    .director-message-content,
    .director-message-photo {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .director-photo-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .director-message-content .hero-title {
        text-align: center;
    }
    .quotation-box {
        padding: 2rem 1.5rem;
    }
    .quote-icon {
        left: 5px;
        top: 0;
    }
}

/* ===== Board of Directors Section ===== */
.bod-section {
    padding: 3rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.bod-header {
    margin-bottom: 2rem;
}

.bod-header .hero-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 3.5rem;
}

.bod-header .hero-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

.bod-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.7;
}

/* 3-Column Grid */
.bod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    justify-items: center;
}

/* Glass Card */
.bod-card {
    width: 100%;
    max-width: 420px;
    transition: transform 0.5s ease;
}

.bod-card:hover {
    transform: translateY(-12px);
}

/* Animated Border Wrapper */
.bod-card-border {
    position: relative;
    border-radius: 20px;
    padding: 4px;
    overflow: hidden;
    background: var(--color-bg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.bod-card-border .animated-border {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 40%, var(--color-gold) 50%, transparent 60%, transparent 100%);
    animation: rotate-border 4s linear infinite;
    z-index: 0;
}

/* Glassmorphism Inner Card */
.bod-card-inner {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bod-card-inner img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Gradient Overlay at Bottom */
.bod-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 0.85) 35%, 
        rgba(0, 0, 0, 0.4) 65%, 
        transparent 100%);
}

.bod-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.bod-card-overlay p {
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Entrance Animations */
.bod-section .bod-card,
.bod-section .bod-header {
    opacity: 0;
}

.bod-section.bod-visible .bod-header {
    animation: dm-fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.1s;
}

.bod-section.bod-visible .bod-card:nth-child(1) {
    animation: dm-scaleIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.3s;
}

.bod-section.bod-visible .bod-card:nth-child(2) {
    animation: dm-scaleIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.5s;
}

.bod-section.bod-visible .bod-card:nth-child(3) {
    animation: dm-scaleIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.7s;
}

/* Responsive */
@media (max-width: 992px) {
    .bod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .bod-header .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .bod-grid {
        grid-template-columns: 1fr;
    }
    .bod-card-inner img {
        height: 380px;
    }
}

/* ===== Advantage Section (Why Winsome) ===== */
.advantage-section {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.advantage-header {
    margin-bottom: 2rem;
}

.advantage-header .pre-title {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.advantage-header .hero-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 3.2rem;
}

.advantage-header .hero-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

.advantage-desc {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(12, 16, 4, 0.85);
    max-width: 650px;
    margin: 1.5rem auto 0;
}

/* Advantage Grid */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Advantage Card */
.advantage-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-card-border {
    position: relative;
    border-radius: 20px;
    padding: 2px;
    background: rgba(255, 244, 216, 0.1);
    overflow: hidden;
    height: 100%;
}

.advantage-card-border .animated-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    z-index: 0;
    padding: 2px;
    background: linear-gradient(90deg, rgba(212,175,55,0.1), var(--color-gold), rgba(212,175,55,0.1), var(--color-gold));
    background-size: 200% 100%;
    animation: goldBorderGlow 5s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.advantage-card:hover .animated-border {
    opacity: 1;
    animation-duration: 2s;
}

.advantage-card-inner {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 3rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.8rem;
    color: var(--color-gold);
    transition: transform 0.4s ease, background 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.2);
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
}

.advantage-card-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.advantage-card-inner p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.6;
}

/* Responsive constraints for Advantage */
@media (max-width: 992px) {
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .advantage-header .hero-title {
        font-size: 2.8rem;
    }
}

/* ===== Testimonials Section (Why Winsome) ===== */
.ww-testimonials-section {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ww-testim-header {
    margin-bottom: 2rem;
}

.ww-testim-header .pre-title {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.ww-testim-header .hero-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 3.5rem;
}

.ww-testim-header .hero-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

/* Counters */
.ww-counters {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
}

.counter-icon svg {
    width: 24px;
    height: 24px;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.counter-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(12, 16, 4, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 3D Depth Carousel Layout */
.ww-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 6rem 0;
}

.ww-carousel-track {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.ww-carousel-slide {
    position: absolute;
    width: 85%;
    max-width: 800px;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transform: translateX(0) scale(0.7);
}

.ww-carousel-slide.active {
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    filter: blur(0);
}

.ww-carousel-slide.left {
    transform: translateX(-40%) scale(0.85) translateZ(-100px);
    z-index: 2;
    opacity: 0.4;
    filter: blur(4px);
    cursor: pointer;
}

.ww-carousel-slide.right {
    transform: translateX(40%) scale(0.85) translateZ(-100px);
    z-index: 2;
    opacity: 0.4;
    filter: blur(4px);
    cursor: pointer;
}

/* Animated Border Wrapper */
.testim-card-border {
    position: relative;
    border-radius: 26px;
    padding: 3px;
    background: transparent;
    overflow: hidden;
}

.ww-carousel-slide.active .testim-card-border {
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.2);
}

.testim-card-border .animated-border {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 40%, var(--color-gold) 50%, transparent 60%, transparent 100%);
    animation: rotate-border 4s linear infinite;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ww-carousel-slide.active .animated-border {
    opacity: 1;
}

/* Split Card Design */
.testim-split-card {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
}

/* Image Column */
.testim-image-col {
    flex: 0 0 45%;
    position: relative;
    min-height: 350px;
}

.testim-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: white;
}

.image-overlay .client-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.image-overlay .client-city {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Text Column */
.testim-text-col {
    flex: 1;
    position: relative;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid var(--color-gold);
    transition: background 0.5s ease;
}

.ww-carousel-slide.active .testim-text-col {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.testim-text-col .quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.15;
}

.testim-text-col .testim-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
}

/* Slide Animations Removed for 3D Carousel */

/* Navigation Controls */
.ww-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.ww-prev-btn, .ww-next-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ww-prev-btn:hover, .ww-next-btn:hover {
    background: var(--color-gold);
    color: #fff;
    transform: scale(1.05);
}

.ww-prev-btn svg, .ww-next-btn svg {
    width: 20px;
    height: 20px;
}

.ww-dots {
    display: flex;
    gap: 0.8rem;
}

.ww-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ww-dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 992px) {
    .ww-carousel-track {
        height: auto;
        min-height: 500px;
    }
    .ww-carousel-slide {
        width: 95%;
    }
    .ww-carousel-slide.left {
        transform: translateX(-20%) scale(0.85);
    }
    .ww-carousel-slide.right {
        transform: translateX(20%) scale(0.85);
    }
    .ww-counters {
        gap: 2rem;
    }
    .counter-item {
        width: 40%;
    }
    .testim-split-card {
        flex-direction: column;
        max-width: 600px;
    }
    .testim-image-col {
        flex: 0 0 auto;
        min-height: 300px;
    }
    .testim-text-col {
        border-left: none;
        border-top: 4px solid var(--color-gold);
        padding: 3rem 2rem;
    }
    .ww-testim-header .hero-title {
        font-size: 2.8rem;
    }
}

/* ===== Team Section ===== */
.team-section {
    padding: 3rem 5% 4rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.team-header {
    margin-bottom: 2rem;
}

.team-header .hero-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 3.5rem;
}

.team-header .hero-title .gold-italic {
    -webkit-text-fill-color: var(--color-gold);
}

.team-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    justify-items: center;
}

.team-card {
    width: 100%;
    max-width: 420px;
    transition: transform 0.5s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card-border {
    position: relative;
    border-radius: 20px;
    padding: 3px;
    overflow: hidden;
    background: var(--color-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.team-card-border .animated-border {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 40%, var(--color-gold) 50%, transparent 60%, transparent 100%);
    animation: rotate-border 4s linear infinite;
    z-index: 0;
    opacity: 1; /* Always active golden animated border */
}

.team-card-inner {
    position: relative;
    z-index: 1;
    border-radius: 17px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.team-card-inner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(10%) contrast(105%);
    transition: filter 0.4s ease;
}

.team-card:hover .team-card-inner img {
    filter: grayscale(0%) contrast(100%);
}

.team-info-panel {
    padding: 1.8rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid rgba(12, 16, 4, 0.05);
}

.team-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.team-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-meta .team-role {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.team-meta .team-city {
    font-size: 0.7rem;
    color: var(--color-primary);
    background: rgba(80, 106, 28, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.team-info-panel .team-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(12, 16, 4, 0.7);
}

/* Scroll Visibility Trigger */
.team-section .team-card,
.team-section .team-header {
    opacity: 0;
}

.team-section.team-visible .team-header {
    animation: dm-fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.1s;
}

.team-section.team-visible .team-card {
    animation: dm-scaleIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.team-section.team-visible .team-card:nth-child(1) { animation-delay: 0.2s; }
.team-section.team-visible .team-card:nth-child(2) { animation-delay: 0.3s; }
.team-section.team-visible .team-card:nth-child(3) { animation-delay: 0.4s; }
.team-section.team-visible .team-card:nth-child(4) { animation-delay: 0.5s; }
.team-section.team-visible .team-card:nth-child(5) { animation-delay: 0.6s; }
.team-section.team-visible .team-card:nth-child(6) { animation-delay: 0.7s; }

/* Responsive Grid */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card-inner img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .centered-heading-section .hero-title {
        font-size: 2.4rem;
    }
    .mv-left .section-title {
        font-size: 2.2rem;
    }
    .mv-left .section-description {
        font-size: 1rem;
    }
    .value-item h3 {
        font-size: 1.4rem;
    }
    .value-item p {
        font-size: 0.9rem;
    }
    .value-item {
        padding: 1.5rem;
    }
    .director-message-content .hero-title {
        font-size: 2.4rem;
    }
    .director-msg-text {
        font-size: 1rem;
    }
    .quotation-box {
        padding: 1.5rem 1rem;
    }
    .director-photo-wrapper {
        max-width: 280px;
    }
    .bod-header .hero-title {
        font-size: 2.2rem;
    }
    .bod-card-inner img {
        height: 320px;
    }
    .team-header .hero-title {
        font-size: 2.4rem;
    }
    .team-info-panel h3 {
        font-size: 1.2rem;
    }
    .team-info-panel {
        padding: 1.2rem 1rem;
    }
    .team-card-inner img {
        height: 240px;
    }
    .advantage-header .hero-title {
        font-size: 2.2rem;
    }
    .advantage-card-inner {
        padding: 2rem 1.5rem;
    }
    .advantage-card-inner h3 {
        font-size: 1.4rem;
    }
    .advantage-card-inner p {
        font-size: 0.9rem;
    }
    .ww-testim-header .hero-title {
        font-size: 2.2rem;
    }
    .counter-number {
        font-size: 1.8rem;
    }
    .ww-carousel-track {
        min-height: 400px;
    }
    .testim-text-col {
        padding: 2rem 1.5rem;
    }
    .testim-text-col .testim-text {
        font-size: 0.95rem;
    }
    .testim-image-col {
        min-height: 240px;
    }
}
