:root {
    --primary-color: #00C896;
    --primary-light: #33FFBB;
    --primary-dark: #00A37A;
    --secondary-color: #00A99D;
    --dark-color: #1A1D24;
    --darker-color: #111317;
    --light-color: #F8F9FA;
    --lighter-color: #FFFFFF;
    --accent-color: #FFAA00;
    --accent-light: #FFC34D;
    --text-color: #212529;
    --text-light: #5A5A5A;
    --text-lighter: #888888;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #FF8C00);
    --gradient-dark: linear-gradient(135deg, var(--dark-color), #222733);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--lighter-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

header {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    background-color: rgba(18, 18, 18, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    transition: var(--transition);
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
}

.hero {
    background: var(--gradient-dark);
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.about-section {
    background-color: var(--lighter-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: var(--box-shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 700;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.skills-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #e3e9ff 100%);
    color: var(--dark-color);
}

.skills-section .section-title {
    color: var(--dark-color);
}

.skills-showcase {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.skills-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.skill-item {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.3);
}

.skill-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-logo {
    width: 50px;
    height: 50px;
    margin-right: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.skill-item:hover .skill-logo {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.2);
}

.skill-logo img {
    width: 100%;
    height: auto;
}

.skill-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

.skill-bar {
    width: 100%;
    height: 12px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-level {
    height: 100%;
    width: var(--progress);
    background: var(--gradient-primary);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    animation: load-skill 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
    position: relative;
    overflow: hidden;
}

.skill-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0;
    animation: show-text 0.5s 2s forwards;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: translateX(-150%);
    animation: shine-effect 3s infinite linear;
    animation-delay: 2s;
}

@keyframes load-skill {
    100% {
        transform: scaleX(1);
    }
}

@keyframes show-text {
    100% {
        opacity: 1;
    }
}

@keyframes shine-effect {
    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(250%);
    }
}

.projects-section {
    background-color: var(--lighter-color);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.project-image {
    width: 100%;
    height: 240px;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 0.9;
}

.view-project {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-project:hover {
    background: var(--dark-color);
    color: white;
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 600;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f0f0f0;
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.project-card:hover .tag {
    background: var(--primary-light);
    color: white;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-light);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.certificaciones-section {
    background-color: #1E1E1E;
    color: #E0E0E0;
}

.certificaciones-header {
    text-align: center;
    margin-bottom: 50px;
}

.certificaciones-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #F8F8F8;
}

.certificaciones-header p {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    width: 100%;
    perspective: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carousel-row {
    width: 100%;
    display: flex;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
}

.carousel-track {
    display: inline-flex;
    flex-shrink: 0;
    pointer-events: auto;
    animation: scroll 60s linear infinite;
}

.carousel-row:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-row.reverse .carousel-track {
    animation-direction: reverse;
}

.carousel-track img {
    height: 160px;
    width: auto;
    margin: 0 15px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    flex-shrink: 0;
    filter: brightness(0.7);
    opacity: 0.8;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        filter 0.4s ease,
        opacity 0.4s ease,
        box-shadow 0.4s ease;
}

.carousel-row:hover .carousel-track img {
    filter: brightness(1);
    opacity: 1;
}

.carousel-row .carousel-track img:hover {
    transform: scale(1.2) translateZ(30px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.contact-section {
    background-color: white;
}

#contact {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 3rem 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

#contact h2 {
    margin-top: 0;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.contact-links-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-item span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.contact-button {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    cursor: pointer;
    color: var(--dark-color);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-button svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-button[href*="github.com"]:hover {
    color: #333;
    border-color: #333;
    background: #f5f5f5;
}

.contact-button[href*="linkedin.com"]:hover {
    color: #0A66C2;
    border-color: #0A66C2;
    background: #f0f7ff;
}

#email-button:hover {
    color: #c71610;
    border-color: #c71610;
    background: #fff0f0;
}

.contact-button:hover svg {
    transform: scale(1.15);
}

footer {
    background-color: var(--darker-color);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #f0f0f0;
    line-height: 1.6;
}

.footer-author {
    font-size: 1rem;
    color: #B0B0B0;
    font-weight: 500;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: modalOpen 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.2rem;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 700;
}

.modal-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.1rem;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.tech-used,
.project-links {
    margin-bottom: 20px;
}

.tech-used h3,
.project-links h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
}

.project-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.project-link.github {
    background: #333;
}

.project-link.github:hover {
    background: #555;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-email {
    background: #fff;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-width: 500px;
    width: 90%;
}

.modal-overlay.active .modal-content-email {
    transform: scale(1);
}

.modal-content-email h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.close-modal-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal-button:hover {
    color: #333;
    transform: rotate(90deg);
}

#email-address-display {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    user-select: all;
    transition: var(--transition);
}

#email-address-display:hover {
    border-color: var(--primary-color);
}

#copy-email-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#copy-email-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

#copy-email-button.copied {
    background: var(--gradient-accent);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
    padding: 20px;
}

.lightbox.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3.5rem;
    color: #F8F8F8;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 1000;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: #C0C0C0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
        color: white;
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .skills-showcase {
        padding: 2rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-image {
        height: 250px;
    }

    .modal-body {
        padding: 25px;
    }

    .contact-links-container {
        flex-direction: column;
        gap: 2rem;
    }

    .carousel-track img {
        height: 130px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .footer-quote {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content h3 {
        font-size: 1.8rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .modal-content-email {
        padding: 2rem 1.5rem;
    }

    #email-address-display {
        font-size: 1rem;
    }

    .footer-quote {
        font-size: 1.1rem;
    }
}