/* GENERAL STYLES */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* CSS Variables for Theme */
        :root {
            /* Dark Theme (Default) */
            --bg-primary: #0a0a0a;
            --bg-secondary: #111111;
            --bg-card: #111111;
            --text-primary: #e0e0e0;
            --text-secondary: #8b949e;
            --accent-primary: #d4af00;
            --accent-hover: #e6c200;
            --accent-secondary: #8ab4f8;
            --border-color: #1a1a1a;
            --navbar-bg: rgba(10, 10, 10, 0.95);
            --shadow-color: rgba(0, 0, 0, 0.3);
            --gradient-start: #d4af00;
            --gradient-end: #e6c200;
        }

        /* Light Theme */
        [data-theme="light"] {
            --bg-primary: #fafafa;
            --bg-secondary: #ffffff;
            --bg-card: #ffffff;
            --text-primary: #333333;
            --text-secondary: #666666;
            --accent-primary: #f97316;
            --accent-hover: #ea580c;
            --accent-secondary: #fb923c;
            --border-color: #e0e0e0;
            --navbar-bg: rgba(255, 255, 255, 0.95);
            --shadow-color: rgba(0, 0, 0, 0.1);
            --gradient-start: #f97316;
            --gradient-end: #fb923c;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--bg-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        html {
            scroll-behavior: smooth;
        }

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

        /* Theme Toggle Button */
        .theme-toggle {
            background: none;
            border: 2px solid var(--accent-primary);
            color: var(--accent-primary);
            padding: 0.5rem 1rem;
            border-radius: 25px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
            margin-right: 1rem;
            white-space: nowrap;
        }

        .theme-toggle i {
            font-size: 1rem;
        }

        .theme-toggle .theme-text {
            font-weight: 500;
        }

        .theme-toggle:hover {
            background: var(--accent-primary);
            color: var(--bg-primary);
        }

        [data-theme="light"] .theme-toggle {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
        }

        [data-theme="light"] .theme-toggle:hover {
            background: #f97316;
            border-color: #f97316;
            color: #fff;
        }

        /* NAVIGATION */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: var(--navbar-bg);
            backdrop-filter: blur(10px);
            z-index: 1000;
            box-shadow: 0 2px 10px var(--shadow-color);
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }

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

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            text-decoration: none;
        }

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

        .nav-menu a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--accent-primary);
        }

        .nav-menu a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--accent-primary);
            border-radius: 2px;
        }

        [data-theme="light"] .nav-menu a:hover,
        [data-theme="light"] .nav-menu a.active {
            color: #f97316;
        }

        [data-theme="light"] .nav-menu a.active::after {
            background: #f97316;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .hamburger .bar {
            width: 25px;
            height: 3px;
            background-color: var(--text-primary);
            margin: 3px 0;
            transition: 0.3s;
        }

        .hamburger.active .bar:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .bar:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: var(--bg-primary);
            box-shadow: 0 5px 15px var(--shadow-color);
            z-index: 9999;
            padding-top: 2.5rem;
            padding-bottom: 2rem;
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            overflow-y: auto;
            transition: background 0.3s ease;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-menu li {
            border: none;
            margin: 1.5rem 0;
            text-align: center;
        }

        .mobile-menu a {
            display: block;
            padding: 0.7rem 0;
            color: #e0e0e0;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.2rem;
            border-radius: 8px;
            position: relative;
            transition: color 0.2s;
        }

        .mobile-menu a.active {
            color: #d4af00;
            font-weight: 700;
        }

        .mobile-menu a.active::after {
            content: '';
            display: block;
            margin: 0.5rem auto 0 auto;
            width: 60%;
            height: 3px;
            border-radius: 2px;
            background: #d4af00;
        }

        .mobile-menu a:hover {
            color: #d4af00;
        }

        /* PAGE CONTENT */
        .page-content {
            padding-top: 80px;
            min-height: calc(100vh - 80px);
            display: flex;
            flex-direction: column;
        }

        .page-content .container {
            flex: 1;
        }

        .page-content.hidden {
            display: none;
        }

        /* HERO SECTION */
        #home {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 0;
            background: var(--bg-primary);
        }

        .hero-content {
            display: flex;
            align-items: center;
            gap: 4rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .section_pic_container {
            flex-shrink: 0;
        }

        .section_pic_container img {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #ffffff;
            box-shadow: 0 10px 30px var(--shadow-color);
            transition: border-color 0.3s ease;
        }

        .section_text {
            text-align: center;
            max-width: 500px;
        }

        .section_text_p1 {
            font-size: 1.2rem;
            color: #8b949e;
            margin-bottom: 0.5rem;
        }

        .title_1 {
            font-size: 3rem;
            font-weight: 700;
            color: #e0e0e0;
            margin-bottom: 0.5rem;
        }

        .section_text_p2 {
            font-size: 1.3rem;
            color: #8b949e;
            margin-bottom: 2rem;
            min-height: 1.6em;
        }

        /* Typing Animation */
        .typing-cursor {
            color: #8ab4f8;
            font-weight: 300;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        #typing-text {
            color: #8ab4f8;
            font-weight: 500;
        }

        .btn_container {
            margin-top: 2rem;
        }

        .btn_color {
            background: #d4af00;
            border: none;
            color: #0a0a0a;
            padding: 1rem 2rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(212, 175, 0, 0.2);
        }

        .btn_color:hover {
            transform: translateY(-2px);
            background: #e6c200;
            box-shadow: 0 6px 20px rgba(212, 175, 0, 0.3);
        }

        /* SECTIONS */
        section {
            padding: 4rem 0;
        }

        .title_2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #e0e0e0;
            position: relative;
        }

        .title_2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            margin: 8px auto 0;
            background: #d4af00;
            border-radius: 2px;
        }

        /* ABOUT SECTION */
        #about {
            background: #0a0a0a;
        }

        .text_container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .text_container p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: #8b949e;
        }

        .tressiq-button-container {
            margin-top: 2rem;
        }

        .tressiq-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #d4af00;
            color: #0a0a0a;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 0, 0.2);
        }

        .tressiq-button:hover {
            transform: translateY(-2px);
            background: #e6c200;
            box-shadow: 0 6px 20px rgba(212, 175, 0, 0.3);
        }

        /* SOCIAL LINKS */
        .socials {
            padding: 4rem 0;
            background: #0a0a0a;
        }

        .social-cards {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .social-card {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.8rem 1.2rem;
            background: #111111;
            border-radius: 50px;
            text-decoration: none;
            color: #e0e0e0;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            border: 1px solid #1a1a1a;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .social-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            border-color: #d4af00;
        }

        .social-card i {
            font-size: 1.2rem;
            color: #d4af00;
        }

        /* PROJECTS PREVIEW */
        .featured-projects {
            padding: 4rem 0;
            background: #0a0a0a;
        }

        .projects-carousel-container {
            position: relative;
            overflow: hidden;
        }

        .projects-carousel {
            display: flex;
            gap: 2rem;
            transition: transform 0.3s ease;
        }

        .project-card {
            flex: 0 0 380px;
            background: #111111;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
            border: 1px solid #1a1a1a;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-5px);
            border-color: #d4af00;
        }

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

        .project-info {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .project-info h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #e0e0e0;
        }

        .project-info p,
        .project-description {
            color: #8b949e;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .view-more-btn {
            background: none;
            border: none;
            color: #d4af00;
            font-weight: 500;
            cursor: pointer;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            text-align: left;
            padding: 0;
            display: inline-block;
        }
        
        .view-more-btn:hover {
            color: #e6c200;
            text-decoration: underline;
        }

        .project-technologies {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .tech-tag {
            background: rgba(138, 180, 248, 0.1);
            color: #8ab4f8;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(138, 180, 248, 0.3);
        }

        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: auto;
            padding-top: 0.5rem;
        }

        .project-link {
            color: #e0e0e0;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .project-link:hover {
            color: #d4af00;
        }

        .carousel-nav {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .carousel-btn {
            background: #d4af00 !important;
            color: #0a0a0a !important;
            border: none !important;
            box-shadow: none !important;
            font-size: 1.3rem;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .carousel-btn:active, .carousel-btn:focus, .carousel-btn:hover {
            background: #e6c200 !important;
            outline: none;
        }

        .view-all-projects {
            text-align: center;
            margin-top: 2rem;
        }

        .view-all-btn {
            background: #d4af00;
            color: #0a0a0a;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
            border: none;
            cursor: pointer;
        }

        .view-all-btn:hover {
            transform: translateY(-2px);
            background: #e6c200;
            box-shadow: 0 6px 20px rgba(212, 175, 0, 0.3);
        }

        /* BLOG PREVIEW */
        .blog-preview {
            padding: 4rem 0;
            background: #0a0a0a;
        }

        .blog-posts-carousel {
            position: relative;
            overflow: hidden;
        }

        .blog-carousel {
            display: flex;
            gap: 2rem;
            transition: transform 0.3s ease;
        }

        .blog-carousel .blog-card {
            flex: 0 0 350px;
        }

        .blog-post {
            flex: 0 0 350px;
            background: #111111;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
            border: 1px solid #1a1a1a;
        }

        .blog-post:hover {
            transform: translateY(-5px);
            border-color: #d4af00;
        }

        .blog-post h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #e0e0e0;
        }

        .blog-post .date {
            color: #8b949e;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .blog-post p {
            line-height: 1.6;
            color: #8b949e;
        }

        .blog-carousel-nav {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .view-all-blogs {
            text-align: center;
            margin-top: 2rem;
        }

        /* CONTACT SECTION */
        #contact,
        .contact {
            padding: 4rem 0 6rem 0;
            background: #0a0a0a;
            margin-bottom: 2rem;
        }

        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1000px;
            margin: 0 auto;
            margin-bottom: 4rem;
            align-items: start;
        }

        .contact-card {
            background: #111111;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid #1a1a1a;
            height: fit-content;
        }

        .contact-info {
            padding: 2rem;
            height: fit-content;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #e0e0e0;
        }

        .form-group input,
        .form-group textarea {
            padding: 0.8rem;
            border: 1px solid #1a1a1a;
            border-radius: 5px;
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s ease;
            background: #0a0a0a;
            color: #e0e0e0;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #d4af00;
        }

        .submit-button {
            background: #d4af00;
            color: #0a0a0a;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            background: #e6c200;
            box-shadow: 0 6px 20px rgba(212, 175, 0, 0.3);
        }

        .contact-info h2 {
            margin-bottom: 2rem;
            color: #e0e0e0;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .info-item i {
            color: #d4af00;
            font-size: 1.2rem;
            width: 24px;
            min-width: 24px;
            text-align: center;
        }

        .info-item p {
            color: #e0e0e0;
            margin: 0;
        }

        .info-item a {
            color: #e0e0e0;
            text-decoration: none;
        }

        .info-item a:hover {
            color: #d4af00;
            text-decoration: underline;
        }

        /* PAGE HEADERS */
        .page-header {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .back-btn {
            background: #d4af00;
            color: #0a0a0a;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            display: none;
            align-items: center;
            gap: 0.5rem;
        }

        .back-btn:hover {
            transform: translateY(-2px);
            background: #e6c200;
            box-shadow: 0 6px 20px rgba(212, 175, 0, 0.3);
        }

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

        /* PROJECTS PAGE */
        .top-projects {
            margin-bottom: 4rem;
        }

        .flagship-projects {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .flagship-project {
            background: #111111;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
            border: 1px solid #1a1a1a;
        }

        .flagship-project:hover {
            transform: translateY(-5px);
            border-color: #d4af00;
        }

        .project-image {
            margin-bottom: 1.5rem;
        }

        .project-image img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 10px;
        }

        .flagship-project h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #e0e0e0;
        }

        .flagship-project p {
            color: #8b949e;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        /* Other Projects Carousel */
        .other-projects-carousel-container {
            position: relative;
            overflow: hidden;
        }

        .other-projects-carousel {
            display: flex;
            gap: 2rem;
            transition: transform 0.3s ease;
        }

        .other-projects-carousel .project-card {
            flex: 0 0 350px;
        }

        .other-projects-carousel-nav {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .project_img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 1rem;
        }

        .project_btn {
            background: #d4af00;
            color: #0a0a0a;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .project_btn:hover {
            transform: translateY(-2px);
            background: #e6c200;
            box-shadow: 0 6px 20px rgba(212, 175, 0, 0.3);
        }

        /* RESEARCH PAGE */
        .research-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .research-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 3rem auto;
            padding: 1rem 2rem;
        }

        .research-intro h2 {
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-size: 1.8rem;
        }

        .research-intro p {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .research-areas {
            margin-bottom: 3rem;
        }

        .research-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .research-area {
            background: #111111;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
            transition: transform 0.3s ease;
            border: 1px solid #1a1a1a;
        }

        .research-area:hover {
            transform: translateY(-5px);
            border-color: #d4af00;
        }

        .research-area i {
            font-size: 3rem;
            color: #d4af00;
            margin-bottom: 1rem;
        }

        .research-area h3 {
            margin-bottom: 1rem;
            color: #e0e0e0;
        }

        .research-area p {
            color: #8b949e;
            line-height: 1.6;
        }

        .research-publications {
            background: #111111;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid #1a1a1a;
        }

        .research-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .research-item {
            padding: 1.5rem;
            background: #0a0a0a;
            border-radius: 10px;
            border-left: 4px solid #d4af00;
        }

        .research-item h3 {
            margin-bottom: 0.5rem;
            color: #e0e0e0;
        }

        .research-item p {
            color: #8b949e;
            margin-bottom: 0.5rem;
        }

        .research-item .date {
            color: #6e7681;
            font-size: 0.9rem;
        }

        /* BLOG PAGE */
        .blog-platforms {
            margin-bottom: 3rem;
        }

        .platform-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .platform-card {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem;
            background: #111111;
            border-radius: 15px;
            text-decoration: none;
            color: #e0e0e0;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid #1a1a1a;
        }

        .platform-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
            border-color: #d4af00;
        }

        .platform-card i {
            font-size: 1.5rem;
            color: #d4af00;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .blog-card {
            background: #111111;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, border-color 0.3s ease;
            border: 1px solid #1a1a1a;
            cursor: pointer;
            text-decoration: none;
            display: block;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            border-color: #d4af00;
        }

        .blog-card h3 {
            margin-bottom: 0.5rem;
            color: #e0e0e0;
        }

        .blog-card .date {
            color: #6e7681;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .blog-card p {
            color: #8b949e;
            line-height: 1.6;
        }

        .blog-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .blog-platform-badge {
            background: rgba(212, 175, 0, 0.15);
            color: #d4af00;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(212, 175, 0, 0.3);
        }

        .blog-date {
            color: #6e7681;
            font-size: 0.85rem;
        }

        .blog-title {
            font-size: 1.2rem;
            color: #e0e0e0;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .blog-excerpt {
            color: #8b949e;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .blog-card-footer {
            display: flex;
            justify-content: flex-end;
        }

        .read-more-link {
            color: #d4af00;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: color 0.2s;
        }

        .blog-card:hover .read-more-link {
            color: #e6c200;
        }

        .read-more-link i {
            transition: transform 0.2s;
        }

        .blog-card:hover .read-more-link i {
            transform: translateX(4px);
        }

        /* FOOTER */
        footer {
            background: #050505;
            color: #ffffff;
            text-align: center;
            padding: 2rem 0;
            margin-top: auto;
            border-top: 1px solid #1a1a1a;
            width: 100%;
        }

        footer p {
            color: #ffffff;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
            }

            .section_pic_container img {
                width: 250px;
                height: 250px;
            }

            .title_1 {
                font-size: 2.5rem;
            }

            .section_text_p2 {
                font-size: 1.1rem;
            }

            .contact-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                margin-bottom: 3rem;
            }

            .projects-carousel,
            .blog-carousel {
                flex-direction: row;
                align-items: center;
            }

            .project-card,
            .blog-post,
            .blog-card {
                flex: 0 0 auto;
                width: 100%;
                max-width: 350px;
            }

            .carousel-nav,
            .blog-carousel-nav {
                display: flex;
                justify-content: center;
                gap: 1rem;
                margin-top: 1rem;
            }

            .flagship-projects {
                grid-template-columns: 1fr;
            }

            .projects-grid,
            .blog-grid {
                grid-template-columns: 1fr;
            }

            .research-grid {
                grid-template-columns: 1fr;
            }

            .social-cards {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }

            .platform-cards {
                grid-template-columns: 1fr;
            }

            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            section, .section_text, .text_container {
                padding-left: 1.2rem;
                padding-right: 1.2rem;
            }
            .about-content, .text_container {
                padding-left: 1.2rem;
                padding-right: 1.2rem;
            }
            .page-content {
                padding-top: 60px;
            }
            .featured-projects, .blog-preview, .contact, .home-contact-section {
                padding: 2rem 0 1.2rem 0;
            }
            .project-card, .blog-card {
                margin: 0 auto 1.2rem auto;
                max-width: 98vw;
            }
            .social-cards {
                gap: 0.5rem;
            }
            .contact-container {
                gap: 1.5rem;
                margin-bottom: 2.5rem;
            }
            .btn_color, .submit-button, .tressiq-button {
                padding: 0.7rem 1.2rem;
                font-size: 0.95rem;
            }
            .back-btn {
                margin-bottom: 0.5rem;
                padding: 0.6rem 1.1rem;
                font-size: 0.95rem;
            }
            .title_2, .title_1, h1, h2 {
                margin-bottom: 1.2rem;
            }
            .project-card, .flagship-project {
                min-height: 220px;
                max-height: 340px;
                padding: 1.2rem 1rem !important;
                margin-bottom: 1.2rem;
                box-sizing: border-box;
            }
            .project-card img, .flagship-project .project-image img {
                max-height: 140px;
                object-fit: cover;
                width: 100%;
                border-radius: 12px;
            }
            .about-content, .text_container {
                padding-left: 1.2rem !important;
                padding-right: 1.2rem !important;
            }
        }

        @media (max-width: 480px) {
            .nav-container {
                padding: 1rem;
            }

            .title_1 {
                font-size: 2rem;
            }

            .section_text_p2 {
                font-size: 1rem;
            }

            .contact-card {
                padding: 1.5rem;
            }

            .flagship-project {
                padding: 1.5rem;
            }

            .research-area {
                padding: 1.5rem;
            }

            .blog-card {
                padding: 1.5rem;
            }

            .section_pic_container img {
                width: 200px;
                height: 200px;
            }

            section, .section_text, .text_container {
                padding-left: 0.7rem;
                padding-right: 0.7rem;
            }
            .about-content, .text_container {
                padding-left: 0.7rem;
                padding-right: 0.7rem;
            }
            .project-card, .blog-card {
                margin: 0 auto 0.7rem auto;
                max-width: 99vw;
            }
            .btn_color, .submit-button, .tressiq-button {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }
            .back-btn {
                margin-bottom: 0.3rem;
                padding: 0.5rem 0.8rem;
                font-size: 0.9rem;
            }
            .title_2, .title_1, h1, h2 {
                margin-bottom: 0.7rem;
            }
            .home-contact-section {
                margin-top: 1rem;
            }
        }

        /* HAMBURGER CLOSE ICON */
        .hamburger.active .bar {
            background: #333;
        }
        .hamburger.active {
            position: fixed;
            top: 1.2rem;
            left: 1.2rem;
            z-index: 10001;
        }

        /* MOBILE NAV PROMPT */
        .mobile-nav-hint {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: #d4af00;
            color: #0a0a0a;
            padding: 0.5rem 1.2rem;
            border-radius: 25px;
            font-size: 1rem;
            z-index: 10002;
            box-shadow: 0 4px 15px rgba(212, 175, 0, 0.3);
            cursor: pointer;
            font-weight: 500;
            animation: bounce 2s infinite;
        }
        .mobile-nav-hint i {
            margin-right: 0.5rem;
        }

        /* 1. Mobile menu close button */
        .mobile-menu-close {
            position: absolute;
            top: 1.2rem;
            left: 1.2rem;
            background: none;
            border: none;
            font-size: 2rem;
            color: #e0e0e0;
            z-index: 10001;
            cursor: pointer;
        }

        /* 2. Mobile menu not full screen */
        .mobile-menu {
            max-height: 80vh;
            border-bottom-left-radius: 24px;
            border-bottom-right-radius: 24px;
            width: 96vw;
            left: 2vw;
            right: 2vw;
            top: 0;
            margin: 0 auto;
            position: fixed;
            overflow-y: auto;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }

        /* 3. Active tab indicator in mobile menu */
        .mobile-menu a.active::after {
            content: '';
            display: block;
            margin: 0.5rem auto 0 auto;
            width: 60%;
            height: 3px;
            border-radius: 2px;
            background: #d4af00;
        }

        /* 4. Center all headings and add spacing */
        h1, h2, .title_1, .title_2 {
            text-align: center !important;
            margin-bottom: 1.5rem !important;
        }

        /* 5. Add margin-top to section content after headings */
        section > *:not(h1):not(h2):not(.title_1):not(.title_2) {
            margin-top: 1.2rem;
        }

        /* 6. Fix project card text overflow */
        .project-card, .flagship-project {
            min-height: 220px;
            max-height: none;
            padding: 1.2rem 1rem !important;
            margin-bottom: 1.2rem;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        .project-card h3, .flagship-project h3 {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            word-break: break-word;
        }
        .project-card p, .flagship-project p {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            word-break: break-word;
        }

        /* 7. Social icons alignment */
        .social-cards {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem;
            padding: 0 1rem;
        }
        .social-card {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            justify-content: center;
            padding: 0.7rem 1rem;
            border-radius: 50px;
            background: #111111;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            border: 1px solid #1a1a1a;
            font-size: 0.85rem;
        }

        /* 8. Hero section desktop: bigger image and more gap */
        @media screen and (min-width: 992px) {
            .section_pic_container img {
                width: 340px;
                height: 340px;
            }
            #home {
                gap: 5rem;
            }
        }

        @media screen and (max-width: 768px) {
            .projects-carousel-container {
                width: 100%;
                overflow: hidden;
                position: relative;
                margin: 0 auto;
            }
            .projects-carousel {
                display: flex;
                flex-direction: row;
                transition: none;
                scroll-behavior: auto;
                width: 100%;
            }
            .project-card {
                min-width: 90vw;
                max-width: 90vw;
                flex: 0 0 90vw;
                margin: 0 auto;
                min-height: 260px;
                max-height: none;
                padding: 1.2rem 1rem 2.5rem 1rem !important;
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
            }
            .project-card img {
                max-height: 120px;
                object-fit: cover;
                width: 100%;
                border-radius: 12px;
            }
            .carousel-nav {
                display: flex !important;
                justify-content: center;
                align-items: center;
                margin-top: 0.5rem;
                gap: 1.5rem;
            }
            .carousel-btn {
                background: #d4af00;
                border: none;
                border-radius: 50%;
                width: 40px;
                height: 40px;
                font-size: 1.3rem;
                color: #0a0a0a;
                box-shadow: 0 2px 8px rgba(212, 175, 0, 0.2);
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: background 0.2s;
            }
            .carousel-btn:active {
                background: #e6c200;
                color: #0a0a0a;
            }
        }

        /* 2. Contact Info button gradient styling */
        .contact-btn {
            background: #d4af00 !important;
            color: #0a0a0a !important;
            border: none !important;
            box-shadow: 0 4px 15px rgba(212, 175, 0, 0.2);
            font-weight: 600;
            border-radius: 50px;
            padding: 1rem 2rem;
            font-size: 1rem;
            transition: all 0.3s;
            margin: 0 auto;
            display: block;
        }
        .contact-btn:hover {
            background: #e6c200 !important;
        }

        /* Project card description */
        .project-description {
            color: #8b949e;
            line-height: 1.6;
            margin-bottom: 0.5rem;
            min-height: auto;
        }
        
        .project-card.expanded .project-description {
            max-height: none;
        }
        
        .view-more-btn {
            background: none;
            border: none;
            color: #d4af00;
            font-weight: 500;
            cursor: pointer;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            text-align: left;
            padding: 0;
            display: inline-block;
        }
        .view-more-btn:hover {
            color: #e6c200;
            text-decoration: underline;
        }
        /* Always show tags */
        .project-technologies {
            display: flex !important;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        /* ============================================
           LIGHT THEME OVERRIDES
           ============================================ */
        [data-theme="light"] body {
            background-color: #fafafa;
            color: #333;
        }

        [data-theme="light"] .navbar {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .title_1,
        [data-theme="light"] .title_2,
        [data-theme="light"] h1,
        [data-theme="light"] h2,
        [data-theme="light"] h3 {
            color: #333;
        }

        [data-theme="light"] .section_text_p1,
        [data-theme="light"] .section_text_p2 {
            color: #666;
        }

        [data-theme="light"] #typing-text {
            color: #f97316;
        }

        [data-theme="light"] .typing-cursor {
            color: #f97316;
        }

        [data-theme="light"] .btn_color,
        [data-theme="light"] .tressiq-button,
        [data-theme="light"] .view-all-btn,
        [data-theme="light"] .submit-button {
            background: #f97316 !important;
            color: #fff !important;
        }

        [data-theme="light"] .carousel-btn {
            background: #f97316 !important;
            color: #fff !important;
        }

        [data-theme="light"] .btn_color:hover,
        [data-theme="light"] .tressiq-button:hover,
        [data-theme="light"] .view-all-btn:hover,
        [data-theme="light"] .submit-button:hover {
            background: #ea580c !important;
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
        }

        [data-theme="light"] .carousel-btn:hover {
            background: #ea580c !important;
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
        }

        [data-theme="light"] .social-card,
        [data-theme="light"] .project-card,
        [data-theme="light"] .blog-card,
        [data-theme="light"] .contact-card,
        [data-theme="light"] .research-area,
        [data-theme="light"] .flagship-project,
        [data-theme="light"] .platform-card {
            background: #fff;
            border-color: #e0e0e0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .social-card:hover,
        [data-theme="light"] .project-card:hover,
        [data-theme="light"] .blog-card:hover {
            border-color: #f97316;
            box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
        }

        [data-theme="light"] .social-card i,
        [data-theme="light"] .research-area i,
        [data-theme="light"] .platform-card i {
            color: #f97316;
        }

        [data-theme="light"] .tech-tag {
            background: rgba(249, 115, 22, 0.1);
            color: #ea580c;
            border: 1px solid #f97316;
        }

        [data-theme="light"] .project-link,
        [data-theme="light"] .view-more-btn {
            color: #f97316;
        }

        [data-theme="light"] .project-link:hover,
        [data-theme="light"] .view-more-btn:hover {
            color: #ea580c;
        }

        [data-theme="light"] .project-info h3,
        [data-theme="light"] .blog-title,
        [data-theme="light"] .social-card span {
            color: #333;
        }

        [data-theme="light"] .project-description,
        [data-theme="light"] .project-info p,
        [data-theme="light"] .blog-excerpt {
            color: #666;
        }

        [data-theme="light"] .form-group input,
        [data-theme="light"] .form-group textarea {
            background: #fff;
            border-color: #e0e0e0;
            color: #333;
        }

        [data-theme="light"] .form-group input:focus,
        [data-theme="light"] .form-group textarea:focus {
            border-color: #f97316;
        }

        [data-theme="light"] .form-group label {
            color: #333;
        }

        [data-theme="light"] .info-item p,
        [data-theme="light"] .info-item a {
            color: #333;
        }

        [data-theme="light"] .info-item i {
            color: #f97316;
        }

        [data-theme="light"] .info-item a:hover {
            color: #f97316;
        }

        [data-theme="light"] footer {
            background: #f0f0f0;
            border-color: #e0e0e0;
            color: #333;
        }

        [data-theme="light"] footer p {
            color: #333;
        }

        [data-theme="light"] .socials,
        [data-theme="light"] .featured-projects,
        [data-theme="light"] .blog-preview,
        [data-theme="light"] #contact,
        [data-theme="light"] .contact,
        [data-theme="light"] #about,
        [data-theme="light"] .research-content {
            background: #fafafa;
        }

        [data-theme="light"] .research-intro h2 {
            color: #333;
        }

        [data-theme="light"] .research-intro p {
            color: #555;
        }

        [data-theme="light"] .text_container p {
            color: #666;
        }

        [data-theme="light"] .mobile-menu {
            background: #fff;
        }

        [data-theme="light"] .mobile-menu a {
            color: #333 !important;
        }

        [data-theme="light"] .mobile-menu a:hover,
        [data-theme="light"] .mobile-menu a.active {
            color: #f97316 !important;
        }

        [data-theme="light"] .back-btn {
            background: #f97316 !important;
            color: #fff;
        }

        [data-theme="light"] .read-more-link {
            color: #f97316;
        }

        [data-theme="light"] .blog-platform-badge {
            background: rgba(249, 115, 22, 0.1);
            color: #f97316;
        }

        [data-theme="light"] .contact-btn {
            background: #f97316 !important;
            color: #fff !important;
        }

        [data-theme="light"] .project_btn {
            background: #f97316 !important;
            color: #fff !important;
        }

        [data-theme="light"] .section_pic_container img {
            border-color: #ffffff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        [data-theme="light"] .carousel-btn {
            background: #f97316 !important;
            color: #fff !important;
            background-image: none !important;
        }

        /* Toast Notification Styles */
        .toast-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 1rem 1.5rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 1rem;
            z-index: 10000;
            transform: translateX(120%);
            transition: transform 0.3s ease;
            max-width: 400px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

        .toast-notification.show {
            transform: translateX(0);
        }

        .toast-content {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .toast-content i {
            font-size: 1.3rem;
        }

        .toast-content span {
            font-size: 0.95rem;
            line-height: 1.4;
        }

        .toast-close {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.25rem;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .toast-close:hover {
            opacity: 1;
        }

        .toast-success {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #fff;
        }

        .toast-success .toast-close {
            color: #fff;
        }

        .toast-error {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: #fff;
        }

        .toast-error .toast-close {
            color: #fff;
        }

        .toast-info {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: #fff;
        }

        .toast-info .toast-close {
            color: #fff;
        }

        @media screen and (max-width: 480px) {
            .toast-notification {
                right: 10px;
                left: 10px;
                max-width: calc(100% - 20px);
            }
        }
