/* --- General Styles --- */
        :root {
            --primary-bg: linear-gradient(45deg, #37ad70, #7d51c4);
            --glass-bg: rgba(30, 30, 30, 0.6);
            --glass-border: 1px solid rgba(255, 255, 255, 0.1);
            --text-color: #e0e0e0;
            --accent-color: #28befe;
            --link-hover-color: #b30086;
            --border-color: #333333;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background: var(--primary-bg);
            background-attachment: fixed; /* Ensures gradient doesn't scroll with content */
            color: var(--text-color);
            line-height: 1.7;
            overflow-x: hidden;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px;
        }

        h1, h2, h3, h4 {
            color: var(--text-color);
            margin-top: 0;
        }

        h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

        a {
            color: var(--accent-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        a:hover {
            color: whitesmoke;
        }

        section {
            padding: 80px 0;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        section:last-of-type {
             border-bottom: none;
        }
        section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- Glass Effect Base Style --- */
        .glass-effect {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: var(--glass-border);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            border-radius: 12px;
        }

        /* --- Navigation Bar --- */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 15px 0;
            z-index: 1000;
            transition: top 0.3s;
            background: rgba(30, 30, 30, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: var(--glass-border);
        }
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .nav-logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--text-color);
        }
        .nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            gap: 25px;
        }
        .nav-menu a {
            color: var(--text-color);
            font-weight: 500;
            position: relative;
        }
        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent-color);
            transition: width 0.3s;
        }
        .nav-menu a:hover::after {
            width: 100%;
        }

        /* --- Header --- */
        .header {
            text-align: center;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background: rgba(18, 18, 18, 0.2); /* Slight overlay to ensure text readability */
        }
        .header h1 {
            margin: 0;
            font-size: 4rem;
        }
        .header .subtitle {
            font-size: 1.5rem;
            color: var(--text-color);
        }
        .contact-info {
            list-style: none;
            padding: 0;
            margin-top: 25px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 25px;
        }
        .contact-info li a {
            font-weight: bold;
        }

        /* --- About Me --- */
        #about .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        #about .about-text {
            flex: 2;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
        }
        #about .about-image {
            flex: 1;
            text-align: center;
        }
        #about .about-image img {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            border: 5px solid var(--accent-color);
        }

        /* --- Skills --- */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        .skill-category {
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .skill-category:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        .skill-category h4 {
            border-bottom: 2px solid var(--accent-color);
            padding-bottom: 10px;
            margin-bottom: 15px;
        }
        .skill-category ul {
            list-style: none;
            padding: 0;
        }
        .skill-category li {
            margin-bottom: 10px;
        }

        /* --- Projects --- */
        .project-grid {
            display: grid;
            grid-template-columns: 2fr;
            gap: 40px;
        }
        .project-card {
            display: flex;
            gap: 30px;
            overflow: hidden;
            transition: transform 0.3s ease;
            padding: 0; /* Padding will be on the inner element */
        }
        .project-card:hover {
            transform: scale(1.05);
        }
        /*.project-card:nth-child(even) {
            flex-direction: row-reverse;
        }*/
        .project-image img {
            width: 400px;
            height: 100%;
            object-fit: cover;
            border-radius: 12px 0 0 12px;
        }
         /*.project-card:nth-child(even) .project-image img {
            border-radius: 0 12px 12px 0;
        }*/
        .project-info {
            padding: 30px;
        }
        .project-info h3 {
            margin-top: 0;
        }
        .project-info .project-type {
            font-style: italic;
            color: #ccc;
            margin-bottom: 15px;
        }
        .project-links a {
            display: inline-block;
            margin-top: 20px;
            margin-right: 15px;
            background-color: var(--accent-color);
            color: #121212;
            padding: 12px 20px;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        .project-links a:hover {
            background-color: var(--link-hover-color);
            color: var(--text-color);
        }
        
        /* --- Education & Certifications --- */
        .edu-cert-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        .edu-cert-item {
            padding: 25px;
        }
         .edu-cert-item h4 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        /* --- Footer --- */
        .footer {
            text-align: center;
            padding: 30px;
            margin-top: 40px;
            font-size: 0.9rem;
            color: #ccc;
            background: rgba(18, 18, 18, 0.2);
        }

        /* --- Responsive Design --- */
        @media (max-width: 992px) {
            .project-card, .project-card:nth-child(even) { flex-direction: column; }
            .project-image img, .project-card:nth-child(even) .project-image img { 
                width: 100%; 
                height: 250px; 
                border-radius: 12px 12px 0 0;
            }
        }
        @media (max-width: 768px) {
            .nav-menu { display: none; } /* Simplified for example; could be a hamburger menu */
            .header h1 { font-size: 2.5rem; }
            #about .about-content { flex-direction: column; }
            .skills-grid { grid-template-columns: 1fr; }
            .edu-cert-grid { grid-template-columns: 1fr; }
        }