/* ============================================
   ABOUT MODERN SECTION
   ============================================ */

.about-modern {
    padding: var(--space-32) 0;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.about-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(130, 36, 227, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.about-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
    text-align: left;
}

@media (max-width: 968px) {
    .about-modern-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
}

/* Typography */
.section-label-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.section-line {
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-label-text {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-8);
    color: var(--text-primary);
    position: relative;
    z-index: 5;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
    /* Ensure visibility above glimmers */
}

.about-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    max-width: 800px;
}

@media (max-width: 968px) {
    .about-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Actions */
.about-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-start;
}

@media (max-width: 968px) {
    .about-actions {
        justify-content: center;
    }
}

/* Visual Side */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

/* Responsive Optimization */
@media (max-width: 992px) {
    .about-modern {
        padding: var(--space-16) 0;
    }

    .about-modern-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: var(--space-12);
        text-align: center;
    }

    .about-content {
        order: 2;
        /* Text below image */
    }

    .about-visual {
        order: 1;
        /* Image on top */
        margin-bottom: var(--space-12);
        /* Increased space for badge */
        width: 100%;
        /* Ensure full width container */
        display: flex;
        justify-content: center;
    }

    .section-label-wrapper {
        justify-content: center;
    }

    .about-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .about-description {
        margin-left: auto;
        margin-right: auto;
    }

    .about-actions {
        flex-direction: column;
        /* Stack buttons */
        gap: var(--space-4);
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        /* Full width buttons on mobile */
        max-width: 300px;
        justify-content: center;
    }

    .experience-badge {
        left: 50%;
        bottom: 0px;
        /* Aligned with bottom edge to avoid clipping */
        transform: translateX(-50%) scale(0.9);
        /* Center and scale down */
        animation: none;
        width: max-content;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        /* Stronger shadow for separation */
        margin-bottom: 20px;
        /* Push slightly up into the image visibly */
    }
}

@media (max-width: 480px) {
    .about-modern-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: var(--text-base);
    }
}

/* ─────────────────────────────────────────
   ENHANCEMENTS
   ───────────────────────────────────────── */

/* 1. Highlighted Text */
.text-highlight {
    color: white;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* 2. Floating Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        /* Subtle purple ring */
        0 0 30px rgba(139, 92, 246, 0.2);
    /* Outer Glow */
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 10;
    animation: floatBadge 6s ease-in-out infinite;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {
    .experience-badge {
        left: 50%;
        bottom: -20px;
        transform: translateX(-50%);
        /* Center on Mobile */
        animation: none;
        /* Disable float on mobile to prevent layout shift issues */
        width: max-content;
    }
}