:root {
    --background-dark: #0a0e27;
    --background-card: #1a1f3a;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --border-radius: 16px;
    --padding-small: 8px;
    --padding-large: 50px;
    --font-main: 'Roboto', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(99, 102, 241, 0.1);
    --shadow-lg: 0 8px 32px rgba(99, 102, 241, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --background-dark: #f8fafc;
    --background-card: #ffffff;
    --text-color: #1e293b;
    --text-muted: #475569;
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

[data-theme="light"] .sides .side_left,
[data-theme="light"] .side_right {
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .container .projects_section {
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .container .projects_section .project {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

* {
    margin: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@keyframes jumpSequence {
    0%, 20%, 100% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(-20px);
    }
}

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

@keyframes flyInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

@keyframes flyInRight {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

body {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-link:hover::after {
    width: 80%;
}

.theme-toggle {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
    margin-top: 60px;
}

h1 {
    font-family: var(--font-main);
}

.sides {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
    gap: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.sides .side_left, .side_right {
    text-align: center;
    background: var(--background-card);
    color: var(--text-color);
    border-radius: var(--border-radius);
    min-height: 85vh;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.side_left {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 20px;
}

.side_left h2 {
    font-family: var(--font-main);
    margin-bottom: 0;
}

.side_left .info_card {
    width: 95%;
    min-height: 90vh;
    border-radius: 5px;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.side_left .info_card h3, p {
    width: 100%;
    margin-bottom: 5px;
    font-family: var(--font-main);
}

.side_left .info_card  p {
    font-size: large;
}

.side_left .info_card .personal_info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.side_left .info_card .image {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.side_left .info_card .image img {
     border-radius: 50%;
     width: 80%;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .project-image {
        height: 200px;
    }
    .project-content {
        padding: 20px;
    }
    .project-header h3 {
        text-align: center;
        font-size: 1.3rem;
    border: 4px solid transparent;
    padding: 4px;
    border-radius: 2%;
    width: 200px;
    /* height: 200px; */
    object-fit: cover;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.side_left .info_card .image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
}

.side_left .info_card .contact_info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.side_left .info_card .contact_info {
    font-size: x-large;
    font-family: var(--font-main);
}

.side_left .info_card .contact_info ul {
    list-style-type: none;
    width: 100%;
}

.side_left .info_card .contact_info ul li {
    padding: var(--padding-small);
    margin-bottom: 5px;
    font-size: large;
}

.side_left .info_card .contact_info ul li a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.side_left .info_card .contact_info ul li a:hover {
    color: var(--accent-secondary);
}

.side_left .info_card .contact_info ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.side_left .info_card .contact_info ul li a:hover::after {
    width: 100%;
}

.btn-resume {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-resume:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.side_right {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.side_right h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
    padding-left: 20px;
    font-family: var(--font-main);
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.side_right h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--accent-gradient);
    border-radius: 4px;
}

.side_right .about_section {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.side_right .about_section p {
    margin-left: 20px;
    font-size: 1.1rem;
    font-weight: 400;
    padding: var(--padding-small);
    line-height: 1.8;
    color: var(--text-muted);
    text-align: left;
}

.side_right .experience_section {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.experience-item {
    width: 100%;
    padding: 24px;
    margin: 20px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--accent-primary);
    border-radius: 8px;
    transition: var(--transition);
}

.experience-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.experience-item h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.experience-item .company {
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.experience-item .location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.experience-item .description {
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
}

.side_right .skills_section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.side_right .skills_section .soft, .technical {
    width: 100%;
}

.side_right .skills_section .soft ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly
}

.side_right .skills_section .soft ul li {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    font-family: var(--font-main);
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-color);
    transition: var(--transition);
    cursor: default;
}

.side_right .skills_section .soft ul li:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}




.side_right .skills_section ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.side_right .skills_section .technical ul li {
    animation: jumpSequence 3s ease-in-out infinite;
}

.side_right .skills_section .technical ul li:nth-child(1) { animation-delay: 0s; }
.side_right .skills_section .technical ul li:nth-child(2) { animation-delay: 0.15s; }
.side_right .skills_section .technical ul li:nth-child(3) { animation-delay: 0.3s; }
.side_right .skills_section .technical ul li:nth-child(4) { animation-delay: 0.45s; }
.side_right .skills_section .technical ul li:nth-child(5) { animation-delay: 0.6s; }
.side_right .skills_section .technical ul li:nth-child(6) { animation-delay: 0.75s; }
.side_right .skills_section .technical ul li:nth-child(7) { animation-delay: 0.9s; }
.side_right .skills_section .technical ul li:nth-child(8) { animation-delay: 1.05s; }
.side_right .skills_section .technical ul li:nth-child(9) { animation-delay: 1.2s; }
.side_right .skills_section .technical ul li:nth-child(10) { animation-delay: 1.35s; }
.side_right .skills_section .technical ul li:nth-child(11) { animation-delay: 1.5s; }
.side_right .skills_section .technical ul li:nth-child(12) { animation-delay: 1.65s; }
.side_right .skills_section .technical ul li:nth-child(13) { animation-delay: 1.8s; }
.side_right .skills_section .technical ul li:nth-child(14) { animation-delay: 1.95s; }
.side_right .skills_section .technical ul li:nth-child(15) { animation-delay: 2.1s; }
.side_right .skills_section .technical ul li:nth-child(16) { animation-delay: 2.25s; }
.side_right .skills_section .technical ul li:nth-child(17) { animation-delay: 2.4s; }
.side_right .skills_section .technical ul li:nth-child(18) { animation-delay: 2.55s; }
.side_right .skills_section .technical ul li:nth-child(19) { animation-delay: 2.7s; }
.side_right .skills_section .technical ul li:nth-child(20) { animation-delay: 2.85s; }

.side_right .skills_section ul li {
    padding: 12px;
    margin: 8px;
    transition: var(--transition);
}

.side_right .skills_section ul li img {
    transition: var(--transition);
    filter: grayscale(0.3);
}

.side_right .skills_section ul li:hover img {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0);
}

.container .projects_section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    border-radius: var(--border-radius);
    padding: var(--padding-large);
    background: var(--background-card);
    color: var(--text-color);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.1);
    gap: 40px;
}

.container .projects_section h2 {
    width: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    padding-left: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 20px;
}

.container .projects_section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--accent-gradient);
    border-radius: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    width: 100%;
}

.project-card {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.7) 100%);
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.project-content ul,
.project-content li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.project-year {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.img1 {
    background: url("./img/skymall.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img2 {
    background: url("./img/groupie_\ 2024-11-12\ 17-03-14.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img3 {
    background: url("./img/atm_2024-11-12\ 17-36-47.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.img4 {
    background: url("./img/nte-cat_2024-11-12\ 17-48-50.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img5 {
    background: url("./img/tessa_2024-11-13\ 11-17-57.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.prt_link {
    text-decoration: none;
    color: var(--accent-primary);
    transition: var(--transition);
    position: relative;
}

.prt_link:hover {
    color: var(--accent-secondary);
}

/* Contact Form Container */
.contact-form {
    width: 100%;
    margin: 50px auto;
    padding: 60px 40px;
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 900px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    background: rgba(99, 102, 241, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.email-card:hover .contact-icon { transform: scale(1.1); transition: var(--transition); }
.linkedin-card:hover .contact-icon { transform: scale(1.1); transition: var(--transition); }
.github-card:hover .contact-icon { transform: scale(1.1); transition: var(--transition); }

.bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 1rem;
    text-align: center;
    color: var(--text-color);
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

/* Responsive Design */
/* Responsive Adjustments */

@media (max-width: 1142px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .theme-toggle {
        padding: 6px 12px;
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 40px 20px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 24px 20px;
    }

    .contact-form .input-wrapper .form-input {
        width: 100%; /* Full width on smaller screens */
    }
    .side_right .skills_section .soft ul li {
        font-size: small;
    }
    .side_left .info_card .image img {
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .project-image {
        height: 200px;
    }
    .project-content {
        padding: 20px;
    }
    .project-header h3 {
        font-size: 1.3rem;
        width: 120px;
        height: 120px;
    }
    .container .projects_section .project {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 600px;
    }
    
    .container .projects_section .project .info {
        padding: 20px;
    }

    .container .projects_section .project .info .techs ul li {
        font-size: 0.85rem;
    }
    .side_right .about_section p {
        font-size: large;
        margin-left: 0;
    }
    
    .experience-item {
        margin: 10px;
        padding: 16px;
    }
    
    .experience-item h3 {
        font-size: 1.1rem;
    }
    .container .projects_section {
        width: 100%;
    }
    .container .projects_section h2 {
        width: 100%;
        margin: 50px;
        margin-left: 0;
        border-left: 3px solid;
        padding-left: var(--padding-small);
        border-color: var(--accent-color);
    }

    .side_left, .side_right {
        width: 100%;
        position: relative;
        top: auto;
    }

    .side_right h2 {
        font-size: large;
        margin-left: 10px;
    }

    .projects_section {
        padding: var(--padding-small);
    }

    .side_right  .skills_section  ul li img {
        width: 50px;
        height: 50px;
    }
    .bottom {
        font-size: small;
    }
}
