        /* Prevent flash of unstyled content */
        html,
        body {
            background-color: #121212 !important;
            color: #ffffff !important;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            max-width: 100vw;
            box-sizing: border-box;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html[data-theme="light"],
        html[data-theme="light"] body {
            background-color: #f5f7f9 !important;
            color: #2c3e50 !important;
        }

        /* Light theme specific improvements */
        [data-theme="light"] .features-section,
        [data-theme="light"] .team-section {
            border: 1px solid var(--border-color);
        }

        [data-theme="light"] .feature-item {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        [data-theme="light"] .team-member {
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        }

        :root {
            --secondary-color: #00c853;
            --primary-hover: #1565c0;
            --hover-color: rgba(25, 118, 210, 0.1);
        }

        /* Theme Switch Styles */
        .theme-switch {
            --toggle-size: 18px;
            --container-width: 4em;
            --container-height: 1.8em;
            --container-radius: 4.5em;
            --circle-container-diameter: 2.4em;
            --sun-moon-diameter: 1.5em;
            --container-night-bg: #1D1F2C;
            --container-light-bg: #3D7EAE;
            --sun-bg: #ECCA2F;
            --moon-bg: #C4C9D1;
            --spot-color: #959DB1;
            --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
            --stars-color: #fff;
            --clouds-color: #F3FDFF;
            --back-clouds-color: #AACADF;
            --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
            --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
        }

        .theme-switch,
        .theme-switch *,
        .theme-switch *::before,
        .theme-switch *::after {
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-size: var(--toggle-size);
        }

        .theme-switch__container {
            width: var(--container-width);
            height: var(--container-height);
            background-color: var(--container-light-bg);
            border-radius: var(--container-radius);
            overflow: hidden;
            cursor: pointer;
            -webkit-box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
            box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
            -webkit-transition: var(--transition);
            -o-transition: var(--transition);
            transition: var(--transition);
            position: relative;
        }

        .theme-switch__container::before {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;
            -webkit-box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
            box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
            border-radius: var(--container-radius)
        }

        .theme-switch__checkbox {
            display: none;
        }

        .theme-switch__circle-container {
            width: var(--circle-container-diameter);
            height: var(--circle-container-diameter);
            background-color: rgba(255, 255, 255, 0.1);
            position: absolute;
            left: var(--circle-container-offset);
            top: var(--circle-container-offset);
            border-radius: var(--container-radius);
            -webkit-box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
            box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-transition: var(--circle-transition);
            -o-transition: var(--circle-transition);
            transition: var(--circle-transition);
            pointer-events: none;
        }

        .theme-switch__sun-moon-container {
            pointer-events: auto;
            position: relative;
            z-index: 2;
            width: var(--sun-moon-diameter);
            height: var(--sun-moon-diameter);
            margin: auto;
            border-radius: var(--container-radius);
            background-color: var(--sun-bg);
            -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
            box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
            -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
            filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
            overflow: hidden;
            -webkit-transition: var(--transition);
            -o-transition: var(--transition);
            transition: var(--transition);
        }

        .theme-switch__moon {
            -webkit-transform: translateX(100%);
            -ms-transform: translateX(100%);
            transform: translateX(100%);
            width: 100%;
            height: 100%;
            background-color: var(--moon-bg);
            border-radius: inherit;
            -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
            box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
            -webkit-transition: var(--transition);
            -o-transition: var(--transition);
            transition: var(--transition);
            position: relative;
        }

        .theme-switch__spot {
            position: absolute;
            top: 0.75em;
            left: 0.312em;
            width: 0.75em;
            height: 0.75em;
            border-radius: var(--container-radius);
            background-color: var(--spot-color);
            -webkit-box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
            box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
        }

        .theme-switch__spot:nth-of-type(2) {
            width: 0.375em;
            height: 0.375em;
            top: 0.937em;
            left: 1.375em;
        }

        .theme-switch__spot:nth-last-of-type(3) {
            width: 0.25em;
            height: 0.25em;
            top: 0.312em;
            left: 0.812em;
        }

        .theme-switch__clouds {
            width: 1.25em;
            height: 1.25em;
            background-color: var(--clouds-color);
            border-radius: var(--container-radius);
            position: absolute;
            bottom: -0.625em;
            left: 0.312em;
            -webkit-box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
            box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
            -webkit-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
            -o-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
            transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
        }

        .theme-switch__stars-container {
            position: absolute;
            color: var(--stars-color);
            top: -100%;
            left: 0.312em;
            width: 2.75em;
            height: auto;
            -webkit-transition: var(--transition);
            -o-transition: var(--transition);
            transition: var(--transition);
        }

        /* Theme Switch Actions */
        .theme-switch__checkbox:checked+.theme-switch__container {
            background-color: var(--container-night-bg);
        }

        .theme-switch__checkbox:checked+.theme-switch__container .theme-switch__circle-container {
            left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
        }

        .theme-switch__checkbox:checked+.theme-switch__container .theme-switch__circle-container:hover {
            left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em)
        }

        .theme-switch__circle-container:hover {
            left: calc(var(--circle-container-offset) + 0.187em);
        }

        .theme-switch__checkbox:checked+.theme-switch__container .theme-switch__moon {
            -webkit-transform: translate(0);
            -ms-transform: translate(0);
            transform: translate(0);
        }

        .theme-switch__checkbox:checked+.theme-switch__container .theme-switch__clouds {
            bottom: -4.062em;
        }

        .theme-switch__checkbox:checked+.theme-switch__container .theme-switch__stars-container {
            top: 50%;
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
        }

        /* Animation Keyframes */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Performance optimizations */
        .info-card,
        .feature-item,
        .stat-card,
        .team-member {
            will-change: transform;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        /* Reduce motion for users who prefer it */
        @media (prefers-reduced-motion: reduce) {

            .info-card:nth-child(odd),
            .info-card:nth-child(even),
            .features-section,
            .team-section,
            .stats-section,
            .flowing-stats-wrap {
                animation: none;
            }

            .info-card,
            .feature-item,
            .stat-card,
            .team-member,
            .flowing-marquee,
            .flowing-marquee-inner {
                transition: none;
                animation: none;
            }
        }

        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem;
            overflow-x: hidden;
            width: 100%;
        }

        .hero-section {
            text-align: center;
            padding: 10px 0 20px 0 ;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 15px;
            margin-bottom: 10px;
            color: white;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-section h1 {
            font-size: 2.2rem;
            font-weight: 600;
        }

        .hero-section p {
            font-size: 1rem;
            opacity: 0.9;
            max-width: 500px;
            margin: 0 auto;
            line-height: 1.5;
        }

        [ data-theme="light"] .hero-section h1 {
            color: rgba(0, 0, 0, 0.722);
        }

        [ data-theme="light"] .hero-section p {
            color: rgba(0, 0, 0, 0.735);
        }

        /* Scroll Velocity Animation Styles */
        .scroll-velocity-container {
            position: relative;
            overflow: hidden;
            margin-top: 4rem;
            margin-bottom: 1rem;
            height: 220px;
            width: 100%;
            max-width: 100vw;
            mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
            -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
        }

        .scroll-velocity-track {
            display: flex;
            white-space: nowrap;
            gap: 1.5rem;
            animation: scrollVelocity 10s linear infinite alternate;
            will-change: transform;
            width: max-content;
        }

        .scroll-velocity-track:hover {
            animation-play-state: paused;
        }

        .info-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            flex-shrink: 0;
            width: 360px;
            height: 200px;
            white-space: normal;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .info-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .info-card h3 {
            color: var(--primary-color);
            margin-bottom: 0.8rem;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-card p {
            color: var(--text-secondary);
            line-height: 1.5;
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 10;
            line-clamp: 10;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        @keyframes scrollVelocity {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        /* Compact Stats */
        .stats-section {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin: 2rem 0;
            animation: fadeInUp 1s ease-out forwards;
        }

        .stat-card {
            text-align: center;
            padding: 1.2rem 0.8rem;
            background: var(--card-bg);
            border-radius: 10px;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: scale(1.05);
        }

        .stat-number {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.3rem;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 0.8rem;
        }

        /* Flowing Menu Animation Styles for Stats */
        .flowing-stats-wrap {
            width: 100%;
            height: 400px;
            overflow: hidden;
            margin: 2rem 0;
            border-radius: 15px;
            box-shadow: var(--shadow);
            animation: fadeInUp 1s ease-out forwards;
            border: 1px solid var(--border-color);
        }

        /* Light theme specific improvements for flowing stats */
        [data-theme="light"] .flowing-stats-wrap {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .flowing-stats-menu {
            display: flex;
            flex-direction: column;
            height: 100%;
            margin: 0;
            padding: 0;
        }

        .flowing-stat-item {
            flex: 1;
            position: relative;
            overflow: hidden;
            text-align: center;
            background: var(--card-bg);
            border-bottom: 1px solid var(--border-color);
        }

        /* Light theme specific improvements */
        [data-theme="light"] .flowing-stat-item {
            box-shadow: inset 0 0 0 1px var(--border-color);
        }

        .flowing-stat-item:first-child {
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }

        .flowing-stat-item:last-child {
            border-bottom-left-radius: 15px;
            border-bottom-right-radius: 15px;
            border-bottom: none;
        }

        .flowing-stat-link {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            position: relative;
            cursor: default;
            text-decoration: none;
            white-space: nowrap;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 1.2rem;
            transition: color 0.3s ease;
            flex-direction: column;
            gap: 0.3rem;
        }

        .flowing-stat-link:hover {
            color: var(--primary-color);
        }

        .flowing-stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .flowing-stat-text {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .flowing-marquee {
            position: absolute;
            top: 0;
            left: 0;
            overflow: hidden;
            width: 100%;
            height: 100%;
            pointer-events: none;
            background: linear-gradient(135deg, #262e87, #8f2770);
            transform: translate3d(0, 101%, 0);
            transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .flowing-marquee-inner-wrap {
            height: 100%;
            width: 200%;
            display: flex;
            transform: translateX(0);
        }

        .flowing-marquee-inner {
            display: flex;
            align-items: center;
            position: relative;
            height: 100%;
            width: 200%;
            will-change: transform;
            animation: flowingMarquee 5s linear infinite alternate;
            padding: 0 2rem;
        }

        .flowing-marquee span {
            color: white;
            white-space: nowrap;
            font-weight: 600;
            font-size: 1rem;
            line-height: 1.2;
            padding: 0 2rem;
            flex-shrink: 0;
        }

        .flowing-marquee-detail {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 0.5rem 1rem;
            margin: 0 1.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-size: 0.8rem;
            color: white;
            flex-shrink: 0;
            max-width: 200px;
            text-align: center;
        }

        .flowing-stat-link:hover+.flowing-marquee {
            transform: translate3d(0, 0%, 0);
        }

        @keyframes flowingMarquee {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(-30%);
            }
        }

        /* Responsive adjustments for flowing stats */
        @media (max-width: 768px) {
            .flowing-stats-wrap {
                height: 320px;
            }

            .flowing-stat-link {
                font-size: 1rem;
            }

            .flowing-stat-number {
                font-size: 1.5rem;
            }

            .flowing-marquee span {
                font-size: 0.9rem;
                padding: 0 1rem;
            }

            .flowing-marquee-detail {
                font-size: 0.5rem;
                padding: 0.4rem 0.8rem;
                margin: 0 1rem;
                max-width: 150px;
            }
        }

        /* Compact Features */
        .features-section {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            animation: slideInLeft 0.8s ease-out forwards;
        }

        /* Card Swap Animation Styles */
        .card-swap-wrapper {
            display: flex;
            justify-content: center;
            margin: 0rem 0;
            height: 500px;
            position: relative;
        }

        /* Features Layout Container */
        .features-layout {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4rem;
            margin: 2rem 0;
            position: relative;
        }

        /* Vertical Divider Between Animations */
        .vertical-divider {
            position: relative;
            width: 2px;
            height: 400px;
            left: 10px;
            background: linear-gradient(to bottom,
                    transparent 0%,
                    var(--primary-color) 20%,
                    var(--secondary-color) 50%,
                    var(--primary-color) 80%,
                    transparent 100%);
            display: none;
            /* Hidden by default, shown on desktop */
            border-radius: 2px;
            overflow: hidden;
        }

        .vertical-divider::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom,
                    var(--secondary-color) 0%,
                    transparent 50%,
                    var(--secondary-color) 100%);
            animation: dividerPulse 3s ease-in-out infinite;
            opacity: 0.6;
        }

        .vertical-divider::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 6px var(--primary-color);
            animation: centerDot 2s ease-in-out infinite alternate;
        }

        /* Divider animations */
        @keyframes dividerPulse {

            0%,
            100% {
                opacity: 0.3;
                transform: scaleY(1);
            }

            50% {
                opacity: 0.8;
                transform: scaleY(1.1);
            }
        }

        @keyframes centerDot {
            0% {
                transform: translate(-50%, -50%) scale(1);
                box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 6px var(--primary-color);
            }

            100% {
                transform: translate(-50%, -50%) scale(1.2);
                box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 8px var(--secondary-color);
            }
        }

        /* Floating connection lines */
        .connection-lines {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            pointer-events: none;
        }

        .connection-line {
            position: absolute;
            width: 20px;
            height: 1px;
            background: var(--primary-color);
            opacity: 0.4;
            animation: connectionFloat 4s ease-in-out infinite;
        }

        .connection-line:nth-child(1) {
            top: 20%;
            left: -30px;
            animation-delay: 0s;
            transform-origin: right center;
        }

        .connection-line:nth-child(2) {
            top: 50%;
            left: -30px;
            animation-delay: 1s;
            transform-origin: right center;
        }

        .connection-line:nth-child(3) {
            top: 80%;
            left: -30px;
            animation-delay: 2s;
            transform-origin: right center;
        }

        .connection-line:nth-child(4) {
            top: 20%;
            right: -30px;
            animation-delay: 0.5s;
            transform-origin: left center;
        }

        .connection-line:nth-child(5) {
            top: 50%;
            right: -30px;
            animation-delay: 1.5s;
            transform-origin: left center;
        }

        .connection-line:nth-child(6) {
            top: 80%;
            right: -30px;
            animation-delay: 2.5s;
            transform-origin: left center;
        }

        @keyframes connectionFloat {

            0%,
            100% {
                opacity: 0.2;
                transform: scaleX(0.5);
            }

            50% {
                opacity: 0.8;
                transform: scaleX(1.2);
            }
        }

        /* Light theme adjustments for divider */
        [data-theme="light"] .vertical-divider::after {
            box-shadow: 0 0 0 4px var(--card-bg), 0 0 0 6px var(--primary-color);
        }

        [data-theme="light"] .connection-line {
            background: var(--primary-color);
            opacity: 0.5;
        }

        /* Orbiting Circles Animation Styles */
        .orbiting-circles-container {
            position: relative;
            width: 400px;
            height: 400px;
            right: 40px;
            top: 20px;
            display: none;
            /* Hidden by default, shown on desktop */
        }

        .orbiting-circles-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 4px 20px rgba(25, 118, 210, 0.3);
            z-index: 10;
        }

        .orbit-path {
            position: absolute;
            top: 50%;
            left: 50%;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            opacity: 0.3;
        }

        /* Light theme specific orbit path visibility */
        [data-theme="light"] .orbit-path {
            border-color: rgba(44, 62, 80, 0.25);
            opacity: 0.6;
            box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.1);
        }

        /* Enhanced orbit path styling */
        .orbit-path-1 {
            border-style: dashed;
            border-width: 1px;
        }

        .orbit-path-2 {
            border-style: dotted;
            border-width: 1px;
        }

        .orbit-path-3 {
            border-style: solid;
            border-width: 1px;
        }

        /* Light theme specific path styles */
        [data-theme="light"] .orbit-path-1 {
            border-color: rgba(25, 118, 210, 0.431);
        }

        [data-theme="light"] .orbit-path-2 {
            border-color: rgba(0, 200, 83, 0.861);
        }

        [data-theme="light"] .orbit-path-3 {
            border-color: rgba(44, 62, 80, 0.3);
        }

        [data-theme="light"] .orbit-path-4 {
            border-color: rgba(156, 39, 176, 0.4);
        }

        [data-theme="light"] .orbit-path-5 {
            border-color: rgba(255, 153, 0, 0.555);
        }

        /* Dark theme specific path styles */
        [data-theme="dark"] .orbit-path-1 {
            border-color: rgba(25, 118, 210, 0.4);
        }

        [data-theme="dark"] .orbit-path-2 {
            border-color: rgba(0, 200, 83, 0.4);
        }

        [data-theme="dark"] .orbit-path-3 {
            border-color: rgba(255, 255, 255, 0.2);
        }

        [data-theme="dark"] .orbit-path-4 {
            border-color: rgba(156, 39, 176, 0.5);
        }

        [data-theme="dark"] .orbit-path-5 {
            border-color: rgba(255, 153, 0, 0.639);
        }

        .orbit-path-1 {
            width: 200px;
            height: 200px;
            margin: -100px 0 0 -100px;
        }

        .orbit-path-2 {
            width: 300px;
            height: 300px;
            margin: -150px 0 0 -150px;
        }

        .orbit-path-3 {
            width: 380px;
            height: 380px;
            margin: -190px 0 0 -190px;
        }

        .orbit-path-4 {
            width: 450px;
            height: 450px;
            margin: -225px 0 0 -225px;
        }

        .orbit-path-5 {
            width: 520px;
            height: 520px;
            margin: -260px 0 0 -260px;
        }

        .orbiting-icon {
            position: absolute;
            width: 50px;
            height: 50px;
            background: var(--card-bg);
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }

        .orbiting-icon:hover {
            transform: scale(1.2);
            box-shadow: var(--shadow-hover);
            /* background: var(--primary-color); */
            color: white;
            animation-play-state: paused;
        }

        /* Orbit animations - Fixed to follow correct paths */
        .orbit-1 {
            animation: orbit1 8s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-2 {
            animation: orbit2 12s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-3 {
            animation: orbit3 16s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-4 {
            animation: orbit4 10s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-5 {
            animation: orbit5 14s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-6 {
            animation: orbit6 18s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-7 {
            animation: orbit7 20s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        /* New orbit positions for tech stack organization */
        .orbit-1-2 {
            animation: orbit1-2 8s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-1-3 {
            animation: orbit1-3 9s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-1-4 {
            animation: orbit1-4 10s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-2-2 {
            animation: orbit2-2 13s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-2-3 {
            animation: orbit2-3 15s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-3-2 {
            animation: orbit3-2 17s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-3-3 {
            animation: orbit3-3 19s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-4-2 {
            animation: orbit4-2 22s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-4-3 {
            animation: orbit4-3 24s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-5-2 {
            animation: orbit5-2 26s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-5-3 {
            animation: orbit5-3 20s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        .orbit-5-4 {
            animation: orbit5-4 30s linear infinite;
            top: 50%;
            left: 50%;
            margin: -25px 0 0 -25px;
        }

        /* Orbit 1 - Inner circle (100px radius) */
        @keyframes orbit1 {
            from {
                transform: rotate(0deg) translateX(100px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(100px) rotate(-360deg);
            }
        }

        /* Backend Layer - Orbit 2 (150px radius) */
        @keyframes orbit2 {
            from {
                transform: rotate(0deg) translateX(150px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(150px) rotate(-360deg);
            }
        }

        /* Database Layer - Orbit 3 (190px radius) */
        @keyframes orbit3 {
            from {
                transform: rotate(0deg) translateX(190px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(190px) rotate(-360deg);
            }
        }

        /* API Layer - Orbit 4 (225px radius) */
        @keyframes orbit4 {
            from {
                transform: rotate(0deg) translateX(225px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(225px) rotate(-360deg);
            }
        }

        /* Deployment Layer - Orbit 5 (260px radius) */
        @keyframes orbit5 {
            from {
                transform: rotate(0deg) translateX(260px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(260px) rotate(-360deg);
            }
        }

        /* Legacy orbits - keeping for compatibility */
        @keyframes orbit6 {
            from {
                transform: rotate(0deg) translateX(190px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(190px) rotate(-360deg);
            }
        }

        @keyframes orbit7 {
            from {
                transform: rotate(180deg) translateX(190px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(190px) rotate(-540deg);
            }
        }

        /* New keyframes for tech stack organization */
        /* Frontend Layer (100px radius) */
        @keyframes orbit1-2 {
            from {
                transform: rotate(90deg) translateX(100px) rotate(-90deg);
            }

            to {
                transform: rotate(450deg) translateX(100px) rotate(-450deg);
            }
        }

        @keyframes orbit1-3 {
            from {
                transform: rotate(180deg) translateX(100px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(100px) rotate(-540deg);
            }
        }

        @keyframes orbit1-4 {
            from {
                transform: rotate(270deg) translateX(100px) rotate(-270deg);
            }

            to {
                transform: rotate(630deg) translateX(100px) rotate(-630deg);
            }
        }

        /* Backend Layer (150px radius) */
        @keyframes orbit2-2 {
            from {
                transform: rotate(180deg) translateX(150px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(150px) rotate(-540deg);
            }
        }

        @keyframes orbit2-3 {
            from {
                transform: rotate(0deg) translateX(150px) rotate(0deg);
            }

            to {
                transform: rotate(360deg) translateX(150px) rotate(-360deg);
            }
        }

        /* Database Layer (190px radius) */
        @keyframes orbit3-2 {
            from {
                transform: rotate(180deg) translateX(190px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(190px) rotate(-540deg);
            }
        }

        @keyframes orbit3-3 {
            from {
                transform: rotate(240deg) translateX(190px) rotate(-240deg);
            }

            to {
                transform: rotate(600deg) translateX(190px) rotate(-600deg);
            }
        }

        /* API Layer (225px radius) */
        @keyframes orbit4-2 {
            from {
                transform: rotate(180deg) translateX(225px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(225px) rotate(-540deg);
            }
        }

        @keyframes orbit4-3 {
            from {
                transform: rotate(240deg) translateX(225px) rotate(-240deg);
            }

            to {
                transform: rotate(600deg) translateX(225px) rotate(-600deg);
            }
        }

        /* Deployment Layer (260px radius) */
        @keyframes orbit5-2 {
            from {
                transform: rotate(180deg) translateX(260px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(260px) rotate(-540deg);
            }
        }

        @keyframes orbit5-3 {
            from {
                transform: rotate(180deg) translateX(260px) rotate(-180deg);
            }

            to {
                transform: rotate(540deg) translateX(260px) rotate(-540deg);
            }
        }

        @keyframes orbit5-4 {
            from {
                transform: rotate(270deg) translateX(260px) rotate(-270deg);
            }

            to {
                transform: rotate(630deg) translateX(260px) rotate(-630deg);
            }
        }

        /* Desktop only - show orbiting circles and divider */
        @media (min-width: 1200px) {
            .orbiting-circles-container {
                display: block;
            }

            .vertical-divider {
                display: block;
            }

            .features-layout {
                justify-content: space-between;
                max-width: 1100px;
                margin: 2rem auto;
                gap: 3rem;
            }
        }

        /* Large desktop adjustments */
        @media (min-width: 1400px) {
            .features-layout {
                max-width: 1200px;
                gap: 6rem;
            }

            .orbiting-circles-container {
                width: 450px;
                height: 450px;
            }

            .orbit-path-1 {
                width: 220px;
                height: 220px;
                margin: -110px 0 0 -110px;
            }

            .orbit-path-2 {
                width: 310px;
                height: 310px;
                margin: -155px 0 0 -155px;
            }

            .orbit-path-3 {
                width: 380px;
                height: 380px;
                margin: -190px 0 0 -190px;
            }

            /* Adjust orbit animations for larger screen */
            @keyframes orbit1 {
                from {
                    transform: rotate(0deg) translateX(110px) rotate(0deg);
                }

                to {
                    transform: rotate(360deg) translateX(110px) rotate(-360deg);
                }
            }

            @keyframes orbit2 {
                from {
                    transform: rotate(120deg) translateX(110px) rotate(-120deg);
                }

                to {
                    transform: rotate(480deg) translateX(110px) rotate(-480deg);
                }
            }

            @keyframes orbit3 {
                from {
                    transform: rotate(0deg) translateX(165px) rotate(0deg);
                }

                to {
                    transform: rotate(360deg) translateX(165px) rotate(-360deg);
                }
            }

            @keyframes orbit4 {
                from {
                    transform: rotate(120deg) translateX(165px) rotate(-120deg);
                }

                to {
                    transform: rotate(480deg) translateX(165px) rotate(-480deg);
                }
            }

            @keyframes orbit5 {
                from {
                    transform: rotate(240deg) translateX(165px) rotate(-240deg);
                }

                to {
                    transform: rotate(600deg) translateX(165px) rotate(-600deg);
                }
            }

            @keyframes orbit6 {
                from {
                    transform: rotate(0deg) translateX(210px) rotate(0deg);
                }

                to {
                    transform: rotate(360deg) translateX(210px) rotate(-360deg);
                }
            }

            @keyframes orbit7 {
                from {
                    transform: rotate(180deg) translateX(210px) rotate(-180deg);
                }

                to {
                    transform: rotate(540deg) translateX(210px) rotate(-540deg);
                }
            }
        }

        /* Medium desktop adjustments */
        @media (min-width: 1200px) and (max-width: 1399px) {
            .orbiting-circles-container {
                width: 350px;
                height: 350px;
            }

            .orbit-path-1 {
                width: 180px;
                height: 180px;
                margin: -90px 0 0 -90px;
            }

            .orbit-path-2 {
                width: 260px;
                height: 260px;
                margin: -130px 0 0 -130px;
            }

            .orbit-path-3 {
                width: 330px;
                height: 330px;
                margin: -165px 0 0 -165px;
            }

            .orbiting-icon {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
                margin: -22.5px 0 0 -22.5px;
            }

            .orbiting-circles-center {
                width: 70px;
                height: 70px;
                font-size: 1.3rem;
            }

            /* Adjust orbit animations for medium screen */
            @keyframes orbit1 {
                from {
                    transform: rotate(0deg) translateX(90px) rotate(0deg);
                }

                to {
                    transform: rotate(360deg) translateX(90px) rotate(-360deg);
                }
            }

            @keyframes orbit2 {
                from {
                    transform: rotate(120deg) translateX(90px) rotate(-120deg);
                }

                to {
                    transform: rotate(480deg) translateX(90px) rotate(-480deg);
                }
            }

            @keyframes orbit3 {
                from {
                    transform: rotate(0deg) translateX(130px) rotate(0deg);
                }

                to {
                    transform: rotate(360deg) translateX(130px) rotate(-360deg);
                }
            }

            @keyframes orbit4 {
                from {
                    transform: rotate(120deg) translateX(130px) rotate(-120deg);
                }

                to {
                    transform: rotate(480deg) translateX(130px) rotate(-480deg);
                }
            }

            @keyframes orbit5 {
                from {
                    transform: rotate(240deg) translateX(130px) rotate(-240deg);
                }

                to {
                    transform: rotate(600deg) translateX(130px) rotate(-600deg);
                }
            }

            @keyframes orbit6 {
                from {
                    transform: rotate(0deg) translateX(165px) rotate(0deg);
                }

                to {
                    transform: rotate(360deg) translateX(165px) rotate(-360deg);
                }
            }

            @keyframes orbit7 {
                from {
                    transform: rotate(180deg) translateX(165px) rotate(-180deg);
                }

                to {
                    transform: rotate(540deg) translateX(165px) rotate(-540deg);
                }
            }
        }

        .card-swap-container {
            position: relative;
            width: 320px;
            height: 320px;
            perspective: 900px;
            overflow: visible;
        }

        .feature-card {
            position: absolute;
            top: 105%;
            left: 50%;
            width: 300px;
            height: 300px;
            border-radius: 15px;
            border: 2px solid var(--primary-color);
            background: var(--card-bg);
            box-shadow: var(--shadow-hover);
            transform-style: preserve-3d;
            will-change: transform;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            text-align: center;
            padding: 2rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: all 0.1s ease;
        }

        .feature-card:hover {
            border-color: var(--secondary-color);
            box-shadow: 0 10px 30px rgba(25, 118, 210, 0.3);
        }

        .feature-card .feature-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            transition: all 0.1s ease;
        }

        .feature-card:hover .feature-icon {
            color: var(--secondary-color);
            transform: scale(1.1);
        }

        .feature-card h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .feature-card p {
            font-size: 1rem;
            color: var(--text-secondary);
            line-height: 1.5;
            text-align: center;
        }

        .feature-icon {
            font-size: 1.8rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        /* Compact Team Section */
        .team-section {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: var(--shadow);
            animation: slideInRight 0.8s ease-out forwards;
            text-align: center;
        }

        .team-header {
            margin-bottom: 2rem;
        }

        .team-header h2 {
            color: var(--primary-color);
            margin-bottom: 0.8rem;
            font-size: 1.5rem;
        }

        .team-header p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .tech-stack {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 1rem;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-top: 2rem;
            justify-items: center;
        }

        /* Animated Card Styles */
        .card {
            width: 280px;
            height: 280px;
            background: var(--card-bg);
            border-radius: 32px;
            padding: 3px;
            position: relative;
            box-shadow: rgba(96, 75, 74, 0.3) 0px 70px 30px -50px;
            transition: all 0.5s ease-in-out;
        }

        .card .mail {
            position: absolute;
            right: 2rem;
            top: 1.4rem;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 4;
        }

        .card .mail svg {
            stroke: var(--primary-color);
            stroke-width: 3px;
            transition: stroke 0.3s ease;
        }

        .card .mail svg:hover {
            stroke: var(--secondary-color);
        }

        .card .profile-pic {
            position: absolute;
            width: calc(100% - 6px);
            height: calc(100% - 6px);
            top: 3px;
            left: 3px;
            border-radius: 29px;
            z-index: 1;
            border: 0px solid var(--primary-color);
            overflow: hidden;
            transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
        }

        .card .profile-pic img {
            object-fit: cover;
            width: 100%;
            height: 100%;
            object-position: 0px 0px;
            transition: all 0.5s ease-in-out 0s;
        }

        .card .bottom {
            position: absolute;
            bottom: 3px;
            left: 3px;
            right: 3px;
            /* background: linear-gradient(135deg, rgba(0, 0, 255, 0.563), rgba(128, 0, 128, 0.608), rgba(255, 0, 0, 0.603)); */
            top: 80%;
            border-radius: 29px;
            z-index: 2;
            box-shadow: rgba(96, 75, 74, 0.188) 0px 5px 5px 0px inset;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
        }

        .card .bottom-u {
            background: linear-gradient(135deg, rgba(193, 83, 101, 0.612), rgb(68, 68, 190), rgba(184, 49, 49, 0.458));
        }

        .card .bottom-a {
            background: linear-gradient(135deg, rgb(193, 83, 101), rgba(0, 255, 157, 0.458), rgba(38, 38, 160, 0.349));
        }

        .card .bottom-h {
            background: linear-gradient(135deg, rgba(255, 0, 0, 0.458), rgb(193, 83, 101), rgba(47, 47, 165, 0.329));
        }

        .card .bottom .content {
            position: absolute;
            bottom: 0;
            left: 1.5rem;
            right: 1.5rem;
            height: 160px;
        }

        .card .bottom .content .name {
            display: block;
            font-size: 1.1rem;
            color: white;
            font-weight: bold;
        }

        .card .bottom .content .about-me {
            display: block;
            font-size: 0.9rem;
            color: white;
            margin-top: 1rem;
            line-height: 1.4;
        }

        .card .bottom .bottom-bottom {
            position: absolute;
            bottom: 1rem;
            left: 1.5rem;
            right: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .card .bottom .bottom-bottom .social-links-container {
            display: flex;
            gap: 1rem;
        }

        .card .bottom .bottom-bottom .social-links-container a {
            text-decoration: none;
        }

        .card .bottom .bottom-bottom .social-links-container svg {
            height: 20px;
            fill: white;
            filter: drop-shadow(0 5px 5px rgba(165, 132, 130, 0.133));
            transition: all 0.3s ease;
        }

        .card .bottom .bottom-bottom .social-links-container svg:hover {
            fill: var(--secondary-color);
            transform: scale(1.2);
        }

        .card .bottom .bottom-bottom .button {
            background: white;
            color: var(--primary-color);
            border: none;
            border-radius: 20px;
            font-size: 0.75rem;
            padding: 0.4rem 0.6rem;
            box-shadow: rgba(165, 132, 130, 0.133) 0px 5px 5px 0px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .card .bottom .bottom-bottom .button:hover {
            background: var(--secondary-color);
            color: white;
        }

        .card:hover {
            border-top-left-radius: 55px;
        }

        .card:hover .bottom {
            top: 20%;
            border-radius: 80px 29px 29px 29px;
            transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
        }

        .card:hover .profile-pic {
            width: 100px;
            height: 100px;
            aspect-ratio: 1;
            top: 10px;
            left: 10px;
            border-radius: 50%;
            z-index: 3;
            border: 7px solid var(--primary-color);
            box-shadow: rgba(96, 75, 74, 0.188) 0px 5px 5px 0px;
            transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
        }

        .card:hover .profile-pic:hover {
            transform: scale(1.3);
            border-radius: 0px;
        }

        .card:hover .profile-pic img {
            transform: scale(2.5);
            object-position: 0px 25px;
            transition: all 0.5s ease-in-out 0.5s;
        }

        .card.team-member {
            background: linear-gradient(135deg, var(--card-bg), rgba(0, 50, 200, 0.327));
            box-shadow: 0 4px 15px rgba(0, 47, 200, 0.15), rgba(96, 75, 74, 0.3) 0px 70px 30px -50px;
        }

        [data-theme="light"] .card .bottom .content .name {
            color: #121212;
        }

        [data-theme="light"] .card .bottom .content .about-me {
            color: #121212;
        }

        /* Lead Developer Special Styling */
        .card.team-member.lead {
            background: linear-gradient(135deg, var(--card-bg), rgba(0, 200, 83, 0.1));
            box-shadow: 0 4px 15px rgba(0, 200, 83, 0.15), rgba(96, 75, 74, 0.3) 0px 70px 30px -50px;
        }

        /* Leader Tag/Strip */
        .leader-tag {
            position: absolute;
            top: 0;
            left: 0;
            background: linear-gradient(135deg, rgb(32, 176, 107), rgba(36, 67, 162, 0.329));
            color: white;
            padding: 0.2rem 0.9rem;
            border-radius: 32px 0 20px 0;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 0.3rem;
            min-width: 50px;
            justify-content: center;
            transition: all 0.3s ease;
            transform: translate(-25px, 10px) rotate(-45deg);
        }

        .leader-tag:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .leader-tag::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 0;
            border-left: 8px solid var(--primary-color);
            border-bottom: 8px solid transparent;
            opacity: 0.7;
        }

        /* Animation for leader tag */
        .leader-tag {
            animation: leaderTagPulse 3s ease-in-out infinite alternate;
        }

        @keyframes leaderTagPulse {
            0% {
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 200, 83, 0.4);
            }

            100% {
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(0, 200, 83, 0);
            }
        }

        /* Pause animation on card hover */
        .card.team-member.lead:hover .leader-tag {
            animation-play-state: paused;
        }

        /* Ensure the card has proper positioning context */
        .card.team-member.lead {
            position: relative;
            overflow: visible;
        }

        /* Light theme adjustments for leader tag */
        [data-theme="light"] .leader-tag {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            color: #000;
        }

        [data-theme="light"] .leader-tag:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        }

        [data-theme="light"] .leader-tag::after {
            border-left-color: #1976d2;
        }

        .card.team-member.lead .bottom-s {
            background: linear-gradient(135deg, rgb(175, 50, 50), rgba(181, 176, 43, 0.638), rgb(193, 83, 101), rgba(47, 47, 165, 0.329));
        }

        .card.team-member.lead .mail svg {
            stroke: var(--secondary-color);
        }

        .card.team-member.lead .mail svg:hover {
            stroke: var(--primary-color);
        }

        .card.team-member.lead:hover .profile-pic {
            border-color: var(--secondary-color);
        }

        .card.team-member.lead .bottom .bottom-bottom .button {
            color: var(--secondary-color);
        }

        .card.team-member.lead .bottom .bottom-bottom .button:hover {
            background: var(--primary-color);
            color: white;
        }

        .card.team-member.lead .bottom .bottom-bottom .social-links-container svg:hover {
            fill: var(--primary-color);
            color: #000;
            transform: scale(1.2);
        }

        [data-theme="light"] .card.team-member.lead {
            background: linear-gradient(135deg, var(--card-bg), rgba(0, 200, 83, 0.419));
        }

        /* Mobile Optimizations */
        @media (max-width: 768px) {
            .about-container {
                padding: 1rem;
                margin-top: 5px;
            }

            .hero-section {
                padding: 2rem 1rem;
                margin-bottom: 1.5rem;
            }

            .hero-section h1 {
                font-size: 1.2rem;
            }

            .hero-section p {
                font-size: 0.8rem;
            }

            .scroll-velocity-container {
                height: 230px;
                bottom: 20px;
            }

            .info-card {
                width: 230px;
                height: 230px;
                padding: 1.2rem;
            }

            .info-card h3 {
                font-size: 1.1rem;
            }

            .info-card p {
                font-size: 0.85rem;
            }

            /* Mobile responsive styles for leader tag */
            .leader-tag {
                padding: 0.4rem 1rem;
                font-size: 0.65rem;
                min-width: 70px;
            }

            .leader-tag::before {
                width: 14px;
                height: 14px;
            }

            .leader-tag::after {
                border-left-width: 6px;
                border-bottom-width: 6px;
                bottom: -6px;
            }

            .stats-section {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.8rem;
                padding: 1.5rem;
                margin-bottom: 1rem;
            }

            .stat-card {
                padding: 1rem;
            }

            .stat-card h3 {
                font-size: 1.5rem;
            }

            .stat-card p {
                font-size: 0.8rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            /* Card Swap Mobile Styles */
            .card-swap-wrapper {
                height: 383px;
            }

            .card-swap-container {
                width: 250px;
                height: 250px;
            }

            /* Features Layout Mobile */
            .features-layout {
                flex-direction: column;
                gap: 2rem;
            }

            .orbiting-circles-container,
            .vertical-divider {
                display: none !important;
            }


            .feature-card {
                position: absolute;
                top: 140%;
                left: 18%;
                width: 300px;
                height: 300px;
                border-radius: 15px;
                border: 2px solid var(--primary-color);
                background: var(--card-bg);
                box-shadow: var(--shadow-hover);
                transform-style: preserve-3d;
                will-change: transform;
                backface-visibility: hidden;
                -webkit-backface-visibility: hidden;
                text-align: center;
                padding: 2rem 1.5rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: all 0.1s ease;
            }

            .feature-card .feature-icon {
                font-size: 2.5rem;
                margin-bottom: 0.8rem;
            }

            .feature-card h4 {
                font-size: 1.1rem;
                margin-bottom: 0.8rem;
            }

            .feature-card p {
                font-size: 0.9rem;
            }

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

            .card {
                width: 250px;
                height: 250px;
            }

            .tech-stack {
                font-size: 0.7rem;
            }

            .features-section,
            .team-section {
                padding: 1.2rem;
                margin-bottom: 1rem;
            }

            .features-section h2,
            .team-section h2 {
                font-size: 1.3rem;
                margin-bottom: 1rem;
            }

            .feature-item {
                padding: 1rem;
            }

            .feature-item h3 {
                font-size: 1rem;
            }

            .feature-item p {
                font-size: 0.85rem;
            }

            .theme-switch {
                --toggle-size: 17px;
            }

            /* Mobile footer optimizations */
            .footer-container {
                padding: 20px 15px 15px;
                gap: 20px;
            }

            .footer-section h3 {
                font-size: 1rem;
                margin-bottom: 10px;
            }

            .footer-section p {
                font-size: 0.85rem;
                line-height: 1.4;
                margin-bottom: 15px;
            }

            .footer-section ul li {
                margin-bottom: 6px;
            }

            .footer-section ul li a {
                font-size: 0.85rem;
            }

            .social-links {
                gap: 12px;
                margin-top: 10px;
            }

            .social-links a {
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }

            .footer-bottom {
                padding: 15px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .about-container {
                padding: 0.8rem;
                margin-top: 5px;
            }

            .hero-section {
                padding: 1.2rem 0.8rem;
                margin-bottom: 0.8rem;
            }

            .hero-section h1 {
                font-size: 1.2rem;
            }

            .stats-section {
                grid-template-columns: 1fr;
                padding: 1.2rem;
                margin-bottom: 0.8rem;
                gap: 0.6rem;
            }

            .stat-card {
                padding: 0.8rem 0.5rem;
            }

            .stat-card h3 {
                font-size: 1.3rem;
            }

            .stat-card p {
                font-size: 0.75rem;
            }

            .info-card,
            .features-section,
            .team-section {
                padding: 1rem;
                margin-bottom: 0.8rem;
            }

            .features-section h2,
            .team-section h2 {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
            }

            .feature-item {
                padding: 0.8rem;
            }

            .feature-item h3 {
                font-size: 0.9rem;
            }

            .feature-item p {
                font-size: 0.8rem;
            }

            .team-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .card {
                width: 300px;
                height: 290px;
                margin: 0 auto;
            }

            .card .bottom .content .name {
                font-size: 1.1rem;
            }

            .card .bottom .content .about-me {
                font-size: 0.8rem;
            }

            .card .bottom .bottom-bottom .button {
                font-size: 0.85rem;
                padding: 0.3rem 0.5rem;
            }

            /* Card Swap Small Mobile Styles */
            .card-swap-wrapper {
                height: 383px;
            }

            .card-swap-container {
                width: 200px;
                height: 200px;
            }

            /* Ensure orbiting circles and divider are hidden on small screens */
            .orbiting-circles-container,
            .vertical-divider {
                display: none !important;
            }

            .feature-card {
                width: 180px;
                height: 180px;
                padding: 1rem 0.8rem;
            }

            .feature-card .feature-icon {
                font-size: 2rem;
                margin-bottom: 0.5rem;
            }

            .feature-card h4 {
                font-size: 1rem;
                margin-bottom: 0.5rem;
            }

            .feature-card p {
                font-size: 0.8rem;
            }

            /* Theme switch mobile styles */
            .theme-switch {
                --toggle-size: 16px;
            }

            /* Extra small screens footer optimization */
            .footer-container {
                gap: 15px;
                padding: 15px 10px 10px;
            }

            .footer-section h3 {
                font-size: 0.9rem;
                margin-bottom: 8px;
            }

            .footer-section p {
                font-size: 0.8rem;
                line-height: 1.3;
                margin-bottom: 12px;
            }

            .footer-section ul li {
                margin-bottom: 4px;
            }

            .footer-section ul li a {
                font-size: 0.8rem;
            }

            .social-links {
                gap: 10px;
                margin-top: 8px;
            }

            .social-links a {
                width: 32px;
                height: 32px;
                font-size: 0.85rem;
            }

            .footer-bottom {
                padding: 12px;
                font-size: 0.75rem;
            }
        }

        /* Vercel Icon Styling */
        .vercel-icon {
            background: white;
            border: 2px solid white;
            border-radius: 50%;
            padding: 4px;
            transition: all 0.3s ease;
        }

        .vercel-icon .vercel-logo {
            fill: #000000;
        }

        /* Dark mode styling for Vercel icon */
        [data-theme="dark"] .vercel-icon {
            background: #000000;
            border: 2px solid var(--primary-hover);
        }

        [data-theme="dark"] .vercel-icon .vercel-logo {
            fill: #ffffff;
        }

        /* Light mode styling for Vercel icon */
        [data-theme="light"] .vercel-icon {
            background: white;
            border: 2px solid var(--primary-hover);
        }

        [data-theme="light"] .vercel-icon .vercel-logo {
            fill: #000000;
        }
