        :root {
            --primary: #1a365d;
            --primary-light: #2c5282;
            --secondary: #2b6cb0;
            --accent: #dd6b20;
            --accent-light: #ed8936;
            --background: #f7fafc;
            --surface: #ffffff;
            --text: #2d3748;
            --text-light: #718096;
            --border: #e2e8f0;
            --success: #38a169;
            --grid-line: #cbd5e0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--background);
            color: var(--text);
            line-height: 1.6;
        }

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

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            padding: 16px 0;
        }

        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-svg {
            width: 50px;
            height: 50px;
            flex-shrink: 0;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-name {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--primary);
            line-height: 1.2;
        }

        .logo-title {
            font-size: 0.7rem;
            color: var(--text-light);
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            font-size: 0.9rem;
            transition: color 0.2s;
        }

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

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-menu-btn span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text);
            margin: 5px 0;
            transition: 0.3s;
        }

        section {
            padding: 80px 0;
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
        }

        .section-subtitle {
            color: var(--text-light);
            margin-bottom: 48px;
            max-width: 600px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding-top: 80px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 64px;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 3rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 8px;
        }

        .hero-text .title {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 16px;
            font-weight: 400;
        }

        .hero-text .location {
            font-size: 0.95rem;
            opacity: 0.8;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero-text .credentials {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .credential-badge {
            background: rgba(255, 255, 255, 0.15);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .hero-text p {
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 24px;
            max-width: 520px;
            line-height: 1.7;
        }

        .personal-quote {
            font-size: 1.05rem;
            font-style: italic;
            opacity: 1;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 24px;
            padding: 20px 24px;
            background: rgba(255, 255, 255, 0.1);
            border-left: 4px solid var(--accent);
            border-radius: 0 12px 12px 0;
            position: relative;
        }

        .quote-mark {
            font-size: 2rem;
            color: var(--accent);
            font-weight: 700;
            line-height: 0;
            vertical-align: middle;
        }

        .personal-quote .quote-mark:first-child {
            margin-right: 4px;
        }

        .personal-quote .quote-mark:last-child {
            margin-left: 4px;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 14px 28px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: var(--accent);
            color: white;
        }

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

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .btn-secondary:hover {
            border-color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .hero-visual {
            position: relative;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
        }

        .stat-card:nth-child(2) {
            background: rgba(255, 255, 255, 0.15);
        }

        .stat-card:nth-child(4) {
            background: rgba(255, 255, 255, 0.15);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            font-family: 'JetBrains Mono', monospace;
        }

        .stat-label {
            font-size: 0.75rem;
            opacity: 0.8;
            margin-top: 4px;
        }

        /* Projects Section */
        .projects {
            background: var(--surface);
        }

        .filter-tabs {
            display: flex;
            gap: 12px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .filter-tab {
            padding: 10px 20px;
            border-radius: 8px;
            background: var(--background);
            border: 1px solid var(--border);
            cursor: pointer;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .filter-tab:hover, .filter-tab.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 24px;
        }

        .project-card {
            background: var(--background);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid var(--border);
        }

        .project-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        }

        .project-image {
            height: 180px;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
            position: relative;
            overflow: hidden;
        }

        .project-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                90deg,
                transparent,
                transparent 40px,
                rgba(255, 255, 255, 0.05) 40px,
                rgba(255, 255, 255, 0.05) 80px
            ),
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 40px,
                rgba(255, 255, 255, 0.05) 40px,
                rgba(255, 255, 255, 0.05) 80px
            );
        }

        .project-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
            display: flex;
            align-items: flex-end;
            padding: 16px;
        }

        .project-category {
            background: var(--accent);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .project-content {
            padding: 20px;
        }

        .project-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 6px;
        }

        .project-location {
            color: var(--text-light);
            font-size: 0.8rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .project-description {
            color: var(--text);
            font-size: 0.85rem;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .project-metrics {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 12px;
        }

        .metric {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.75rem;
            color: var(--text-light);
            background: var(--surface);
            padding: 3px 8px;
            border-radius: 4px;
        }

        .metric svg {
            width: 12px;
            height: 12px;
            color: var(--success);
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .project-tag {
            font-size: 0.7rem;
            padding: 3px 8px;
            background: var(--surface);
            border-radius: 4px;
            color: var(--text-light);
            font-family: 'JetBrains Mono', monospace;
        }

        .project-card.featured {
            grid-column: span 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .project-card.featured .project-image {
            height: 100%;
            min-height: 280px;
        }

        .project-card.featured .project-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Case Study Modal */
        .modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            overflow-y: auto;
            padding: 40px 24px;
        }

        .modal.active {
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .modal-content {
            background: var(--surface);
            border-radius: 16px;
            max-width: 900px;
            width: 100%;
            margin: 40px auto;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--background);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: background 0.2s;
        }

        .modal-close:hover {
            background: var(--border);
        }

        .case-study {
            padding: 40px;
        }

        .case-study-header {
            margin-bottom: 32px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--border);
        }

        .case-study-category {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        .case-study-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
        }

        .case-study-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            color: var(--text-light);
            font-size: 0.85rem;
        }

        .case-study-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .case-study-section {
            margin-bottom: 24px;
        }

        .case-study-section h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .case-study-section p {
            color: var(--text);
            line-height: 1.7;
            font-size: 0.9rem;
        }

        .case-study-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-top: 12px;
        }

        .case-study-stat {
            background: var(--background);
            padding: 14px;
            border-radius: 8px;
            text-align: center;
        }

        .case-study-stat .value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--success);
            font-family: 'JetBrains Mono', monospace;
        }

        .case-study-stat .label {
            font-size: 0.7rem;
            color: var(--text-light);
            margin-top: 4px;
        }

        .case-study-drawing {
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 20px;
            margin-top: 12px;
        }

        .drawing-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border);
        }

        .drawing-title {
            font-weight: 600;
            font-size: 0.85rem;
        }

        .drawing-scale {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: var(--text-light);
        }

        .drawing-content {
            background: white;
            border: 1px solid var(--border);
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 0.85rem;
            text-align: center;
            padding: 20px;
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-top: 12px;
        }

        .tool-item {
            background: var(--background);
            padding: 8px;
            border-radius: 4px;
            text-align: center;
            font-size: 0.75rem;
            font-family: 'JetBrains Mono', monospace;
        }

        .lessons-list {
            list-style: none;
            margin-top: 10px;
        }

        .lessons-list li {
            padding: 10px 14px;
            background: var(--background);
            border-radius: 6px;
            margin-bottom: 6px;
            font-size: 0.85rem;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .lessons-list li::before {
            content: '→';
            color: var(--accent);
            font-weight: 600;
        }

        /* Skills Section */
        .skills {
            background: var(--background);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .skill-category {
            background: var(--surface);
            border-radius: 16px;
            padding: 28px;
            border: 1px solid var(--border);
        }

        .skill-category-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }

        .skill-category-icon svg {
            width: 22px;
            height: 22px;
            color: white;
        }

        .skill-category h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 16px;
        }

        .skill-list {
            list-style: none;
        }

        .skill-list li {
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .skill-list li:last-child {
            border-bottom: none;
        }

        .skill-list li::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--accent);
            border-radius: 2px;
        }

        /* Publications Section */
        .publications {
            background: var(--surface);
        }

        .publications-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .publication-card {
            background: var(--background);
            border-radius: 12px;
            padding: 24px;
            border: 1px solid var(--border);
            transition: all 0.2s;
        }

        .publication-card:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
        }

        .publication-year {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .publication-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .publication-title a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s;
        }

        .publication-title a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

        .publication-journal {
            font-size: 0.85rem;
            color: var(--text-light);
            font-style: italic;
        }

        .publication-link {
            display: inline-block;
            margin-top: 12px;
            font-size: 0.8rem;
            color: var(--accent);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
        }

        .publication-link:hover {
            color: var(--accent-light);
            transform: translateX(4px);
        }

        /* Gallery Section */
        .gallery {
            background: var(--surface);
        }

        .gallery-filter-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }

        .gallery-filter-tab {
            padding: 8px 16px;
            border-radius: 6px;
            background: var(--background);
            border: 1px solid var(--border);
            cursor: pointer;
            font-weight: 500;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .gallery-filter-tab:hover, .gallery-filter-tab.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .gallery-item {
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .gallery-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        .gallery-image {
            position: relative;
            height: 200px;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
            cursor: pointer;
        }

        .gallery-placeholder {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255, 255, 255, 0.03) 10px,
                rgba(255, 255, 255, 0.03) 20px
            );
        }

        .gallery-placeholder svg {
            width: 48px;
            height: 48px;
            color: rgba(255, 255, 255, 0.3);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 16px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: white;
            margin-bottom: 4px;
        }

        .gallery-desc {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
        }

        /* Gallery Modal */
        .gallery-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.9);
            z-index: 3000;
            align-items: center;
            justify-content: center;
            padding: 40px;
        }

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

        .gallery-modal-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
        }

        .gallery-modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: background 0.2s;
        }

        .gallery-modal-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .gallery-modal-image {
            background: var(--surface);
            border-radius: 12px;
            overflow: hidden;
            max-width: 100%;
            max-height: 75vh;
        }

        .gallery-modal-image img {
            max-width: 100%;
            max-height: 75vh;
            display: block;
        }

        .gallery-modal-info {
            background: rgba(255, 255, 255, 0.1);
            padding: 16px 20px;
            border-radius: 0 0 12px 12px;
            margin-top: -4px;
        }

        .gallery-modal-info h3 {
            color: white;
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .gallery-modal-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
        }

        /* Certifications Section */
        .certifications {
            background: var(--background);
        }

        .certs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 16px;
        }

        .cert-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 20px;
            display: flex;
            gap: 14px;
            border: 1px solid var(--border);
            transition: all 0.2s;
        }

        .cert-card:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
        }

        .cert-icon {
            width: 44px;
            height: 44px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
        }

        .cert-info h4 {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 4px;
        }

        .cert-info .issuer {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 4px;
        }

        .cert-info .date {
            font-size: 0.75rem;
            color: var(--text-light);
            font-family: 'JetBrains Mono', monospace;
        }

        /* Experience Section */
        .experience {
            background: var(--surface);
        }

        .timeline {
            position: relative;
            padding-left: 28px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--border);
        }

        .timeline-item {
            position: relative;
            padding-bottom: 32px;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-dot {
            position: absolute;
            left: -34px;
            top: 4px;
            width: 12px;
            height: 12px;
            background: var(--secondary);
            border-radius: 50%;
            border: 3px solid var(--surface);
        }

        .timeline-date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--accent);
            margin-bottom: 6px;
        }

        .timeline-content {
            background: var(--background);
            border-radius: 12px;
            padding: 20px;
            border: 1px solid var(--border);
        }

        .timeline-role {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 4px;
        }

        .timeline-company {
            font-size: 0.9rem;
            color: var(--secondary);
            margin-bottom: 8px;
        }

        .timeline-project {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .timeline-description {
            color: var(--text);
            font-size: 0.85rem;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .timeline-highlights {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }

        .timeline-highlights li {
            font-size: 0.8rem;
            color: var(--text);
            display: flex;
            align-items: flex-start;
            gap: 6px;
        }

        .timeline-highlights li::before {
            content: '✓';
            color: var(--success);
            font-weight: 600;
            flex-shrink: 0;
        }

        /* Education Section */
        .education {
            background: var(--background);
        }

        .edu-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .edu-card {
            background: var(--surface);
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            border: 1px solid var(--border);
        }

        .edu-degree {
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 6px;
        }

        .edu-field {
            font-size: 0.85rem;
            color: var(--secondary);
            margin-bottom: 12px;
        }

        .edu-institution {
            font-size: 0.9rem;
            color: var(--text);
            margin-bottom: 8px;
        }

        .edu-grade {
            font-size: 0.85rem;
            color: var(--success);
            font-family: 'JetBrains Mono', monospace;
        }

        .edu-year {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-top: 8px;
        }

        /* Contact Section */
        .contact {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
        }

        .contact .section-title {
            color: white;
        }

        .contact .section-subtitle {
            color: rgba(255, 255, 255, 0.8);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: start;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .contact-item-link {
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s ease, opacity 0.2s ease;
            display: block;
        }

        .contact-item-link:hover {
            transform: translateX(8px);
            opacity: 0.8;
        }

        .contact-icon {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-item h4 {
            font-size: 0.8rem;
            opacity: 0.7;
            margin-bottom: 2px;
        }

        .contact-item p {
            font-size: 0.9rem;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 28px;
            border-radius: 16px;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            font-size: 0.8rem;
            margin-bottom: 6px;
            opacity: 0.9;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 14px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: white;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

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

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        .form-submit {
            width: 100%;
        }

        .form-message {
            margin-top: 16px;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 0.9rem;
            text-align: center;
            display: none;
        }

        .form-message.success {
            display: block;
            background: rgba(56, 161, 105, 0.2);
            color: #9ae6b4;
            border: 1px solid rgba(56, 161, 105, 0.4);
        }

        .form-message.error {
            display: block;
            background: rgba(245, 101, 101, 0.2);
            color: #feb2b2;
            border: 1px solid rgba(245, 101, 101, 0.4);
        }

        .form-message.loading {
            display: block;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.8);
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            padding: 28px 0;
            text-align: center;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 14px;
        }

        .social-link {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .social-link:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        footer p {
            font-size: 0.8rem;
            opacity: 0.7;
        }

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

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .hero-text p {
                max-width: 100%;
            }

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

            .credentials {
                justify-content: center;
            }

            .stats-grid {
                max-width: 400px;
                margin: 32px auto 0;
            }

            .project-card.featured {
                grid-column: span 1;
                grid-template-columns: 1fr;
            }

            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

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

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

            .case-study-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .logo-svg {
                width: 40px;
                height: 40px;
            }

            .logo-name {
                font-size: 0.95rem;
            }

            .logo-title {
                display: none;
            }

            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            section {
                padding: 50px 0;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .hero-text h1 {
                font-size: 2rem;
            }

            .personal-quote {
                font-size: 0.95rem;
                padding: 16px 20px;
            }

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

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

            .case-study {
                padding: 24px;
            }

            .case-study-title {
                font-size: 1.5rem;
            }

            .case-study-grid {
                grid-template-columns: 1fr;
            }

            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .timeline-highlights {
                grid-template-columns: 1fr;
            }

            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .gallery-filter-tabs {
                justify-content: center;
            }

            .gallery-modal {
                padding: 20px;
            }
        }

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

        /* Profile Photo */
        .profile-photo {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center 20%;
            border: 4px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }

        .profile-photo-small {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }

        .hero-profile {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        @media (max-width: 768px) {
            .profile-photo {
                width: 150px;
                height: 150px;
            }
        }

        /* ========== ANIMATIONS ========== */

        /* Fade In Up Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Fade In Animation */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Slide In Left */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Scale In Animation */
        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Pulse Animation for Logo */
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* Logo Animation */
        .logo-svg {
            transition: transform 0.3s ease;
        }

        .logo-svg:hover {
            animation: pulse 1s ease-in-out;
        }

        /* Profile Photo Animation */
        .profile-photo {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .profile-photo:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
        }

        /* Hero Section Animation */
        .hero {
            animation: fadeIn 1s ease-out;
        }

        .hero-text {
            animation: slideInLeft 0.8s ease-out;
        }

        .hero-visual {
            animation: fadeInUp 0.8s ease-out;
            animation-delay: 0.3s;
            animation-fill-mode: both;
        }

        /* Personal Quote Animation */
        .personal-quote {
            animation: fadeInUp 0.8s ease-out;
            animation-delay: 0.5s;
            animation-fill-mode: both;
        }

        /* Stats Animation */
        .stat-card {
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .stat-card:nth-child(1) { animation-delay: 0.6s; }
        .stat-card:nth-child(2) { animation-delay: 0.7s; }
        .stat-card:nth-child(3) { animation-delay: 0.8s; }
        .stat-card:nth-child(4) { animation-delay: 0.9s; }

        /* Section Title Animation */
        .section-title {
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .section-subtitle {
            animation: fadeInUp 0.6s ease-out;
            animation-delay: 0.1s;
            animation-fill-mode: both;
        }

        /* Project Cards Animation */
        .project-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        /* Skill Cards Animation */
        .skill-category {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .skill-category:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        /* Publication Cards Animation */
        .publication-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .publication-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        /* Certification Cards Animation */
        .cert-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .cert-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        /* Timeline Animation */
        .timeline-item {
            animation: slideInLeft 0.6s ease-out;
            animation-fill-mode: both;
        }

        .timeline-item:nth-child(1) { animation-delay: 0.1s; }
        .timeline-item:nth-child(2) { animation-delay: 0.2s; }
        .timeline-item:nth-child(3) { animation-delay: 0.3s; }
        .timeline-item:nth-child(4) { animation-delay: 0.4s; }
        .timeline-item:nth-child(5) { animation-delay: 0.5s; }
        .timeline-item:nth-child(6) { animation-delay: 0.6s; }
        .timeline-item:nth-child(7) { animation-delay: 0.7s; }

        /* Gallery Animation */
        .gallery-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: scaleIn 0.5s ease-out;
            animation-fill-mode: both;
        }

        .gallery-item:hover {
            transform: scale(1.03);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        /* Education Cards Animation */
        .edu-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .edu-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        /* Button Animation */
        .btn-primary {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(237, 137, 54, 0.4);
        }

        .btn-secondary {
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.15);
        }

        /* Filter Tabs Animation */
        .filter-tab, .gallery-filter-tab {
            transition: all 0.3s ease;
        }

        .filter-tab:hover, .gallery-filter-tab:hover {
            transform: translateY(-2px);
        }

        /* Nav Links Animation */
        .nav-links a {
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Credential Badge Animation */
        .credential-badge {
            animation: fadeInUp 0.5s ease-out;
            animation-fill-mode: both;
        }

        .credential-badge:nth-child(1) { animation-delay: 0.3s; }
        .credential-badge:nth-child(2) { animation-delay: 0.4s; }
        .credential-badge:nth-child(3) { animation-delay: 0.5s; }

        /* Scroll Animation - Elements fade in as you scroll */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
