/* ============================================
   MEET YOUR TRAINER - WORLD-CLASS PREMIUM
   Full-width, modern, trust-building section
   ============================================ */

.trainer-premium-section {
    position: relative;
    padding: 140px 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.trainer-premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Tech Icons - Background */
.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tech-icon-float {
    position: absolute;
    font-size: 3rem;
    color: rgba(138, 43, 226, 0.25);
    animation: float-tech 8s ease-in-out infinite;
    animation-delay: var(--delay);
    left: 20%;
    top: 50%;
    transform: translate(var(--x), var(--y));
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.4));
}

@keyframes float-tech {
    0%, 100% {
        transform: translate(var(--x), var(--y)) translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(var(--x), var(--y)) translateY(-30px) rotate(15deg);
        opacity: 0.7;
    }
}

/* Container - Full Width */
.trainer-premium-section .section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Content Wrapper - 40/60 Split */
.trainer-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 100px;
    align-items: start;
}

/* ============================================
   LEFT COLUMN - PROFILE (40%)
   ============================================ */

.trainer-profile-side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Premium Profile Card */
.profile-card-premium {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.profile-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.6) 0%, transparent 70%);
    border-radius: 24px;
    animation: pulse-glow 4s ease-in-out infinite;
    filter: blur(50px);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(138, 43, 226, 0.5);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(138, 43, 226, 0.4),
        inset 0 0 40px rgba(138, 43, 226, 0.1);
    transition: all 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.02);
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(138, 43, 226, 0.6);
}

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



/* Profile Badges */
.profile-badge {
    position: absolute;
    padding: 10px 20px;
    background: rgba(138, 43, 226, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.5);
    animation: badge-float 3s ease-in-out infinite;
}

.ibm-badge {
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0f62fe, #0043ce);
}

.founder-badge-small {
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #8a2be2, #00bfff);
}

.founder-badge-small i {
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Career Journey Timeline */
.career-timeline {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 28px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-title i {
    color: #00bfff;
    font-size: 1.5rem;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 32px;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.5), rgba(0, 191, 255, 0.5));
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    width: 16px;
    height: 16px;
    background: rgba(138, 43, 226, 0.3);
    border: 3px solid rgba(138, 43, 226, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    background: #00bfff;
    border-color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-year {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.timeline-role {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.timeline-item.active .timeline-role {
    color: #00bfff;
}

/* ============================================
   RIGHT COLUMN - DETAILS (60%)
   ============================================ */

.trainer-details-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header */
.trainer-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trainer-header .section-label {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 191, 255, 0.2));
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00bfff;
    width: fit-content;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
}

.trainer-name {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #00bfff 50%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
}

.trainer-role {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    line-height: 1.6;
}

/* Introduction */
.trainer-intro {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.trainer-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8a2be2, #00bfff);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

/* ============================================
   ACHIEVEMENT CARDS - 2x4 GRID
   ============================================ */

.trainer-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 191, 255, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
}

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

.highlight-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.3));
    border-radius: 14px;
    font-size: 1.8rem;
    color: #00bfff;
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.5);
}

.highlight-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.highlight-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.highlight-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}


/* ============================================
   WHAT YOU'LL LEARN
   ============================================ */

.learning-outcomes {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 191, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 32px;
}

.learning-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.learning-title i {
    color: #ffd700;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.learning-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.learning-item:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(138, 43, 226, 0.4);
}

.learning-item i {
    font-size: 2.2rem;
    color: #00ff88;
    transition: all 0.3s ease;
}

.learning-item:hover i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
}

.learning-item span {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
}


/* ============================================
   SOCIAL LINKS - BRAND COLORS
   ============================================ */

.trainer-social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.social-btn.linkedin::before {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-btn.linkedin:hover {
    border-color: #0077b5;
    color: #fff;
}

.social-btn.linkedin:hover::before {
    opacity: 1;
}

.social-btn.github::before {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-btn.github:hover {
    border-color: #333;
    color: #fff;
}

.social-btn.github:hover::before {
    opacity: 1;
}

.social-btn.hashnode::before {
    background: linear-gradient(135deg, #2962ff, #0039cb);
}

.social-btn.hashnode:hover {
    border-color: #2962ff;
    color: #fff;
}

.social-btn.hashnode:hover::before {
    opacity: 1;
}

.social-btn.youtube::before {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-btn.youtube:hover {
    border-color: #ff0000;
    color: #fff;
}

.social-btn.youtube:hover::before {
    opacity: 1;
}

.social-btn i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.social-btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.trainer-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-trainer-primary,
.btn-trainer-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-trainer-primary {
    background: linear-gradient(135deg, #8a2be2, #00bfff);
    color: #fff;
    border: none;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.5);
}

.btn-trainer-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-trainer-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 56px rgba(138, 43, 226, 0.7);
}

.btn-trainer-primary:hover::before {
    left: 100%;
}

.btn-trainer-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(138, 43, 226, 0.6);
    color: #fff;
}

.btn-trainer-secondary:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: #8a2be2;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
}


/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
    .trainer-premium-section .section-container {
        max-width: 1200px;
    }

    .trainer-content-wrapper {
        gap: 80px;
    }

    .trainer-name {
        font-size: 4rem;
    }



    .learning-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .trainer-premium-section .section-container {
        max-width: 1000px;
        padding: 0 30px;
    }

    .trainer-content-wrapper {
        gap: 60px;
    }

    .trainer-name {
        font-size: 3.5rem;
    }

    .trainer-highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }


}

@media (max-width: 992px) {
    .trainer-premium-section {
        padding: 100px 0;
    }

    .trainer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .trainer-profile-side {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .trainer-name {
        font-size: 3rem;
    }

    .trainer-highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tech-stack-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .learning-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .trainer-premium-section {
        padding: 80px 0;
    }

    .trainer-premium-section .section-container {
        padding: 0 20px;
    }

    .profile-card-premium {
        max-width: 400px;
    }

    .trainer-name {
        font-size: 2.5rem;
    }

    .trainer-role {
        font-size: 1.2rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .trainer-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }



    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainer-cta-buttons {
        flex-direction: column;
    }

    .btn-trainer-primary,
    .btn-trainer-secondary {
        width: 100%;
        justify-content: center;
    }


}

@media (max-width: 480px) {
    .profile-card-premium {
        max-width: 320px;
    }

    .trainer-name {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .trainer-role {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .trainer-highlights-grid {
        grid-template-columns: 1fr;
    }



    .learning-grid {
        grid-template-columns: 1fr;
    }

    .trainer-social-links {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }


}
