* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #fff;
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10 px);
    z-index: 1000;
}

nav h1 {
    color: #ff004f;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff004f;
}



.hero {
    height: 60vh;
    min-height: 89vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h2 {
    font-size: 40px;
    animation: fadeInUp 1s ease forwards;
}

.hero h2 span {
    color: #ff004f;
}

.hero p {
    font-size: 18px;
    margin-top: 15px;
    opacity: 0.8;
}

.hero button {
    background: #ff004f;
    color: white;
    padding: 12px 25px;
    border: none;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.3s;
}

.hero button:hover {
    background: white;
    color: #ff004f;
}


section {
    padding: 80px 50px;
}


.about {
    max-width: 800px;
    margin: auto;
    text-align: center;
    min-height: 89vh;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff004f;
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    min-height: 89vh;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
}

.skill-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skill-card:hover {
    transform: scale(1.05);
    background-color: #ff004f;

}

.skill-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}


.progress {
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    height: 18px;
    margin-top: 10px;
}

.progress-bar {
    background: linear-gradient(90deg, #ff004f, #ff7b7b);
    height: 100%;
    color: #fff;
    text-align: right;
    padding-right: 8px;
    line-height: 18px;
    border-radius: 20px;
    width: 0;
    transition: width 1.5s ease-in-out;
    font-size: 0.8rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px 60px;

}


.project-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;

}

.project-card h3 {
    padding: 15px;
    font-size: 20px;
    color: white;
}

.project-card:hover {
    transform: scale(1.03);
    background-color: #ff004f;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-card h3 {
    padding: 15px;
}


.contact {
    text-align: center;
    min-height: 87vh;
}

.contact a {
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
}


.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 37px;
    margin: 0 15px;
    display: inline-block;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #ff004f;
    transform: scale(1.2);

}

.education-container h1 {
    font-size: 37px;
    color: #ff004f;
}


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

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

.timeline-item {
    padding: 20px;
    position: relative;
    background: #1a1a1a;
    border-radius: 10px;
    width: 45%;
    margin-bottom: 30px;
    transition: 0.3s;
}

.timeline-item:hover {
    background: #ff004f;
    transform: translateY(-5px);
}

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

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


.timeline-icon {
    position: absolute;
    top: 20px;
    left: -20px;
    background: #ff004f;
    color: white;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h2 {
    margin-bottom: 5px;
}

.timeline-content span {
    font-size: 14px;
    color: #ccc;
}

.timeline-content p {
    margin-top: 5px;
    color: #eee;
}

.coming-soon {
    text-align: center;
    margin-top: 130px;

}

.coming-soon h1 {
    font-size: 3rem;
    color: #ff004f;
    margin-bottom: 15px;
}

.comsoon {
    min-height: 87.6vh;
}

.coming-soon p {
    font-size: 1.2rem;
    color: #dcdcdc;
    margin-bottom: 30px;
}

.loader {
    border: 5px solid #fe18c54d;
    border-top: 5px solid #ff004f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

footer {
    display: flex;
    flex-direction: column;
    background: #0d0d0d;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    opacity: 0.6;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .projects {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px 40px;
    }
}


@media (max-width: 992px) {
    .timeline-item {
        width: 100%;
        left: 0 !important;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-icon {
        left: -3px;
    }

    .projects {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px 60px;
    }

    .project-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .skills {
        flex-direction: column;
        align-items: center;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .projects {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .project-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .projects {
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 0px;
    }
}