
    /* --- Hero / About Section --- */
.hero-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 50px; /* Space between Intro and Projects */
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    text-align: left; /* Override default center */
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 800px;
}

/* Skill Highlights */
.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #eef2ff; /* Very light blue */
    border: 1px solid #d0d7de;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.highlight-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Optional: Profile Image Placeholder */
.profile-img-container {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow);
    display: none; /* Hidden by default, remove this line if you add an image */
}

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

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        text-align: center;
    }

    .highlights {
        justify-content: center;
    }
}
        /* --- 1. Base Styles & Variables --- */
        :root {
            --bg-color: #f4f7f6;
            --card-bg: #ffffff;
            --text-primary: #333333;
            --text-secondary: #666666;
            --accent-color: #007bff; /* Blue */
            --github-color: #24292e; /* Black */
            --shadow: 0 4px 6px rgba(0,0,0,0.1);
            --shadow-hover: 0 10px 15px rgba(0,0,0,0.15);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            margin: 0;
            padding: 40px 20px;
            color: var(--text-primary);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        h1 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.5rem;
        }

        /* --- 2. Grid Layout --- */
        .projects-grid {
            display: grid;
            /* This magically handles responsiveness without media queries */
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        /* --- 3. Card Styling --- */
        .project-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            overflow: hidden; /* Keeps image inside rounded corners */
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-5px); /* Lift effect */
            box-shadow: var(--shadow-hover);
        }

        /* Image Wrapper */
        .card-image {
            height: 200px;
            width: 100%;
            overflow: hidden;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures image fills space without distortion */
            transition: transform 0.5s ease;
        }

        .project-card:hover .card-image img {
            transform: scale(1.05); /* Slight zoom on hover */
        }

        /* Card Content */
        .card-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1; /* Pushes buttons to bottom */
        }

        .card-content h3 {
            margin: 0 0 10px;
            font-size: 1.5rem;
        }

        .card-content p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 20px;
        }

        /* Tech Tags */
        .tech-stack {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tech-tag {
            background: #eee;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #555;
        }

        /* --- 4. Buttons --- */
        .card-links {
            margin-top: auto; /* Pushes to bottom of flex container */
            display: flex;
            gap: 10px;
        }

        .btn {
            flex: 1;
            text-decoration: none;
            padding: 10px;
            border-radius: 6px;
            text-align: center;
            font-weight: 600;
            font-size: 0.9rem;
            transition: background 0.2s;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
        }

        .btn-demo {
            background-color: var(--accent-color);
            color: white;
        }
        .btn-demo:hover { background-color: #0056b3; }

        .btn-github {
            background-color: var(--github-color);
            color: white;
        }
        .btn-github:hover { background-color: #000; }
