@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    from,
    to {
        border-color: var(--lime-cream);
    }

    50% {
        border-color: transparent;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exp-content {
    padding: 80px 10%;
    background: linear-gradient(135deg, var(--stone-brown) 0%, #5a4e42 100%);
}

.exp-content h2,
.education-content h2,
.skills-content h2,
.projects-content h2 {
    font-size: 2.5rem;
    color: var(--lime-cream);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
    scroll-margin-top: 100px;
}

.exp-content h2::after,
.education-content h2::after,
.skills-content h2::after,
.projects-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--pale-amber), var(--lime-cream));
}

.exp-content p {
    font-size: 1.2rem;
    color: var(--pale-amber);
    margin-top: 30px;
    margin-bottom: 8px;
    font-weight: 600;
}

.exp-content small {
    color: var(--sand-2);
    font-size: 0.95rem;
}

.exp-content ul {
    margin-left: 20px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.exp-content li {
    color: #ededed;
    line-height: 1.8;
    margin-bottom: 10px;
}

.education-content {
    padding: 80px 10%;
    background: linear-gradient(135deg, #6B5D4F 0%, #765a52 100%);
}

.education-content p {
    font-size: 1.1rem;
    color: var(--pale-amber);
    margin-top: 25px;
    margin-bottom: 5px;
    font-weight: 600;
}

.education-content small {
    color: var(--sand-2);
    font-size: 0.9rem;
}

.education-content ul {
    display: none;
}

.skills-content {
    padding: 80px 10%;
    background: linear-gradient(135deg, var(--stone-brown) 0%, #5a4e42 100%);
}

.skills-content ul {
    list-style: none;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.skills-content li {
    background: linear-gradient(135deg, rgba(244, 232, 124, 0.1) 0%, rgba(203, 191, 122, 0.05) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--pale-amber);
    color: #ededed;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(235, 243, 139, 0.2);
}

.skills-content li:hover {
    background: linear-gradient(135deg, rgba(235, 243, 139, 0.2) 0%, rgba(244, 232, 124, 0.1) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(235, 243, 139, 0.15);
    border-left-color: var(--lime-cream);
}

/* Projects Section */
.projects-content {
    padding: 80px 10%;
    background: linear-gradient(135deg, #6B5D4F 0%, #765a52 100%);
}

.projects-content p {
    font-size: 1.1rem;
    color: var(--lime-cream);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.projects-content a {
    color: var(--pale-amber);
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}

.projects-content a:hover {
    color: var(--lime-cream);
    border-bottom: 2px solid var(--lime-cream);
}

.projects-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.projects-content li {
    color: #ededed;
    line-height: 1.8;
    margin-bottom: 10px;
}

footer {
    background: linear-gradient(135deg, #3D3530 0%, #4a3f39 100%);
    padding: 50px 10%;
    text-align: center;
    border-top: 3px solid var(--pale-amber);
}

footer p {
    color: #ededed;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

footer nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

footer nav a {
    color: var(--pale-amber);
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    font-weight: 600;
}

footer nav a.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--pale-amber);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: transparent;
    font-weight: normal;
}

footer nav a.social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(87%) sepia(80%) saturate(350%) hue-rotate(2deg) brightness(103%) contrast(103%);
    transition: filter 0.3s ease;
}

footer nav a.social-icon:hover {
    background-color: var(--pale-amber);
    transform: translateY(-3px);
}

footer nav a.social-icon:hover img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(10%) saturate(200%) hue-rotate(200deg) brightness(95%) contrast(95%);
}

footer nav a:not(.social-icon)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--sand-2);
    transition: width 0.3s ease;
}

footer nav a:not(.social-icon):hover {
    color: var(--lime-cream);
}

footer nav a:not(.social-icon):hover::after {
    width: 100%;
}

footer a[href="#top"] {
    color: var(--sand-2);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid var(--pale-amber);
    border-radius: 25px;
    display: inline-block;
}

footer a[href="#top"]:hover {
    color: var(--stone-brown);
    background-color: var(--pale-amber);
}

@media (max-width: 768px) {

    .exp-content,
    .education-content,
    .skills-content,
    .projects-content {
        padding: 60px 5%;
    }

    .exp-content h2,
    .education-content h2,
    .skills-content h2,
    .projects-content h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        scroll-margin-top: 70px;
    }

    .exp-content p,
    .education-content p,
    .projects-content p {
        font-size: 1rem;
        margin-top: 20px;
    }

    .exp-content small,
    .education-content small {
        font-size: 0.85rem;
    }

    .exp-content ul,
    .projects-content ul {
        margin-left: 15px;
    }

    .skills-content ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skills-content li {
        padding: 20px;
        border-radius: 10px;
        animation: slideInUp 0.6s ease-out backwards;
    }

    .skills-content li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .skills-content li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .skills-content li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .skills-content li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .skills-content li:nth-child(5) {
        animation-delay: 0.5s;
    }

    .skills-content li:nth-child(6) {
        animation-delay: 0.6s;
    }

    .skills-content li:nth-child(7) {
        animation-delay: 0.7s;
    }

    footer {
        padding: 40px 5%;
    }

    footer p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    footer nav {
        gap: 20px;
        margin-bottom: 20px;
    }

    footer nav a.social-icon {
        width: 40px;
        height: 40px;
    }

    footer nav a.social-icon img {
        width: 20px;
        height: 20px;
    }

    footer a[href="#top"] {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {

    .exp-content,
    .education-content,
    .skills-content,
    .projects-content {
        padding: 40px 4%;
    }

    .exp-content h2,
    .education-content h2,
    .skills-content h2,
    .projects-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .exp-content p,
    .education-content p,
    .projects-content p {
        font-size: 0.95rem;
    }

    .exp-content small,
    .education-content small {
        font-size: 0.8rem;
    }

    .exp-content li,
    .projects-content li,
    .education-content p {
        line-height: 1.6;
        margin-bottom: 8px;
    }

    footer {
        padding: 30px 4%;
    }

    footer p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    footer nav {
        gap: 15px;
    }

    footer nav a.social-icon {
        width: 35px;
        height: 35px;
    }

    footer nav a.social-icon img {
        width: 18px;
        height: 18px;
    }

    footer a[href="#top"] {
        padding: 8px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (hover: none) and (pointer: coarse) {

    .navMenu a,
    .btn-box a,
    .skills-content li,
    footer nav a.social-icon,
    footer a[href="#top"] {
        transition: all 0.2s ease;
    }
}