:root {
    --primary-color: #E86C3A;
    --bg-color: #FDF8F4;
    --text-color: #333;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links a {
    margin: 0 1.5rem;
    text-decoration: none;
    color: var(--text-color);
}

.resume-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5rem;
    gap: 2rem;
    position: relative;
}

.hero-content {
    padding-top: 3rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.highlight {
    color: var(--primary-color);
}

.description {
    margin: 1.5rem 0;
    line-height: 1.6;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hire-me,
.view-work {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.hire-me {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.view-work {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.curved-arrow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
}

#arrow-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.social-links {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: block;
}

.resume-container {
    display: inline-block;
    position: relative;
}

.resume-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.decorative-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -45px;
    top: -25px;
    transform: rotate(5deg);
}

#resume-arrow {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
}

#resume-curve {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.icon-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 120px;
    background: rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

.scroll-images {
    display: flex;
    gap: 50px;
    animation: scrollImages 15s linear infinite;
    padding: 0 20px;
}

.scroll-images img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.about-section {
    padding: 5rem 2rem;
    background-color: #FDF6F2;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-info {
    text-align: center;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.contact-details {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.tech-stack {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.02);
}

.icon-scroll-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.02);
    margin-bottom: 2rem;
}

.scroll-images {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: scrollImages 15s linear infinite;
}

.tech-icon {
    width: 80px;
    height: 80px;
    padding: 10px;
    transition: all 0.3s ease;
}

@keyframes scrollImages {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

.scroll-images:hover {
    animation-play-state: paused;
}

.grayscale {
    filter: grayscale(100%);
}

.grayscale:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.skills-parallax-section {
    padding: 4rem 0;
    background: #f5f5f5;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.parallax-container {
    width: 50%;
    margin: 0 auto;
}

.parallax-text {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 500;
    color: #333;
    opacity: 0.9;
    margin: 1rem 0;
    white-space: nowrap;
    transition: transform 0.1s ease-out;
}

.scroll-container {
    width: 100%;
}

.scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    color: #333;
    white-space: nowrap;
    opacity: 0.8;
    margin: 1rem 0;
    transform: translateY(var(--scroll-offset, 0));
    transition: transform 0.2s ease-out;
}

.scroll-text.reverse {
    direction: rtl;
}


/* Remove these classes as they're no longer needed */

.parallax-text,
.text-row,
.text-line,
.parallax-img {
    display: none;
}

.text-row {
    display: flex;
    white-space: nowrap;
    margin: 1rem 0;
    transform: translateY(var(--parallax-offset, 0));
    transition: transform 0.2s ease-out;
}

.text-row h2 {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 500;
    color: #333;
    opacity: 0.9;
}

.text-row:nth-child(2) h2 {
    transform: translateX(20px);
}

animation-direction: reverse;

}
@keyframes slideText {
    0% {
        transform: translateX(0);
    }
    
    100% {
        transform: translateX(-50%);
    }
}
.text-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 2rem;
}
.text-line h2 {
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
.parallax-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}
.skills-section {
    padding: 4rem 0;
    background: #f8f8f8;
    position: relative;
}
.side-text {
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    font-size: 1.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.skills-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.skill-group {
    margin-bottom: 2.5rem;
}
.skill-group h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.skill-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: #FFD580;
    border-radius: 50px;
    font-size: 1rem;
    color: #333;
}
.skill-tag img {
    width: 20px;
    height: 20px;
}
.text-scroll-section {
    padding: 4rem 0;
    background: #f5f5f5;
    overflow: hidden;
    width: 100%;
}
.scroll-container {
    width: 100%;
}
.parallax-row {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    color: #666;
    white-space: nowrap;
    opacity: 0.7;
    margin: 0.5rem 0;
    transform: translateX(var(--parallax-offset, 0));
    transition: transform 0.1s ease-out;
}
.scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    color: #666;
    white-space: nowrap;
    opacity: 0.7;
    margin: 0.5rem 0;
    animation: scrollText 40s linear infinite;
}
.scroll-text:nth-child(2) {
    animation-direction: reverse;
}
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    
    100% {
        transform: translateX(-50%);
    }
}
.scroll-text span {
    display: inline-block;
    padding-right: 2rem;
}
.scroll-text:nth-child(2) {
    padding-left: 4rem;
}
.scroll-text:nth-child(3) {
    padding-left: 8rem;
}
.scroll-text.reverse {
    direction: rtl;
}
.projects-section {
    padding: 4rem 0;
    background: #f5f5f5;
    min-height: 400vh;
    position: relative;
}
.card {
    position: sticky;
    top: 20vh;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 70vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9) translateY(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 5;
}
.card.previous {
    transform: scale(0.85) translateY(-30%);
    opacity: 0.7;
}
.card.previous:nth-of-type(1) {
    transform: scale(0.8) translateY(-60%);
    z-index: 4;
}
.card.previous:nth-of-type(2) {
    transform: scale(0.75) translateY(-90%);
    z-index: 3;
}
.card.previous:nth-of-type(3) {
    transform: scale(0.7) translateY(-120%);
    z-index: 2;
}
.card.previous .card-content {
    display: none;
}
.card.previous h2 {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
    color: #666;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}
.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}