 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Inter', sans-serif;
 }

 :root {
     --primary-bg: #0a0a0f;
     --secondary-bg: #1a1a2e;
     --accent-bg: #16213e;
     --accent-color: #00d9ff;
     --accent-glow: rgba(0, 217, 255, 0.3);
     --text-primary: #ffffff;
     --text-secondary: #a0a0a0;
     --text-accent: #00d9ff;
     --card-bg: rgba(26, 26, 46, 0.8);
     --card-border: rgba(0, 217, 255, 0.1);
     --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
     --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

     /* Responsive variables */
     --sidebar-width: 300px;
     --content-padding: 60px;
     --section-gap: 100px;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 70%);
     color: var(--text-primary);
     min-height: 100vh;
     display: flex;
     overflow-x: hidden;
 }

 /* Animated background particles */
 .particles {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     pointer-events: none;
     z-index: -1;
 }

 .particle {
     position: absolute;
     width: 2px;
     height: 2px;
     background: var(--accent-color);
     border-radius: 50%;
     animation: float 8s infinite ease-in-out;
     opacity: 0.3;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0px) rotate(0deg);
         opacity: 0.3;
     }

     50% {
         transform: translateY(-100px) rotate(180deg);
         opacity: 0.8;
     }
 }

 /* Enhanced Sidebar */
 .sidebar {
     width: var(--sidebar-width);
     background: rgba(26, 26, 46, 0.95);
     backdrop-filter: blur(20px);
     border-right: 1px solid var(--card-border);
     min-height: 100vh;
     padding: 30px 20px;
     position: fixed;
     left: 0;
     top: 0;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 30px;
     z-index: 1000;
     box-shadow: 0 0 50px rgba(0, 217, 255, 0.1);
     transition: transform 0.3s ease;
 }

 .profile-pic-container {
     position: relative;
     margin-bottom: 20px;
     display: flex;
     justify-content: center;
 }

 .profile-pic {
     width: 120px;
     height: 120px;
     border-radius: 50%;
     object-fit: cover;
     border: 1px solid transparent;
     background: var(--gradient-accent);
     padding: 3px;
     transition: all 0.5s ease;
     cursor: pointer;
 }

 .profile-pic:hover {
     transform: scale(1.1) rotate(5deg);
     box-shadow: 0 20px 40px var(--accent-glow);
 }

 @keyframes pulse {

     0%,
     100% {
         opacity: 0;
         transform: scale(1);
     }

     50% {
         opacity: 0.3;
         transform: scale(1.05);
     }
 }

 nav {
     width: 100%;
 }

 .nav-links,
 .social-links {
     list-style: none;
     width: 100%;
 }

 .nav-links li {
     margin-bottom: 15px;
 }

 .nav-links li a {
     display: flex;
     align-items: center;
     gap: 15px;
     color: var(--text-secondary);
     text-decoration: none;
     font-weight: 500;
     font-size: 1rem;
     padding: 15px 20px;
     border-radius: 15px;
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .nav-links li a::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: var(--gradient-accent);
     transition: left 0.3s ease;
     z-index: -1;
     opacity: 0.1;
 }

 .nav-links li a:hover::before {
     left: 0;
 }

 .nav-links li a:hover {
     color: var(--text-primary);
     box-shadow: 0 10px 25px rgba(0, 217, 255, 0.2);
 }

 .social-links {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-top: auto;
     margin-bottom: 15px;
 }

 .social-links li a {
     color: var(--text-secondary);
     font-size: 1.5rem;
     padding: 17.5px;
     border-radius: 12px;
     transition: all 0.3s ease;
     background: rgba(255, 255, 255, 0.05);
     backdrop-filter: blur(10px);
 }

 .social-links li a:hover {
     color: var(--accent-color);
     background: var(--accent-glow);
     box-shadow: 0 15px 30px var(--accent-glow);
 }

 .mobile-menu {
     display: none;
     position: fixed;
     top: 20px;
     left: 20px;
     z-index: 1001;
     background: var(--card-bg);
     border: 1px solid var(--card-border);
     border-radius: 10px;
     padding: 12px;
     color: var(--accent-color);
     font-size: 1.5rem;
     cursor: pointer;
     transition: all 0.3s ease;
     backdrop-filter: blur(20px);
 }

 .mobile-menu:hover {
     background: var(--accent-glow);
     transform: scale(1.1);
 }

 .mobile-overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 999;
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .mobile-overlay.active {
     opacity: 1;
 }

 .main-content {
     margin-left: var(--sidebar-width);
     padding: var(--content-padding);
     flex: 1;
     background: transparent;
     min-height: 100vh;
     width: calc(100% - var(--sidebar-width));
 }

 .hero {
     margin-bottom: var(--section-gap);
     position: relative;
     text-align: left;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: -50px;
     left: -50px;
     right: -50px;
     bottom: -50px;
     background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
     z-index: -1;
     border-radius: 50px;
 }

 .hero h1 {
     font-size: clamp(2.5rem, 6vw, 4.5rem);
     font-weight: 800;
     margin-bottom: 20px;
     background: var(--gradient-accent);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     animation: textGlow 2s ease-in-out infinite alternate;
     line-height: 1.1;
 }

 @keyframes textGlow {
     from {
         filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
     }

     to {
         filter: drop-shadow(0 0 40px rgba(0, 217, 255, 0.8));
     }
 }

 .hero h1 .accent {
     background: var(--gradient-secondary);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .hero h2 {
     font-size: clamp(1.5rem, 4vw, 2.5rem);
     font-weight: 300;
     margin-bottom: 30px;
     color: var(--text-secondary);
     letter-spacing: 2px;
 }

 .hero p {
     font-size: clamp(1rem, 2vw, 1.3rem);
     color: var(--text-secondary);
     line-height: 1.8;
     max-width: 700px;
     margin-bottom: 40px;
 }

 .cta-buttons {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
 }

 .cta-button {
     padding: 15px 35px;
     border: none;
     border-radius: 50px;
     font-size: clamp(1rem, 2vw, 1.1rem);
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
     cursor: pointer;
     position: relative;
     overflow: hidden;
     text-align: center;
     min-width: 150px;
 }

 .cta-primary {
     background: var(--gradient-accent);
     color: white;
 }

 .cta-secondary {
     background: transparent;
     color: var(--accent-color);
     border: 2px solid var(--accent-color);
 }

 .cta-button:hover {
     transform: translateY(-3px);
     box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
 }

 section {
     margin-bottom: var(--section-gap);
     position: relative;
 }

 section h2 {
     font-size: clamp(2rem, 4vw, 2.5rem);
     font-weight: 700;
     margin-bottom: 40px;
     color: var(--text-primary);
     position: relative;
     display: inline-block;
 }

 section h2::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 0;
     width: 50px;
     height: 3px;
     background: var(--gradient-accent);
     border-radius: 2px;
 }

 #about p {
     font-size: clamp(1rem, 2vw, 1.2rem);
     line-height: 1.8;
     color: var(--text-secondary);
     background: var(--card-bg);
     padding: clamp(20px, 4vw, 40px);
     border-radius: 20px;
     border: 1px solid var(--card-border);
     backdrop-filter: blur(20px);
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
 }

 .project-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
     gap: clamp(20px, 4vw, 40px);
 }

 .project-card {
     background: var(--card-bg);
     backdrop-filter: blur(20px);
     border: 1px solid var(--card-border);
     padding: clamp(20px, 4vw, 30px);
     border-radius: 25px;
     transition: all 0.5s ease;
     position: relative;
     overflow: hidden;
     cursor: pointer;
     display: flex;
     flex-direction: column;
 }

 .project-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: var(--gradient-accent);
     opacity: 0;
     transition: opacity 0.3s ease;
     z-index: -1;
 }

 .project-card:hover {
     box-shadow: 0 30px 80px rgba(0, 217, 255, 0.2);
     border-color: var(--accent-color);
 }

 .project-card img {
     width: 100%;
     height: clamp(150px, 25vw, 200px);
     object-fit: cover;
     border-radius: 15px;
     margin-bottom: 25px;
     transition: transform 0.3s ease;
 }

 .project-card h3 {
     color: var(--text-primary);
     font-size: clamp(1.2rem, 3vw, 1.5rem);
     font-weight: 600;
     margin-bottom: 15px;
 }

 .project-card p {
     color: var(--text-secondary);
     line-height: 1.6;
     font-size: clamp(0.9rem, 2vw, 1rem);
 }

 .tags {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin: 20px 0;
 }

 .smalllink {
     color: var(--accent-color);
 }

 .tags span {
     background: rgba(0, 217, 255, 0.1);
     color: var(--accent-color);
     font-size: clamp(0.75rem, 1.5vw, 0.85rem);
     padding: 8px 16px;
     border-radius: 20px;
     font-weight: 500;
     border: 1px solid rgba(0, 217, 255, 0.2);
     transition: all 0.3s ease;
 }

 .tags span:hover {
     background: var(--accent-color);
     color: white;
 }

 .project-links {
     display: flex;
     gap: 15px;
     margin-top: 20px;
     flex-wrap: wrap;
     margin-top: auto;


 }

 .project-links a {
     color: var(--accent-color);
     text-decoration: none;
     font-weight: 600;
     padding: 10px 20px;
     border: 1px solid var(--accent-color);
     border-radius: 25px;
     transition: all 0.3s ease;
     font-size: clamp(0.8rem, 1.5vw, 0.9rem);
     text-align: center;
     flex: 1;
     min-width: 100px;
 }

 .project-links a:hover {
     background: var(--accent-color);
     color: white;
 }

 .job {
     background: var(--card-bg);
     backdrop-filter: blur(20px);
     border: 1px solid var(--card-border);
     border-radius: 25px;
     padding: clamp(20px, 4vw, 40px);
     margin-bottom: 30px;
     transition: all 0.5s ease;
     position: relative;
     overflow: hidden;
 }

 .job::before {
     content: '';
     position: absolute;
     left: 0;
     top: 0;
     width: 5px;
     height: 100%;
     background: var(--gradient-accent);
     transition: transform 0.3s ease;
 }

 .job:hover {
     transform: translateX(10px);
     box-shadow: 0 20px 60px rgba(0, 217, 255, 0.1);
     border-color: var(--accent-color);
 }

 .date {
     color: var(--accent-color);
     font-weight: 600;
     font-size: clamp(0.9rem, 2vw, 1rem);
     margin-bottom: 15px;
     display: block;
 }

 .information h3 {
     color: var(--text-primary);
     font-size: clamp(1.2rem, 3vw, 1.4rem);
     font-weight: 600;
     margin-bottom: 10px;
 }

 .information span {
     color: var(--text-secondary);
     font-weight: 500;
     display: block;
     margin-bottom: 15px;
     font-size: clamp(0.9rem, 2vw, 1rem);
 }

 .information p {
     color: var(--text-secondary);
     line-height: 1.7;
     font-size: clamp(0.9rem, 2vw, 1rem);
 }

 .contact-form {
     background: var(--card-bg);
     backdrop-filter: blur(20px);
     border: 1px solid var(--card-border);
     padding: clamp(20px, 4vw, 40px);
     border-radius: 25px;
     margin-top: 30px;
 }

 .contact-form input,
 .contact-form textarea {
     width: 100%;
     padding: clamp(15px, 3vw, 20px);
     margin-bottom: 25px;
     border: 1px solid var(--card-border);
     border-radius: 15px;
     background: rgba(255, 255, 255, 0.05);
     color: var(--text-primary);
     font-size: clamp(0.9rem, 2vw, 1rem);
     font-family: 'Inter', sans-serif;
     transition: all 0.3s ease;
 }

 .contact-form input:focus,
 .contact-form textarea:focus {
     outline: none;
     border-color: var(--accent-color);
     box-shadow: 0 0 20px var(--accent-glow);
 }

 .contact-form input::placeholder,
 .contact-form textarea::placeholder {
     color: var(--text-secondary);
 }

 .contact-form button {
     background: var(--gradient-accent);
     border: none;
     color: white;
     padding: 18px 40px;
     border-radius: 50px;
     cursor: pointer;
     font-size: clamp(1rem, 2vw, 1.1rem);
     font-weight: 600;
     transition: all 0.3s ease;
     width: 100%;
 }

 .contact-form button:hover {
     transform: translateY(-3px);
     box-shadow: 0 20px 40px var(--accent-glow);
 }

 .fade-in {
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.6s ease;
 }

 .fade-in.visible {
     opacity: 1;
     transform: translateY(0);
 }

 @media (min-width: 1400px) {
     :root {
         --sidebar-width: 350px;
         --content-padding: 80px;
     }
 }

 @media (max-width: 1200px) {
     :root {
         --sidebar-width: 250px;
         --content-padding: 40px;
         --section-gap: 80px;
     }

     .profile-pic {
         width: 100px;
         height: 100px;
     }

     .nav-links li a {
         padding: 12px 16px;
         font-size: 0.9rem;
     }

     .social-links li a {
         font-size: 1.3rem;
         padding: 15px;
     }
 }

 @media (max-width: 900px) {
     :root {
         --content-padding: 30px;
         --section-gap: 60px;
     }

     .sidebar {
         transform: translateX(-100%);
         width: 280px;
     }

     .sidebar.active {
         transform: translateX(0);
     }

     .mobile-menu {
         display: block;
     }

     .mobile-overlay {
         display: block;
     }

     .main-content {
         margin-left: 0;
         width: 100%;
         padding: 80px var(--content-padding) var(--content-padding);
     }

     .hero {
         text-align: center;
         margin-bottom: 60px;
     }

     .hero::before {
         top: -30px;
         left: -30px;
         right: -30px;
         bottom: -30px;
     }

     .project-grid {
         grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     }

     .cta-buttons {
         justify-content: center;
     }

     .job:hover {
         transform: translateX(0);
         transform: translateY(-5px);
     }

     .project-links {
         justify-content: center;
     }

     .contact-form button {
         padding: 15px 30px;
     }
 }

 @media (max-width: 768px) {
     :root {
         --content-padding: 20px;
         --section-gap: 50px;
     }

     .main-content {
         padding: 70px var(--content-padding) var(--content-padding);
     }

     .sidebar {
         width: 260px;
         padding: 20px 15px;
         gap: 20px;
     }

     .profile-pic {
         width: 80px;
         height: 80px;
     }

     .nav-links li {
         margin-bottom: 10px;
     }

     .nav-links li a {
         padding: 10px 12px;
         font-size: 0.85rem;
         gap: 10px;
     }

     .social-links {
         gap: 10px;
     }

     .social-links li a {
         font-size: 1.2rem;
         padding: 12px;
     }

     .project-grid {
         grid-template-columns: 1fr;
     }

     .project-card img {
         height: 180px;
     }

     .cta-button {
         padding: 12px 25px;
         min-width: 120px;
     }

     .hero p {
         margin-bottom: 30px;
     }
 }

 @media (max-width: 480px) {
     :root {
         --content-padding: 15px;
         --section-gap: 40px;
     }

     .main-content {
         padding: 60px var(--content-padding) var(--content-padding);
     }

     .sidebar {
         width: 100%;
         padding: 15px;
     }

     .mobile-menu {
         top: 15px;
         left: 15px;
         padding: 10px;
         font-size: 1.3rem;
     }

     .hero {
         margin-bottom: 40px;
     }

     .hero::before {
         top: -20px;
         left: -20px;
         right: -20px;
         bottom: -20px;
     }

     .project-card img {
         height: 150px;
     }

     .project-links {
         flex-direction: column;
         gap: 10px;
     }

     .project-links a {
         flex: none;
     }

     .cta-buttons {
         flex-direction: column;
         align-items: center;
         gap: 15px;
     }

     .cta-button {
         width: 100%;
         max-width: 250px;
         padding: 12px 20px;
     }

     .tags {
         gap: 8px;
     }

     .tags span {
         padding: 6px 12px;
     }

     .contact-form button {
         padding: 12px 25px;
     }

     section h2::after {
         width: 30px;
         height: 2px;
     }
 }

 @media (max-width: 360px) {
     :root {
         --content-padding: 12px;
         --section-gap: 35px;
     }

     .hero h1 {
         font-size: 2rem;
     }

     .hero h2 {
         font-size: 1.3rem;
         letter-spacing: 1px;
     }

     .project-card,
     .job,
     .contact-form,
     #about p {
         padding: 15px;
     }

     .contact-form input,
     .contact-form textarea {
         padding: 12px;
         margin-bottom: 20px;
     }
 }

 @media (max-height: 500px) and (orientation: landscape) {
     .sidebar {
         padding: 15px 10px;
         gap: 15px;
     }

     .profile-pic {
         width: 60px;
         height: 60px;
     }

     .nav-links li {
         margin-bottom: 5px;
     }

     .nav-links li a {
         padding: 8px 12px;
         font-size: 0.8rem;
     }

     .social-links {
         gap: 8px;
         margin-top: 10px;
     }

     .social-links li a {
         font-size: 1rem;
         padding: 10px;
     }
 }

 .lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  z-index: 1000;
}

.lang-switch img {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
}

.lang-switch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #2563eb, #0891b2);
}
