/* ========================================
   MODERN TUTOR SECTION STYLES - ULTRA PREMIUM GOLD
   ======================================== */

.tutor-section-new {
    background: linear-gradient(135deg, #120305 0%, #2A0A10 50%, #0f0203 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Layer 1: Slow Floating Gold Dust */
.tutor-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 90% 10%, rgba(255, 215, 0, 0.3) 2px, transparent 2px);
    background-size: 120px 120px;
    animation: goldDustMove 25s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Layer 2: Twinkling Stars */
.tutor-section-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px);
    background-size: 350px 350px;
    background-position: 0 0, 180px 180px;
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes goldDustMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.tutor-section-new .section-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.gold-text {
    color: #D4AF37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    }

    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
    }
}

/* Shimmering Metallic Text */
.tutor-role-new {
    font-family: var(--font-body);
    font-weight: 600;
    background: linear-gradient(to right,
            #bf953f,
            #fcf6ba,
            #b38728,
            #fbf5b7,
            #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shineMetal 4s linear infinite;
    margin-top: 0.5rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes shineMetal {
    to {
        background-position: 200% center;
    }
}

/* =========================================
   LUXURY CARD DESIGN
   ========================================= */
.tutor-card-modern {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    padding: 3rem;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.4),
        inset 0 0 30px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Luxury Sheen Sweep Animation */
.tutor-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 215, 0, 0.1) 40%,
            rgba(255, 215, 0, 0.2) 50%,
            rgba(255, 215, 0, 0.1) 60%,
            transparent 100%);
    transform: skewX(-25deg);
    animation: sheenSweep 6s infinite;
    pointer-events: none;
}

@keyframes sheenSweep {

    0%,
    80% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Animated Gradient Border Top */
.tutor-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #800020, #D4AF37, #FFD700, #D4AF37, #800020);
    background-size: 300% 100%;
    animation: borderFlow 3s linear infinite;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

@keyframes borderFlow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* Profile Image with ROTATING RING */
.tutor-profile-header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.tutor-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Rotating Gold Ring */
.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #D4AF37;
    border-bottom-color: #FFD700;
    animation: rotateRing 8s linear infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* The Counter-Rotating Ring */
.image-glow::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-left-color: #D4AF37;
    border-right-color: #D4AF37;
    animation: rotateRing 6s linear infinite reverse;
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tutor-img-modern {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tutor-image-wrapper:hover .tutor-img-modern {
    transform: scale(1.05);
}

/* Stats Badges with GOLD FILL Animation */
.tutor-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

/* Button fill effect */
.stat-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    transition: width 0.4s ease;
    z-index: -1;
}

.stat-badge:hover::before {
    width: 100%;
}

.stat-badge:hover {
    transform: translateY(-5px);
    border-color: #b38728;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.stat-badge i {
    font-size: 2rem;
    color: #D4AF37;
    transition: color 0.4s ease, transform 0.4s ease;
}

.stat-badge:hover i {
    color: #fff;
    transform: rotateY(180deg);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #800020;
    font-family: var(--font-heading);
    transition: color 0.4s ease;
}

.stat-badge:hover .stat-number {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    transition: color 0.4s ease;
}

.stat-badge:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}


/* Content & Bio */
.bio-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
    text-align: center;
}

.bio-paragraph strong {
    color: #990025;
    background: linear-gradient(to top, rgba(212, 175, 55, 0.2) 0%, transparent 100%);
    padding: 0 4px;
    border-radius: 4px;
}

/* Credentials with Golden Checkmarks */
.credentials-modern {
    background: linear-gradient(to right, #fffbf0, #fff);
    border: 1px solid #e6c875;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.credential-item:hover {
    border-color: #D4AF37;
    background: #fffdf5;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.credential-item i {
    color: #D4AF37;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

/* Gold Outline Platform Tags */
.platform-tag {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: #fff;
    color: #800020;
    border: 1px solid #D4AF37;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.1);
    letter-spacing: 0.5px;
}

.platform-tag:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #fff;
    border-color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Shine effect on hover only */
.platform-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.5s;
    opacity: 0;
}

.platform-tag:hover::after {
    opacity: 1;
    left: 200%;
    transition: 0.8s ease-in-out;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tutor-stats-row {
        grid-template-columns: 1fr;
    }

    .tutor-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .tutor-img-modern {
        width: 140px;
        height: 140px;
    }
}

/* Platform Experience Alignment */
.platform-experience {
    text-align: center;
    margin-top: 2rem;
}

.platform-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .platform-tags {
        flex-direction: column;
        gap: 0.8rem;
    }

    .platform-tag {
        width: 100%;
        text-align: center;
    }
}