@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic);

/* Global Styles */
:root {
    --primary-color: #025939;
    --secondary-color: #011425;
    --accent-color: #03A65A;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --light-background: #f5f5f5;
    --border-color: #dddddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --header-color: #000C18;
    --transition: all 0.3s ease;
    --card-width:  350px;
    --card-height: 500px;
    --h-color:     #9CC9E3;
    --yellow:      #D0BB57;
    --txt-color:   #DCE3E7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--light-background);
}

.info-title{
    color:var(--light-background);
    margin-top: 0;
    margin-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    box-shadow: 0 2px 4px rgba(3, 166, 90, 0.3);
}

/* Sidebar fija */
.sidebar {
    position: fixed;
    top: 60px; /* altura del header */
    left: 0;
    width: 100px;
    height: 100%;
    color: white;
    padding: 1rem;
    z-index: 900;
    display: flex;
    align-items: center;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

hr {
    border: 1px solid var(--accent-color); /* Cambia #tu-color por el color deseado */
    background-color: transparent; /* Asegúrate de que el fondo no afecte */
    height: 1px; /* Altura de la línea */
    width: 100%;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--accent-color);
    border: 3px solid var(--accent-color);
    
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color);
    border: 3px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    border: 3px solid var(--accent-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    background-color: var(--header-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {  
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    padding: 0 20px;
    padding-top: 70px; /* Added padding to account for fixed navbar height */
}

.hero-container {
    
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 3rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.profile-image {
    width: 300px;
    height: 340px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-text);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}


/* Hero base (sin animación al cargar) */
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 1;
    transition: opacity 0.3s ease;
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos para el carrusel de tecnologías */
.tech-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-carousel .tech-icon {
    width: 50px;
    height: 50px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: float 3s ease-in-out infinite;
}
.intro .tech-icon {
    width: 50px;
    height: 50px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: float 3s ease-in-out infinite;
    margin-left: 25px;
    margin-bottom: 25px;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.tech-carousel .tech-icon:hover {
    transform: translateY(-10px) scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation-play-state: paused;
}

.tech-carousel .tech-icon img {
    width: 30px;
    height: 30px;
}

.hero-buttons {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(3, 166, 90, 0.5);
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

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

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

/* Experience & Education Sections */
.experience, .education {
    padding: 6rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--light-background);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(2, 89, 57, 0.1);
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #2F6B63;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 10px 80px var(--shadow-color);
    transition: var(--transition);
    color: #d6d2d2;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 16px var(--shadow-color);
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #acacac;
}

.timeline-date {
    font-style: italic;
    color: #acacac;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(1, 35, 64, 0.15);
    border-top: 3px solid var(--accent-color);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.project-tech span {
    background-color: rgba(2, 89, 57, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-tech span img {
    width: 16px;
    height: 16px;
}

.project-links a i {
    margin-right: 0.3rem;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-item {
    background-color: var(--light-background);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.skill-item:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(2, 89, 57, 0.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0B3D2E;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px;
     color:  var(--light-background);
     margin-top: 20%;
     margin-bottom: 20%;
}	
.contact-info ul{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: large;
    margin-top: 5%;
}
.contact-info ul li a{
    color:  var(--light-background);
}

.contact-info img{
    width: 100%;
    transition: transform 0.5s ease; 
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}
.contact-info img:hover{
    transform: scale(1.2); 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration-color: var(--light-text);
    color: var(--light-text);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--light-text);
}

.contact-form {
    background-color: var(--header-color); 
    color: var(--light-text);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    border-left: 4px solid var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

/* Footer */
footer {
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: calc(100vh - 70px);
        top: 70px;
        background-color: var(--background-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px var(--shadow-color);
        padding: 2rem 0;
    }
    
    .nav-links li {
        opacity: 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        width: 70%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

/* Animation for nav links */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-active {
    transform: translateX(0%);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card vieja */
/* Card vieja */
/* Card vieja */
/* Card vieja */
/* Card vieja */
.blog-card {
    width: 350px; /* o tu tamaño deseado */
    height: 500px; /* deja que el contenido determine la altura */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 0 auto; /* centra la card horizontalmente */
    position: relative; /* ya no flota sobre otras secciones */
}

.blog-card .card-icon {
    width: 50px;
    height: 50px;
    margin: 10px 10px 10px 10px;
}


/* Variantes */
.blog-card.spring-fever.bg-mentor{
    background: url('../img/MentoryWallPaper.png') no-repeat;
     background-size: cover;
    background-position: center;
     width: 350px;   /* igual que la card */
    height: 500px;  /* igual que la card */
    position: relative; /* para overlays */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
.blog-card.spring-fever.bg-protector{
    background: url('../img/ProtectorWallPaper.png') no-repeat;
     background-size: cover;
    background-position: center;
     width: 350px;   /* igual que la card */
    height: 500px;  /* igual que la card */
    position: relative; /* para overlays */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
.blog-card.spring-fever {
    background-size: cover;
    background-position: center;
     width: 350px;   /* igual que la card */
    height: 500px;  /* igual que la card */
    position: relative; /* para overlays */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

/* Overlays */
.blog-card .color-overlay {
    background: rgba(84, 104, 110, 0.05);
    width: var(--card-width);
    height: var(--card-height);
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.blog-card .gradient-overlay {
    background-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 21%);
     width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
}

/* Hover Effects */
.blog-card:hover .card-info {
    opacity: 1;
    bottom: 120px;
}

.blog-card:hover .color-overlay {
    background: rgba(84, 104, 110, 0.8);
}

/* Card Info */
.blog-card .card-info {
    width: 100%;
    position: absolute;
    bottom: 100px;
    left: 0;
    margin: 0 auto;
    padding: 0 50px;
    color: var(--txt-color);
    font-family: 'Droid Serif', serif;
    font-size: 16px;
    line-height: 24px;
    z-index: 20;
    opacity: 0;
    transition: bottom 0.3s, opacity 0.3s cubic-bezier(0.33,0.66,0.66,1);
}

/* Title Content */
.blog-card .title-content {
    text-align: center;
    margin: 50px 0 0 0;
    position: absolute;
    z-index: 20;
    width: 100%;
    top: 0;
    left: 0;
}

/* Headings and Text */
.blog-card h3 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    color: white;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 0;
}

.blog-card hr {
    width: 50px;
    height: 3px;
    margin: 20px auto;
    border: 0;
    background: var(--yellow);
}

.blog-card .intro {
    width: 170px;
    margin: 0 auto;
    color: var(--txt-color);
    font-family: 'Droid Serif', serif;
    font-size: 13px;
    font-style: italic;
    line-height: 18px;
}

/* Utility Info */
.blog-card .utility-info {
    position: absolute;
    bottom: 0;
    left: 50%; /* Mueve al centro horizontal */
    transform: translateX(-50%); /* Centra exactamente */
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card .utility-list {
    list-style-type: none;
    margin: 0 0 10px 0; /* quitar margen */
    padding: 0; /* quitar padding */
    display: flex;
    gap: 15px; /* separación entre items */
}

.blog-card .utility-list li {
    margin: 0 15px 0 0;
    padding: 0 0 0 22px;
    display: inline-block;
    color: var(--txt-color);
    font-family: 'Roboto', sans-serif;
}

/* Card vieja */
/* Card vieja */

 .projects-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 20px;
        }

        .projects-header {
            text-align: center;
            margin-bottom: 60px;
            color: #ffffff;
        }

        .projects-title {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: 3px;
            color: #ffffff;
            margin-bottom: 20px;
            position: relative;
        }

        .projects-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #03A65A;
            display: block;
            margin: 20px auto;
            border-radius: 2px;
        }
        .projects-subtitle {
            font-size: 1.1rem;
            color: #d6d2d2;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .project-showcase {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin-top: 80px;
        }

        .laptop-container {
            position: relative;
            max-width: 500px;
            margin: 0 auto;
        }

        .laptop-mockup {
            width: 100%;
            height: auto;
            filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
        }

        .laptop-frame {
            width: 100%;
            height: 350px;
            background: #2a2a2a;
            border-radius: 15px 15px 0 0;
            padding: 15px;
            position: relative;
        }

        .laptop-screen {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border-radius: 8px;
            position: relative;
            overflow: hidden;
        }

        .screen-header {
            background: rgba(255, 255, 255, 0.95);
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            font-size: 0.8rem;
        }

        .screen-nav {
            display: flex;
            gap: 20px;
            font-size: 0.7rem;
            color: #333;
        }

        .screen-content {
            padding: 40px 20px;
            text-align: center;
            color: white;
            height: calc(100% - 40px);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .screen-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .screen-subtitle {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .screen-button {
            background: white;
            color: #333;
            padding: 12px 24px;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.8rem;
            letter-spacing: 1px;
            align-self: center;
            cursor: pointer;
        }

        .social-icons {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .social-icon {
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.8rem;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .social-icon:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .laptop-base {
            width: 100%;
            height: 20px;
            background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
            border-radius: 0 0 10px 10px;
            position: relative;
        }

        .laptop-base::before {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 5px;
            background: #b0b0b0;
            border-radius: 0 0 5px 5px;
        }

        .project-details {
            padding-left: 40px;
        }
        
        .intro{
            display: flex;
            align-items: center;
            justify-content: start;
        }
        .project-name {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--light-text);
            margin-bottom: 30px;
        }

        .project-description {
            font-size: 1.1rem;
            color: #a1a1a1;
            line-height: 1.8;
            margin-bottom: 40px;
        }
        .case-study-btn {
            background: linear-gradient(135deg, #8b5cf6, #a855f7);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        }

        .case-study-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .projects-title {
                font-size: 2.5rem;
            }

            .project-showcase {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            .project-details {
                padding-left: 0;
            }

            .laptop-container {
                order: -1;
            }

            .screen-title {
                font-size: 1.4rem;
            }

            .project-name {
                font-size: 2rem;
            }

            .projects-section {
                padding: 60px 20px;
            }
             
        }

        @media (max-width: 480px) {
            .projects-title {
                font-size: 2rem;
            }

            .laptop-frame {
                height: 280px;
            }

            .screen-title {
                font-size: 1.2rem;
            }

            .screen-subtitle {
                font-size: 0.8rem;
            }

            .project-name {
                font-size: 1.8rem;
            }

            .project-description {
                font-size: 1rem;
            }
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .projects-section > * {
            animation: fadeInUp 0.8s ease-out;
        }

        .project-showcase {
            animation: fadeInUp 1s ease-out 0.3s both;
        }





.text-focus-in {
	-webkit-animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}





.text-focus-in-reverse {
	-webkit-animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) reverse both;
	        animation: text-focus-in 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) reverse both;
}

@-webkit-keyframes text-focus-in-reverse {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}


@media screen and (max-width: 768px) {
   .sidebar {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        background-color: var(--header-color);
        z-index: 999;
    }

    .sidebar-nav {
        flex-direction: row;
    }
    .nav-links {
        background-color: var(--header-color);
    }

    .nav-links a {
        color: var(--light-text);
    }
}
@media screen and (max-width: 1024px) {
    .sidebar {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        background-color: var(--header-color);
        z-index: 999;
    }
    .sidebar-nav {
        flex-direction: row;
    }

}


#education,
#contact {
    scroll-margin-top: 90px;
}
