

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

body {
    cursor: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #f3f4f6;
    line-height: 1.6;
    overflow-x: hidden;
}

.background-gradient {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1f2937 0%, #000 50%, #1f2937 100%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #d1d5db, #f3f4f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease-out forwards;
}

.subtitle {
    font-size: 1.75rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #fff;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2rem;
}

.section-title.with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title.with-icon svg {
    color: #9ca3af;
}

.card {
    background: linear-gradient(to right, #131314, #1e1e1e);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #a3a3a3;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #5d5f62;
    transform: scale(1.02);
}

.gradient-card {
    background: linear-gradient(to right, #131314, #1e1e1e);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.summary-section {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.4s forwards;
}

.section-text {
    color: #d1d5db;
    line-height: 1.75;
}

.education-section {
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.education-card {
    background: linear-gradient(to right, #131314, #1e1e1e);
    border: 1px solid #b1b1b1;
}

.education-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.education-institution {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.education-details {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    margin-top: 0.5rem;
}

.education-score {
    color: #d1d5db;
    font-weight: 600;
}

.skills-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: linear-gradient(to right, #131314, #1e1e1e);
    border: 1px solid #9da0a4;
}

.skill-card:hover {
    transform: scale(1.03);
}

.skill-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #cdcdcd;
    color: #000000;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid #0c0c0c;
    transition: background 0.3s ease;
}

.skill-tag:hover {
    background: #374151;
}

.projects-section {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.7s forwards;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    background: linear-gradient(to right, #131314, #1e1e1e);
    border: 1px solid #a1a1a1;
}

.project-card:hover {
    border-color: #dbdde1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(1.01);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #fff;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    background: #ffffff;
    color: #0b0b0b;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #4b5563;
}

.project-description {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-description li {
    color: #d1d5db;
    font-size: 0.875rem;
    display: flex;
    gap: 0.5rem;
}

.project-description li::before {
    content: "•";
    color: #4b5563;
    margin-top: 0.25rem;
}

.certifications-section {
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.8s forwards;
}

.certification-card {
    border: 1px solid #374151;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.certification-card:hover {
    border-color: #6b7280;
}

.certification-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.certification-issuer {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.certification-description {
    color: #d1d5db;
}

.two-column-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}


.personal-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.personal-card {
    background: linear-gradient(to right, #131314, #1e1e1e);
    border: 1px solid #c1c1c1;
}

.personal-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.personal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.personal-tags:last-child {
    margin-bottom: 0;
}

.personal-tag {
    background: #d2d2d2;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.personal-tag:hover {
    border-color: #6b7280;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #1f2937;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}


.footer-copyright {
    color: #969798;
    font-size: 0.875rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .contact-links {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .project-header {
        flex-direction: column;
    }

    .two-column-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}


.background-gradient {
    position: fixed;
    inset: 0;
    background: linear-gradient(270deg, #141414, #242425, #101010, #000000);
    background-size: 800% 800%;
    animation: gradientAnimation 15s ease infinite;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* Custom cursor element */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: rgb(255, 255, 255);
    mix-blend-mode: difference; /* inversion effect */
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    z-index: 9999;
}

/* Cursor hover effect on interactive elements */
a:hover, button:hover {
    --cursor-scale: 2;
}
