/* About Section Styles */
.about {
    background: linear-gradient(170deg, var(--white) 0%, #f8fafc 100%);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.about-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #2563eb 0%, #7c3aed 100%);
    animation: float-slow 20s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    animation: float-slow 15s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    top: 40%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: linear-gradient(225deg, #2563eb 0%, #5b21b6 100%);
    animation: float-slow 25s ease-in-out infinite alternate;
}

@keyframes float-slow {
    0% { 
        transform: translate(0, 0) rotate(0deg);
    }
    100% { 
        transform: translate(50px, 25px) rotate(10deg);
    }
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

/* About Image Column */
.about-image-column {
    position: relative;
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.about-image-frame {
    width: 280px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    position: relative;
    border: 5px solid #ffffff;
    z-index: 3;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-frame:hover .about-profile-img {
    transform: scale(1.05);
}

.tech-orbit {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: orbit 20s linear infinite;
}

.tech-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.icon-1 { color: #E44D26; animation-delay: -0s; }      /* HTML5 */
.icon-2 { color: #264DE4; animation-delay: -2.5s; }    /* CSS3 */
.icon-3 { color: #F7DF1E; animation-delay: -5s; }      /* JavaScript */
.icon-4 { color: #61DAFB; animation-delay: -7.5s; }    /* React */
.icon-5 { color: #F05138; animation-delay: -10s; }     /* Swift */
.icon-6 { color: #68A063; animation-delay: -12.5s; }   /* Node.js */
.icon-7 { color: #777BB3; animation-delay: -15s; }     /* PHP */
.icon-8 { color: #21759B; animation-delay: -17.5s; }   /* WordPress */

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(170px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(170px) rotate(-360deg);
    }
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.35);
    z-index: 4;
    animation: pulse-badge 3s ease-in-out infinite;
}

.badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}

.text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.25rem;
}

@keyframes pulse-badge {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
    }
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
}

.stat-item {
    flex: 1;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* About Text Column */
.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.about-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #0f172a;
    line-height: 1.2;
}

.about-subtitle-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    border-radius: 2px;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.about-intro {
    font-size: 1.15rem;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.expertise-areas {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1rem;
}

.expertise-area {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
}

.expertise-area:hover {
    background: rgba(37, 99, 235, 0.03);
    transform: translateX(5px);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
}

.expertise-area:hover .expertise-icon {
    transform: rotateY(180deg);
}

.expertise-content h4 {
    font-size: 1.35rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.expertise-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
}

.about-approach h4, .skills-section h4 {
    font-size: 1.35rem;
    color: #1e40af;
    margin-bottom: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.approach-arrow, .skills-arrow {
    margin-left: 0.75rem;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.about-approach:hover .approach-arrow, .skills-section:hover .skills-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.approach-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
}

.approach-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    color: #2563eb;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.approach-card:hover .approach-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

.approach-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.approach-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    transition: all 0.3s ease;
}

.approach-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-pill {
    background: #ffffff;
    color: #1e40af;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    cursor: default;
}

.skill-pill:hover {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.35);
    border-color: transparent;
}

.about-cta {
    margin-top: 1rem;
    text-align: center;
}

.btn-about-cta {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 0.03em;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-about-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
    color: #ffffff;
    text-decoration: none;
}

/* Responsive adjustments for About section */
@media (max-width: 1100px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-orbit {
        width: 380px;
        height: 380px;
    }
    
    .about-subtitle {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tech-orbit {
        width: 340px;
        height: 340px;
    }
    
    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(140px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(140px) rotate(-360deg);
        }
    }
    
    .expertise-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .expertise-content h4 {
        text-align: center;
    }
    
    .approach-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tech-orbit {
        width: 300px;
        height: 300px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(120px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(120px) rotate(-360deg);
        }
    }
    
    .about-image-frame {
        width: 240px;
        height: 240px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .years {
        font-size: 2rem;
    }
    
    .text {
        font-size: 0.7rem;
    }
}