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

 :root {
     /* Dark theme (default) */
     --bg-primary: radial-gradient(ellipse at top, #0a0f1e 0%, #05070f 60%, #000000 100%);
     --bg-secondary: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
     --text-primary: #ffffff;
     --text-secondary: #e0e0e0;
     --text-muted: #b0b0b0;
     --text-light: #c0c0c0;
     --accent-primary: #667eea;
     --accent-secondary: #764ba2;
     --accent-gradient: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
     --skill-gradient: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
     --border-color: rgba(102, 126, 234, 0.2);
     --border-hover: rgba(102, 126, 234, 0.5);
     --card-hover-shadow: rgba(102, 126, 234, 0.3);
     --navbar-bg: #000000;
     --navbar-border: rgba(102, 126, 234, 0.3);
     --skill-tag-shadow: rgba(102, 126, 234, 0.3);
 }

 [data-theme="light"] {
     /* Light theme */
     --bg-primary: radial-gradient(ellipse at top, #f8fafc 0%, #e2e8f0 60%, #cbd5e1 100%);
     --bg-secondary: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
     --text-primary: #1e293b;
     --text-secondary: #334155;
     --text-muted: #64748b;
     --text-light: #475569;
     --accent-primary: #3b82f6;
     --accent-secondary: #6366f1;
     --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
     --skill-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
     --border-color: rgba(59, 130, 246, 0.15);
     --border-hover: rgba(59, 130, 246, 0.4);
     --card-hover-shadow: rgba(59, 130, 246, 0.2);
     --navbar-bg: rgba(255, 255, 255, 0.95);
     --navbar-border: rgba(59, 130, 246, 0.2);
     --skill-tag-shadow: rgba(59, 130, 246, 0.2);
 }

 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     line-height: 1.6;
     color: var(--text-secondary);
     background: var(--bg-primary);
     min-height: 100vh;
     overflow-x: hidden;
     transition: background 0.3s ease, color 0.3s ease;
 }

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

 .resume-card {
     background: transparent;
     border-radius: 0;
     box-shadow: none;
     overflow: visible;
     margin: 0;
 }

 .header {
     color: var(--text-primary);
     padding: 150px 40px 280px 40px;
     text-align: center;
     position: relative;
     margin-bottom: 40px;
 }

 .header::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     pointer-events: none;
 }

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

 .name {
     font-size: 4rem;
     font-weight: 800;
     margin-bottom: 20px;
     background: var(--accent-gradient);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     text-shadow: none;
     letter-spacing: -0.02em;
 }

 [data-theme="light"] .name {
     background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #6366f1 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
 }

 .description {
     font-size: 1.3rem;
     margin-bottom: 0;
     opacity: 0.9;
     font-weight: 300;
     line-height: 1.7;
     max-width: 900px;
     margin: 0 auto;
     color: var(--text-light);
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
 }

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

 .scroll-down a {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: rgba(102, 126, 234, 0.1);
     border: 2px solid var(--border-color);
     color: var(--accent-primary);
     transition: all 0.3s ease;
 }

 [data-theme="light"] .scroll-down a {
     background: rgba(59, 130, 246, 0.1);
     border-color: var(--border-color);
 }

 .scroll-down a:hover {
     background: var(--border-hover);
     border-color: var(--accent-primary);
 }

 .arrow-icon {
     width: 24px;
     height: 24px;
 }

 @keyframes bounce {

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

     40% {
         transform: translate(-50%, -10px);
     }

     60% {
         transform: translate(-50%, -5px);
     }
 }

 .navbar {
     position: sticky;
     top: 0;
     width: 100%;
     padding: 20px 0;
     z-index: 1000;
     margin-bottom: 0;
     transition: background 0.3s ease, backdrop-filter 0.3s ease;
 }

 .navbar.scrolled {
     background: var(--navbar-bg);
     backdrop-filter: blur(10px);
     border-bottom: 1px solid var(--navbar-border);
 }

 .theme-toggle {
     background: none;
     border: 2px solid var(--border-color);
     border-radius: 50%;
     width: 44px;
     height: 44px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
     color: var(--text-primary);
 }

 .theme-toggle:hover {
     border-color: var(--accent-primary);
     background: var(--border-color);
     transform: scale(1.1);
 }

 .theme-toggle svg {
     width: 20px;
     height: 20px;
     transition: transform 0.3s ease;
 }

 .theme-toggle:hover svg {
     transform: rotate(180deg);
 }

 .hamburger {
     display: none;
     position: relative;
     width: 30px;
     height: 22px;
     background: none;
     border: none;
     cursor: pointer;
     padding: 0;
 }

 .hamburger span {
     position: absolute;
     left: 0;
     width: 100%;
     height: 3px;
     background: var(--text-primary);
     border-radius: 2px;
     transition: transform 0.35s ease, opacity 0.25s ease;
 }

 .hamburger span:nth-child(1) {
     top: 0;
 }

 .hamburger span:nth-child(2) {
     top: 50%;
     transform: translateY(-50%);
 }

 .hamburger span:nth-child(3) {
     bottom: 0;
 }

 .hamburger.active span:nth-child(1) {
     top: 50%;
     transform: translateY(-50%) rotate(45deg);
 }

 .hamburger.active span:nth-child(2) {
     opacity: 0;
 }

 .hamburger.active span:nth-child(3) {
     bottom: auto;
     top: 50%;
     transform: translateY(-50%) rotate(-45deg);
 }

 .navbar-content {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0 20px;
 }

 .navbar-brand {
     color: var(--text-primary);
     font-size: 1.4rem;
     font-weight: 700;
     text-decoration: none;
     background: var(--accent-gradient);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     text-shadow: none;
 }

 [data-theme="light"] .navbar-brand {
     background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #6366f1 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
 }

 .navbar-right {
     display: flex;
     align-items: center;
     gap: 20px;
 }

 .navbar-nav {
     display: flex;
     list-style: none;
     margin: 0;
     padding: 0;
     gap: 30px;
 }

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

 .navbar a:hover {
     color: var(--accent-primary);
 }

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

 .navbar a:hover::after {
     width: 100%;
 }

 .content {
     padding: 0;
 }

 .section {
     margin-bottom: 50px;
 }

 .section-title {
     font-size: 2rem;
     font-weight: 700;
     color: var(--text-primary);
     margin-bottom: 25px;
     padding-bottom: 10px;
     border-bottom: 3px solid var(--accent-primary);
     position: relative;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -3px;
     left: 0;
     width: 50px;
     height: 3px;
     background: var(--text-primary);
 }

 .education-item,
 .experience-item {
     background: var(--bg-secondary);
     backdrop-filter: blur(10px);
     border: 1px solid var(--border-color);
     border-radius: 16px;
     padding: 30px;
     margin-bottom: 25px;
     border-left: 4px solid var(--accent-primary);
     transition: all 0.3s ease;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
 }

 [data-theme="light"] .education-item,
 [data-theme="light"] .experience-item {
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
 }

 .education-item:hover,
 .experience-item:hover {
     transform: translateY(-2px);
     box-shadow: 0 15px 40px var(--card-hover-shadow);
     border-color: var(--border-hover);
 }

 .item-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 15px;
     flex-wrap: wrap;
 }

 .item-header-left {
     display: flex;
     align-items: center;
     gap: 15px;
     flex: 1;
 }

 .company-logo {
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #333 0%, #555 100%);
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #999;
     font-size: 0.8rem;
     text-align: center;
     flex-shrink: 0;
     border: 2px solid var(--navbar-border);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 [data-theme="light"] .company-logo {
     background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
     color: var(--text-muted);
 }

 .item-title {
     font-size: 1.3rem;
     font-weight: 700;
     color: var(--text-primary);
     flex: 1;
 }

 .item-date {
     font-weight: 600;
     color: var(--text-muted);
     font-size: 1rem;
 }

 .item-subtitle {
     font-size: 1.1rem;
     color: var(--text-secondary);
     margin-bottom: 10px;
     font-weight: 500;
 }

 .item-description {
     color: var(--text-muted);
     margin-bottom: 15px;
 }

 .item-details {
     list-style: none;
 }

 .item-details a {
     color: var(--accent-primary);
     text-decoration: none;
 }

 .item-details a:hover {
     text-decoration: underline;
 }

 .item-details li {
     padding: 5px 0;
     padding-left: 20px;
     position: relative;
     color: var(--text-light);
 }

 .item-details li::before {
     content: '▸';
     position: absolute;
     left: 0;
     color: var(--accent-primary);
     font-weight: bold;
 }

 .skills-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 25px;
     margin-top: 20px;
 }

 .skill-category {
     background: var(--bg-secondary);
     backdrop-filter: blur(10px);
     border: 1px solid var(--border-color);
     border-radius: 16px;
     padding: 30px;
     border-left: 4px solid var(--accent-primary);
     transition: all 0.3s ease;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
 }

 [data-theme="light"] .skill-category {
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
 }

 .skill-category:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 30px var(--card-hover-shadow);
     border-color: var(--border-hover);
 }

 .skill-category h3 {
     color: var(--text-primary);
     margin-bottom: 15px;
     font-size: 1.2rem;
 }

 .skills-list {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
 }

 .skill-tag {
     background: var(--skill-gradient);
     color: white;
     padding: 8px 16px;
     border-radius: 25px;
     font-size: 0.9rem;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 2px 10px var(--skill-tag-shadow);
 }

 .skill-tag:hover {
     transform: translateY(-2px);
     box-shadow: 0 5px 20px var(--card-hover-shadow);
 }

 .projects-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     gap: 25px;
     margin-top: 20px;
 }

 .project-card {
     background: var(--bg-secondary);
     backdrop-filter: blur(10px);
     border: 1px solid var(--border-color);
     border-radius: 20px;
     padding: 30px;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
     border-top: 4px solid var(--accent-primary);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 [data-theme="light"] .project-card {
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
 }

 .project-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     pointer-events: none;
 }

 .project-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 50px var(--card-hover-shadow);
     border-color: var(--border-hover);
 }

 .project-links a {
     color: var(--text-muted);
     padding-right: 7px;
     font-size: 1.1rem;
     transition: color 0.2s ease;
     text-decoration: none;
 }

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

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

 .project-tech {
     font-size: 0.9rem;
     color: var(--text-muted);
     margin-bottom: 15px;
     font-style: italic;
 }

 .contact-item {
     display: flex;
     align-items: center;
     gap: 12px;
     text-decoration: none;
     color: var(--text-secondary);
     transition: all 0.3s ease;
     padding: 15px 20px;
     border-radius: 12px;
     background: var(--bg-secondary);
     backdrop-filter: blur(10px);
     border: 2px solid var(--navbar-border);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 [data-theme="light"] .contact-item {
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
 }

 .contact-item:hover {
     transform: translateY(-3px);
     background: var(--skill-gradient);
     color: white;
     border-color: var(--accent-primary);
     box-shadow: 0 10px 30px var(--card-hover-shadow);
 }

 .contact-icon {
     width: 24px;
     height: 24px;
     fill: currentColor;
 }

 @media (max-width: 768px) {
     .container {
         padding: 10px;
     }

     .header {
         padding: 40px 20px;
     }

     .name {
         font-size: 2.5rem;
     }

     .content {
         padding: 20px;
     }

     .item-header {
         flex-direction: column;
         gap: 10px;
     }

     .item-header-left {
         flex-direction: column;
         align-items: flex-start;
         gap: 10px;
     }

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

     .navbar ul {
         gap: 15px;
     }

     .navbar a {
         font-size: 1rem;
     }

     .hamburger {
         display: flex;
     }

     .navbar.show {
         background: var(--navbar-bg);
     }

     .navbar-nav {
         position: absolute;
         top: 100%;
         left: 0;
         right: 0;
         background: var(--navbar-bg);
         flex-direction: column;
         gap: 15px;
         padding: 0 20px;
         max-height: 0;
         overflow: hidden;
         opacity: 0;
         transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
     }

     .navbar-nav.show {
         max-height: 500px;
         opacity: 1;
         padding: 20px;
     }

     .navbar-right {
         gap: 15px;
     }

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

     .scroll-down {
         display: none;
     }
 }