/* CSS Variables for Tech Theme */
        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #10b981;
            --dark: #1e293b;
            --darker: #0f172a;
            --light: #f8fafc;
            --gray: #94a3b8;
            --accent: #8b5cf6;
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: linear-gradient(135deg, var(--darker), #1a1a2e);
            color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            display: flex;
            min-height: 100vh;
        }

        /* Left Navigation */
        .navbar {
            width: 260px;
            background: rgba(30, 41, 59, 0.8);
            backdrop-filter: blur(10px);
            padding: 2rem 1.5rem;
            position: fixed;
            height: 100vh;
            overflow-y: auto;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 100;
            transition: all 0.3s ease;
        }

        .nav-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .nav-header h1 {
            font-size: 1.8rem;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 0.5rem;
        }

        .nav-header p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .nav-menu {
            list-style: none;
        }

        .nav-menu li {
            margin-bottom: 0.8rem;
        }

        .nav-menu a {
            display: flex;
            align-items: center;
            padding: 0.8rem 1.2rem;
            color: var(--gray);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .nav-menu a:hover, .nav-menu a.active {
            background: rgba(37, 99, 235, 0.2);
            color: var(--light);
            transform: translateX(5px);
        }

        .nav-menu i {
            margin-right: 0.8rem;
            font-size: 1.2rem;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            margin-left: 260px;
            padding: 2rem;
        }

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

        .section-header {
            margin-bottom: 3rem;
            text-align: center;
        }

        .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: inline-block;
        }

        .section-header p {
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* About Section */
         .rotating-text-container {
        perspective: 500px;
        margin: 2rem 0;
        text-align: center;
    }
    
    .rotating-text {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--primary);
        animation: rotateText 5s infinite ease-in-out;
        transform-origin: center center;
        padding: 1rem;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 8px;
    }
    
    @keyframes rotateText {
        0% {
            transform: rotateY(0deg);
        }
        25% {
            transform: rotateY(90deg);
        }
        50% {
            transform: rotateY(180deg);
        }
        75% {
            transform: rotateY(270deg);
        }
        100% {
            transform: rotateY(360deg);
        }
    }
    
    /* Responsive adjustment */
    @media (max-width: 768px) {
        .rotating-text {
            font-size: 1.2rem;
        }
    }
        .about-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            flex-wrap: wrap;
        }

        .hero-image {
            position: relative;
            flex: 1;
            min-width: 300px;
            display: flex;
            justify-content: center;
        }

        .profile-img-container {
            width: 280px;
            height: 280px;
            position: relative;
            z-index: 2;
        }

        .profile-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid var(--primary);
            box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
            animation: float 6s ease-in-out infinite;
        }

        .rotating-circles {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 340px;
            height: 340px;
            border-radius: 50%;
            animation: rotate 20s linear infinite;
        }

        .circle-dot {
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--secondary);
            transform-origin: 170px;
        }

        .circle-dot:nth-child(1) { transform: rotate(0deg); background: var(--primary); }
        .circle-dot:nth-child(2) { transform: rotate(45deg); background: var(--secondary); }
        .circle-dot:nth-child(3) { transform: rotate(90deg); background: var(--accent); }
        .circle-dot:nth-child(4) { transform: rotate(135deg); background: var(--primary); }
        .circle-dot:nth-child(5) { transform: rotate(180deg); background: var(--secondary); }
        .circle-dot:nth-child(6) { transform: rotate(225deg); background: var(--accent); }
        .circle-dot:nth-child(7) { transform: rotate(270deg); background: var(--primary); }
        .circle-dot:nth-child(8) { transform: rotate(315deg); background: var(--secondary); }

        .intro-text {
            flex: 1;
            min-width: 300px;
        }

        .intro-text h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .intro-text h2 {
            font-size: 1.5rem;
            color: var(--gray);
            margin-bottom: 1.5rem;
        }

        .intro-text p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        /* Skills Section */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .skill-category {
            background: rgba(30, 41, 59, 0.6);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .skill-category:hover {
            transform: translateY(-5px);
        }

        .skill-category h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
            display: flex;
            align-items: center;
        }

        .skill-category h3 i {
            margin-right: 0.8rem;
        }

        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .skill-tag {
            background: linear-gradient(to right, var(--primary-dark), var(--primary));
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
        }

        .skill-tag i {
            margin-right: 0.5rem;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .project-card {
            background: rgba(30, 41, 59, 0.6);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
        }

        .project-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: var(--primary);
        }

        .project-content p {
            color: var(--gray);
            margin-bottom: 1.2rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.2rem;
        }

        .project-tag {
            background: rgba(37, 99, 235, 0.2);
            color: var(--primary);
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            font-size: 0.8rem;
        }

        /* Contact Section */
        .contact-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .contact-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: rgba(30, 41, 59, 0.6);
            padding: 1.5rem;
            border-radius: 12px;
            text-decoration: none;
            color: var(--light);
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .contact-btn:hover {
            transform: translateY(-5px);
            background: rgba(37, 99, 235, 0.3);
        }

        .contact-btn i {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .contact-btn span {
            font-size: 1.1rem;
            font-weight: 500;
        }

        /* Blogs Section */
        .blog-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .blog-post {
            background: rgba(30, 41, 59, 0.6);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .blog-post:hover {
            transform: translateY(-5px);
        }

        .blog-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .blog-content {
            padding: 1.5rem;
        }

        .blog-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: var(--primary);
        }

        .blog-content p {
            color: var(--gray);
            margin-bottom: 1.2rem;
        }

        .read-more {
            display: inline-block;
            padding: 0.6rem 1.2rem;
            background: var(--primary);
            color: white;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .read-more:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* Courses Section */
        .coming-soon {
            text-align: center;
            font-size: 2rem;
            color: var(--gray);
            padding: 4rem 2rem;
            background: rgba(30, 41, 59, 0.3);
            border-radius: 12px;
            margin-top: 2rem;
        }

        /* Footer */
        .footer {
            background: var(--darker);
            padding: 2rem;
            text-align: center;
            margin-top: 4rem;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(37, 99, 235, 0.2);
            color: var(--light);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background: var(--primary);
            transform: translateY(-5px);
        }

        .footer p {
            color: var(--gray);
        }

        /* Animations */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }

        @keyframes rotate {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .container {
                flex-direction: column;
            }
            
            .navbar {
                width: 100%;
                height: auto;
                position: relative;
                padding: 1.5rem;
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .nav-menu {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 0.5rem;
            }
            
            .nav-menu li {
                margin-bottom: 0;
            }
            
            .nav-menu a {
                padding: 0.6rem 1rem;
            }
        }

        @media (max-width: 768px) {
            .about-container {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-image {
                margin-bottom: 2rem;
            }
            
            .section {
                padding: 3rem 1rem;
            }
            
            .intro-text h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            .profile-img-container {
                width: 220px;
                height: 220px;
            }
            
            .rotating-circles {
                width: 260px;
                height: 260px;
            }
            
            .circle-dot {
                transform-origin: 130px;
            }
            
            .intro-text h1 {
                font-size: 2rem;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
        }

        


/* Add smooth transitions for section changes */
.section {
    transition: opacity 0.3s ease;
}

/* Add a back-to-top button for better navigation */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Add section transition animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section[style*="display: block"] {
    animation: fadeIn 0.5s ease forwards;
}
