 * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      :root {
        --primary: #6366f1;
        --primary-dark: #4f46e5;
        --bg-dark: #0a0a0a;
        --bg-darker: #050505;
        --text-light: #ffffff;
        --text-gray: #a1a1aa;
        --border: #27272a;
        --card-bg: #141414;
        --accent: #22d3ee;
      }

      /* Light mode variables */
      [data-theme="light"] {
        --bg-dark: #ffffff;
        --bg-darker: #f8fafc;
        --text-light: #1e293b;
        --text-gray: #64748b;
        --border: #e2e8f0;
        --card-bg: #ffffff;
      }

      /* Light mode specific styles */
      [data-theme="light"] .nav {
        background: rgba(255, 255, 255, 0.9);
      }

      [data-theme="light"] .portfolio-card {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }

      [data-theme="light"] .portfolio-card:hover {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
      }

      [data-theme="light"] .form-group input,
      [data-theme="light"] .form-group textarea {
        background: #f8fafc;
        border: 1px solid var(--border);
      }

      body {
        font-family: 'Inter', sans-serif;
        background: var(--bg-dark);
        color: var(--text-light);
        line-height: 1.6;
        overflow-x: hidden;
      }

      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
      }

      
      .nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.9);
        z-index: 100;
        padding: 1rem 0;
        transition: all 0.3s ease;
      }

      .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .logo {
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .nav-links {
        display: flex;
        gap: 2rem;
        list-style: none;
      }

      .nav-links a {
        color: var(--text-gray);
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 500;
      }

      .nav-links a:hover {
        color: var(--text-light);
      }

      /* Theme Toggle Button */
      .theme-toggle {
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 50px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1.2rem;
      }

      .theme-toggle:hover {
        background: var(--primary);
        border-color: var(--primary);
        transform: scale(1.1);
      }

      .theme-toggle-icon {
        transition: transform 0.3s ease;
      }

      .theme-toggle:hover .theme-toggle-icon {
        transform: rotate(20deg);
      }

      
      .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
      }

      .hero-content h1 {
        font-size: clamp(3rem, 8vw, 6rem);
        font-weight: 700;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--text-light), var(--text-gray));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .hero-content .subtitle {
        font-size: 1.25rem;
        color: var(--text-gray);
        margin-bottom: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
      }

      .featured-projects-preview {
        margin: 3rem 0;
        width: 100%;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
      }

      .featured-title {
        text-align: center;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 2rem;
        background: linear-gradient(135deg, var(--text-light), var(--primary));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .featured-projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
      }

      .featured-project-card {
        background: var(--card-bg);
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      }

      .featured-project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
        border-color: var(--primary);
      }

      .featured-card-image {
        width: 100%;
        height: 180px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        position: relative;
        overflow: hidden;
      }

      .featured-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
      }

      .featured-card-image:hover img {
        transform: scale(1.05);
      }

      .featured-card-content {
        padding: 1.5rem;
      }

      .featured-card-content h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, var(--text-light), var(--primary));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.3;
      }

      .featured-card-content p {
        color: var(--text-gray);
        font-size: 0.9rem;
        line-height: 1.6;
      }

      .cta-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--primary);
        color: white;
        padding: 1rem 2rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
      }

      .cta-button:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
      }

     



      .portfolio {
        padding: 8rem 0;
        background: var(--bg-darker);
        position: relative;
      }

      .portfolio::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
        pointer-events: none;
      }

      .section-title {
        text-align: center;
        font-size: clamp(2.5rem, 6vw, 4rem);
        font-weight: 700;
        margin-bottom: 2rem;
        background: linear-gradient(135deg, var(--text-light), var(--primary));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        z-index: 1;
      }

      .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 2px;
      }

      .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 3rem;
        margin: 5rem 0;
        position: relative;
        z-index: 1;
      }

      .portfolio-card {
        background: var(--card-bg);
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid var(--border);
        position: relative;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      }

      .portfolio-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
        opacity: 0;
        transition: opacity 0.4s ease;
        border-radius: 18px;
        z-index: -1;
      }

      .portfolio-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 80px rgba(99, 102, 241, 0.25);
        border-color: var(--primary);
      }

      .portfolio-card:hover::before {
        opacity: 1;
      }

      .card-image {
        width: 100%;
        height: 280px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: white;
        position: relative;
        overflow: hidden;
      }

      .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.4s ease;
      }

      .card-image:hover img {
        transform: scale(1.08);
      }

      .card-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.1));
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 2;
      }

      .card-image:hover::after {
        opacity: 1;
      }

      .card-content {
        padding: 2rem;
        position: relative;
      }

      .card-content h3 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, var(--text-light), var(--primary));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.3;
      }

      .card-content p {
        color: var(--text-gray);
        margin-bottom: 1.5rem;
        line-height: 1.7;
        font-size: 1rem;
      }

      .card-tags {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
      }

      .tag {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.15));
        color: var(--primary);
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.875rem;
        font-weight: 600;
        border: 1px solid rgba(99, 102, 241, 0.2);
        transition: all 0.3s ease;
      }

      .tag:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
      }

      .project-btn {
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
      }

      .project-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
      }

      .project-btn:active {
        transform: translateY(0);
      }

      
      .about {
        padding: 6rem 0;
        text-align: center;
      }

      .about-content {
        max-width: 800px;
        margin: 0 auto;
      }

      .about-content p {
        font-size: 1.125rem;
        color: var(--text-gray);
        margin-bottom: 2rem;
        line-height: 1.8;
      }

      /* Profile Section Styles */
      .profile-section {
        display: flex;
        align-items: center;
        gap: 3rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
      }

      .profile-image {
        flex-shrink: 0;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid var(--primary);
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
        transition: all 0.3s ease;
      }

      .profile-image:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4);
      }

      .profile-pic {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
      }

      .profile-text {
        flex: 1;
        min-width: 300px;
      }

      .profile-text p {
        margin-bottom: 1.5rem;
        text-align: left;
      }

      .profile-text p:last-child {
        margin-bottom: 0;
      }

      /* Contact Section */
      .contact {
        padding: 6rem 0;
        background: var(--bg-darker);
        text-align: center;
      }

      .contact-content {
        max-width: 600px;
        margin: 0 auto;
      }

      .contact-form {
        display: grid;
        gap: 1.5rem;
        margin-top: 3rem;
      }

      .form-group {
        display: grid;
        gap: 0.5rem;
        text-align: left;
      }

      .form-group label {
        color: var(--text-light);
        font-weight: 500;
      }

      .form-group input,
      .form-group textarea {
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 1rem;
        color: var(--text-light);
        font-family: inherit;
        transition: border-color 0.3s ease;
      }

      .form-group input:focus,
      .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
      }

      .form-group textarea {
        resize: vertical;
        min-height: 120px;
      }

      
      .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; 
        margin: 2rem 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
      }

      .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
      }

      
      .footer {
        padding: 3rem 0;
        text-align: center;
        border-top: 1px solid var(--border);
        color: var(--text-gray);
      }

      

      /* Featured Projects Badge */
      .portfolio .container::before {
        content: '✨ Featured Projects';
        display: block;
        text-align: center;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: white;
        padding: 0.75rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.9rem;
        width: fit-content;
        margin: 0 auto 3rem auto;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        animation: pulse 2s infinite;
        position: relative;
        z-index: 2;
      }

      @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
      }

      @media (max-width: 768px) {
        .nav-links {
          display: none;
        }

        .hero-content h1 {
          font-size: 3rem;
        }

        .portfolio {
          padding: 6rem 0;
        }

        .portfolio-grid {
          grid-template-columns: 1fr;
          gap: 2rem;
          margin: 3rem 0;
        }

        .portfolio-card {
          margin: 0 auto;
          max-width: 400px;
        }

        .card-image {
          height: 220px;
        }

        .card-content {
          padding: 1.5rem;
        }

        .card-content h3 {
          font-size: 1.5rem;
        }

        .container {
          padding: 0 1rem;
        }

        .section-title {
          margin-bottom: 1.5rem;
        }

        .portfolio .container::before {
          font-size: 0.8rem;
          padding: 0.5rem 1.5rem;
          margin-bottom: 2rem;
        }

        /* Mobile Profile Section */
        .profile-section {
          flex-direction: column;
          text-align: center;
          gap: 2rem;
        }

        .profile-image {
          width: 150px;
          height: 150px;
          margin: 0 auto;
        }

        .profile-text {
          min-width: auto;
        }

        .profile-text p {
          text-align: center;
        }
      }

      
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .fade-in-up {
        animation: fadeInUp 0.6s ease-out;
      }

      
      html {
        scroll-behavior: smooth;
      }