        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #e8f5e8 100%);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* Background Animations */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .shape:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .shape:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 80%;
            left: 20%;
            animation-delay: 4s;
        }

        .shape:nth-child(4) {
            width: 100px;
            height: 100px;
            top: 30%;
            right: 30%;
            animation-delay: 1s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }



        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Navigation Tabs */
        .nav-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem;
            margin-top: 2rem;
        }

        .nav-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }

        .nav-tab {
            background: rgba(255, 255, 255, 0.8);
            border: 2px solid rgba(103, 126, 234, 0.3);
            color: #667eea;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            font-weight: 500;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-tab:hover {
            background: rgba(255, 255, 255, 0.95);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }

        .nav-tab.active {
            background: rgba(103, 126, 234, 0.1);
            border-color: rgba(103, 126, 234, 0.5);
            transform: translateY(-2px);
            color: #667eea;
        }

        /* Content Sections */
        .content-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .content-section {
            display: none;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            animation: slideInUp 0.5s ease-out;
        }

        .content-section.active {
            display: block;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section-header {
            text-align: center;
            margin-bottom: 1rem;
            color: #333;
        }

        .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Grid Layouts */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .card {
            background: white;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .card-link {
            text-decoration: none;
            /* removes underline */
            color: inherit;
            /* keeps the text color as it is */
        }

        .card-link:hover {
            text-decoration: none;
            /* ensures no underline on hover */
        }

        .card p strong {
            color: #d9534f;
            /* Bootstrap 'danger' red */
            font-weight: 700;
        }

        .fund p {
            flex-grow: 1;
            margin-bottom: 40px;
            /* leave space for footer */
        }

        .talk h3 {
            margin-bottom: 12px;
        }

        .now-at {
            display: inline-block;
            background: #0056d2;
            color: white;
            font-weight: 600;
            font-size: 0.85em;
            padding: 3px 8px;
            border-radius: 15px;
            margin-top: 4px;
            /* small spacing after thesis line */
        }

        .university {
            font-weight: normal;
            font-size: 0.85em;
            color: #555;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            position: absolute;
            bottom: 16px;
            left: 16px;
            right: 16px;
            font-weight: bold;
            font-size: 0.9em;
            color: #d9534f;
        }

        .image-placeholder {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #e1f5fe 0%, #f3e5f5 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #667eea;
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
        }

        .image-placeholder::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            animation: shimmer 2s infinite;
        }

        .image-placeholder-1 {

            display: flex;
            border-radius: 10px;
            justify-content: center;
            /* horizontal centering */
            align-items: center;
            /* vertical centering */
            width: 200px;
            /* adjust as needed */
            height: 200px;
            /* adjust as needed */
            overflow: hidden;
            /* optional, hides overflow */
            background: linear-gradient(135deg, #e1f5fe 0%, #f3e5f5 100%);
        }

        .image-placeholder-1 img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            /* keeps full image visible */
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }

            100% {
                transform: translateX(100%) translateY(100%) rotate(45deg);
            }
        }

        .card h3 {
            color: #333;
            margin-bottom: 0.5rem;
            font-size: 1.3rem;
        }

        .card p {
            color: #666;
            line-height: 1.6;
        }

        /* Biography Section */
        .bio-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            /* left = image, right = text + header */
            gap: 1rem;
            align-items: start;
        }

        .bio-text-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* center header horizontally above text */
        }

        .section-header.bio h2 {
            margin: 0 0 0 0;
            /* small margin below header */
            font-size: 2.5rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
        }

        .bio-text p {
            text-align: justify;
            /* aligns text on both sides */
            line-height: 1.8;
            /* keeps spacing comfortable */
            color: #333;
            margin-top: 0;
        }

        .bio-image img {
            max-width: 100%;
            /* ensure image scales correctly */
            max-height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 15px;
        }

        .bio-text {
            line-height: 1.8;
            color: #333;
            margin-top: 0;
        }

        /* Chatbot */
        .chatbot {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 1000;
        }

        .chatbot-toggle {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea, #9fa8da);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
        }

        .chatbot-toggle:hover {
            transform: scale(1.1);
        }

        .chatbot-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 350px;
            height: 400px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            display: none;
            flex-direction: column;
            overflow: hidden;
        }

        .chatbot-window.active {
            display: flex;
        }

        .chatbot-header {
            background: linear-gradient(135deg, #667eea, #9fa8da);
            color: white;
            padding: 1rem;
            text-align: center;
            font-weight: bold;
        }

        .chatbot-messages {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
            background: #f8f9fa;
        }

        .message {
            margin-bottom: 1rem;
            padding: 0.8rem;
            border-radius: 10px;
            max-width: 80%;
        }

        .message.user {
            background: #667eea;
            color: white;
            margin-left: auto;
        }

        .message.bot {
            background: white;
            color: #333;
            border: 1px solid #ddd;
        }

        .chatbot-input {
            display: flex;
            padding: 1rem;
            border-top: 1px solid #ddd;
        }

        .chatbot-input input {
            flex: 1;
            padding: 0.5rem;
            border: 1px solid #ddd;
            border-radius: 20px;
            margin-right: 0.5rem;
        }

        .chatbot-input button {
            padding: 0.5rem 1rem;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 20px;
            cursor: pointer;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .cover-image {
                height: 150px;
            }

            .header-content {
                padding: 1.5rem 2rem;
            }

            .header-content h1 {
                font-size: 2.5rem;
            }

            .header-content p {
                font-size: 1.1rem;
            }

            .nav-tabs {
                flex-direction: column;
                align-items: center;
            }

            .bio-content {
                grid-template-columns: 1fr;
            }

            .chatbot-window {
                width: 300px;
                right: -50px;
            }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Cover Image */
        .cover-image {
            position: relative;
            width: 100vw;
            height: 300px;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        }

        .animated-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        /* Floating Books */
        .floating-book {
            position: absolute;
            font-size: 2rem;
            animation: floatBook 6s ease-in-out infinite;
            opacity: 0.8;
        }

        .book1 {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .book2 {
            top: 60%;
            right: 15%;
            animation-delay: 1s;
        }

        .book3 {
            top: 30%;
            left: 80%;
            animation-delay: 2s;
        }

        .book4 {
            top: 70%;
            left: 20%;
            animation-delay: 3s;
        }

        .book5 {
            top: 40%;
            right: 30%;
            animation-delay: 4s;
        }

        .book6 {
            top: 80%;
            right: 60%;
            animation-delay: 5s;
        }

        @keyframes floatBook {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(10deg);
            }
        }

        /* DNA Helix */
        .dna-helix {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 200px;
        }

        .dna-strand {
            position: absolute;
            width: 2px;
            height: 200px;
            background: rgba(255, 255, 255, 0.3);
            animation: rotateDNA 8s linear infinite;
        }

        .dna-strand:nth-child(1) {
            left: 40px;
            animation-delay: 0s;
        }

        .dna-strand:nth-child(2) {
            right: 40px;
            animation-delay: 4s;
        }

        .dna-base {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            animation: pulseDNA 2s ease-in-out infinite;
        }

        .base1 {
            top: 20px;
            left: 38px;
            animation-delay: 0s;
        }

        .base2 {
            top: 40px;
            right: 38px;
            animation-delay: 0.25s;
        }

        .base3 {
            top: 60px;
            left: 38px;
            animation-delay: 0.5s;
        }

        .base4 {
            top: 80px;
            right: 38px;
            animation-delay: 0.75s;
        }

        .base5 {
            top: 100px;
            left: 38px;
            animation-delay: 1s;
        }

        .base6 {
            top: 120px;
            right: 38px;
            animation-delay: 1.25s;
        }

        .base7 {
            top: 140px;
            left: 38px;
            animation-delay: 1.5s;
        }

        .base8 {
            top: 160px;
            right: 38px;
            animation-delay: 1.75s;
        }

        .base9 {
            top: 180px;
            left: 38px;
            animation-delay: 2s;
        }

        .base10 {
            top: 200px;
            right: 38px;
            animation-delay: 2.25s;
        }

        .base11 {
            top: 220px;
            left: 38px;
            animation-delay: 2.5s;
        }

        .base12 {
            top: 240px;
            right: 38px;
            animation-delay: 2.75s;
        }

        @keyframes rotateDNA {
            0% {
                transform: rotateY(0deg);
            }

            100% {
                transform: rotateY(360deg);
            }
        }

        @keyframes pulseDNA {

            0%,
            100% {
                opacity: 0.3;
                transform: scale(1);
            }

            50% {
                opacity: 1;
                transform: scale(1.5);
            }
        }

        /* Neural Network */
        .neural-network {
            position: absolute;
            top: 20%;
            right: 20%;
            width: 120px;
            height: 80px;
        }

        .neuron {
            position: absolute;
            width: 8px;
            height: 8px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            animation: pulseNeuron 3s ease-in-out infinite;
        }

        .neuron1 {
            top: 10px;
            left: 20px;
            animation-delay: 0s;
        }

        .neuron2 {
            top: 30px;
            left: 40px;
            animation-delay: 0.5s;
        }

        .neuron3 {
            top: 50px;
            left: 60px;
            animation-delay: 1s;
        }

        .neuron4 {
            top: 20px;
            right: 20px;
            animation-delay: 0.25s;
        }

        .neuron5 {
            top: 40px;
            right: 40px;
            animation-delay: 0.75s;
        }

        .neuron6 {
            top: 60px;
            right: 60px;
            animation-delay: 1.25s;
        }

        .neuron7 {
            top: 35px;
            left: 10px;
            animation-delay: 0.3s;
        }

        .neuron8 {
            top: 35px;
            right: 10px;
            animation-delay: 0.8s;
        }

        .neuron9 {
            top: 35px;
            left: 50px;
            animation-delay: 1.3s;
        }

        .neuron10 {
            top: 15px;
            left: 35px;
            animation-delay: 0.4s;
        }

        .neuron11 {
            top: 45px;
            right: 30px;
            animation-delay: 0.9s;
        }

        .neuron12 {
            top: 55px;
            left: 25px;
            animation-delay: 1.4s;
        }

        .connection {
            position: absolute;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            animation: pulseConnection 2s ease-in-out infinite;
        }

        .conn1 {
            top: 14px;
            left: 28px;
            width: 12px;
            transform: rotate(45deg);
            animation-delay: 0s;
        }

        .conn2 {
            top: 34px;
            left: 48px;
            width: 12px;
            transform: rotate(45deg);
            animation-delay: 0.3s;
        }

        .conn3 {
            top: 24px;
            right: 28px;
            width: 12px;
            transform: rotate(-45deg);
            animation-delay: 0.6s;
        }

        .conn4 {
            top: 44px;
            right: 48px;
            width: 12px;
            transform: rotate(-45deg);
            animation-delay: 0.9s;
        }

        .conn5 {
            top: 39px;
            left: 18px;
            width: 8px;
            transform: rotate(0deg);
            animation-delay: 1.2s;
        }

        .conn6 {
            top: 39px;
            right: 18px;
            width: 8px;
            transform: rotate(0deg);
            animation-delay: 1.5s;
        }

        .conn7 {
            top: 19px;
            left: 43px;
            width: 10px;
            transform: rotate(30deg);
            animation-delay: 0.2s;
        }

        .conn8 {
            top: 49px;
            right: 38px;
            width: 10px;
            transform: rotate(-30deg);
            animation-delay: 0.7s;
        }

        .conn9 {
            top: 59px;
            left: 33px;
            width: 10px;
            transform: rotate(60deg);
            animation-delay: 1.1s;
        }

        .conn10 {
            top: 29px;
            right: 33px;
            width: 10px;
            transform: rotate(-60deg);
            animation-delay: 1.6s;
        }

        @keyframes pulseNeuron {

            0%,
            100% {
                opacity: 0.5;
                transform: scale(1);
            }

            50% {
                opacity: 1;
                transform: scale(1.3);
            }
        }

        @keyframes pulseConnection {

            0%,
            100% {
                opacity: 0.2;
            }

            50% {
                opacity: 0.8;
            }
        }

        /* Particle System */
        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            animation: floatParticle 8s linear infinite;
        }

        .particle:nth-child(1) {
            top: 10%;
            left: 20%;
            animation-delay: 0s;
        }

        .particle:nth-child(2) {
            top: 30%;
            left: 80%;
            animation-delay: 1s;
        }

        .particle:nth-child(3) {
            top: 50%;
            left: 10%;
            animation-delay: 2s;
        }

        .particle:nth-child(4) {
            top: 70%;
            left: 90%;
            animation-delay: 3s;
        }

        .particle:nth-child(5) {
            top: 20%;
            left: 60%;
            animation-delay: 4s;
        }

        .particle:nth-child(6) {
            top: 60%;
            left: 30%;
            animation-delay: 5s;
        }

        .particle:nth-child(7) {
            top: 80%;
            left: 70%;
            animation-delay: 6s;
        }

        .particle:nth-child(8) {
            top: 40%;
            left: 50%;
            animation-delay: 7s;
        }

        .particle:nth-child(9) {
            top: 90%;
            left: 40%;
            animation-delay: 8s;
        }

        .particle:nth-child(10) {
            top: 15%;
            left: 90%;
            animation-delay: 9s;
        }

        .particle:nth-child(11) {
            top: 25%;
            left: 15%;
            animation-delay: 0.5s;
        }

        .particle:nth-child(12) {
            top: 35%;
            left: 85%;
            animation-delay: 1.5s;
        }

        .particle:nth-child(13) {
            top: 45%;
            left: 25%;
            animation-delay: 2.5s;
        }

        .particle:nth-child(14) {
            top: 55%;
            left: 75%;
            animation-delay: 3.5s;
        }

        .particle:nth-child(15) {
            top: 65%;
            left: 35%;
            animation-delay: 4.5s;
        }

        .particle:nth-child(16) {
            top: 75%;
            left: 65%;
            animation-delay: 5.5s;
        }

        .particle:nth-child(17) {
            top: 85%;
            left: 45%;
            animation-delay: 6.5s;
        }

        .particle:nth-child(18) {
            top: 95%;
            left: 55%;
            animation-delay: 7.5s;
        }

        .particle:nth-child(19) {
            top: 5%;
            left: 35%;
            animation-delay: 8.5s;
        }

        .particle:nth-child(20) {
            top: 95%;
            left: 85%;
            animation-delay: 9.5s;
        }

        @keyframes floatParticle {
            0% {
                transform: translateY(100px) translateX(0px);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateY(-100px) translateX(50px);
                opacity: 0;
            }
        }

        /* Light Rays */
        .light-rays {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .ray {
            position: absolute;
            width: 2px;
            height: 100px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), transparent);
            animation: lightRay 4s ease-in-out infinite;
        }

        .ray1 {
            left: 20%;
            transform: rotate(15deg);
            animation-delay: 0s;
        }

        .ray2 {
            left: 40%;
            transform: rotate(-10deg);
            animation-delay: 0.8s;
        }

        .ray3 {
            left: 60%;
            transform: rotate(20deg);
            animation-delay: 1.6s;
        }

        .ray4 {
            left: 80%;
            transform: rotate(-15deg);
            animation-delay: 2.4s;
        }

        .ray5 {
            left: 90%;
            transform: rotate(25deg);
            animation-delay: 3.2s;
        }

        .ray6 {
            left: 10%;
            transform: rotate(30deg);
            animation-delay: 0.4s;
        }

        .ray7 {
            left: 70%;
            transform: rotate(-25deg);
            animation-delay: 1.2s;
        }

        .ray8 {
            left: 95%;
            transform: rotate(35deg);
            animation-delay: 2.0s;
        }

        @keyframes lightRay {

            0%,
            100% {
                opacity: 0;
                transform: translateY(-50px) rotate(var(--rotation));
            }

            50% {
                opacity: 1;
                transform: translateY(0px) rotate(var(--rotation));
            }
        }

        .cover-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(159, 168, 218, 0.2) 50%, rgba(197, 202, 233, 0.2) 100%);
            z-index: 2;
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Mathematical Formulas */
        .math-formulas {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .formula {
            position: absolute;
            font-size: 2rem;
            color: rgba(255, 255, 255, 0.7);
            animation: floatFormula 8s ease-in-out infinite;
        }

        .formula1 {
            top: 15%;
            left: 15%;
            animation-delay: 0s;
        }

        .formula2 {
            top: 25%;
            right: 20%;
            animation-delay: 1s;
        }

        .formula3 {
            top: 35%;
            left: 25%;
            animation-delay: 2s;
        }

        .formula4 {
            top: 45%;
            right: 15%;
            animation-delay: 3s;
        }

        .formula5 {
            top: 55%;
            left: 35%;
            animation-delay: 4s;
        }

        .formula6 {
            top: 65%;
            right: 25%;
            animation-delay: 5s;
        }

        .formula7 {
            top: 75%;
            left: 45%;
            animation-delay: 6s;
        }

        .formula8 {
            top: 85%;
            right: 35%;
            animation-delay: 7s;
        }

        @keyframes floatFormula {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
                opacity: 0.7;
            }

            50% {
                transform: translateY(-15px) rotate(5deg);
                opacity: 1;
            }
        }

        /* Circuit Elements */
        .circuit-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .circuit {
            position: absolute;
            font-size: 1.5rem;
            animation: pulseCircuit 4s ease-in-out infinite;
        }

        .circuit1 {
            top: 20%;
            left: 85%;
            animation-delay: 0s;
        }

        .circuit2 {
            top: 40%;
            left: 5%;
            animation-delay: 0.8s;
        }

        .circuit3 {
            top: 60%;
            right: 10%;
            animation-delay: 1.6s;
        }

        .circuit4 {
            top: 80%;
            left: 15%;
            animation-delay: 2.4s;
        }

        .circuit5 {
            top: 30%;
            right: 5%;
            animation-delay: 3.2s;
        }

        .circuit6 {
            top: 70%;
            right: 20%;
            animation-delay: 0.4s;
        }

        @keyframes pulseCircuit {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.6;
            }

            50% {
                transform: scale(1.2);
                opacity: 1;
            }
        }

        /* Data Flow */
        .data-flow {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .data-stream {
            position: absolute;
            width: 2px;
            height: 60px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
            animation: flowData 6s linear infinite;
        }

        .stream1 {
            top: 10%;
            left: 30%;
            animation-delay: 0s;
        }

        .stream2 {
            top: 20%;
            left: 60%;
            animation-delay: 1.2s;
        }

        .stream3 {
            top: 30%;
            left: 90%;
            animation-delay: 2.4s;
        }

        .stream4 {
            top: 40%;
            left: 10%;
            animation-delay: 3.6s;
        }

        .stream5 {
            top: 50%;
            left: 70%;
            animation-delay: 4.8s;
        }

        @keyframes flowData {
            0% {
                transform: translateY(-60px);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateY(100px);
                opacity: 0;
            }
        }

        /* Flowing Numbers, Letters, and Symbols */
        .flowing-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .flowing-element {
            position: absolute;
            font-size: 1.5rem;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.8);
            animation: flowElement 12s ease-in-out infinite;
            white-space: nowrap;
            filter: blur(0.2px);
        }

        /* Varying animation durations for more natural flow */
        .element1,
        .element3,
        .element5,
        .element7,
        .element9 {
            animation-duration: 10s;
        }

        .element2,
        .element4,
        .element6,
        .element8,
        .element10 {
            animation-duration: 14s;
        }

        .element11,
        .element13,
        .element15,
        .element17,
        .element19 {
            animation-duration: 11s;
        }

        .element12,
        .element14,
        .element16,
        .element18,
        .element20 {
            animation-duration: 13s;
        }

        .element21,
        .element23,
        .element25,
        .element27,
        .element29 {
            animation-duration: 12s;
        }

        .element22,
        .element24,
        .element26,
        .element28,
        .element30 {
            animation-duration: 15s;
        }

        .element31,
        .element33,
        .element35,
        .element37,
        .element39 {
            animation-duration: 9s;
        }

        .element32,
        .element34,
        .element36,
        .element38,
        .element40 {
            animation-duration: 16s;
        }

        /* Horizontal flowing elements (left to right) */
        .element1 {
            top: 10%;
            left: -50px;
            animation-delay: 0s;
        }

        .element2 {
            top: 15%;
            left: -50px;
            animation-delay: 0.3s;
        }

        .element3 {
            top: 20%;
            left: -50px;
            animation-delay: 0.6s;
        }

        .element4 {
            top: 25%;
            left: -50px;
            animation-delay: 0.9s;
        }

        .element5 {
            top: 30%;
            left: -50px;
            animation-delay: 1.2s;
        }

        .element6 {
            top: 35%;
            left: -50px;
            animation-delay: 1.5s;
        }

        .element7 {
            top: 40%;
            left: -50px;
            animation-delay: 1.8s;
        }

        .element8 {
            top: 45%;
            left: -50px;
            animation-delay: 2.1s;
        }

        .element9 {
            top: 50%;
            left: -50px;
            animation-delay: 2.4s;
        }

        .element10 {
            top: 55%;
            left: -50px;
            animation-delay: 2.7s;
        }

        Right to left flowing elements .element11 {
            top: 12%;
            right: -50px;
            animation-delay: 0.5s;
        }

        .element12 {
            top: 17%;
            right: -50px;
            animation-delay: 0.8s;
        }

        .element13 {
            top: 22%;
            right: -50px;
            animation-delay: 1.1s;
        }

        .element14 {
            top: 27%;
            right: -50px;
            animation-delay: 1.4s;
        }

        .element15 {
            top: 32%;
            right: -50px;
            animation-delay: 1.7s;
        }

        .element16 {
            top: 37%;
            right: -50px;
            animation-delay: 2.0s;
        }

        .element17 {
            top: 42%;
            right: -50px;
            animation-delay: 2.3s;
        }

        .element18 {
            top: 47%;
            right: -50px;
            animation-delay: 2.6s;
        }

        .element19 {
            top: 52%;
            right: -50px;
            animation-delay: 2.9s;
        }

        .element20 {
            top: 57%;
            right: -50px;
            animation-delay: 3.2s;
        }

        /* Diagonal flowing elements */
        .element21 {
            top: 5%;
            left: -50px;
            animation-delay: 0.2s;
        }

        .element22 {
            top: 10%;
            left: -50px;
            animation-delay: 0.5s;
        }

        .element23 {
            top: 15%;
            left: -50px;
            animation-delay: 0.8s;
        }

        .element24 {
            top: 20%;
            left: -50px;
            animation-delay: 1.1s;
        }

        .element25 {
            top: 25%;
            left: -50px;
            animation-delay: 1.4s;
        }

        .element26 {
            top: 30%;
            left: -50px;
            animation-delay: 1.7s;
        }

        .element27 {
            top: 35%;
            left: -50px;
            animation-delay: 2.0s;
        }

        .element28 {
            top: 40%;
            left: -50px;
            animation-delay: 2.3s;
        }

        .element29 {
            top: 45%;
            left: -50px;
            animation-delay: 2.6s;
        }

        .element30 {
            top: 50%;
            left: -50px;
            animation-delay: 2.9s;
        }

        /* Vertical flowing elements (top to bottom) */
        .element31 {
            top: -50px;
            left: 10%;
            animation-delay: 0.1s;
        }

        .element32 {
            top: -50px;
            left: 20%;
            animation-delay: 0.4s;
        }

        .element33 {
            top: -50px;
            left: 30%;
            animation-delay: 0.7s;
        }

        .element34 {
            top: -50px;
            left: 40%;
            animation-delay: 1.0s;
        }

        .element35 {
            top: -50px;
            left: 50%;
            animation-delay: 1.3s;
        }

        .element36 {
            top: -50px;
            left: 60%;
            animation-delay: 1.6s;
        }

        .element37 {
            top: -50px;
            left: 70%;
            animation-delay: 1.9s;
        }

        .element38 {
            top: -50px;
            left: 80%;
            animation-delay: 2.2s;
        }

        .element39 {
            top: -50px;
            left: 90%;
            animation-delay: 2.5s;
        }

        .element40 {
            top: -50px;
            left: 95%;
            animation-delay: 2.8s;
        }

        @keyframes flowElement {
            0% {
                transform: translateX(-100px) translateY(0px) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            25% {
                transform: translateX(25vw) translateY(-20px) rotate(5deg);
            }

            50% {
                transform: translateX(50vw) translateY(15px) rotate(-3deg);
            }

            75% {
                transform: translateX(75vw) translateY(-10px) rotate(4deg);
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateX(calc(100vw + 100px)) translateY(0px) rotate(0deg);
                opacity: 0;
            }
        }

        /* Special animations for different directions */
        .element11,
        .element12,
        .element13,
        .element14,
        .element15,
        .element16,
        .element17,
        .element18,
        .element19,
        .element20 {
            animation-name: flowElementReverse;
        }

        .element31,
        .element32,
        .element33,
        .element34,
        .element35,
        .element36,
        .element37,
        .element38,
        .element39,
        .element40 {
            animation-name: flowElementVertical;
        }

        @keyframes flowElementReverse {
            0% {
                transform: translateX(100px) translateY(0px) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            25% {
                transform: translateX(75vw) translateY(-15px) rotate(-4deg);
            }

            50% {
                transform: translateX(50vw) translateY(20px) rotate(3deg);
            }

            75% {
                transform: translateX(25vw) translateY(-10px) rotate(-2deg);
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateX(calc(-100vw - 100px)) translateY(0px) rotate(0deg);
                opacity: 0;
            }
        }

        @keyframes flowElementVertical {
            0% {
                transform: translateX(0px) translateY(-100px) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            25% {
                transform: translateX(-15px) translateY(25vh) rotate(3deg);
            }

            50% {
                transform: translateX(20px) translateY(50vh) rotate(-2deg);
            }

            75% {
                transform: translateX(-10px) translateY(75vh) rotate(4deg);
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateX(0px) translateY(calc(100vh + 100px)) rotate(0deg);
                opacity: 0;
            }
        }

        /* Cover Image */
        .cover-image {
            position: relative;
            width: 100vw;
            height: 187px;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #9fa8da 50%, #c5cae9 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Header Content */
        .header-content {
            text-align: center;
            color: white;
            position: relative;
            z-index: 3;
        }

        .header-content h1 {
            font-size: 3rem;
            margin-bottom: 0.5rem;
            animation: fadeInDown 1s ease-out;
            color: white;
        }

        .header-content p {
            font-size: 1.2rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.3s both;
            color: white;
        }


        .featured-posts {
            width: 100%;
            padding: 40px 5%;

        }

        .featured-posts h2 {
            text-align: center;
            margin-bottom: 25px;
            font-size: 26px;
            font-weight: 700;
        }

        .post-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .post-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .post-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        }

        .post-image img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        .post-content {
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .post-title {
            font-weight: 600;
            font-size: 16px;
            color: #333;
        }

        .post-date {
            font-size: 14px;
            color: #666;
        }

        .site-footer {
            background: #222;
            color: #ddd;
            padding: 40px 20px 20px;
            font-family: Arial, sans-serif;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
            margin-bottom: 20px;
        }

        .footer-about h3 {
            color: #fff;
            margin-bottom: 10px;
        }

        .footer-links h4,
        .footer-social h4 {
            margin-bottom: 12px;
            color: #fff;
        }


        .footer-links ul {
            list-style: none;
            padding: 0;
        }

        .footer-links ul li {
            margin-bottom: 8px;
        }

        .footer-links ul li a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-links ul li a:hover {
            color: #1e90ff;
        }

        .social-icons a {
            display: inline-block;
            margin-right: 12px;
        }

        .social-icons img {
            width: 22px;
            height: 22px;
            filter: invert(100%);
            /* makes icons white */
            transition: transform 0.2s;
        }

        .social-icons img:hover {
            transform: scale(1.2);
            filter: invert(60%) sepia(100%) saturate(500%) hue-rotate(180deg);
        }

        .bio-image {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* centers both image and icons */
        }

        .social-icons {
            margin-top: 10px;
            /* space between image and icons */
        }

        .im {
            display: flex;
            margin-top: 10px;
            /* space below image */
        }

        .im a {
            display: inline-block;
            margin-right: 12px;
        }

        .im img {
            width: 25px;
            /* bigger size */
            height: 25px;
            filter: invert(17%) sepia(63%) saturate(5000%) hue-rotate(270deg) brightness(60%);
            /* #764ba2 */
            transition: transform 0.2s, filter 0.2s;
        }

        .im img:hover {
            transform: scale(1.2);
            filter: invert(10%) sepia(70%) saturate(5000%) hue-rotate(270deg) brightness(40%);
            /* darker on hover */
        }

        .footer-bottom {
            border-top: 1px solid #444;
            padding-top: 15px;
            text-align: center;
            font-size: 14px;
            color: #aaa;
        }

        .image-row {
            display: flex;
            gap: 15px;
            justify-content: center;
            align-items: flex-start;
            flex-wrap: wrap;
            /* allows wrapping for smaller screens */
            margin: 20px auto;
            max-width: 100%;
        }

        .row-item {
            flex: 1 1 180px;
            max-width: 220px;
            border-radius: 12px;
            overflow: hidden;
        }

        /* Make landscape images bigger */
        .row-item.landscape {
            flex: 2 1 360px;
            /* twice as wide as normal */
            max-width: 450px;
        }

        .row-item img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .row-item img:hover {
            transform: scale(1.05);
        }



        .filter-container {
            max-width: 900px;
            margin: 20px auto;
            display: flex;
            justify-content: space-between;
            gap: 10px;
        }

        .filter-container input,
        .filter-container select {
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #ccc;
            font-size: 16px;
            flex: 1;
        }

        .contact-form {
            max-width: 500px;
            margin: 30px auto;
            padding: 25px;
            background: #f7f9fc;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            font-family: Arial, sans-serif;
        }

        .contact-form h2 {
            text-align: center;
            margin-bottom: 15px;
            color: #333;
        }

        .contact-form p {
            text-align: center;
            margin-bottom: 25px;
            color: #666;
        }

        .contact-form label {
            display: block;
            margin-bottom: 20px;
            color: #333;
        }

        .contact-form label span {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            resize: vertical;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #007bff;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
            outline: none;
        }

        .contact-form button {
            width: 100%;
            padding: 12px;
            background: #007bff;
            color: #fff;
            font-size: 18px;
            font-weight: bold;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.3s, transform 0.2s;
        }

        .contact-form button:hover {
            background: #0056b3;
            transform: translateY(-2px);
        }

        .contact-form textarea {
            min-height: 120px;
        }

        .chatbot-close {
            position: absolute;
            right: 10px;
            top: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        /* .nlp-visualizer {
    max-width: 700px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}

.tokens-container, .embeddings-container {
    margin-top: 20px;
}

.token, .embedding {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    transition: transform 0.2s;
}

.token:hover, .embedding:hover {
    transform: scale(1.1);
    background: #d0eaff;
} */