/* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #007AFF;
            --secondary-color: #5856D6;
            --text-color: #333;
            --accent-color: #FF2D55;
            --success-color: #34C759;
            --warning-color: #FF9500;
            --error-color: #FF3B30;
            --gray-100: #F2F2F7;
            --gray-200: #E5E5EA;
            --gray-300: #D1D1D6;
            --gray-400: #C7C7CC;
            --gray-500: #AEAEB2;
            --gray-600: #8E8E93;
            --gray-700: #636366;
            --gray-800: #48484A;
            --gray-900: #3A3A3C;
            --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            --section-spacing: 6rem;
            --background-color: #23272A;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 4rem;
            font-size: 16px;
        }

        body {
            font-family: var(--font-family);
            line-height: 1.6;
            color: #eaeaea;
            background-color: #181A1B;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: #181A1B;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.7);
        }

        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .nav-content a {
            color: #eaeaea;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-content a:hover,
        .nav-content a.active {
            color: #7aaaff;
        }

        /* Section backgrounds */
        .hero, .experience-section, .contact-section {
            background-color: #181A1B;
        }

         .skills-section, .about-section, .featured-projects {
            background-color: #23272A;
        }

        /* Hero section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 6rem 2rem 4rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 20%;
            height: 100%;
            background: #007AFF;
            z-index: 0;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            right: 20%;
            width: 60%;
            height: 100%;
            background: #007AFF;
            z-index: 0;
            clip-path: polygon(100% 0, 0 0, 100% 100%);
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .profile-section {
            position: relative;
        }

        .profile-image-container {
            width: 100%;
            max-width: 400px;
            aspect-ratio: 1;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .profile-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-text {
            padding: 2rem;
            background: #23272A;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.7);
            color: #fff;
        }

        .hero-text h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #fff;
            line-height: 1.2;
        }

        .hero-text .subtitle {
            font-size: 1.5rem;
            color: #fff;
            margin-bottom: 1.5rem;
        }

        .hero-text .description {
            font-size: 1.1rem;
            color: #fff;
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
        }

        @media (max-width: 768px) {
            .hero {
                padding: 5rem 1rem 3rem;
            }
            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }
            .profile-image-container {
                max-width: 300px;
                margin: 0 auto;
            }
            .hero-text {
                padding: 1.5rem;
            }
            .hero-text h1 {
                font-size: 2.5rem;
            }
            .hero-text .subtitle {
                font-size: 1.2rem;
            }
            .cta-buttons {
                justify-content: center;
            }
        }

        /* Section headers */
        section h2 {
            font-size: 2.1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 2.5rem;
        }

/* ---------------------------
   Skills Section Styles
   --------------------------- */
.skills-section {
    padding: 4rem 2rem;
    width: 100%;
    margin: 0 auto;
}

.skills-section .section-title {
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.skills-section .subsection-title,
.skills-section .subsection-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

.skills-section .subsection-title {
    margin-top: 3rem;
    font-size: 1.5rem;
    color: #fff;
}

.skills-section .subsection-subtitle {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #eaeaea;
}

/* grid wrapper for all your mini-cards */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    width: 100%;
}

/* Programming Languages specific grid */
.skills-section h3:first-of-type + .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    width: 100%;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* each little card */
.skill-card {
    background-color: #2C2F33;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0;
}

.skill-card.revealed {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

/* the icon itself */
.skill-card .skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    filter: invert(31%) sepia(98%) saturate(1234%) hue-rotate(190deg) brightness(97%) contrast(101%);
}

/* skill name */
.skill-card .skill-name {
    font-size: 1rem;
    color: #fff;
    margin: 0.5rem 0;
}

/* small caption */
.skill-card .skill-type {
    font-size: 0.8rem;
    color: #AAA;
    margin: 0;
}

        /* Projects section */
        .featured-projects {
            padding: 6rem 2rem;
        }

        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .project-card {
            background: #181A1B;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            color: #fff;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .project-image {
            width: 100%;
            aspect-ratio: 16/9;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .project-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .project-content h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #fff;
        }

        .project-description {
            color: #fff;
            margin-bottom: 1.5rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            color: #b3b3b3;
        }

        .tag {
            background: #23272A;
            color: #7aaaff;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .project-links {
            margin-top: auto;
        }

        @media (max-width: 768px) {
            .featured-projects {
                padding: 4rem 1rem;
            }
            .project-grid {
                grid-template-columns: 1fr;
            }
            .project-card {
                max-width: 500px;
                margin: 0 auto;
            }
        }

        /* Project modals */
        .project-modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background: rgba(20, 22, 25, 0.95);
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .project-modal.active {
            display: flex;
        }

        .modal-content {
            background: #1a1f2e;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 12px;
            position: relative;
            width: 80%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            color: #fff;
            cursor: default;
        }

        .modal-content h3 {
            color: #7aaaff;
            margin: 1.5rem 0 1rem 0;
            font-size: 1.3rem;
        }

        .modal-content h4 {
            color: #7aaaff;
            margin: 1.2rem 0 0.8rem 0;
            font-size: 1.1rem;
        }

        .modal-content p {
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .modal-content ul {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .modal-content li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }

        .modal-image {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            border: 1px dashed rgba(255, 255, 255, 0.2);
        }

        .modal-image img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            max-height: 400px;
            object-fit: contain;
        }

        .image-caption {
            color: #b3b3b3;
            font-size: 0.9rem;
            text-align: center;
            margin: 0;
            width: 100%;
        }

        .modal-links {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .modal-links .btn {
            text-decoration: none;
            display: inline-block;
        }

        .close {
            position: absolute;
            top: 1.2rem;
            right: 1.5rem;
            font-size: 2rem;
            color: #aaa;
            cursor: pointer;
            font-weight: 700;
            transition: color 0.2s;
        }

        .close:hover {
            color: #fff;
        }

        @media (max-width: 600px) {
            .modal-content {
                padding: 1.2rem 0.5rem;
                max-width: 98vw;
            }
        }

        /* About/Coursework section */
        .about-section {
            background: #181A1B;
            padding: 6rem 2rem;
        }

        .coursework-header {
            font-size: 2.1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 2.5rem;
        }

        .coursework-columns {
            background: #181A1B;
            border: none;
            box-shadow: none;
            column-count: 2;
            column-gap: 3rem;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .course-block {
            break-inside: avoid;
            margin-bottom: 2.2rem;
            padding-left: 0.2em;
            background: transparent;
        }

        .course-semester {
            font-size: 1.1rem;
            color: #b3b3b3;
            margin-bottom: 0.2rem;
        }

        .course-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.7rem;
            line-height: 1.18;
        }

        .course-code {
            font-size: 1.5rem;
            font-weight: 700;
            margin-right: 0.5em;
            letter-spacing: 0.01em;
            color: #7aaaff;
        }

        .enrolled {
            color: #7aaaff;
            font-style: italic;
            font-size: 1.05rem;
            margin-left: 0.3em;
        }

        @media (max-width: 900px) {
            .coursework-columns {
                column-count: 1;
            }
        }

        @media (max-width: 768px) {
            .about-section {
                padding: 4rem 1rem;
            }
        }

        /* Contact section */
        .contact-section {
            padding: 6rem 2rem;
            color: #eaeaea;
            background: #23272A;
        }

        .contact-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 4rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-card,
        .social-card {
            background: #181A1B;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .contact-card h3,
        .social-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
        }

        .contact-card ul {
            list-style: none;
        }

        .contact-card li {
            margin-bottom: 1rem;
        }

        .contact-card strong {
            display: block;
            color: var(--gray-700);
            margin-bottom: 0.25rem;
        }

        .contact-card a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .social-links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .social-link {
            color: var(--primary-color);
            text-decoration: none;
            padding: 0.5rem 0;
            transition: color 0.3s ease;
        }

        .social-link:hover {
            color: var(--secondary-color);
        }

        .contact-form {
            background: #181A1B;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--gray-700);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--gray-300);
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 1rem;
            transition: border-color 0.3s ease;
            color: #23272A;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        @media (max-width: 768px) {
            .contact-section {
                padding: 4rem 1rem;
            }
            .contact-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .contact-card,
            .social-card,
            .contact-form {
                padding: 1.5rem;
            }
        }

        /* Buttons */
        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-size: 1rem;
            background: #23272A;
            color: #fff;
        }

        .btn.primary {
            background: #007AFF;
            color: #fff;
        }

        .btn.secondary {
            background: #23272A;
            color: #7aaaff;
            border: 1px solid #7aaaff;
        }

        .btn:hover {
            background: #333b44;
            color: #fff;
        }

        .btn.primary:hover {
            background: #005ecb;
        }

        .btn.secondary:hover {
            background: #222b3a;
            color: #fff;
        }

        @media (max-width: 480px) {
            .btn {
                width: 100%;
                text-align: center;
            }
            .cta-buttons {
                flex-direction: column;
            }
        }

        /* Footer */
        footer {
            background-color: var(--gray-900);
            color: white;
            padding: 3rem 2rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .footer-content .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1.5rem;
        }

        .footer-content .social-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-content .social-links a:hover {
            color: var(--primary-color);
        }

        @media (max-width: 768px) {
            footer {
                padding: 2rem 1rem;
            }
            .footer-content .social-links {
                gap: 1rem;
            }
        }

        /* Reveal animations */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-left {
            transform: translateX(-30px);
        }

        .reveal-right {
            transform: translateX(30px);
        }

        .reveal-up {
            transform: translateY(30px);
        }

        .reveal-down {
            transform: translateY(-30px);
        }

        .reveal-delay-1 {
            transition-delay: 0.1s;
        }

        .reveal-delay-2 {
            transition-delay: 0.2s;
        }

        .reveal-delay-3 {
            transition-delay: 0.3s;
        }

        .reveal-delay-4 {
            transition-delay: 0.4s;
        }

        @media (max-width: 768px) {
            .reveal {
                transform: translateY(20px);
            }
            .reveal-left {
                transform: translateX(-20px);
            }
            .reveal-right {
                transform: translateX(20px);
            }
        }

        /* Experience Section */
        .experience-section {
            padding: 4rem 2rem;
            position: relative;
        }

        .experience-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 3fr;
            gap: 4rem;
            position: relative;
        }

        .experience-section .section-title {
            text-align: left;
            margin: 0;
            padding-right: 2rem;
            position: relative;
        }

        .experience-section .section-title::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 2px;
            height: 100%;
            background-color: #2C2F33;
        }

        .experience-content {
            padding-left: 2rem;
        }

        .experience-list {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        .experience-item {
            opacity: 0;
        }

        .experience-item.revealed {
            opacity: 1;
        }

        .experience-content-wrapper {
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
            padding-left: 0.5rem;
        }

        .experience-icon {
            width: 100px;
            height: 100px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .experience-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;

        }

        .highlight {
        color:#7aaaff; /* DodgerBlue or pick your preferred shade */
        font-weight: bold;
        }

        .experience-main {
            flex: 1;
            max-width: calc(100% - 120px);
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 0.5rem;
        }

        .experience-header h3 {
            font-size: 1.3rem;
            color: #fff;
            margin: 0;
        }

        .experience-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .experience-meta .year {
            font-weight: 600;
            color: #7aaaff;
            font-size: 1.1rem;
        }

        .company {
            color: #eaeaea;
            font-size: 1rem;
            margin: 0 0 1rem 0;
        }

        .experience-details {
            list-style-type: none;
            padding-left: 0;
            margin: 0.5rem 0;
        }

        .experience-details li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .experience-details li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #007AFF;
        }

        /* Nested list styling */
        .experience-details li ul {
            list-style-type: none;
            padding-left: 1rem;
            margin: 0.5rem 0 0.5rem 0;
        }

        .experience-details li ul li {
            padding-left: 1.2rem;
            margin-bottom: 0.3rem;
            font-size: 0.95em;
            color: var(--text-secondary);
        }

        .experience-details li ul li::before {
            content: "◦";
            color: #007AFF;
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .experience-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .experience-section .section-title {
                text-align: center;
                padding-right: 0;
                margin-bottom: 2rem;
            }

            .experience-section .section-title::after {
                display: none;
            }

            .experience-content {
                padding-left: 0;
            }
        }
        

                .hero-role {
        font-size: 1.25rem;
        font-weight: 500;
        opacity: 0.9;
        margin-top: 0.5rem;
        }

        .hero-school {
        font-size: 1rem;
        opacity: 0.65;
        margin-bottom: 1rem;
        }

        .hero-desc {
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 38rem;
        opacity: 0.8;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
        }