/* Hamburger Menu Animation */
            .hamburger {
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              width: 24px;
              height: 18px;
              cursor: pointer;
            }

            .hamburger span {
              display: block;
              width: 100%;
              height: 3px;
              background-color: var(--title-color);
              transition: all 0.3s ease;
            }

            /* Animation when menu is open */
            .show-menu .hamburger span:nth-child(1) {
              transform: translateY(7px) rotate(45deg);
            }

            .show-menu .hamburger span:nth-child(2) {
              opacity: 0;
            }

            .show-menu .hamburger span:nth-child(3) {
              transform: translateY(-7px) rotate(-45deg);
            }

        


    /* Center the qualification tabs and divider */
    .qualification__tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 0;
        max-width: 100%;
        flex-wrap: nowrap;
    }

    /* Style the divider */
    .qualification__divider {
        width: 1px;
        height: 20px;
        background-color: var(--text-color-light);
        margin: 0 0.5rem;
    }

    /* Button styling */
    .qualification__button {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
        font-size: var(--h3-font-size);
        font-weight: var(--font-medium);
        color: var(--text-color);
        background-color: var(--container-color);
        border-radius: 2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
    }

    /* Icon styling */
    .qualification__icon {
        font-size: 1.5rem;
        margin-right: var(--mb-0-25);
        transition: transform 0.3s ease;
    }

    /* Hover and active states */
    .qualification__button:hover {
        color: var(--first-color);
        background-color: var(--first-color-lighter);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .qualification__button.qualification__active {
        color: #fff;
        background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .qualification__button.qualification__active .qualification__icon {
        transform: scale(1.1);
    }

    /* Tasks container grid */
    .tasks__container {
        display: grid;
        gap: 0.75rem;
        justify-content: center;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0.75rem; /* Increased padding for consistent spacing around all edges */
    }

    /* Tasks content styling */
    .tasks__content {
        background-color: var(--container-color);
        padding: 0.5rem;
        border-radius: 0.25rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        transition: 0.3s;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 90px;
        min-height: 90px;
    }

    .tasks__content:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    /* Skills icon */
    .skills__icon {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    /* Interests title */
    .interests__title {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    /* Section title2 (e.g., Machine Learning, Software Development) */
    .section__title2 {
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 1rem; /* Increased bottom margin for spacing */
        margin-top: 2rem; /* Increased top margin for gap from previous skills */
        color: var(--title-color);
    }

    /* Responsive Adjustments */
    @media (max-width: 430px) {
        .qualification__tabs {
            gap: 0.25rem;
            padding: 0.5rem 0;
        }

        .qualification__button {
            padding: 0.4rem 0.8rem;
            font-size: 0.9rem;
        }

        .qualification__icon {
            font-size: 1.2rem;
            margin-right: 0.15rem;
        }

        .qualification__divider {
            height: 15px;
            margin: 0 0.25rem;
        }

        .tasks__container {
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
            padding: 0.5rem; /* Consistent padding on small screens */
        }

        .tasks__content {
            min-width: 80px;
            min-height: 60px;
            padding: 0.4rem;
        }

        .skills__icon {
            font-size: 1rem;
        }

        .interests__title {
            font-size: 0.7rem;
        }

        .section__title2 {
            font-size: 1.25rem; /* Slightly smaller on mobile */
            margin-top: 1.5rem; /* Adjusted for mobile */
            margin-bottom: 0.75rem;
        }
    }

    @media (min-width: 431px) and (max-width: 767px) {
        .tasks__container {
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            padding: 0.75rem;
        }

        .tasks__content {
            min-width: 90px;
            min-height: 70px;
        }
    }

    @media (min-width: 768px) {
        .tasks__container {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .tasks__container {
            grid-template-columns: repeat(5, 1fr);
        }
    }

    @media (min-width: 1200px) {
        .tasks__container {
            grid-template-columns: repeat(6, 1fr);
        }
    }

    /* Ensure container stays within bounds */
    .qualification__container {
        max-width: 100%;
        padding: 0 0.75rem; /* Match tasks__container padding */
        overflow-x: hidden;
    }




        .eye-counter {
            display: flex;
            align-items: center;
            margin-right: 15px;
        }

        .eye-container {
            position: relative;
            width: 80px;
            height: 50px;
            cursor: pointer;
        }

        .eye-outer {
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, 
                #f0f0f0 0%, 
                #d4d4d4 30%, 
                #8a8a8a 70%, 
                #4a4a4a 100%);
            border-radius: 60% / 60%;
            box-shadow: 
                0 0 15px rgba(0,0,0,0.3),
                inset 0 0 10px rgba(255,255,255,0.5);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        /* Blood vessel effect */
        .eye-outer::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle, transparent 60%, rgba(150,50,50,0.05) 60.5%) 50% 50%/80% 80%,
                linear-gradient(100deg, rgba(200,100,100,0.1) 0%, transparent 20%, transparent 80%, rgba(200,100,100,0.1) 100%);
            border-radius: 50%;
        }

        .dark-theme .eye-outer {
            background: radial-gradient(ellipse at center, 
                #4a4a4a 0%, 
                #2a2a2a 30%, 
                #1a1a1a 70%, 
                #0a0a0a 100%);
        }

        .eye-inner {
            position: absolute;
            width: 55%;
            height: 55%;
            background: radial-gradient(circle at center, 
                #3a1d0d 0%, 
                #1a0a00 50%, 
                #0a0000 100%);
            border-radius: 50%;
            top: 22.5%;
            left: 22.5%;
            box-shadow: 
                inset 0 0 15px rgba(0,0,0,0.4),
                0 0 5px rgba(255,255,255,0.3);
            transition: all 0.2s ease;
        }

        /* Iris pattern */
        .eye-inner::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle, transparent 65%, rgba(0,0,0,0.7) 65.5%),
                repeating-radial-gradient(circle at 30% 30%, 
                    rgba(150, 50, 200, 0.3) 0%, 
                    transparent 1%, 
                    transparent 5%);
            border-radius: 50%;
        }

        .dark-theme .eye-inner {
            background: radial-gradient(circle at center, 
                #1a0a00 0%, 
                #0a0000 50%, 
                #000 100%);
        }

        .pupil {
            position: absolute;
            width: 40%;
            height: 40%;
            background: #000;
            border-radius: 50%;
            top: 30%;
            left: 30%;
            box-shadow: 
                0 0 15px rgba(0,0,0,0.7),
                inset 0 0 10px rgba(100, 0, 150, 0.5);
            transition: all 0.1s ease;
        }

        /* Eye shine */
        .pupil::after {
            content: '';
            position: absolute;
            width: 20%;
            height: 20%;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            top: 20%;
            left: 20%;
            filter: blur(0.5px);
        }

        .counter-number {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'Arial', sans-serif;
            font-weight: bold;
            font-size: 1rem;
            color: white;
            text-shadow: 0 0 5px rgba(0,0,0,0.9);
            z-index: 10;
            pointer-events: none;
        }

        /* Original Smooth Blink Animation */
        @keyframes eye-blink {
            0%, 100% { 
                transform: scaleY(1);
                border-radius: 60% / 60%;
            }
            20%, 80% {
                border-radius: 60% / 10%;
            }
            50% { 
                transform: scaleY(0.05);
                border-radius: 60% / 5%;
            }
        }

        .eye-container.active .eye-outer {
            animation: eye-blink 0.4s ease-in-out;
        }

        /* Follow cursor effect */
        .eye-container:hover .eye-inner {
            transform: translate(
                calc(var(--mouse-x) * 15px - 7.5px), 
                calc(var(--mouse-y) * 10px - 5px)
            );
        }

        .eye-container:hover .pupil {
            transform: translate(
                calc(var(--mouse-x) * 10px - 5px), 
                calc(var(--mouse-y) * 7px - 3.5px)
            );
        }

        /* Random eye movement when not hovering */
        @keyframes random-eye-movement {
            0% { transform: translate(0, 0); }
            25% { transform: translate(2px, 1px); }
            50% { transform: translate(-1px, 2px); }
            75% { transform: translate(1px, -1px); }
            100% { transform: translate(0, 0); }
        }

        .eye-inner.idle-movement {
            animation: random-eye-movement 8s infinite ease-in-out;
        }

        .pupil.idle-movement {
            animation: random-eye-movement 5s infinite ease-in-out;
        }

        /* Micro-movements when idle */
        @keyframes eye-idle {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(1px, 0.5px); }
            50% { transform: translate(0, 1px); }
            75% { transform: translate(-0.5px, 0.5px); }
        }

        .eye-outer {
            animation: eye-idle 8s infinite ease-in-out;
        }

        /* Responsive Design */
        @media (max-width: 767px) {
            .eye-container {
                width: 70px;
                height: 45px;
            }
            
            .counter-number {
                font-size: 0.9rem;
            }
        }
