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

   :root {
       --primary: #6366f1;
       --primary-dark: #4f46e5;
       --secondary: #8b5cf6;
       --dark: #0f172a;
       --dark-light: #1e293b;
       --gray: #64748b;
       --light: #f1f5f9;
       --white: #ffffff;
   }

   body {
       font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
       line-height: 1.6;
       color: var(--dark);
       background: var(--light);
       overflow-x: hidden;
   }

   /* Navigation */
   nav {
       position: fixed;
       top: 0;
       width: 100%;
       background: rgba(255, 255, 255, 0.95);
       backdrop-filter: blur(10px);
       box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
       z-index: 1000;
       padding: 1rem 0;
   }

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

   nav .logo {
       position: relative;
       width: 60px;
       height: 60px;
       border-radius: 50%;
       overflow: hidden;
       background-color: #f0f0f0;
       /* fallback bg */
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.5rem;
       font-weight: bold;
       color: #333;
       text-transform: uppercase;
   }

   .logo img {
       position: absolute;
       top: 50%;
       left: 50%;
       width: 100%;
       height: 100%;
       object-fit: cover;
       /* ensures image covers circle nicely */
       transform: translate(-50%, -50%);
       border-radius: 50%;
   }

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

   nav a {
       text-decoration: none;
       color: var(--dark);
       font-weight: 500;
       transition: color 0.3s;
   }

   nav a:hover {
       color: var(--primary);
   }

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

   section {
       padding: 5rem 0;
       min-height: 100vh;
       display: flex;
       align-items: center;
   }

   /* Hero Section */
   #home {
       background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
       color: var(--white);
       position: relative;
       overflow: hidden;
   }

   #home::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
       animation: moveBackground 20s linear infinite;
   }

   @keyframes moveBackground {
       0% {
           transform: translate(0, 0);
       }

       100% {
           transform: translate(100px, 100px);
       }
   }

   .hero-content {
       position: relative;
       z-index: 1;
   }

   .hero-content h1 {
       font-size: 3.5rem;
       margin-bottom: 1rem;
       animation: fadeInUp 0.8s ease-out;
   }

   .hero-content .gradient-text {
       background: linear-gradient(135deg, var(--primary), var(--secondary));
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }

   .hero-content p {
       font-size: 1.3rem;
       color: var(--gray);
       margin-bottom: 2rem;
       animation: fadeInUp 0.8s ease-out 0.2s both;
   }

   .tech-stack {
       display: flex;
       flex-wrap: wrap;
       gap: 1rem;
       margin-top: 2rem;
       animation: fadeInUp 0.8s ease-out 0.4s both;
   }

   .tech-badge {
       background: rgba(99, 102, 241, 0.1);
       color: var(--primary);
       padding: 0.5rem 1rem;
       border-radius: 50px;
       font-size: 0.9rem;
       font-weight: 500;
       border: 1px solid rgba(99, 102, 241, 0.3);
   }

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

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

   /* About Section */
   #about {
       background: var(--white);
   }

   .about-content {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 4rem;
       align-items: center;
   }

   .about-text h2 {
       font-size: 2.5rem;
       margin-bottom: 1rem;
       color: var(--dark);
   }

   .about-text p {
       color: var(--gray);
       font-size: 1.1rem;
       line-height: 1.8;
       margin-bottom: 1.5rem;
   }

   .experience-years {
       display: inline-block;
       background: linear-gradient(135deg, var(--primary), var(--secondary));
       color: var(--white);
       padding: 2rem;
       border-radius: 15px;
       text-align: center;
       box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
   }

   .experience-years h3 {
       font-size: 3rem;
       margin-bottom: 0.5rem;
   }

   .experience-years p {
       color: var(--white);
       font-size: 1.1rem;
   }

   /* Skills Section */
   #skills {
       background: var(--light);
   }

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

   .skill-card {
       background: var(--white);
       padding: 2rem;
       border-radius: 15px;
       box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
       transition: transform 0.3s, box-shadow 0.3s;
   }

   .skill-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
   }

   .skill-card h3 {
       color: var(--primary);
       margin-bottom: 1rem;
       font-size: 1.5rem;
   }

   .skill-list {
       list-style: none;
   }

   .skill-list li {
       padding: 0.5rem 0;
       color: var(--gray);
       border-bottom: 1px solid var(--light);
   }

   .skill-list li:last-child {
       border-bottom: none;
   }

   /* Projects Section */
   #projects {
       background: var(--white);
   }

   .section-title {
       text-align: center;
       font-size: 2.5rem;
       margin-bottom: 3rem;
       color: var(--dark);
   }

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

   .project-card {
       background: var(--light);
       border-radius: 15px;
       overflow: hidden;
       box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
       transition: transform 0.3s, box-shadow 0.3s;
   }

   .project-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
   }

   .project-header {
       background: linear-gradient(135deg, var(--primary), var(--secondary));
       padding: 2rem;
       color: var(--white);
   }

   .project-header h3 {
       font-size: 1.8rem;
       margin-bottom: 0.5rem;
   }

   .project-body {
       padding: 2rem;
   }

   .project-body p {
       color: var(--gray);
       margin-bottom: 1.5rem;
       line-height: 1.8;
   }

   .tech-used {
       display: flex;
       flex-wrap: wrap;
       gap: 0.5rem;
   }

   .tech-tag {
       background: var(--white);
       color: var(--primary);
       padding: 0.4rem 0.8rem;
       border-radius: 20px;
       font-size: 0.85rem;
       font-weight: 500;
       border: 1px solid var(--primary);
   }

   /* Contact Section */
   #contact {
       background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
       color: var(--white);
   }

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

   .contact-content h2 {
       font-size: 2.5rem;
       margin-bottom: 1rem;
   }

   .contact-content p {
       font-size: 1.2rem;
       color: var(--gray);
       margin-bottom: 3rem;
   }

   .contact-buttons {
       display: flex;
       gap: 2rem;
       justify-content: center;
       flex-wrap: wrap;
   }

   .contact-btn {
       display: inline-flex;
       align-items: center;
       gap: 0.5rem;
       padding: 1rem 2rem;
       background: var(--white);
       color: var(--primary);
       text-decoration: none;
       border-radius: 50px;
       font-weight: 600;
       transition: transform 0.3s, box-shadow 0.3s;
       box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
   }

   .contact-btn:hover {
       transform: translateY(-5px);
       box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
   }

   .contact-btn.secondary {
       background: transparent;
       color: var(--white);
       border: 2px solid var(--white);
   }

   /* Footer */
   footer {
       background: var(--dark);
       color: var(--white);
       text-align: center;
       padding: 2rem 0;
   }

   /* Responsive */
   @media (max-width: 768px) {
       nav ul {
           gap: 1rem;
       }

       .hero-content h1 {
           font-size: 2.5rem;
       }

       .about-content {
           grid-template-columns: 1fr;
       }

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

       .contact-buttons {
           flex-direction: column;
           align-items: center;
       }

       section {
           padding: 3rem 0;
       }
   }

   .scroll-indicator {
       position: absolute;
       bottom: 2rem;
       left: 50%;
       transform: translateX(-50%);
       animation: bounce 2s infinite;
   }

   @keyframes bounce {

       0%,
       20%,
       50%,
       80%,
       100% {
           transform: translateX(-50%) translateY(0);
       }

       40% {
           transform: translateX(-50%) translateY(-10px);
       }

       60% {
           transform: translateX(-50%) translateY(-5px);
       }
   }