:root {
            --primary-color: #667eea;
            --secondary-color: #764ba2;
            --accent-color: #f093fb;
            --dark-color: #2c3e50;
            --light-color: #ecf0f1;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-color);
            margin: 0;
            padding: 0;
        }

        /* Vertical Sidebar Navigation */
        .sidebar-nav {
            position: fixed;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            padding: 15px 5px;
        }

        .nav-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .sidebar-nav .nav-item {
            position: relative;
        }

        .sidebar-nav .nav-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            color: #666 !important;
            text-decoration: none;
            transition: all 0.4s ease;
            position: relative;
            margin: 0;
            border: 2px solid transparent;
        }

        .sidebar-nav .nav-link:hover {
            width: 55px;
            height: 55px;
            background: var(--primary-color);
            color: white !important;
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .sidebar-nav .nav-link.active {
            background: var(--primary-color);
            color: white !important;
            width: 50px;
            height: 50px;
        }

        .sidebar-nav .nav-link i {
            font-size: 16px;
            transition: all 0.4s ease;
        }

        .sidebar-nav .nav-link:hover i {
            font-size: 22px;
        }

        .sidebar-nav .nav-link.active i {
            font-size: 20px;
        }

        /* Tooltip on hover */
        .sidebar-nav .nav-link::after {
            content: attr(title);
            position: absolute;
            left: 60px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--dark-color);
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .sidebar-nav .nav-link:hover::after {
            opacity: 1;
            visibility: visible;
            left: 70px;
        }

        /* Old Navigation - Hide it */
        .navbar {
            display: none;
        }

        /* Navigation */
        .navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .sidebar-nav {
                bottom: 20px;
                top: auto;
                left: 50%;
                transform: translateX(-50%);
                border-radius: 25px;
                padding: 10px 15px;
            }

            .nav-container {
                flex-direction: row;
                justify-content: center;
                gap: 12px;
            }

            .sidebar-nav .nav-link {
                width: 45px;
                height: 45px;
            }

            .sidebar-nav .nav-link:hover {
                width: 50px;
                height: 50px;
            }

            .sidebar-nav .nav-link.active {
                width: 48px;
                height: 48px;
            }

            .sidebar-nav .nav-link::after {
                bottom: 60px;
                left: 50%;
                top: auto;
                transform: translateX(-50%);
            }

            .sidebar-nav .nav-link:hover::after {
                bottom: 65px;
                left: 50%;
            }
        }

        /* Very small screens */
        @media (max-width: 480px) {
            .sidebar-nav {
                left: 10px;
                right: 10px;
                transform: none;
                width: calc(100% - 20px);
            }
            
            .sidebar-nav .nav-link {
                width: 40px;
                height: 40px;
            }

            .sidebar-nav .nav-link:hover {
                width: 45px;
                height: 45px;
            }

            .nav-container {
                gap: 8px;
            }
        }

        .nav-link {
            color: white !important;
            font-weight: 500;
            transition: all 0.3s ease;
            margin: 0 10px;
        }

        .nav-link:hover {
            color: var(--accent-color) !important;
            transform: translateY(-2px);
        }

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

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInUp 1s ease;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease 0.2s both;
        }

        .cta-buttons {
            animation: fadeInUp 1s ease 0.4s both;
        }

        .btn-custom {
            padding: 15px 30px;
            font-weight: 600;
            border-radius: 50px;
            text-decoration: none;
            display: inline-block;
            margin: 10px;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .btn-primary-custom {
            background: transparent;
            color: white;
            border-color: white;
        }

        .btn-primary-custom:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        .btn-outline-custom {
            background: transparent;
            color: white;
            border-color: white;
        }

        .btn-outline-custom:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        /* Resume Pages */
        .resume-page {
            display: none;
            padding-top: 80px;
        }

        .resume-page.active {
            display: block;
        }

        .resume-navbar {
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }

        .resume-nav {
            list-style: none;
            display: flex;
            justify-content: center;
            margin: 0;
            padding: 15px 0;
            flex-wrap: wrap;
        }

        .resume-nav li {
            margin: 5px 15px;
        }

        .resume-nav a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .resume-nav a:hover {
            background: var(--primary-color);
            color: white;
        }

        /* Page Container */
        .page {
            margin: 0;
            padding: 0;
        }

        .resume-page {
            margin-top: 0;
            padding-top: 0;
        }

        .profile-section {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 120px 0;
            text-align: center;
            margin-top: 0;
        }

        .profile-img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 5px solid white;
            margin-bottom: 20px;
            object-fit: cover;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .section {
            padding: 60px 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 50px;
            color: var(--dark-color);
            position: relative;
        }

        /* .section-title::after {
            content: '';
            width: 350px;
            height: 5px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            display: block;
            margin: 20px auto;
            border-radius: 2px;
        } */

        .experience-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-left: 5px solid var(--primary-color);
        }

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

        .skill-tag {
            display: inline-block;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            color: white;
            padding: 8px 16px;
            border-radius: 25px;
            margin: 5px;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .contact-section {
            background: var(--light-color);
        }

        .contact-card {
            background: white;
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 220px;
        }

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

        .contact-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .contact-link {
            text-decoration: none;
            color: black;
        }

        .back-to-home {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            z-index: 1000;
        }

        .back-to-home:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }

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

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .btn-custom {
                display: block;
                margin: 10px 0;
                text-align: center;
            }
            
            .profile-img {
                width: 150px;
                height: 150px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }

        /* ============ PORTFOLIO TABS ============ */
        .portfolio-tabs {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 40px 0;
            flex-wrap: wrap;
        }

        .tab-btn {
            padding: 12px 28px;
            border: 2px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tab-btn i {
            font-size: 1.1rem;
        }

        .tab-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        }

        .tab-btn.active {
            background: var(--primary-color);
            color: white;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        /* Tab Content */
        .tab-content {
            display: none;
            animation: fadeInUp 0.5s ease;
        }

        .tab-content.active {
            display: block;
        }

        /* ============ PROJECT CARDS GRID ============ */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--primary-color);
            position: relative;
            overflow: hidden;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }

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

        /* DevOps Card */
        .devops-card {
            border-left: 4px solid #667eea;
        }

        .devops-card::before {
            background: linear-gradient(90deg, #667eea, #667eea);
        }

        /* AI Card */
        .ai-card {
            border-left: 4px solid #f093fb;
        }

        .ai-card::before {
            background: linear-gradient(90deg, #f093fb, #f093fb);
        }

        /* MLOps Card */
        .mlops-card {
            border-left: 4px solid #764ba2;
        }

        .mlops-card::before {
            background: linear-gradient(90deg, #764ba2, #764ba2);
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 15px;
            gap: 15px;
        }

        .project-header h3 {
            margin: 0;
            color: var(--dark-color);
            font-size: 1.4rem;
            font-weight: 700;
            flex: 1;
        }

        .category-badge {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
            color: white;
        }

        .category-badge.devops {
            background: #667eea;
        }

        .category-badge.ai {
            background: #f093fb;
        }

        .category-badge.mlops {
            background: #764ba2;
        }

        .project-subtitle {
            color: #999;
            font-size: 0.95rem;
            margin: 5px 0 15px 0;
            font-weight: 500;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 15px 0;
        }

        .tech-tag {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
            color: var(--primary-color);
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .project-description {
            color: #555;
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 15px 0;
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            margin-top: 15px;
            transition: all 0.3s ease;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.95rem;
        }

        .project-link:hover {
            background: rgba(102, 126, 234, 0.1);
            color: var(--secondary-color);
            transform: translateX(5px);
        }

        /* ============ SKILLS SECTION ============ */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .skill-category {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-top: 3px solid var(--primary-color);
        }

        .skill-category:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        }

        .skill-category h4 {
            color: var(--dark-color);
            margin-bottom: 15px;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
        }

        .skill-category i {
            color: var(--primary-color);
            font-size: 1.3rem;
        }

        .skill-items {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        /* ============ PROFILE SECTION ============ */
        .profile-section {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
        }

        .profile-img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            border: 4px solid var(--primary-color);
            margin-bottom: 20px;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
        }

        .profile-section h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark-color);
            margin: 20px 0;
        }

        .profile-section h3 {
            color: var(--primary-color);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .profile-section .lead {
            font-size: 1.1rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ============ EXPERIENCE & EDUCATION ============ */
        .experience-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            margin-bottom: 20px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
        }

        .experience-card:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
            transform: translateX(5px);
        }

        .experience-card h4 {
            color: var(--dark-color);
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .experience-card .text-muted {
            color: #999;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

        .education-item {
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 15px;
            border-left: 3px solid var(--accent-color);
            box-shadow: 0 3px 15px rgba(0,0,0,0.06);
        }

        .education-item h4 {
            color: var(--dark-color);
            margin: 0 0 5px 0;
            font-weight: 700;
            font-size: 1.05rem;
        }

        .education-item .text-muted {
            color: #999;
            font-size: 0.9rem;
        }

        /* ============ CERTIFICATES SECTION ============ */
        .certificates-section {
            background: var(--light-color);
        }

        .certificates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .certificate-card {
            background: white;
            padding: 22px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
        }

        .certificate-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        }

        .certificate-image {
            width: 100%;
            height: 160px;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 14px;
            background: #f4f6fb;
            border: 1px solid rgba(0,0,0,0.06);
        }

        .certificate-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .certificate-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .certificate-header h4 {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark-color);
        }

        .certificate-badge {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 999px;
            white-space: nowrap;
        }

        .certificate-issuer {
            margin: 0 0 6px 0;
            color: #666;
            font-weight: 600;
        }

        .certificate-meta {
            margin: 0 0 12px 0;
            color: #999;
            font-size: 0.9rem;
        }

        .certificate-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .certificate-link:hover {
            color: var(--secondary-color);
            transform: translateX(4px);
        }

        /* ============ SUMMARY SECTION ============ */
        .professional-summary-section {
            background: white;
        }

        .summary-content {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.05rem;
            line-height: 1.8;
            color: #555;
        }

        .section {
            padding: 60px 20px;
        }

        .section-title {
            text-align: center;
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 20px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }

            .portfolio-tabs {
                flex-direction: column;
                align-items: stretch;
            }

            .tab-btn {
                justify-content: center;
                width: 100%;
            }

            .profile-section h1 {
                font-size: 2rem;
            }

            .profile-img {
                width: 150px;
                height: 150px;
            }

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

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

            .project-header {
                flex-direction: column;
            }

            .project-header h3 {
                font-size: 1.2rem;
            }
        }