/* ========================================
   Management Team - 2025 Professional Design
   Super Sexy Animated Design
======================================== */

/* Smooth Scroll Fix */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Prevent white flash during scroll */
.management-team-modern {
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Smooth scroll for all elements */
* {
    scroll-behavior: smooth;
}

/* Page wrapper scroll optimization */
.page-wrapper {
    overflow-x: hidden;
    position: relative;
    background: #044a61;
}

/* Prevent white flash during scroll */
body {
    background: #044a61;
    overflow-x: hidden;
}

/* Optimize scroll performance */
.management-team-modern,
.management-team__section,
.management-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

/* Management Team Section - Using Blue & Gold Theme */
.management-team-modern {
    background: linear-gradient(135deg, #044a61 0%, #06607f 50%, #0983a8 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.management-team__header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.management-team__main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
}

.management-team__main-title .highlight {
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.management-team__main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.management-team__subtitle {
    font-size: 1.2rem;
    color: #e6f4f8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInUp 1s ease-out 0.3s both;
}

.management-team-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 96, 127, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 131, 168, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(8, 135, 181, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.management-team-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Floating Elements Animation - Disabled for static icons */
.management-team-modern .floating-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(6, 96, 127, 0.1), rgba(9, 131, 168, 0.1));
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* Management Team Header */
.management-team__header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.management-team__main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
}

.management-team__main-title .highlight {
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.management-team__main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.management-team__subtitle {
    font-size: 1.2rem;
    color: #e6f4f8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Management Team Sections */
.management-team__section {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.management-team__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.management-team__section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

/* Management Team Grid */
.management-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Management Cards - Super Attractive Design */
.management-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

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

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

.management-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(229, 198, 90, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.management-card:hover::before {
    opacity: 1;
}

.management-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 80px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

/* Management Card Avatar */
.management-card__avatar {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06607f, #0887b5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.management-card:hover .avatar-circle::before {
    opacity: 1;
}

.avatar-circle i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.management-card:hover .avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Management Card Status */
.management-card__status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    animation: pulse 2s infinite;
}

.management-card__status.online {
    background: #D4AF37;
}

.management-card__status.offline {
    background: #f44336;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Management Card Content */
.management-card__content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.management-card__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.management-card:hover .management-card__name {
    color: #D4AF37;
    transform: scale(1.05);
}

.management-card__position {
    font-size: 1rem;
    color: #e6f4f8;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Management Card Contact */
.management-card__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.contact-item i {
    color: #D4AF37;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.contact-item span,
.contact-item a {
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-item a:hover {
    color: #D4AF37;
}

/* Management Card Overlay */
.management-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 96, 127, 0.9), rgba(212, 175, 55, 0.9));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.management-card:hover .management-card__overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.overlay-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .management-team__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .management-team-modern {
        padding: 60px 0;
    }
    
    .management-team__main-title {
        font-size: 2.5rem;
    }
    
    .management-team__section-title {
        font-size: 2rem;
    }
    
    .management-team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .management-card {
        padding: 25px;
    }
    
    .avatar-circle {
        width: 60px;
        height: 60px;
    }
    
    .avatar-circle i {
        font-size: 1.5rem;
    }
    
    .management-card__name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .management-team__main-title {
        font-size: 2rem;
    }
    
    .management-team__section-title {
        font-size: 1.5rem;
    }
    
    .management-card {
        padding: 20px;
    }
    
    .contact-item {
        padding: 6px 10px;
    }
    
    .contact-item span,
    .contact-item a {
        font-size: 0.8rem;
    }
}

/* Scroll Animations */
.management-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.management-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.management-team-modern .loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

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

/* Professional Hover Effects */
.management-card {
    position: relative;
    overflow: hidden;
}

.management-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
}

.management-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Staggered Animation for Cards */
.management-card:nth-child(1) { animation-delay: 0.1s; }
.management-card:nth-child(2) { animation-delay: 0.2s; }
.management-card:nth-child(3) { animation-delay: 0.3s; }
.management-card:nth-child(4) { animation-delay: 0.4s; }
.management-card:nth-child(5) { animation-delay: 0.5s; }
.management-card:nth-child(6) { animation-delay: 0.6s; }
.management-card:nth-child(7) { animation-delay: 0.7s; }
.management-card:nth-child(8) { animation-delay: 0.8s; }
.management-card:nth-child(9) { animation-delay: 0.9s; }
.management-card:nth-child(10) { animation-delay: 1.0s; }
.management-card:nth-child(11) { animation-delay: 1.1s; }
.management-card:nth-child(12) { animation-delay: 1.2s; }

/* Static Background Elements - No Animation */
.management-team__section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(6, 96, 127, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.management-team__section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(9, 131, 168, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* Enhanced Card Hover Effects */
.management-card:hover .management-card__name {
    color: #D4AF37;
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.management-card:hover .management-card__position {
    color: #E5C65A;
    transform: scale(1.02);
}

/* Super Attractive Overlay */
.management-card__overlay {
    background: linear-gradient(135deg, rgba(6, 96, 127, 0.95), rgba(212, 175, 55, 0.95));
    backdrop-filter: blur(10px);
}

.management-card:hover .management-card__overlay {
    opacity: 1;
    animation: overlaySlide 0.5s ease-out;
}

@keyframes overlaySlide {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
