/* ABOUT */
@keyframes btnShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }

    33% {
        transform: translate(3%, -4%) scale(1.08);
        opacity: 0.70;
    }

    66% {
        transform: translate(-3%, 3%) scale(0.94);
        opacity: 0.50;
    }

    100% {
        transform: translate(2%, 2%) scale(1.04);
        opacity: 0.60;
    }
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-120%) skewX(-12deg);
    }

    100% {
        transform: translateX(220%) skewX(-12deg);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes tagShimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes tagFloat {

    0%,
    100% {
        transform: translateY(-1px) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(1.2deg);
    }
}

.about {
    display: flex;
    align-items: center;
    padding-block: clamp(100px, 15vh, 180px);
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* Background glows */
.about::before,
.about::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(clamp(60px, 10vw, 120px));
    z-index: 0;
}

/* Orange orb */
.about::before {
    width: clamp(280px, 45vw, 700px);
    height: clamp(280px, 45vw, 700px);
    top: -10%;
    right: -8%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.18) 0%, rgba(251, 146, 60, 0.10) 50%, transparent 70%);
    animation: orbFloat 16s ease-in-out infinite alternate;
}

/* Violet orb */
.about::after {
    width: clamp(200px, 35vw, 560px);
    height: clamp(200px, 35vw, 560px);
    bottom: -6%;
    left: -4%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.10) 0%, rgba(244, 63, 94, 0.06) 45%, transparent 70%);
    animation: orbFloat 22s ease-in-out infinite alternate-reverse;
}

/* Sweep overlay */
.about-shimmer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.about-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
    animation: shimmerSweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 2s;
}

/* Noise overlay */
.about-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 63, 94, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 55% 10%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
}

.about .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 6vw, 5rem);
    position: relative;
    z-index: 2;
    width: 100%;
}

.about .intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.8rem, 4vh, 3.5rem);
    max-width: 60%;
}

.about .globe-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
    width: 100%;
    max-width: 500px;
}

.about .headline {
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.05em;
    color: #1e1b4b;
    white-space: nowrap;
}

.about .headline .engineer {
    display: block;
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #64748b;
    margin-bottom: 0.1em;
    white-space: nowrap;
}

.about .headline .engineer .amp {
    font-size: 2.5em;
    font-weight: 400;
    margin-left: 0.1em;
    color: #94a3b8;
    vertical-align: -0.05em;
    opacity: 0.6;
}

.about .headline .explorer {
    display: block;
    font-size: clamp(2.5rem, 7vw, 6rem);
    background: linear-gradient(135deg, #7c3aed 0%, #f43f5e 45%, #fb923c 80%, #f59e0b 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 7s ease infinite alternate;
    white-space: nowrap;
}

/* Button styles */
.about .cta .button {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.4rem, 3vw, 2.4rem);
    border-radius: 99px;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.45s cubic-bezier(0.2, 1, 0.3, 1);
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

.about .cta .button.solid {
    background: linear-gradient(135deg, #f43f5e, #fb923c, #f59e0b);
    background-size: 200% 100%;
    color: #fff;
    box-shadow: 0 6px 22px rgba(244, 63, 94, 0.32);
    animation: btnShimmer 4s linear infinite;
}

.about .cta .button.solid:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(244, 63, 94, 0.45);
}

.about .cta .button.outline {
    background: transparent;
    color: #1e1b4b;
    border: 2px solid rgba(0, 0, 0, 0.10);
}

.about .cta .button.outline:hover {
    border-color: #f43f5e;
    color: #f43f5e;
    transform: translateY(-3px);
}

.about .sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: #64748b;
    max-width: 56ch;
    line-height: 1.8;
    letter-spacing: 0.015em;
    font-weight: 400;
}

.about .sub strong {
    color: #0f172a;
    font-weight: 600;
    padding: 0 0.15em;
    margin: 0 0.05em;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.about .cta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

/* Globe Container */
.tag-globe {
    width: 80%;
    height: 100%;
    min-height: 400px;
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Globe Map Background & Positioning Lines */
.tag-globe::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    transform: translate(-50%, -50%);
    background:
        url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg') no-repeat center center,
        radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(244, 63, 94, 0.1) 40%, transparent 75%);
    background-size: 85%, 100%;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.45;
    /* Slightly increased for a more vibrant 'light colored' feel */
}

.tag-globe::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='49' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.4'/%3E%3Cellipse cx='50' cy='50' rx='25' ry='49' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.3'/%3E%3Cellipse cx='50' cy='50' rx='10' ry='49' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.2'/%3E%3Cellipse cx='50' cy='50' rx='40' ry='49' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.35'/%3E%3Cellipse cx='50' cy='50' rx='49' ry='25' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.3'/%3E%3Cellipse cx='50' cy='50' rx='49' ry='10' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.2'/%3E%3Cellipse cx='50' cy='50' rx='49' ry='40' fill='none' stroke='%23a78bfa' stroke-width='0.25' opacity='0.35'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: -1;
}

.tag-globe .tag-item {
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    will-change: transform, opacity;
}

.tag-globe .tag-item:hover {
    opacity: 1 !important;
    z-index: 200 !important;
}

.tag-globe a {
    font-size: clamp(0.75rem, 1.5vw, 1.15rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.2em 0.5em;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    color: #64748b;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s cubic-bezier(0.3, 1, 0.4, 1.2);
    position: relative;
    user-select: none;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

/* Tech Tags (Cool Spectrum) */
.tag-globe .tech-tag a {
    color: #8b5cf6;
}

/* Violet */
.tag-globe .tech-tag:nth-child(2n) a {
    color: #0ea5e9;
}

/* Sky Blue */
.tag-globe .tech-tag:nth-child(3n) a {
    color: #2dd4bf;
}

/* Teal */
.tag-globe .tech-tag:nth-child(5n) a {
    color: #6366f1;
}

/* Indigo */

.tag-globe .tech-tag a:hover {
    text-shadow: none !important;
    filter: none !important;
    transform: scale(1.3) !important;
    z-index: 100 !important;
}

/* Expedition Tags (Warm/Nature Spectrum) */
.tag-globe .expedition-tag a {
    color: #f43f5e;
}

/* Rose */
.tag-globe .expedition-tag:nth-child(2n) a {
    color: #f59e0b;
}

/* Amber */
.tag-globe .expedition-tag:nth-child(3n) a {
    color: #10b981;
}

/* Emerald */
.tag-globe .expedition-tag:nth-child(5n) a {
    color: #ec4899;
}

.tag-globe .expedition-tag a:hover {
    text-shadow: none !important;
    filter: none !important;
    transform: scale(1.3) !important;
    z-index: 100 !important;
}

@media (max-width: 768px) {
    .about {
        padding-block: clamp(25px, 5vh, 60px);
    }

    .about .inner {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin-inline: auto;
        border-right: 1.5px solid #e6ebf0;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    @media (max-width: 480px) {
        .about .inner {
            border-right: none;
        }
    }

    .about .intro-text {
        max-width: 100%;
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .about .globe-wrapper {
        width: 100%;
        min-height: unset;
        max-height: 380px;
        margin: 10% 0;
        aspect-ratio: 1 / 1;
        justify-content: flex-start;
    }

    .tag-globe {
        width: 94%;
        min-height: unset;
        margin: 0;
    }

    @media (max-width: 480px) {
        .tag-globe {
            width: 100%;
        }
    }

    .tag-globe a {
        font-size: clamp(0.7rem, 3.5vw, 1rem);
    }
}