/* Reset and base styles - FIXED SCROLL ISSUES */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
            overflow-y: auto !important; /* Force vertical scrolling */
            scroll-behavior: smooth;
            height: auto !important; /* Allow natural height */
            min-height: 100vh;
        }

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

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
        }

        .nav-logo a {
            font-size: 1.8rem;
            font-weight: 700;
            color: #3498db;
            text-decoration: none;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        .nav-link {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #3498db;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #3498db;
        }

        .nav-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .dark-mode-btn {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: #333;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .dark-mode-btn:hover {
            background: rgba(52, 152, 219, 0.1);
            color: #3498db;
        }

        .dark-mode-btn i {
            transition: transform 0.3s ease;
        }
        
        .dark-mode-btn:hover i {
            transform: rotate(15deg);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 3px;
        }

        .bar {
            width: 25px;
            height: 3px;
            background: #333;
            transition: all 0.3s ease;
        }

        /* Top Section: Photo and Introduction */
        .top-section {
            padding: 120px 0 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .top-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
            width: 100%;
        }

        /* Photo Column */
        .photo-column {
            text-align: center;
        }

        .profile-photo {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 3px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            transition: all 0.3s ease;
        }

        .profile-photo:hover {
            transform: scale(1.05);
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .profile-photo i {
            font-size: 8rem;
            color: #f39c12;
        }

        /* Introduction Column */
        .intro-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .highlight {
            color: #f39c12;
        }

        .intro-text {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: #ecf0f1;
        }

        .intro-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }

        .stat-item {
            text-align: center;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
        }

        .stat-number {
            display: block;
            font-size: 2rem;
            font-weight: 700;
            color: #f39c12;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.9rem;
            color: #bdc3c7;
        }

        /* Bottom Section: Three Columns */
        .bottom-section {
            padding: 80px 0;
            background: #f8f9fa;
            min-height: auto; /* Allow natural height */
        }

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: #2c3e50;
            font-weight: 600;
        }

        .columns-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        /* Info Column Styles */
        .info-column {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
            transition: all 0.4s ease;
            cursor: pointer;
            min-height: 400px;
        }

        .info-column:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        /* Column Header */
        .column-header {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            padding: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .column-header i {
            font-size: 1.5rem;
            color: #f39c12;
            transition: transform 0.3s ease;
        }

        .info-column:hover .column-header i {
            transform: scale(1.2) rotate(5deg);
        }

        .column-header h2 {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
        }

        /* Column Content */
        .column-content {
            padding: 1.5rem;
        }

        .info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid #f1f1f1;
            transition: all 0.3s ease;
        }

        .info-item:hover {
            background: rgba(52, 152, 219, 0.05);
            padding-left: 0.5rem;
            border-radius: 5px;
        }

        .label {
            font-weight: 600;
            color: #2c3e50;
            font-size: 0.9rem;
        }

        .value {
            color: #666;
            font-size: 0.9rem;
            text-align: right;
            max-width: 60%;
        }

        /* Project Items */
        .project-item {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 10px;
            border-left: 4px solid #3498db;
            transition: all 0.3s ease;
        }

        .project-item:hover {
            background: rgba(52, 152, 219, 0.05);
            transform: translateX(5px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }


        .project-item h3 {
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .project-desc {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            line-height: 1.4;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tech-tag {
            background: #e8f4fd;
            color: #3498db;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: #3498db;
            color: white;
            transform: scale(1.05);
        }

        /* Column Overlay */
        .column-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(155, 89, 182, 0.95) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            padding: 2rem;
        }

        .info-column:hover .column-overlay {
            opacity: 1;
            visibility: visible;
        }

        .overlay-content {
            text-align: center;
            color: white;
        }

        .overlay-content h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .overlay-content p {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .overlay-details {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 0.9rem;
        }

        .detail-item i {
            color: #f39c12;
            font-size: 1rem;
            min-width: 20px;
        }

        /* Additional Columns Section */
        .additional-columns-section {
            padding: 80px 0;
            background: #ffffff;
            min-height: auto; /* Allow natural height */
        }

        .additional-columns-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .additional-column {
            background: #f8f9fa;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
            transition: all 0.4s ease;
            cursor: pointer;
            min-height: 400px;
        }

        .additional-column:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        /* Skills */
        .skill-category {
            margin-bottom: 1.5rem;
        }

        .skill-category h3 {
            font-size: 1rem;
            color: #f39c12;
            margin-bottom: 0.8rem;
            font-weight: 600;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .skill-tag {
            background: rgba(52, 152, 219, 0.1);
            color: #3498db;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(52, 152, 219, 0.2);
            transition: all 0.3s ease;
        }

        .skill-tag:hover {
            background: rgba(52, 152, 219, 0.2);
            transform: scale(1.05);
        }

        /* Experience Items */
        .experience-item {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: white;
            border-radius: 10px;
            border-left: 4px solid #3498db;
            transition: all 0.3s ease;
        }

        .experience-item:hover {
            background: #e8f4fd;
            transform: translateX(5px);
        }

        .experience-item h3 {
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .company {
            color: #f39c12;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
            font-weight: 500;
        }

        .duration {
            color: #7f8c8d;
            font-size: 0.8rem;
            margin-bottom: 0.8rem;
            font-style: italic;
        }

        .experience-details {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .experience-details li {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0.4rem;
            padding-left: 1rem;
            position: relative;
        }

        .experience-details li::before {
            content: '•';
            color: #3498db;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        /* Achievement Items */
        .achievement-item {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: white;
            border-radius: 10px;
            border-left: 4px solid #f39c12;
            transition: all 0.3s ease;
        }

        .achievement-item:hover {
            background: #fff3cd;
            transform: translateX(5px);
        }

        .achievement-item h3 {
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .achievement-desc {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .achievement-date {
            color: #f39c12;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(243, 156, 18, 0.1);
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
        }

        /* Dark Mode Styles - FIXED AND CONSISTENT */
        body.dark-mode {
            background-color: #1a1a1a;
            color: #ffffff;
        }

        body.dark-mode .navbar {
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(10px);
        }

        body.dark-mode .navbar.scrolled {
            background: rgba(26, 26, 26, 0.98);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .nav-logo a {
            color: #ffffff;
        }

        body.dark-mode .nav-link {
            color: #ffffff;
        }

        body.dark-mode .nav-link:hover {
            color: #3498db;
        }

        body.dark-mode .bar {
            background-color: #ffffff;
        }

        body.dark-mode .dark-mode-btn {
            color: #ffffff;
        }

        body.dark-mode .dark-mode-btn:hover {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
        }

        body.dark-mode .section-title {
            color: #ffffff;
        }

        body.dark-mode .bottom-section {
            background: #1a1a1a;
        }

        body.dark-mode .additional-columns-section {
            background: #2d2d2d;
        }

        body.dark-mode .info-column {
            background: #2d2d2d;
            color: #ffffff;
        }

        body.dark-mode .additional-column {
            background: #2d2d2d;
            color: #ffffff;
        }

        body.dark-mode .column-content {
            background: #2d2d2d;
            color: #ffffff;
        }

        body.dark-mode .label {
            color: #ffffff;
        }

        body.dark-mode .value {
            color: #bdc3c7;
        }

        body.dark-mode .info-item {
            border-bottom: 1px solid #4d4d4d;
        }

        body.dark-mode .project-item {
            background: #3d3d3d;
            color: #ffffff;
        }

        body.dark-mode .project-item h3 {
            color: #ffffff;
        }

        body.dark-mode .project-desc {
            color: #bdc3c7;
        }

        body.dark-mode .tech-tag {
            background: #3d3d3d;
            color: #3498db;
        }

        body.dark-mode .experience-item {
            background: #2d2d2d;
            color: #ffffff;
        }

        .achievement-item:hover {
            background: #fff3cd;
            transform: translateX(5px);
        }

        body.dark-mode .experience-item h3 {
            color: #ffffff;
        }

        body.dark-mode .experience-details li {
            color: #bdc3c7;
        }

        body.dark-mode .duration {
            color: #bdc3c7;
        }

        body.dark-mode .achievement-item {
            background: #2d2d2d;
            color: #ffffff;
        }

        body.dark-mode .achievement-item:hover {
            background: rgba(243, 156, 18, 0.15);
            transform: translateX(5px);
        }

        body.dark-mode .tech-tag:hover {
            background: rgba(52, 152, 219, 0.3);
            color: white;
            transform: scale(1.05);
        }

        body.dark-mode .achievement-item h3 {
            color: #ffffff;
        }

        body.dark-mode .achievement-desc {
            color: #bdc3c7;
        }

        body.dark-mode .skill-tag {
            background: #3d3d3d;
            color: #3498db;
            border: 1px solid rgba(52, 152, 219, 0.2);
        }

        body.dark-mode .skill-tag:hover {
            background: rgba(52, 152, 219, 0.3);
            transform: scale(1.05);
        }

        body.dark-mode .skill-category h3 {
            color: #f39c12;
        }

        /* Ensure column overlay doesn't interfere with dark mode */
        body.dark-mode .column-overlay {
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(155, 89, 182, 0.95) 100%);
        }

        /* Fix column content background in dark mode */
        body.dark-mode .info-column .column-content {
            background: transparent;
        }

        body.dark-mode .additional-column .column-content {
            background: transparent;
        }

        body.dark-mode .info-item:hover {
            background: rgba(52, 152, 219, 0.15);
            padding-left: 0.5rem;
            border-radius: 5px;
        }

        body.dark-mode .info-column:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
            background: #2d2d2d;
        }

        body.dark-mode .additional-column:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
            background: #2d2d2d;
        }

        /* Dark mode icon transition */
        .dark-mode-btn.dark i {
            transform: rotate(180deg);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .top-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }
            
            .columns-grid,
            .additional-columns-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
                padding: 1rem 0;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            }

            .nav-menu.active {
                display: flex;
            }

            body.dark-mode .nav-menu {
                background: rgba(45, 45, 45, 0.95);
            }

            .top-section {
                padding: 100px 0 60px;
            }
            
            .intro-title {
                font-size: 2.5rem;
            }
            
            .profile-photo {
                width: 250px;
                height: 250px;
            }
            
            .intro-stats {
                flex-direction: column;
                gap: 1rem;
            }
            
            .columns-grid,
            .additional-columns-grid {
                grid-template-columns: 1fr;
            }
            
            .info-column,
            .additional-column {
                min-height: 350px;
            }
        }

        @media (max-width: 480px) {
            .intro-title {
                font-size: 2rem;
            }
            
            .profile-photo {
                width: 200px;
                height: 200px;
            }
            
            .column-content {
                padding: 1rem;
            }
            
            .info-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .value {
                text-align: left;
                max-width: 100%;
            }
        }

        /* Scroll indicator */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        body.dark-mode ::-webkit-scrollbar-track {
            background: #2d2d2d;
        }

        ::-webkit-scrollbar-thumb {
            background: #3498db;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #2980b9;
        }