/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #6366F1;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

/* --- HEADER --- */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8em;
    font-family: 'Courier New', monospace;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a.active-link {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links a.active-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
}

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    text-align: center;
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

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

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1em;
    font-weight: 500;
}

/* --- HERO SECTION --- */
.hero {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

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

.profile-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--white);

    box-shadow: 0 20px 80px rgba(79, 70, 229, 0.6);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* ADD THIS LINE: Focus on the top of the image */
    object-position: top;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 0;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2em;
    cursor: pointer;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- SECTIONS COMMON --- */
section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    scroll-margin-top: 100px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- NEW ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.8;
}

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

.about-highlights {
    list-style: none;
    margin-top: 20px;
}

.about-highlights li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95em;
}

.about-highlights li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
    line-height: 1;
}

.about-highlights strong {
    color: var(--text-dark);
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-card p {
    color: var(--text-dark);
    font-size: 0.9em;
    font-weight: 500;
}

/* --- NEW EXPERIENCE SECTION (Expandable) --- */
.experience-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.experience-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.exp-icon-title {
    display: flex;
    gap: 15px;
}

.exp-icon {
    width: 45px;
    height: 45px;
    background: #E0E7FF;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    flex-shrink: 0;
}

.exp-title h3 {
    font-size: 1.2em;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.exp-company {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95em;
}

.exp-meta {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9em;
    align-items: center;
}

.exp-meta i {
    margin-right: 5px;
}

.exp-summary {
    margin-top: 15px;
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.6;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    transition: color 0.3s;
}

.toggle-btn:hover {
    color: var(--secondary-color);
}

.experience-details {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.4s ease;
}

.experience-details.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.detail-section-title {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.achievements-list {
    list-style: none;
    margin-bottom: 20px;
}

.achievements-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.95em;
}

.achievements-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -6px;
}

.exp-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-tag {
    background: #EFF6FF;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

/* --- PROJECTS --- */
#projects {
    background: var(--bg-light);
    padding: 100px 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

#projects>div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.tech-tag {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    color: var(--text-dark);
    border: 1px solid #E5E7EB;
}

/* --- SKILLS --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9em;
}

/* --- CONTACT --- */
#contact {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

#contact h2,
#contact p {
    color: var(--white);
}

#contact .section-title::after {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

/* --- FOOTER --- */
footer {
    background: #1F2937;
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9CA3AF;
}

/* --- TOAST NOTIFICATION --- */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1001;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 17px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* --- AWARDS SECTION --- */
.awards-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    margin-top: 10px;
}

.awards-subtitle i {
    color: var(--primary-color);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.award-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.award-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
    width: 100%;
}

.award-icon {
    width: 45px;
    height: 45px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    flex-shrink: 0;
}

.award-info {
    flex-grow: 1;
}

.award-info h4 {
    font-size: 1.1em;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.award-company {
    font-size: 0.9em;
    color: var(--text-light);
}

.award-desc {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.award-tag {
    background: #DBEAFE;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
}

.award-icon.purple {
    background: #F3E8FF;
    color: #9333EA;
}

.award-tag.purple {
    background: #A855F7;
    color: white;
}

.award-tag.purple-light {
    background: #C084FC;
    color: white;
}

.hackathon-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.hackathon-year {
    font-size: 0.9em;
    color: var(--text-light);
}

.hackathon-teams {
    font-size: 0.85em;
    color: var(--text-light);
    font-style: italic;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .profile-circle {
        width: 250px;
        height: 250px;
    }

    /* Mobile adjustments for Experience section */
    .exp-header {
        flex-direction: column;
    }

    .toggle-btn {
        margin-top: 10px;
        margin-left: auto;
    }
}

/* --- EDUCATION & CERTIFICATIONS --- */
.edu-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.section-subtitle i {
    color: var(--primary-color);
    font-size: 0.9em;
}

/* Education Card */
.education-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    height: 100%;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.edu-degree {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.edu-field {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 5px;
}

.edu-school {
    font-size: 1em;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 15px;
}

.edu-meta {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.edu-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Certification Cards */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.cert-info h4 {
    font-size: 1em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cert-issuer {
    font-size: 0.9em;
    color: var(--text-light);
}

.cert-id {
    font-size: 0.8em;
    color: #9CA3AF;
    margin-top: 3px;
}

.cert-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    margin-left: 15px;
}

.status-active {
    background-color: #10B981;
    /* Green */
}

.status-previous {
    background-color: #9CA3AF;
    /* Gray */
}

@media (max-width: 768px) {
    .edu-cert-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ENHANCED PROJECTS SECTION --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns as per design */
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.project-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.project-icon-box i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Glow Effect */
.project-card:hover .project-icon-box i {
    transform: scale(1.1);
    color: #F59E0B;
    /* Amber color when lit */
    text-shadow: 0 0 15px #FCD34D, 0 0 30px #F59E0B;
    /* Strong glowing effect */
}

.project-card:hover .project-icon-box {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    /* Amber glow around the box */
    border-color: #FCD34D;
}

/* Override specific variants to ensure glow uniformity */
.project-card:hover .project-icon-box.filled {
    background: #2563EB;
    /* Keep blue bg but add glow */
    color: white;
    /* Reset text color for filled box or keep white? */
}

/* Ensure the icon turns yellow even inside filled box? 
   Yellow on Blue is readable (Sweden flag). 
   Let's force the icon color to yellow for the "glow".
*/
.project-card:hover .project-icon-box.filled i {
    color: #FCD34D;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.project-icon-box.filled {
    background: #2563EB;
    /* Blue */
    color: white;
}

.project-icon-box.light {
    background: #DBEAFE;
    /* Light Blue */
    color: #2563EB;
}

.project-card h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-card p {
    font-size: 0.95em;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Impact Section */
.project-impact {
    margin-bottom: 20px;
    width: 100%;
}

.impact-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2563EB;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.impact-text {
    font-size: 0.95em;
    color: var(--text-dark);
    font-weight: 500;
}

/* Achievements Section */
.project-achievements {
    margin-bottom: 25px;
    width: 100%;
    margin-top: auto;
    /* Push to bottom if needed, but tech stack is last */
}

.achievements-label {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: block;
}

.project-achievements ul {
    list-style: none;
    padding: 0;
}

.project-achievements li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9em;
}

.project-achievements li::before {
    content: '•';
    color: #2563EB;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Tech Stack Updates */
.tech-stack {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--white);
    border: 1px solid #BFDBFE;
    /* Light Blue Border */
    color: #1D4ED8;
    /* Darker Blue Text */
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 500;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ENHANCED SKILLS SECTION --- */
.skills-grid {
    display: grid;
    /* Use auto-fit to be responsive, but set a good minimum width */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #BFDBFE;
    /* Light Blue Border on hover */
}

/* Header with Icon */
.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.skill-icon-small {
    width: 40px;
    height: 40px;
    background: #EFF6FF;
    /* Light blue bg */
    color: #2563EB;
    /* Blue icon */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
}

.skill-category h3 {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Skill Tags */
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    background: #F3F4F6;
    /* Light gray */
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
    transition: background 0.2s;
}

/* Hover effect for individual skills? Optional */
.skill-category:hover .skill-item {
    background: #EFF6FF;
    /* Blue tinted bg on card hover */
    color: #1E40AF;
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}