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

 :root {
   --primary: #6366f1;
   --primary-dark: #4f46e5;
   --secondary: #0f172a;
   --text: #1e293b;
   --text-light: #64748b;
   --bg: #ffffff;
   --bg-secondary: #f8fafc;
   --accent: #8b5cf6;
   --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   --gradient-soft: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
 }

 body {
   font-family: 'Inter', sans-serif;
   color: var(--text);
   background: var(--bg);
   overflow-x: hidden;
 }

 a {
   text-decoration: none;
 }

 /* Header */
 header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(20px);
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
   transition: all 0.3s ease;
 }

 header.scrolled {
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
 }

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

 .logo {
   font-size: 1.5rem;
   font-weight: 800;
   background: var(--gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .nav-links {
   display: flex;
   gap: 2.5rem;
   list-style: none;
 }

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

 .nav-links a::after {
   content: '';
   position: absolute;
   bottom: -5px;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--gradient);
   transition: width 0.3s ease;
 }

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

 .nav-links a:hover::after,
 .nav-links a.active::after {
   width: 100%;
 }

 .menu-toggle {
   display: none;
   font-size: 1.8rem;
   cursor: pointer;
   color: var(--text);
 }

 /* Hero Section */
 .hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding: 6rem 2rem 2rem;
   position: relative;
   overflow: hidden;
 }

 .hero::before {
   content: '';
   position: absolute;
   top: -50%;
   right: -20%;
   width: 800px;
   height: 800px;
   background: var(--gradient-soft);
   border-radius: 50%;
   z-index: 0;
   animation: float 20s ease-in-out infinite;
 }

 @keyframes float {

   0%,
   100% {
     transform: translate(0, 0) rotate(0deg);
   }

   33% {
     transform: translate(30px, -50px) rotate(120deg);
   }

   66% {
     transform: translate(-20px, 20px) rotate(240deg);
   }
 }

 .hero-container {
   max-width: 1200px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
   position: relative;
   z-index: 1;
 }

 .hero-content h1 {
   font-size: 3.5rem;
   font-weight: 800;
   line-height: 1.2;
   margin-bottom: 1.5rem;
 }

 .hero-content .gradient-text {
   background: var(--gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .hero-content p {
   font-size: 1.2rem;
   color: var(--text-light);
   margin-bottom: 2rem;
   line-height: 1.8;
 }

 .cta-buttons {
   display: flex;
   gap: 1rem;
   margin-bottom: 2.5rem;
 }

 .btn {
   padding: 0.9rem 2rem;
   border-radius: 12px;
   font-weight: 600;
   text-decoration: none;
   transition: all 0.3s ease;
   display: inline-block;
   font-size: 1rem;
 }

 .btn-primary {
   background: var(--gradient);
   color: white;
   box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
 }

 .btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
 }

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

 .btn-secondary:hover {
   background: var(--text);
   color: white;
 }

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

 .social-links a {
   width: 45px;
   height: 45px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--bg-secondary);
   border-radius: 12px;
   color: var(--text);
   font-size: 1.3rem;
   transition: all 0.3s ease;
 }

 .social-links a:hover {
   background: var(--gradient);
   color: white;
   transform: translateY(-3px);
 }

 .hero-image {
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
 }

 .image-wrapper {
   position: relative;
   width: 400px;
   height: 400px;
   border-radius: 50%;
   overflow: hidden;
   border: 4px solid white;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
   animation: blob 8s ease-in-out infinite;
 }

 @keyframes blob {

   0%,
   100% {
     border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
   }

   50% {
     border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
   }
 }

 .image-wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }

 /* Section Styles */
 section {
   padding: 5rem 2rem;
 }

 .section-header {
   text-align: center;
   margin-bottom: 4rem;
 }

 .section-header h2 {
   font-size: 2.5rem;
   font-weight: 800;
   margin-bottom: 1rem;
 }

 .section-header .gradient-text {
   background: var(--gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .section-header p {
   color: var(--text-light);
   font-size: 1.1rem;
 }

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

 /* Enhanced About Section */
 .about {
   background: var(--bg-secondary);
   position: relative;
   overflow: hidden;
 }

 .about::before {
   content: '';
   position: absolute;
   top: 0;
   left: -10%;
   width: 500px;
   height: 500px;
   background: var(--gradient-soft);
   border-radius: 50%;
   z-index: 0;
   opacity: 0.5;
 }

 .about-content {
   display: grid;
   grid-template-columns: 350px 1fr;
   gap: 4rem;
   align-items: start;
   position: relative;
   z-index: 1;
 }

 .about-left {
   position: sticky;
   top: 120px;
 }

 .about-image-container {
   position: relative;
   margin-bottom: 2rem;
 }

 .about-image-container img {
   width: 100%;
   height: 400px;
   object-fit: cover;
   border-radius: 20px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
 }

 .about-image-container::before {
   content: '';
   position: absolute;
   top: -15px;
   left: -15px;
   width: 100%;
   height: 100%;
   background: var(--gradient-soft);
   border-radius: 20px;
   z-index: -1;
 }

 .about-stats {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1rem;
 }

 .stat-card {
   background: white;
   padding: 1.5rem;
   border-radius: 16px;
   text-align: center;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
   transition: all 0.3s ease;
 }

 .stat-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
 }

 .stat-number {
   font-size: 2rem;
   font-weight: 800;
   background: var(--gradient);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   display: block;
   margin-bottom: 0.5rem;
 }

 .stat-label {
   font-size: 0.9rem;
   color: var(--text-light);
   font-weight: 500;
 }

 .about-right {
   display: flex;
   flex-direction: column;
   gap: 2rem;
 }

 .about-intro h3 {
   font-size: 2.2rem;
   margin-bottom: 1rem;
   font-weight: 700;
   line-height: 1.3;
 }

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

 .highlight-cards {
   display: grid;
   gap: 1.5rem;
 }

 .highlight-card {
   background: white;
   padding: 1.8rem;
   border-radius: 16px;
   border-left: 4px solid var(--primary);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
   transition: all 0.3s ease;
 }

 .highlight-card:hover {
   transform: translateX(8px);
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
 }

 .highlight-card h4 {
   font-size: 1.2rem;
   margin-bottom: 0.8rem;
   font-weight: 700;
   display: flex;
   align-items: center;
   gap: 0.8rem;
 }

 .highlight-card h4 i {
   font-size: 1.5rem;
   color: var(--primary);
 }

 .highlight-card p {
   color: var(--text-light);
   line-height: 1.7;
 }

 /* Enhanced Skills Section */
 .skills {
   background: white;
 }

 .skills-container {
   display: flex;
   flex-direction: column;
   gap: 3rem;
 }

 .skill-category {
   background: var(--bg-secondary);
   padding: 2.5rem;
   border-radius: 24px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
 }

 .category-header {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 2rem;
 }

 .category-icon {
   width: 50px;
   height: 50px;
   background: var(--gradient);
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 1.5rem;
 }

 .category-header h3 {
   font-size: 1.6rem;
   font-weight: 700;
 }

 .skills-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
   gap: 1.5rem;
 }

 .skill-card {
   background: white;
   padding: 2rem 1.5rem;
   border-radius: 16px;
   text-align: center;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   border: 2px solid transparent;
   position: relative;
   overflow: hidden;
 }

 .skill-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: var(--gradient-soft);
   transition: left 0.4s ease;
   z-index: 0;
 }

 .skill-card:hover::before {
   left: 0;
 }

 .skill-card:hover {
   transform: translateY(-8px) scale(1.02);
   border-color: var(--primary);
   box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
 }

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

 .skill-card i {
   font-size: 3rem;
   color: var(--primary);
   margin-bottom: 1rem;
   display: block;
   transition: all 0.3s ease;
 }

 .skill-card:hover i {
   transform: scale(1.1) rotateY(360deg);
 }

 .skill-card span {
   font-weight: 600;
   font-size: 1rem;
   color: var(--text);
   display: block;
 }

 .skill-level {
   margin-top: 0.8rem;
   height: 6px;
   background: rgba(99, 102, 241, 0.2);
   border-radius: 10px;
   overflow: hidden;
 }

 .skill-level-fill {
   height: 100%;
   background: var(--gradient);
   border-radius: 10px;
   transition: width 1s ease;
 }

 /* Work Section */
 .work {
   background: var(--bg-secondary);
 }

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

 .work-card {
   position: relative;
   border-radius: 20px;
   overflow: hidden;
   height: 300px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
 }

 .work-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
 }

 .work-card img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: top;
   transition: transform 0.5s ease;
 }

 .work-card:hover img {
   transform: scale(1.1);
 }

 .work-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
   display: flex;
   align-items: flex-end;
   padding: 2rem;
   opacity: 0;
   transition: opacity 0.3s ease;
 }

 .work-card:hover .work-overlay {
   opacity: 1;
 }

 .work-overlay i {
   color: white;
   font-size: 2rem;
 }

 /* Contact Section */
 .contact-form {
   max-width: 600px;
   margin: 0 auto;
 }

 .form-group {
   margin-bottom: 1.5rem;
 }

 .contact-form input,
 .contact-form textarea {
   width: 100%;
   padding: 1rem 1.5rem;
   border: 2px solid rgba(0, 0, 0, 0.1);
   border-radius: 12px;
   font-size: 1rem;
   font-family: 'Inter', sans-serif;
   transition: all 0.3s ease;
 }

 .contact-form input:focus,
 .contact-form textarea:focus {
   outline: none;
   border-color: var(--primary);
   box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
 }

 .contact-form textarea {
   resize: vertical;
   min-height: 150px;
 }

 .submit-btn {
   width: 100%;
   padding: 1rem;
   background: var(--gradient);
   color: white;
   border: none;
   border-radius: 12px;
   font-size: 1.1rem;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .submit-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
 }

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

 .footer-content h3 {
   font-size: 2rem;
   margin-bottom: 1.5rem;
   font-weight: 700;
 }

 .footer-social {
   display: flex;
   gap: 1rem;
   justify-content: center;
   margin-bottom: 2rem;
 }

 .footer-social a {
   width: 45px;
   height: 45px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 12px;
   color: white;
   font-size: 1.3rem;
   transition: all 0.3s ease;
 }

 .footer-social a:hover {
   background: var(--primary);
   transform: translateY(-3px);
 }

 .footer-copy {
   color: rgba(255, 255, 255, 0.6);
 }

 /* Responsive */
 @media (max-width: 968px) {
   .hero-container {
     grid-template-columns: 1fr;
     text-align: center;
   }

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

   .cta-buttons {
     justify-content: center;
   }

   .social-links {
     justify-content: center;
   }

   .image-wrapper {
     width: 300px;
     height: 300px;
   }

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

   .about-left {
     position: relative;
     top: 0;
   }

   .about-stats {
     max-width: 400px;
     margin: 0 auto;
   }

   .highlight-card:hover {
     transform: translateY(-5px);
   }

   .nav-links {
     display: none;
   }

   .menu-toggle {
     display: block;
   }

   .nav-links.active {
     display: flex;
     flex-direction: column;
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     background: white;
     padding: 2rem;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   }

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

   .skills-grid {
     grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   }
 }