.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.about-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
    min-height: 80vh;
}

.about-left {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 2rem;
    border-right: 1px solid rgba(96, 165, 250, 0.2);
}

.about-right {
    flex: 0.5;
    display: flex !important;
    flex-direction: column;
    padding-left: 2rem;
    overflow: visible;
    width: 50%;
    position: relative;
    min-height: 400px;
    height: 100%;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-image img, .project-image img {
    width: 100%;
    height: auto;
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    max-width: 100%;
    line-height: 1.6;
    margin-top: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
}

.about-image img {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    top: 6px;
    left: 7px;
    transform: translate(-5px, -5px);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.4),
                inset 0 0 15px rgba(96, 165, 250, 0.4);
    animation: borderGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(96, 165, 250, 0.4),
                    inset 0 0 15px rgba(96, 165, 250, 0.4);
        transform: scale(0.98);
    }
    50% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.6),
                    inset 0 0 20px rgba(96, 165, 250, 0.6);
        transform: scale(1);
    }
}

/* fir Dark mode adjustments */
body.dark-mode .about-image::before {
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5),
                inset 0 0 20px rgba(96, 165, 250, 0.5);
}

.about-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

.resume-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 160px;
}

.resume-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
}

.button-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-button span:not(.button-icon) {
    flex: 1;
    text-align: center;
    margin-right: 0.5rem;
}

.resume-button:hover .button-icon {
    transform: scale(1.1);
}

.resume-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 150%;
    height: 150%;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: -1;
}

.resume-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}

body.dark-mode .about-text p {
    color: var(--light-text);
}

@media (max-width: 1200px) {
    .about-content-wrapper {
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .about-content-wrapper {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .about-left, .about-right {
        flex: 1;
        width: 100%;
        padding: 0;
        border-right: none;
        overflow: hidden;
    }

    .about-text {
        text-align: center;
    }

    .skills-carousel-container {
        margin-top: 2rem;
        gap: 1rem;
    }

    .skill-item {
        width: 40px;
        height: 40px;
        margin: 0 15px;
    }

    .carousel-row {
        height: 60px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 1rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

.skills-carousel-container {
    position: relative;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.5rem;
    overflow: visible;
    margin-top: 2rem;
    height: auto;
    z-index: 1;
}

.carousel-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 80px;
    margin-bottom: 2rem;
}

.carousel-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.carousel-row {
    width: 100%;
    height: 40px;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.carousel-track {
    display: flex;
    position: absolute;
    width: 200%;
    height: 100%;
    align-items: center;
    gap: 2rem;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

#track1, #track2, #track3 {
    display: flex;
    position: absolute;
    width: 200%;
    height: 100%;
    gap: 2rem;
    align-items: center;
    will-change: transform;
    backface-visibility: hidden;
}

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

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

.skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin: 0 0.5rem;
}

.skill-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .skills-carousel-container {
        perspective: 1000px;
    }
    
    .skill-item {
        width: 40px;
        height: 40px;
    }
}

