/* About Header */
.about-header {
    background: var(--dark-color);
    color: white;
    position: relative;
    margin-top: 76px;
    padding: 120px 0;
    overflow: hidden;
}

.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(99, 102, 241, 0.1) 2px, transparent 2px),
        radial-gradient(rgba(99, 102, 241, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    animation: patternMove 20s linear infinite;
    opacity: 0.5;
}

.about-header-content {
    position: relative;
    z-index: 2;
}

.about-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-3px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 4rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.about-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-glow {
    padding: 15px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-outline-glow {
    padding: 15px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: transparent;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.btn-outline-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-outline-glow:hover::before {
    opacity: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tech Orbit Animation */
.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.orbit-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

.tech-items {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.tech-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: background 0.3s ease;
    cursor: pointer;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
}

.tech-item:nth-child(1) {
    animation: orbit1 20s linear infinite;
}

.tech-item:nth-child(2) {
    animation: orbit2 20s linear infinite;
}

.tech-item:nth-child(3) {
    animation: orbit3 20s linear infinite;
}

.tech-item:nth-child(4) {
    animation: orbit4 20s linear infinite;
}

.tech-item:nth-child(5) {
    animation: orbit5 20s linear infinite;
}

.tech-item:nth-child(6) {
    animation: orbit6 20s linear infinite;
}

.tech-item:hover {
    background: var(--gradient-1);
    animation-play-state: paused;
}

@keyframes orbit1 {
    from {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    from {
        transform: rotate(60deg) translateX(150px) rotate(-60deg);
    }

    to {
        transform: rotate(420deg) translateX(150px) rotate(-420deg);
    }
}

@keyframes orbit3 {
    from {
        transform: rotate(120deg) translateX(150px) rotate(-120deg);
    }

    to {
        transform: rotate(480deg) translateX(150px) rotate(-480deg);
    }
}

@keyframes orbit4 {
    from {
        transform: rotate(180deg) translateX(150px) rotate(-180deg);
    }

    to {
        transform: rotate(540deg) translateX(150px) rotate(-540deg);
    }
}

@keyframes orbit5 {
    from {
        transform: rotate(240deg) translateX(150px) rotate(-240deg);
    }

    to {
        transform: rotate(600deg) translateX(150px) rotate(-600deg);
    }
}

@keyframes orbit6 {
    from {
        transform: rotate(300deg) translateX(150px) rotate(-300deg);
    }

    to {
        transform: rotate(660deg) translateX(150px) rotate(-660deg);
    }
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    animation: pulse 2s infinite;
}

.badge-content {
    text-align: center;
}

.badge-content .years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.badge-content .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-shapes .shape {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    top: 10%;
    right: 10%;
    filter: blur(50px);
    opacity: 0.3;
    animation: float 6s infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    bottom: 20%;
    left: 5%;
    filter: blur(60px);
    opacity: 0.2;
    animation: float 8s infinite;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    top: 30%;
    left: 30%;
    filter: blur(40px);
    opacity: 0.2;
    animation: float 7s infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 20px 20px;
    }

    100% {
        background-position: 40px 40px, 60px 60px;
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes counter-rotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-header {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .gradient-text {
        font-size: 3.2rem;
    }

    .tech-orbit {
        width: 300px;
        height: 300px;
        margin-top: 50px;
    }

    .orbit-circle {
        width: 220px;
        height: 220px;
    }

    .tech-item {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        left: calc(50% - 25px);
        top: calc(50% - 25px);
    }

    @keyframes orbit1 {
        from {
            transform: rotate(0deg) translateX(110px) rotate(0deg);
        }

        to {
            transform: rotate(360deg) translateX(110px) rotate(-360deg);
        }
    }

    @keyframes orbit2 {
        from {
            transform: rotate(60deg) translateX(110px) rotate(-60deg);
        }

        to {
            transform: rotate(420deg) translateX(110px) rotate(-420deg);
        }
    }

    @keyframes orbit3 {
        from {
            transform: rotate(120deg) translateX(110px) rotate(-120deg);
        }

        to {
            transform: rotate(480deg) translateX(110px) rotate(-480deg);
        }
    }

    @keyframes orbit4 {
        from {
            transform: rotate(180deg) translateX(110px) rotate(-180deg);
        }

        to {
            transform: rotate(540deg) translateX(110px) rotate(-540deg);
        }
    }

    @keyframes orbit5 {
        from {
            transform: rotate(240deg) translateX(110px) rotate(-240deg);
        }

        to {
            transform: rotate(600deg) translateX(110px) rotate(-600deg);
        }
    }

    @keyframes orbit6 {
        from {
            transform: rotate(300deg) translateX(110px) rotate(-300deg);
        }

        to {
            transform: rotate(660deg) translateX(110px) rotate(-660deg);
        }
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .gradient-text {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-cta {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-orbit {
        width: 260px;
        height: 260px;
    }

    .orbit-circle {
        width: 200px;
        height: 200px;
    }

    .tech-item {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: calc(50% - 20px);
        top: calc(50% - 20px);
    }

    @keyframes orbit1 {
        from {
            transform: rotate(0deg) translateX(100px) rotate(0deg);
        }

        to {
            transform: rotate(360deg) translateX(100px) rotate(-360deg);
        }
    }

    @keyframes orbit2 {
        from {
            transform: rotate(60deg) translateX(100px) rotate(-60deg);
        }

        to {
            transform: rotate(420deg) translateX(100px) rotate(-420deg);
        }
    }

    @keyframes orbit3 {
        from {
            transform: rotate(120deg) translateX(100px) rotate(-120deg);
        }

        to {
            transform: rotate(480deg) translateX(100px) rotate(-480deg);
        }
    }

    @keyframes orbit4 {
        from {
            transform: rotate(180deg) translateX(100px) rotate(-180deg);
        }

        to {
            transform: rotate(540deg) translateX(100px) rotate(-540deg);
        }
    }

    @keyframes orbit5 {
        from {
            transform: rotate(240deg) translateX(100px) rotate(-240deg);
        }

        to {
            transform: rotate(600deg) translateX(100px) rotate(-600deg);
        }
    }

    @keyframes orbit6 {
        from {
            transform: rotate(300deg) translateX(100px) rotate(-300deg);
        }

        to {
            transform: rotate(660deg) translateX(100px) rotate(-660deg);
        }
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Quick Stats Section */
.quick-stats {
    position: relative;
    overflow: hidden;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .stat-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px 15px;
    }

    .stat-icon {
        margin: 0 auto 15px;
    }

    .stat-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-content h3 {
        text-align: center;
    }

    .stat-content p {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }

    .stat-content h3 {
        font-size: 2rem;
    }
}

/* Stat Card Decorations */
.stat-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: -100px;
    left: -100px;
}

.decoration-2 {
    width: 250px;
    height: 250px;
    background: var(--gradient-2);
    bottom: -50px;
    right: -50px;
}

/* Timeline Section */
.timeline-section {
    position: relative;
    background: var(--dark-color);
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    padding-left: 50px;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(99, 102, 241, 0.2),
            rgba(99, 102, 241, 0.4),
            rgba(99, 102, 241, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.timeline-marker {
    position: absolute;
    left: -65px;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 0 6px var(--dark-color);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 0 8px var(--dark-color), 0 0 20px rgba(99, 102, 241, 0.4);
}

.timeline-header {
    margin-bottom: 25px;
}

.timeline-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline-body {
    color: var(--text-secondary);
}

.timeline-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.timeline-skills {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
}

.timeline-skills h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-skills h4 i {
    color: var(--accent-color);
}

.timeline-skills ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-skills li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.timeline-skills li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.timeline-tags,
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.timeline-tags span,
.tech-stack span {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.timeline-tags span:hover,
.tech-stack span:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.timeline-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-item {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    filter: blur(80px);
    opacity: 0.1;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -100px;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -50px;
    background: var(--gradient-2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline-wrapper {
        padding-left: 30px;
    }

    .timeline-wrapper::before {
        left: 15px;
    }

    .timeline-marker {
        left: -45px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .timeline-header h3 {
        font-size: 1.5rem;
    }

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

    .timeline-skills {
        padding: 15px;
    }

    .timeline-skills h4 {
        font-size: 1.1rem;
    }

    .timeline-item {
        padding: 20px;
    }
}