/* ================= TEAM PAGE STYLES ================= */
:root {
    --lux-gold: #c5a059;
    --lux-emerald: #064e3b;
    --lux-dark: #0f172a;
    --lux-bg: #f8fafc;
    --soft-gray: #f1f5f9;
    --prism-radius: 850px;
}

.team-hd-clean {
    font-family: 'Outfit', sans-serif;
    color: var(--lux-dark);
    overflow-x: hidden;
    background: #fff;
}

.serif-gold {
    font-family: 'Playfair Display', serif;
    color: var(--lux-gold);
}

/* HERO */
.team-hero-lux {
    height: 50vh;
    min-height: 400px;
    background: url('/images/Team/team.webp') center/cover no-repeat;
    position: relative;
    border-radius: 0 0 80px 80px;
    overflow: hidden;
}

.hero-glass-v3 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(6, 78, 59, 0.7));
}

.prof-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.prof-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: white;
}

.prof-lead {
    font-size: 1.25rem;
    color: #d1fae5;
    max-width: 700px;
}

.gold-line {
    width: 80px;
    height: 5px;
    background: var(--lux-gold);
    border-radius: 10px;
}

/* TEAM INTRO (NEW) */
.team-intro-section {
    padding: 0 0 100px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.intro-glass-card {
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.sub-gold {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--lux-gold);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-head {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--lux-emerald);
    line-height: 1.2;
}

.prof-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #475569;
}

.prof-subtext {
    font-size: 1.05rem;
    color: #64748b;
}

/* TEAM VISION (NEW) */
.team-vision-section {
    padding: 100px 0;
    background: var(--lux-bg);
}

.vision-quotes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.vision-quote-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.5s;
}

.vision-quote-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--lux-gold);
}

.quote-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--lux-emerald), #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.vision-quote-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lux-emerald);
    margin-bottom: 10px;
}

.vision-quote-card p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* CAPABILITIES (NEW) */
.capabilities-section {
    padding: 100px 0;
    background: white;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cap-card {
    background: var(--lux-bg);
    padding: 30px 20px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.5s;
}

.cap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--lux-gold);
    background: white;
}

.cap-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--lux-gold), #d4af37);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
    transition: all 0.5s;
}

.cap-card:hover .cap-icon {
    transform: rotateY(180deg);
}

.cap-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lux-emerald);
    margin: 0;
}

/* LEADERSHIP SIDE-BY-SIDE FLOW */
.leadership-side-flow {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.side-item {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.side-reverse {
    flex-direction: row-reverse;
}

.side-img-box {
    flex: 0 0 400px;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 2%;
    /* Fix Head Clipping */
    transition: 0.8s;
}

.side-item:hover .side-img {
    transform: scale(1.05);
}

.side-img-accent {
    position: absolute;
    inset: 0;
    border: 2px solid var(--lux-gold);
    border-radius: 40px;
    pointer-events: none;
    opacity: 0.2;
}

.side-content-box {
    flex: 1;
    padding: 50px;
    border-radius: 40px;
    position: relative;
    z-index: 1;
}

.glass-v4 {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    transition: 0.5s;
}

.side-item:hover .glass-v4 {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(197, 160, 89, 0.1);
}

.v4-tag {
    color: var(--lux-gold);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.v4-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--lux-emerald);
    margin-bottom: 25px;
    line-height: 1;
}

.v4-text {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
}

.v4-signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--lux-gold);
    font-style: italic;
    font-weight: 700;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

/* AWARDS 3D PRISM */
.awards-3d-prism-section {
    background: #fff;
    padding: 60px 0;
    perspective: 2500px;
}

.mb-80 {
    margin-bottom: 80px;
}

.prism-carousel-wrap {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 20px;
}

.prism-scene {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 400px;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

.prism-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.prism-card {
    position: absolute;
    width: 700px;
    height: 400px;
    left: 0;
    top: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.prism-inner {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    position: relative;
    transition: 0.5s;
    background: #fff;
}

.prism-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
    transition: 1s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.prism-inner:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.prism-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    pointer-events: none;
}

.prism-tag {
    color: var(--lux-gold);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 10px;
}

.prism-overlay h4 {
    color: white;
    font-weight: 800;
    font-size: 2.2rem;
    margin: 0;
}

.prism-controls {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 100;
}

.prism-btn {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--lux-emerald);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.prism-btn:hover {
    background: var(--lux-gold);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
    border-color: var(--lux-gold);
}

.prism-btn i {
    transition: transform 0.3s;
}

.prism-btn:hover i {
    transform: scale(1.2);
}

/* LIGHTBOX */
.hd-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomAnim 0.3s;
}

@keyframes zoomAnim {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 60px;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
}

/* Bento Gallery Ultra-Modern - No Gaps */
.memories-glass-section {
    position: relative;
    background: var(--lux-bg);
    padding-bottom: 120px;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    max-width: 950px;
    margin: 0 auto;
}

.mosaic-item {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 2s cubic-bezier(0.19, 1, 0.22, 1);
    filter: saturate(1.1) contrast(1.05);
}

.mosaic-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 45px 90px rgba(6, 78, 59, 0.2);
    z-index: 20;
    border-color: rgba(197, 160, 89, 0.6);
}

.mosaic-item:hover img {
    transform: scale(1.1);
    filter: saturate(1.4);
}

/* Elegant Overlay Shine */
.mosaic-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 2;
    opacity: 0.5;
    pointer-events: none;
}

.bento-large {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-standard {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-full {
    grid-column: span 3;
    grid-row: span 2;
    /* Increased height for full width items */
}

.mosaic-glass {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 18px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.mosaic-item:hover .mosaic-glass {
    opacity: 1;
    transform: translateY(0);
}

.mosaic-glass span {
    display: block;
    color: var(--lux-gold);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 4px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mosaic-glass h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--lux-emerald);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* RESPONSIVE - Gaps prevention */




/* REVEALS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* ================= UTILITY CLASSES FOR INLINE REMOVAL ================= */
.max-w-950 {
    max-width: 950px;
}

.max-w-900 {
    max-width: 900px;
}

.max-w-700 {
    max-width: 700px;
}

.delay-var-0 {
    --delay: 0s;
}

.delay-var-1 {
    --delay: 0.1s;
}

.delay-var-2 {
    --delay: 0.2s;
}

.delay-var-3 {
    --delay: 0.3s;
}

.obj-top {
    object-position: top !important;
}

/* =========================================
   TEAM PAGE - MOBILE ULTIMATE V1.2
   Focus: Stability, Neatness, Premium UI
   ========================================= */

/* =========================================================
   CONSOLIDATED TEAM MOBILE STYLES (Max-Width: 991px)
   ========================================================= */

/* PRIDE GALLERY CLEAN STYLES */
.hall-of-recognition-clean {
    padding: 80px 0;
    background: #f8fafc;
}

.pride-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pride-gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
}

.pride-gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2);
}

.pride-gallery-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pride-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pride-gallery-card:hover .pride-gallery-img img {
    transform: scale(1.1);
}

.pride-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.pride-gallery-card:hover .pride-gallery-overlay {
    opacity: 1;
}

.pride-gallery-pill {
    align-self: flex-start;
    background: var(--lux-gold);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.pride-gallery-overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.pride-gallery-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pride-gallery-card:hover .pride-gallery-icon {
    transform: scale(1);
    transition-delay: 0.1s;
}

@media (max-width: 768px) {
    .pride-gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    }
    .pride-gallery-icon {
        transform: scale(1);
    }
}

/* PRIDE DETAILED LIST STYLES (NEW) */
.pride-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pride-detailed-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    cursor: pointer;
}

.pride-detailed-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15);
}

.pride-detailed-img {
    flex: 0 0 280px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-right: 30px;
}

.pride-detailed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pride-detailed-row:hover .pride-detailed-img img {
    transform: scale(1.08);
}

.pride-detailed-zoom {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.pride-detailed-row:hover .pride-detailed-zoom {
    opacity: 1;
}

.pride-detailed-content {
    flex: 1;
    text-align: left;
}

.pride-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.pride-tag-gold {
    display: inline-block;
    padding: 6px 14px;
    background: #fef3c7;
    color: #b45309;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.pride-detailed-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--lux-emerald);
    margin-bottom: 15px;
}

.pride-detailed-content p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .pride-detailed-row {
        flex-direction: column;
        padding: 20px;
    }
    
    .pride-detailed-img {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
    
    .pride-detailed-content {
        text-align: center;
    }
}

