/* About Me Section Styles */
.about-me {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - 3D Robot */
.robot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
}

.robot-3d {
    position: relative;
    width: 300px;
    height: 400px;
    animation: robotFloat 6s ease-in-out infinite;
}

.robot-body {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Robot Head */
.robot-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation: headBob 4s ease-in-out infinite;
}

.robot-eyes {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
}

.eye {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    animation: eyeBlink 3s ease-in-out infinite;
}

.eye::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
}

.robot-mouth {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: #ffffff;
    border-radius: 4px;
    animation: mouthMove 2s ease-in-out infinite;
}

/* Robot Torso */
.robot-torso {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 180px;
    background: linear-gradient(135deg, #1e40af, #3730a3);
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
    animation: torsoRotate 8s ease-in-out infinite;
}

.robot-arms {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.arm {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.left-arm {
    left: -25px;
    transform-origin: top center;
    animation: leftArmSwing 5s ease-in-out infinite;
}

.right-arm {
    right: -25px;
    transform-origin: top center;
    animation: rightArmSwing 5s ease-in-out infinite reverse;
}

.robot-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    animation: corePulse 2s ease-in-out infinite;
}

.core-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

/* Robot Legs */
.robot-legs {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.leg {
    width: 25px;
    height: 100px;
    background: linear-gradient(135deg, #1e40af, #3730a3);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: legWalk 4s ease-in-out infinite;
}

/* Robot Particles */
.robot-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 40%;
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    bottom: 30%;
    right: 25%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

/* Robot Halo */
.robot-halo {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 50%;
    animation: haloRotate 10s linear infinite;
}

/* Right Side - About Text */
.about-text {
    color: #ffffff;
}

.about-header {
    margin-bottom: 2rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.about-description {
    margin-bottom: 3rem;
}

.hero-text {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-story {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.about-expertise {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

.about-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.about-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-cta p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.about-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.about-btn i {
    font-size: 1.2rem;
}

/* Robot Animations */
@keyframes robotFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes headBob {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(2deg); }
    75% { transform: translateX(-50%) rotate(-2deg); }
}

@keyframes eyeBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

@keyframes mouthMove {
    0%, 100% { width: 40px; }
    50% { width: 50px; }
}

@keyframes torsoRotate {
    0%, 100% { transform: translateX(-50%) rotateY(0deg); }
    50% { transform: translateX(-50%) rotateY(5deg); }
}

@keyframes leftArmSwing {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

@keyframes rightArmSwing {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes legWalk {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes haloRotate {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .robot-container {
        order: 2;
        height: 400px;
    }
    
    .robot-torso {
        height: 160px;
    }
    
    .robot-legs {
        bottom: -10px;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-me {
        padding: 4rem 0;
    }
    
    .robot-3d {
        width: 250px;
        height: 350px;
    }
    
    .robot-torso {
        height: 140px;
    }
    
    .robot-legs {
        bottom: -20px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .robot-3d {
        width: 200px;
        height: 300px;
    }
    
    .robot-torso {
        height: 120px;
    }
    
    .robot-legs {
        bottom: -30px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-cta {
        padding: 1.5rem;
    }
    
    .about-cta h3 {
        font-size: 1.5rem;
    }
}

/* Count Up Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
