   
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #34495e;
            --accent-color: #3498db;
            --btn-hover: #2980b9;
            --bg-light: #f4f7f6;
            --text-dark: #333;
            --text-muted: #666;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 0;
            color: var(--text-dark);
            background-color: var(--bg-light);
        }

        header {
            background: var(--primary-color);
            color: white;
            padding: 3rem 1rem;
            text-align: center;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Profile Header & CV Button */
        .profile-header {
            display: flex;
            align-items: center;
            gap: 2rem;
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-top: -50px;
        }

        .profile-img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        .cv-button {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 20px;
            background-color: var(--accent-color);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .cv-button:hover {
            background-color: var(--btn-hover);
        }

        /* Publication List */
        .pub-list {
            list-style: none;
            padding: 0;
        }

        .pub-item {
            margin-bottom: 1.5rem;
            padding-left: 1rem;
            border-left: 3px solid var(--accent-color);
        }

        .pub-authors { font-weight: 500; }
        .pub-title { font-style: italic; color: var(--primary-color); }
        .pub-journal { color: var(--text-muted); }

        /* Gallery Grid */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 1rem;
        }

        .gallery-item {
            overflow: hidden;
            border-radius: 8px;
            height: 200px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .gallery-item img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item img:hover { transform: scale(1.05); cursor: pointer; }

        h2 {
            border-bottom: 2px solid var(--accent-color);
            display: inline-block;
            padding-bottom: 5px;
            color: var(--primary-color);
            margin-top: 0;
        }

        .section {
            background: white;
            padding: 2rem;
            margin-top: 2rem;
            border-radius: 8px;
        }

        footer {
            text-align: center;
            padding: 3rem;
            color: #777;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .profile-header { flex-direction: column; text-align: center; margin-top: 0; }
        }
 