/* ===========================================
   Management Page Styles
   =========================================== */

:root {
    --mg-primary: #ff5e14;
    --mg-secondary: #010e2a;
    --mg-gradient: linear-gradient(135deg, #ff5e14 0%, #ff7b3d 100%);
    --mg-dark-gradient: linear-gradient(135deg, #010e2a 0%, #021a4d 100%);
}

/* Section */
.mg-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
    position: relative;
    overflow: hidden;
}

.mg-section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.mg-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--mg-secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.mg-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--mg-gradient);
    border-radius: 2px;
}

.mg-section-desc {
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* ===========================================
   Leader Block - Alternating Layout
   =========================================== */
.mg-leader {
    margin-bottom: 5rem;
    position: relative;
}

.mg-leader:last-child {
    margin-bottom: 0;
}

.mg-leader-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(1, 14, 42, 0.15);
    transition: all 0.4s ease;
    cursor: zoom-in;
    background: linear-gradient(135deg, #fff5ef 0%, #ffffff 100%);
}

.mg-leader-image-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(255, 94, 20, 0.3);
}

.mg-leader-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.mg-leader-image-wrap:hover img {
    transform: scale(1.05);
}

/* Decorative orange shape */
.mg-leader-image-wrap::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border: 3px solid var(--mg-primary);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Zoom hint overlay */
.mg-leader-image-wrap::after {
    content: '\F4DE';
    font-family: "bootstrap-icons";
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--mg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(255, 94, 20, 0.5);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.mg-leader-image-wrap:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Content side */
.mg-leader-content {
    padding: 1rem 0;
}

.mg-leader-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 94, 20, 0.12);
    color: var(--mg-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 94, 20, 0.2);
}

.mg-leader-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mg-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mg-leader-position {
    font-size: 1rem;
    color: var(--mg-primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.mg-leader-bio p {
    color: #475569;
    line-height: 1.8;
    font-size: 0.98rem;
    margin-bottom: 0.85rem;
}

.mg-leader-quote {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fff5ef 0%, #ffffff 100%);
    border-left: 4px solid var(--mg-primary);
    border-radius: 8px;
    font-style: italic;
    color: var(--mg-secondary);
    position: relative;
}

.mg-leader-quote-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    font-style: normal;
}

.mg-leader-quote p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Social Links */
.mg-leader-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 12px;
    align-items: center;
}

.mg-leader-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mg-leader-social a:hover {
    background: var(--mg-gradient);
    border-color: var(--mg-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 94, 20, 0.4);
}

/* ===========================================
   Animations
   =========================================== */
@keyframes mgFadeRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes mgFadeLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes mgFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.mg-animate-right { animation: mgFadeRight 0.7s ease-out backwards; }
.mg-animate-left { animation: mgFadeLeft 0.7s ease-out backwards; }
.mg-animate-up { animation: mgFadeUp 0.7s ease-out backwards; }

.mg-delay-100 { animation-delay: 0.15s; }
.mg-delay-200 { animation-delay: 0.3s; }

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 991.98px) {
    .mg-section {
        padding: 60px 0;
    }
    
    .mg-section-title {
        font-size: 2rem;
    }
    
    .mg-leader {
        margin-bottom: 4rem;
    }
    
    .mg-leader-image-wrap img {
        height: 360px;
    }
    
    .mg-leader-name {
        font-size: 1.7rem;
    }
}

@media (max-width: 767.98px) {
    .mg-section {
        padding: 50px 0;
    }
    
    .mg-section-title {
        font-size: 1.6rem;
    }
    
    .mg-leader {
        margin-bottom: 3rem;
    }
    
    .mg-leader-image-wrap img {
        height: 320px;
    }
    
    .mg-leader-content {
        margin-top: 2rem;
    }
    
    .mg-leader-name {
        font-size: 1.5rem;
    }
    
    .mg-leader-position {
        font-size: 0.95rem;
    }
}
