 :root {
     --primary-color: #6366f1;
     --primary-dark: #4f46e5;
     --secondary-color: #0f172a;
     --accent-color: #f59e0b;
     --text-primary: #0f172a;
     --text-secondary: #64748b;
     --text-light: #94a3b8;
     --bg-primary: #ffffff;
     --bg-secondary: #f8fafc;
     --bg-dark: #0f172a;
     --border-color: #e2e8f0;
     --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
     --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
     --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
     --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
     --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
     --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
 }

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

 html {
     scroll-behavior: smooth;
 }

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

 /* Navigation */
 .navbar {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(20px);
     z-index: 1000;
     padding: 1rem 0;
     transition: all 0.3s ease;
     border-bottom: 1px solid rgba(226, 232, 240, 0.5);
 }

 .navbar.scrolled {
     background: rgba(255, 255, 255, 0.98);
     box-shadow: var(--shadow-md);
 }

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

 .logo {
     font-size: 1.5rem;
     font-weight: 800;
     color: var(--primary-color);
     text-decoration: none;
     font-family: 'JetBrains Mono', monospace;
 }

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

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

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

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

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

 /* Mobile navbar base */
 /* .navbar-mobile {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(20px);
     z-index: 1000;
     padding: 1rem 0;
     border-bottom: 1px solid rgba(226, 232, 240, 0.5);
     display: none;
 } */

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

 /* Logo */
 .logo {
     font-size: 1.5rem;
     font-weight: 800;
     color: var(--primary-color);
     text-decoration: none;
     font-family: 'JetBrains Mono', monospace;
 }

 /* Mobile nav links - hidden by default */
 /* .nav-links-mobile {
     position: fixed;
     top: 0;
     right: -100%;
     width: 50vw;
     height: 100vh;
     background: rgba(255, 255, 255, 0.95);
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     gap: 2rem;
     list-style: none;
     transition: right 0.4s ease-in-out;
     z-index: 999;
 }

 .nav-links-mobile.open {
     right: 0;
     backdrop-filter: blur(20px);
 }

 .nav-links-mobile.close {
     right: -100%;
     backdrop-filter: none;
 }

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

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

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

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

 /* Hamburger button */
 /* .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     font-size: 1.5rem;
     color: var(--text-primary);
     cursor: pointer;
     z-index: 1001;
 } */

 /* Hero Section */
 .hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
     animation: float 20s infinite linear;
 }

 @keyframes float {
     0% {
         transform: translateY(0px) rotate(0deg);
     }

     100% {
         transform: translateY(-100px) rotate(360deg);
     }
 }

 .hero-container {
     /* max-width: 1200px;
     margin: 0 auto;
     padding: 0 2rem;
     display: flex;
     justify-content: space-between;
     gap: 4rem;
     align-items: center; */

     max-width: 75rem;
     width: 70rem;
     margin: auto;
     display: grid;
     grid-template-columns: 1fr 24rem;
     grid-template-areas: "content image";
 }



 .hero-content {
     grid-area: content;
     z-index: 99;
     position: relative;
 }

 .hero-greeting {
     font-size: 1.125rem;
     color: var(--primary-color);
     font-weight: 600;
     margin-bottom: 1rem;
     font-family: 'JetBrains Mono', monospace;
 }

 .hero-title {
     font-size: clamp(2.5rem, 6vw, 4rem);
     font-weight: 800;
     line-height: 1.1;
     margin-bottom: 1.5rem;
     background: linear-gradient(135deg, #0f172a 0%, #6366f1 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .hero-subtitle {
     font-size: 1.25rem;
     color: var(--text-secondary);
     margin-bottom: 2rem;
     max-width: 500px;
 }

 .hero-cta {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .btn {
     padding: 0.875rem 2rem;
     border-radius: 12px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
     border: none;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     font-size: 1rem;
 }

 .btn-primary {
     background: var(--gradient-primary);
     color: white;
     box-shadow: var(--shadow-lg);
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: var(--shadow-xl);
 }

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

 .btn-secondary:hover {
     border-color: var(--primary-color);
     color: var(--primary-color);
     transform: translateY(-2px);
 }

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

 .profile-image {
     width: 350px;
     height: 350px;
     border-radius: 50%;
     object-fit: cover;
     border: 8px solid white;
     box-shadow: var(--shadow-xl);
     position: relative;
     z-index: 2;
 }

 .floating-icons {
     position: absolute;
     width: 100%;
     height: 100%;
 }

 .floating-icon {
     position: absolute;
     width: 60px;
     height: 60px;
     background: white;
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: var(--shadow-lg);
     animation: floatIcon 6s infinite ease-in-out;
 }

 .floating-icon:nth-child(1) {
     top: 20%;
     right: 30%;
     animation-delay: 0s;
 }

 .floating-icon:nth-child(2) {
     bottom: 20%;
     left: 30%;
     animation-delay: 2s;
 }

 .floating-icon:nth-child(3) {
     top: 20%;
     right: 30%;
     animation-delay: 4s;
 }

 .floating-icon:nth-child(4) {
     bottom: 20%;
     right: 30%;
     animation-delay: 1s;
 }

 @keyframes floatIcon {

     0%,
     100% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-20px);
     }
 }

 /* Section Styles */
 .section {
     padding: 6rem 0;
 }

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

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

 .section-title {
     font-size: clamp(2rem, 4vw, 3rem);
     font-weight: 800;
     margin-bottom: 1rem;
     background: linear-gradient(135deg, #0f172a 0%, #6366f1 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .section-subtitle {
     font-size: 1.125rem;
     color: var(--text-secondary);
     max-width: 300px;
     margin: 0 auto;
 }

 /* About Section */
 .about-content {
     display: grid;
     grid-template-columns: 1fr;
     gap: 4rem;
     align-items: center;
     /* grid-template-areas: "about stack"; */
 }

 .about-text {
     font-size: 1.125rem;
     line-height: 1.8;
     color: var(--text-secondary);
     margin-bottom: 2rem;
     grid-area: "about";
 }

 .contact-info {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     font-size: 1.125rem;
     color: var(--text-secondary);
 }

 .contact-info a {
     color: var(--primary-color);
     text-decoration: none;
     font-weight: 600;
 }

 .skills-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     grid-area: "stack";
 }

 .skill-card {
     background: white;
     padding: 2rem;
     border-radius: 16px;
     box-shadow: var(--shadow-md);
     text-align: center;
     transition: all 0.3s ease;
     border: 1px solid var(--border-color);
 }

 .skill-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-xl);
 }

 .skill-icon {
     width: 64px;
     height: 64px;
     margin: 0 auto 1rem;
     background: var(--gradient-primary);
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     color: white;
 }

 .skill-name {
     font-size: 1.125rem;
     font-weight: 600;
     color: var(--text-primary);
 }

 /* Experience Section */
 .experience-timeline {
     position: relative;
     padding: 0 1rem;
     width: 100%;
 }

 .experience-timeline::before {
     content: '';
     position: absolute;
     left: 0;
     top: 0;
     bottom: 0;
     width: 2px;
     background: var(--gradient-primary);
 }

 .experience-item {
     position: relative;
     background: white;
     padding: 2rem;
     border-radius: 16px;
     box-shadow: var(--shadow-md);
     margin-bottom: 2rem;
     border: 1px solid var(--border-color);
     width: 100%;
 }

 /* .experience-item::before {
     content: '';
     position: absolute;
     left: -3rem;
     top: 2rem;
     width: 12px;
     height: 12px;
     background: var(--primary-color);
     border-radius: 50%;
     border: 3px solid white;
 } */

 .experience-company {
     font-size: 1.25rem;
     font-weight: 700;
     color: var(--text-primary);
     margin-bottom: 0.5rem;
 }

 .experience-period {
     color: var(--primary-color);
     font-weight: 600;
     font-size: 0.875rem;
     margin-bottom: 0.25rem;
 }

 .experience-role {
     color: var(--text-secondary);
     font-weight: 600;
     margin-bottom: 1rem;
 }

 .experience-description {
     color: var(--text-secondary);
     line-height: 1.6;
 }

 .experience-description ul {
     list-style: none;
     padding-left: 0;
 }

 .experience-description li {
     position: relative;
     padding-left: 1.5rem;
     margin-bottom: 0.5rem;
 }

 .experience-description li::before {
     content: '→';
     position: absolute;
     left: 0;
     color: var(--primary-color);
     font-weight: bold;
 }

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

 .project-card {
     background: white;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: var(--shadow-md);
     transition: all 0.3s ease;
     border: 1px solid var(--border-color);
 }

 .project-card:hover {
     transform: translateY(-8px);
     box-shadow: var(--shadow-xl);
 }

 .project-image {
     width: 100%;
     height: 200px;
     background: var(--bg-secondary);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 3rem;
     color: var(--text-light);
     position: relative;
     margin-bottom: 4rem;
 }

 .profile-image::before {
     content: "";
     position: absolute;
     top: 0;
     right: 0;
     left: 0;
     width: 4px;
     background: var(--gradient-primary);
 }

 .project-content {
     padding: 2rem;
 }

 .project-title {
     font-size: 1.25rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: var(--text-primary);
 }

 .project-description {
     color: var(--text-secondary);
     line-height: 1.6;
     margin-bottom: 1.5rem;
 }

 .project-tech {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
     margin-bottom: 1.5rem;
 }

 .tech-tag {
     background: var(--bg-secondary);
     color: var(--text-primary);
     padding: 0.25rem 0.75rem;
     border-radius: 20px;
     font-size: 0.875rem;
     font-weight: 500;
 }

 .project-link {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     color: var(--primary-color);
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
 }

 .project-link:hover {
     gap: 0.75rem;
 }

 /* Contact Section */
 /* .contact {
     background: var(--bg-secondary);
 }

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

 .contact-info-section h3 {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: var(--text-primary);
 }

 .contact-info-section p {
     color: var(--text-secondary);
     margin-bottom: 2rem;
     line-height: 1.6;
 }

 .contact-details {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .contact-detail {
     display: flex;
     align-items: center;
     gap: 1rem;
     padding: 1rem;
     background: white;
     border-radius: 12px;
     box-shadow: var(--shadow-sm);
 }

 .contact-icon {
     width: 48px;
     height: 48px;
     background: var(--gradient-primary);
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
 }

 .contact-form {
     background: white;
     padding: 2rem;
     border-radius: 16px;
     box-shadow: var(--shadow-md);
 }

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

 .form-label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 600;
     color: var(--text-primary);
 }

 .form-input,
 .form-textarea {
     width: 100%;
     padding: 0.875rem;
     border: 2px solid var(--border-color);
     border-radius: 8px;
     font-size: 1rem;
     transition: all 0.3s ease;
     font-family: inherit;
 }

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

 .form-textarea {
     resize: vertical;
     min-height: 120px;
 } */

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

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

 .social-link {
     width: 48px;
     height: 48px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .social-link:hover {
     background: var(--primary-color);
     transform: translateY(-2px);
 }

 /* Floating Action Button */
 .fab {
     position: fixed;
     bottom: 4rem;
     right: 7rem;
     width: 56px;
     height: 56px;
     background: var(--gradient-primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-decoration: none;
     box-shadow: var(--shadow-lg);
     transition: all 0.3s ease;
     z-index: 1000;
 }

 .fab:hover {
     transform: scale(1.1);
     box-shadow: var(--shadow-xl);
 }

 @media (max-width: 1024px) {
     .hero-container {
         margin: auto;
         grid-template-columns: 1fr;
         row-gap: 12rem;
         padding-top: 16rem;
         padding-bottom: 4rem;
     }

     .hero-container.reverse {
         grid-template-areas: "image" "content";
     }

     .hero {
         min-height: 70vh;
     }

     .hero .hero-container .hero-content {
         display: grid;
         margin: auto;
     }

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

     .about-content.reverse-about {
         grid-template-areas: "about" "stack";
     }
 }

 /* Responsive Design */

 @media (max-width: 768px) {

        /* .nav-links {
         position: fixed;
         top: 0;
         right: -100%;
         width: 50vw;
         height: 100vh;
         background: rgba(255, 255, 255, 0.95);
         backdrop-filter: blur(20px);
         box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
         flex-direction: column;
         justify-content: center;
         align-items: center;
         gap: 2rem;
         transition: right 0.4s ease-in-out;
         z-index: 999;
     }

     .nav-links.open {
         right: 0;
     }

     .mobile-menu-btn {
         position: relative;
         display: block;
         z-index: 1001;
     }

     .mobile-menu-btn.nav-open::after {
         content: "\f0c9";
         font-family: "Font Awesome 5 Free";
         font-weight: 900;
     } */

      /* .mobile-menu-btn.nav-close::after {
         content: "\f00d";
         font-family: "Font Awesome 5 Free";
         font-weight: 900;
      } */

     .hero-container {
         grid-template-columns: 1fr;
         grid-template-rows: max-content;
         row-gap: 12rem;
         padding: 0 1rem;
         text-align: center;
         max-width: 800px;
         padding-top: 16rem;
         padding-bottom: 4rem;

     }

     .hero-image {
         order: -1;
     }

     .profile-image {
         width: 250px;
         height: 250px;
     }

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

     .contact-content {
         grid-template-columns: 1fr;
         gap: 2rem;
     }

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

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

     .floating-icons {
         display: none;
     }
 }

 @media (max-width: 480px) {

     .container {
         max-width: 800px;
         padding: 0 3rem;
     }

     .hero-container {
         grid-template-columns: 1fr;
         grid-template-rows: max-content;
         row-gap: 12rem;
         padding: 0 1rem;
         text-align: center;
         max-width: 800px;
         padding-top: 16rem;
         padding-bottom: 4rem;

     }

     .nav-container {
         padding: 0 1rem;
         max-width: 600px;
         margin: auto;
     }

     .mobile-menu-btn {
         padding: 0 2rem;
     }

     .section {
         padding: 4rem 0;
     }

     .profile-image {
         width: 200px;
         height: 200px;
     }

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

     .project-card {
         margin: 0 1rem;
     }

     .floating-icons {
         visibility: hidden;
     }

     .fab {
         right: 2rem;
     }
 }

 /* Animation Classes */
 .fade-in {
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.6s ease;
 }

 .fade-in.visible {
     opacity: 1;
     transform: translateY(0);
 }

 .slide-in-left {
     opacity: 0;
     transform: translateX(-50px);
     transition: all 0.6s ease;
 }

 .slide-in-left.visible {
     opacity: 1;
     transform: translateX(0);
 }

 .slide-in-right {
     opacity: 0;
     transform: translateX(50px);
     transition: all 0.6s ease;
 }

 .slide-in-right.visible {
     opacity: 1;
     transform: translateX(0);
 }