/* Root variables for easy theme changes */
/* Root variables for easy theme changes */
:root {
    --primary: #181c2f;
    --secondary: #7c3aed;
    --white: #fff;
    --text: #e0e0e0;
}

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--primary);
    color: var(--text);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    line-height: 1.6;
}

/* Container */
.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */
header {
    text-align: center;
    padding: 32px 10px 18px 10px;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}

.header-nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.header-nav a:hover,
.header-nav a:focus {
    background: var(--secondary);
    color: var(--white);
    outline: none;
}

/* Profile logo */
.profile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.profile-logo-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    box-shadow: 0 2px 12px #7c3aed44;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.profile-logo-img:hover,
.profile-logo-img:focus {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 6px 24px #7c3aed88;
    border-color: var(--white);
    outline: none;
}

/* Responsive adjustments for profile logo */
@media (max-width: 900px) {
    .profile-logo-img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 500px) {
    .profile-logo-img {
        width: 48px;
        height: 48px;
    }
}

/* Section titles */
.section-title {
    font-size: 2rem;
    margin: 36px 0 18px 0;
    text-align: center;
    color: var(--secondary);
    font-weight: 700;
}

/* About section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.about-text {
    flex: 1 1 320px;
    min-width: 220px;
}

/* Education highlight */
.education-highlight {
    margin-top: 12px;
    background: #23264a;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--white);
    font-size: 1.05em;
}

/* Skills Section */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.skill-chip {
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
    border-radius: 22px;
    padding: 12px 26px;
    font-size: 1.13em;
    font-weight: 500;
    box-shadow: 0 2px 8px #7c3aed22;
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-chip:hover,
.skill-chip:focus {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 2px 12px #7c3aed55;
    outline: none;
}

.skill-chip:active {
    filter: brightness(0.90);
    transform: scale(0.90);
}

/* Projects & Resume Section */
.projects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.project-card {
    background: #181c2f;
    border: 2px solid var(--secondary);
    border-radius: 16px;
    padding: 26px 20px;
    flex: 1 1 270px;
    min-width: 200px;
    max-width: 340px;
    box-shadow: 0 2px 12px #7c3aed22;
    transition: transform 0.2s, border 0.3s;
    color: var(--text);
    margin-bottom: 18px;
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-8px) scale(1.04);
    border-color: var(--white);
    outline: none;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.project-link:hover,
.project-link:focus {
    background: var(--white);
    color: var(--secondary);
    outline: none;
}

/* Resume link */
.resume-link-wrapper {
    text-align: center;
    margin: 20px 0;
}

.resume-link {
    background: var(--secondary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
}

.resume-link:hover,
.resume-link:focus {
    background: var(--white);
    color: var(--secondary);
    outline: none;
}

/* Contact Section */
.contact-info {
    font-size: 1.13em;
    margin-bottom: 18px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    transition: transform 0.2s;
}

.social-links img {
    width: 44px;
    height: 44px;
    vertical-align: middle;
    background: #d1d4f4;
    border-radius: 50%;
    padding: 7px;
    box-shadow: 0 2px 12px #7c3aed44;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.social-links img:hover,
.social-links img:focus {
    background: var(--secondary);
    transform: scale(1.16) rotate(-360deg);
    box-shadow: 0 4px 24px #7c3aed88;
    outline: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 26px;
    background: var(--primary);
    color: #fff;
    margin-top: 48px;
    font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .container {
        max-width: 98vw;
    }

    .projects-list {
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        gap: 18px;
    }

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

    .project-card {
        max-width: 98vw;
        width: 100%;
    }

    .skills-list {
        gap: 10px;

    }

    .profile-logo-img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 700px) {
    html {
        font-size: 16px;
    }

    .container {
        width: 99vw;
        padding: 0 2vw;
    }

    .section-title {
        font-size: 2.2rem;
        margin: 2px 0 12px 0;
    }

    .header-nav {

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 180px));
    }

    .project-card {
        width: 100%;
        padding: 16px 10px;
        font-size: 0.98em;
    }

    .skills-list {

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 10fr));
        gap: 12px;
        text-align: center;

    }

    .resume-link {
        height: 300px;
        padding: 10px 50px;
        font-size: 1.3rem;
    }

    .social-links img {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 1vw;
    }

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

    .project-card {

        width: 95%;
        padding: 10px 10px;
    }

    .profile-logo-img {
        width: 48px;
        height: 48px;
    }

    .skills-list {
        gap: 8px;
        margin: 7px;
    }

    .social-links img {
        width: 28px;
        height: 28px;
        padding: 3px;
    }

    .resume-link {
        height: 300px;
        padding: 10px 50px;
        font-size: 1.3rem;


    }
    .header-nav {
    
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 180px));
    }
}

@media (max-width: 300px) {
    .container {
        padding: 0 1vw;
    }

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

    .project-card {

        width: 95%;
        padding: 10px 10px;


    }

    .profile-logo-img {
        width: 48px;
        height: 48px;
    }

    .skills-list {
        gap: 8px;
        margin: 7px;



    }

    .social-links img {
        width: 28px;
        height: 28px;
        padding: 3px;
    }

    .resume-link {
        height: 300px;
        padding: 10px 50px;
        font-size: 1.3rem;


    }
    .header-nav {
    
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 180px));
    }
}