
/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'League Spartan', sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    overflow-x: hidden;
    position: relative;
  }

  /* Starry Background */
  .starry-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }

  .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.2), transparent),
      radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.3), transparent),
      radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.2), transparent),
      radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.3), transparent),
      radial-gradient(3px 3px at 200px 120px, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 250px 60px, rgba(255,255,255,0.2), transparent),
      radial-gradient(2px 2px at 300px 100px, rgba(255,255,255,0.3), transparent),
      radial-gradient(1px 1px at 350px 40px, rgba(255,255,255,0.4), transparent),
      radial-gradient(2px 2px at 400px 80px, rgba(255,255,255,0.2), transparent),
      radial-gradient(1px 1px at 450px 150px, rgba(255,255,255,0.3), transparent),
      radial-gradient(2px 2px at 500px 90px, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 550px 200px, rgba(255,255,255,0.2), transparent),
      radial-gradient(2px 2px at 600px 120px, rgba(255,255,255,0.3), transparent),
      radial-gradient(1px 1px at 650px 180px, rgba(255,255,255,0.4), transparent),
      radial-gradient(2px 2px at 700px 60px, rgba(255,255,255,0.2), transparent),
      radial-gradient(1px 1px at 750px 140px, rgba(255,255,255,0.3), transparent),
      radial-gradient(2px 2px at 800px 100px, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 850px 160px, rgba(255,255,255,0.2), transparent),
      radial-gradient(2px 2px at 900px 80px, rgba(255,255,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 400px 200px;
    opacity: 1;
  }
  
  /* Left Sidebar */
  .sidebar {
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
  }
  
  .sidebar-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  /* Logo */
  .logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
  }
  
  .logo-text {
    color: white;
  }
  
  .logo-dot {
    color: #18c4f2;
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #18c4f2;
    margin-left: 0.1rem;
    vertical-align: baseline;
  }
  
  /* Sidebar Navigation */
  .sidebar-nav {
    width: 100%;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #18c4f2;
  }
  
  .nav-icon {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    opacity: 0.9;
  }
  
  /* Main Content */
  .main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
  }
  
  /* Theme Toggle Container */
  .theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
  }

  /* Theme Toggle Switch */
  .theme-toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .theme-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
  }

  .theme-label.active {
    color: white;
  }

  /* Mode Toggle Button */
  .mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }
  
  .mode-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* Toggle Slider */
  .toggle-slider {
    background: #18c4f2;
    border-radius: 16px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  /* Dark mode - slider moves to right */
  body.dark .toggle-slider {
    transform: translateX(20px);
  }

  /* Light mode - slider stays on left */
  body:not(.dark) .toggle-slider {
    transform: translateX(2px);
  }

  /* Theme Icons */
  .theme-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
  }
  
  /* Hero Section */
  .hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    background: linear-gradient(135deg, #667eea  0%, #764ba2 100%);
    z-index: -1;
    transform: translate(var(--move-x), var(--move-y));
    transition: transform 0.1s ease-out;
  }
  
  /* Space Background Elements */
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
      radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.3), transparent),
      radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.4), transparent),
      radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.3), transparent),
      radial-gradient(3px 3px at 200px 120px, rgba(255,255,255,0.2), transparent),
      radial-gradient(1px 1px at 250px 60px, rgba(255,255,255,0.3), transparent),
      radial-gradient(2px 2px at 300px 100px, rgba(255,255,255,0.4), transparent),
      radial-gradient(1px 1px at 350px 40px, rgba(255,255,255,0.3), transparent),
      radial-gradient(2px 2px at 400px 80px, rgba(255,255,255,0.2), transparent);
    background-repeat: repeat;
    background-size: 400px 200px;
    animation: space-float 20s linear infinite;
    z-index: 0;
  }
  
  /* Floating Space Objects */
  .hero .space-object {
    position: absolute;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
  }
  
  .hero .star-1 {
    top: 15%;
    left: 10%;
    font-size: 1.5rem;
  }
  
  .hero .star-2 {
    top: 25%;
    right: 15%;
    font-size: 1.2rem;
  }
  
  .hero .star-3 {
    top: 80%;
    left: 35%;
    font-size: 1rem;
  }
  
  .hero .planet-1 {
    top: 35%;
    right: 25%;
    font-size: 2rem;
  }
  
  .hero .planet-2 {
    top: 70%;
    left: 15%;
    font-size: 1.8rem;
  }
  
  .hero .comet {
    top: 80%;
    right: 15%;
    font-size: 1.3rem;
  }
  
  .hero .rocket {
    top: 10%;
    right: 60%;
    font-size: 1.3rem;
  }
  
  .hero .satelite {
    top: 40%;
    right: 75%;
    font-size: 1.3rem;
  }
  
  /* Space Animations */
  @keyframes space-float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-200px); }
  }
  
  @keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
  }
  
  @keyframes comet-trail {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateX(-30px) translateY(20px) rotate(180deg); opacity: 0.8; }
    100% { transform: translateX(-60px) translateY(40px) rotate(360deg); opacity: 0.3; }
  }
  
  .hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
  }
  
  .profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero h1 span {
    color: #18c4f2;
  }
  
  /* Typing Animation */
  .typing-container {
    min-height: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .typing-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-right: 0.5rem;
  }
  
  .typing-cursor {
    font-size: 1.2rem;
    color: #18c4f2;
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #18c4f2;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, background 0.3s;
    margin-bottom: 2rem;
  }
  
  .btn:hover {
    transform: translateY(-2px);
    background: #15a8d1;
  }
  
  /* Social Icons */
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s, color 0.3s;
  }
  
  .icon:hover {
    transform: translateY(-3px);
    color: #18c4f2;
  }
  
  .icon svg {
    width: 24px;
    height: 24px;
  }
  
  /* Sections */
  section {
    padding: 4em 2em 4em 4em;
  }
  
  section h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    margin-left: 0;
    padding-left: 0;
  }
  
  section p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
  }

  /* About Me Section Styles */
  .about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
  }

  .profile-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }

  .profile-picture {
    flex-shrink: 0;
  }

  .profile-picture img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
  }

  .bio-section {
    flex: 1;
  }

  .bio-text {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
  }

  .bio-text::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(0, 0, 0, 0.3);
    filter: blur(1px);
  }

  .bio-text::after {
    content: '';
    position: absolute;
    left: -14px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 14px solid rgba(0, 0, 0, 0.3);
  }

  /* Enhanced chat bubble effect */
  .bio-text:hover::before {
    border-right-color: rgba(0, 0, 0, 0.4);
  }

  .bio-text:hover::after {
    border-right-color: rgba(0, 0, 0, 0.4);
  }

  .info-section {
    margin-top: 2rem;
  }

  .info-content {
    padding: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 12px;
  }

  .info-icon {
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
    object-fit: contain;
  }

  .info-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
  }

  .download-cv {
    text-decoration: none;
    cursor: pointer;
  }

  .download-cv:hover {
    background: rgba(24, 196, 242, 0.2) !important;
  }

  /* Resume Section Styles */
  .resume-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .education-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: left;
  }

  .timeline {
    position: relative;
    padding-left: 2rem;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #18c4f2 0%, rgba(255, 255, 255, 0.3) 100%);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
  }

  .timeline-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #18c4f2;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(24, 196, 242, 0.2);
    animation: pulse 2s infinite;
  }

  .timeline-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .timeline-content:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }

  .timeline-header h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
  }

  .institution {
    font-size: 1.1rem;
    color: #18c4f2;
    font-weight: 500;
  }

  .timeline-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 0;
    font-weight: 500;
  }

  .timeline-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .grade {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
  }

  .honors {
    font-size: 1rem;
    color: #18c4f2;
    font-weight: 600;
  }

  .concentrations {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-style: italic;
  }

  /* Skills Section Styles */
  .skills-section {
    margin-top: 3rem;
  }

  .skills-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: left;
  }

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

  .skill-category {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .skill-category:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }

  .skill-category h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
  }

  /* Skills Tags Styles */
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
  }

  .skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
  }

  .skill-item:hover {
    transform: translateY(-2px);
  }

  .skill-logo {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
  }

  .skill-name {
    font-size: 0.9rem;
    font-weight: 500;
  }

  /* Certifications Section Styles */
  .certifications-section {
    margin-top: 3rem;
  }

  .certifications-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: left;
  }

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

  .certification-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .certification-content {
    flex: 1;
  }

  .certification-button-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .certification-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }

  .certification-header h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .certification-institution {
    font-size: 1rem;
    color: #18c4f2;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
  }

  .certification-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
  }

  .certification-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
  }

  .certification-details li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
  }

  .certification-details li::before {
    content: '•';
    color: #18c4f2;
    font-weight: bold;
    position: absolute;
    left: 0;
  }

  .view-credential-btn {
    background: #18c4f2;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }

  .view-credential-btn:hover {
    background: #15a8d1;
    transform: translateY(-2px);
  }

  /* Credential Modal Styles */
  .credential-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
  }

  .modal-content {
    background-color: transparent;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    text-align: center;
  }

  .close-modal {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 2001;
    transition: color 0.3s ease;
  }

  .close-modal:hover {
    color: #18c4f2;
  }

  #credential-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }



  /* Hover effects and animations */
  .profile-picture img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
  }

  .bio-text:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
  }

  .info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
  }

  .info-item:hover .info-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }

  /* Timeline animations */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 4px rgba(24, 196, 242, 0.2);
    }
    50% {
      box-shadow: 0 0 0 8px rgba(24, 196, 242, 0.1);
    }
    100% {
      box-shadow: 0 0 0 4px rgba(24, 196, 242, 0.2);
    }
  }
  
  /* Dark Mode */
  body.dark {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: #f5f5f5;
  }
  
  body.dark .sidebar {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  }

  body.dark .hero::before {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  }
  
  body.dark .logo-text {
    color: #f5f5f5;
  }
  
  body.dark .nav-link {
    color: white;
  }
  
  body.dark .nav-link:hover,
  body.dark .nav-link.active {
    color: white;
    background: rgba(245, 245, 245, 0.1);
  }
  
  body.dark .btn {
    background: #18c4f2;
    color: white;
  }
  
  body.dark section h2 {
    color: white;
  }
  
  body.dark section p {
    color: white;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .sidebar {
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }
    
    .sidebar.open {
      transform: translateX(0);
    }
    
    .main-content {
      margin-left: 0;
      width: 100%;
    }
    
    .theme-toggle-container {
      top: 15px;
      right: 15px;
    }

    .theme-toggle-switch {
      padding: 0.4rem 0.8rem;
      gap: 0.6rem;
    }

    .theme-label {
      font-size: 0.8rem;
    }

    .mode-toggle {
      width: 45px;
      height: 28px;
    }

    .toggle-slider {
      width: 24px;
      height: 24px;
    }

    body.dark .toggle-slider {
      transform: translateX(17px);
    }

    /* Mobile About Me Styles */
    .profile-section {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
      text-align: center;
    }

    .profile-picture img {
      width: 150px;
      height: 150px;
    }

    .bio-text {
      padding: 1.5rem;
      font-size: 1rem;
    }

    .info-content {
      flex-direction: column;
      gap: 1rem;
      padding: 1.5rem;
    }

    .info-item {
      padding: 0.8rem 1.2rem;
      width: 100%;
      justify-content: center;
    }

    .info-icon {
      width: 1.3rem;
      height: 1.3rem;
    }

    /* Mobile section padding adjustment */
    section {
      padding: 4em 2em;
    }

    /* Mobile Timeline Styles */
    .timeline {
      padding-left: 1.5rem;
    }

    .timeline-item::before {
      left: -2rem;
    }

    .timeline-content {
      padding: 1.5rem;
    }

    .timeline-header h4 {
      font-size: 1.2rem;
    }

    .institution {
      font-size: 1rem;
    }

    /* Mobile Skills Styles */
    .skills-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .skill-category {
      padding: 1.5rem;
    }

    .skill-category h4 {
      font-size: 1.2rem;
    }

    .skill-tags {
      gap: 0.8rem;
    }

    .skill-item {
      padding: 0.6rem 1rem;
    }

    .skill-logo {
      width: 1.3rem;
      height: 1.3rem;
    }

    .skill-name {
      font-size: 0.8rem;
    }

    /* Mobile Certifications Styles */
    .certifications-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .certification-item {
      padding: 1.5rem;
    }

    .certification-header h4 {
      font-size: 1.2rem;
    }

    .certification-institution {
      font-size: 0.9rem;
    }

    .certification-date {
      font-size: 0.8rem;
    }

    .certification-details li {
      font-size: 0.9rem;
      padding-left: 1.2rem;
    }

    .view-credential-btn {
      padding: 0.7rem 1.3rem;
      font-size: 0.8rem;
    }

    /* Mobile Projects Styles */
    .projects-grid {
      gap: 1.5rem;
      margin-top: 1.5rem;
    }

    .project-item {
      padding: 1.5rem;
      flex: 1 1 100%;
      max-width: 100%;
      min-width: 100%;
    }

    .project-icon {
      margin-bottom: 1rem;
    }

    .project-icon-img {
      width: 2.5rem;
      height: 2.5rem;
    }

    .project-content h3 {
      font-size: 1.2rem;
    }

    .project-content p {
      font-size: 0.95rem;
      margin-bottom: 1.2rem;
    }

    .project-tools {
      gap: 0.4rem;
      margin-bottom: 1.2rem;
    }

    .tool-tag {
      padding: 0.3rem 0.6rem;
      font-size: 0.75rem;
    }

    .project-link {
      padding: 0.7rem 1.3rem;
      font-size: 0.8rem;
    }

    /* Mobile Project Filters */
    .project-filters {
      gap: 0.8rem;
      margin-bottom: 1.5rem;
    }

    .filter-btn {
      padding: 0.7rem 1.3rem;
      font-size: 0.8rem;
    }
  }
  
  /* Scroll Down Indicator */
  .scroll-down {
    position: absolute;
    bottom: .5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 2s both;
    z-index: 10;
  }
  
  .scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
  }
  
  .scroll-icon {
    animation: bounce 2s infinite;
  }
  
  .scroll-icon svg {
    width: 20px;
    height: 20px;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
    to {
      opacity: 0.8;
      transform: translateX(-50%) translateY(0);
    }
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* Email Container */
  .email-container {
    position: relative;
    display: inline-block;
  }
  
  /* Email Popup */
  .email-popup {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .email-popup.show {
    opacity: 1;
    visibility: visible;
  }
  
  .popup-content {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .email-text {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
  }
  
  .copy-btn {
    background: #18c4f2;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .copy-btn:hover {
    background: #15a8d1;
  }
  
  .copy-btn svg {
    width: 16px;
    height: 16px;
  }
  
  /* Dark mode for popup */
  body.dark .email-popup {
    background: #222;
  }
  
  body.dark .email-text {
    color: #f5f5f5;
  }

  /* UFO Scrollbar */
  :root {
    --scroll-direction: 0deg;
  }

  /* Hide default scrollbar */
  ::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }

  /* Custom scrollbar container */
  .custom-scrollbar {
    position: fixed;
    right: 20px;
    top: 0;
    width: 40px;
    height: 100vh;
    z-index: 10000;
    pointer-events: none;
  }

  /* Rocket scrollbar */
  .rocket-scrollbar {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
  }

  .rocket-scrollbar::before {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url('img/rocket.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
  }

  .rocket-scrollbar:hover {
    transform: scale(1.2);
  }

  /* Firefox scrollbar fallback */
  * {
    scrollbar-width: thin;
    scrollbar-color: #18c4f2 rgba(0, 0, 0, 0.1);
  }

  /* Projects Section Styles */
  .projects-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .project-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1 1 500px;
    max-width: 500px;
    min-width: 450px;
  }

  .project-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  }

  .project-icon {
    margin-bottom: 1.5rem;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  }

  .project-icon-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  }

  .project-content h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
  }

  .project-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
  }

  .tool-tag {
    background: rgba(24, 196, 242, 0.2);
    color: #18c4f2;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(24, 196, 242, 0.3);
    transition: all 0.3s ease;
  }

  .tool-tag:hover {
    background: rgba(24, 196, 242, 0.3);
    transform: translateY(-2px);
  }

  .project-links {
    display: flex;
    justify-content: center;
  }

  .project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #18c4f2;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  .project-link:hover {
    background: #15a8d1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 196, 242, 0.4);
  }

  .project-link svg {
    width: 16px;
    height: 16px;
  }

  /* Project Filters Styles */
  .project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .filter-btn {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .filter-btn:hover {
    background: rgba(24, 196, 242, 0.2);
    border-color: rgba(24, 196, 242, 0.5);
    color: white;
    transform: translateY(-2px);
  }

  .filter-btn.active {
    background: #18c4f2;
    color: white;
    border-color: #18c4f2;
    box-shadow: 0 4px 15px rgba(24, 196, 242, 0.4);
  }

  /* Project Item Filter Animation */
  .project-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .project-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    display: none !important;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  /* Know More About Me Section Styles */
  .know-more {
    padding: 4em 2em 4em 4em;
  }

  .know-more h2 {
    text-align: left;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .know-more-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .info-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

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

  .info-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  /* Currently Reading Box */
  .reading-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(24, 196, 242, 0.1) 100%);
  }

  .book-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    position: relative;
  }

  .book-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(24, 196, 242, 0.3));
    animation: floatUp 3s ease-in-out infinite;
  }

  @keyframes floatUp {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  /* My Persona Box */
  .persona-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(24, 196, 242, 0.1) 100%);
  }

  .persona-messages {
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .message-bubble {
    position: absolute;
    background: #18c4f2;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(24, 196, 242, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .message-bubble:hover {
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 0 6px 20px rgba(24, 196, 242, 0.5);
    z-index: 10;
  }

  .message-bubble:nth-child(1) {
    bottom: 80%;
    left: 5%;
  }

  .message-bubble:nth-child(2) {
    bottom: 60%;
    right: 10%;
  }

  .message-bubble:nth-child(3) {
    top: 55%;
    left: 0%;
  }

  .message-bubble:nth-child(4) {
    top: 40%;
    right: 10%;
  }

  .message-bubble:nth-child(5) {
    bottom: 20%;
    left: 40%;
    transform: translateX(-50%);
  }

  /* Currently Watching Box */
  .watching-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(24, 196, 242, 0.1) 100%);
  }

  /* Favorite Songs Box */
  .songs-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(24, 196, 242, 0.1) 100%);
    min-width: 250px;
    max-width: 300px;
  }

  .music-player {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
  }

  .player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .control-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
  }

  .control-btn:hover {
    transform: scale(1.1);
  }

  .play-btn {
    width: 50px;
    height: 50px;
    background: transparent;
  }

  .play-btn:hover {
    background: transparent;
  }

  .song-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .current-song {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }

  .next-song {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
  }

  /* Favorite Food Place Box */
  .food-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(24, 196, 242, 0.1) 100%);
    min-width: 250px;
    max-width: 300px;
  }

  .food-content {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .food-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
  }

  .food-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(24, 196, 242, 0.3));
  }

  /* Current Addiction Box */
  .addiction-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(24, 196, 242, 0.1) 100%);
    min-width: 250px;
    max-width: 300px;
  }

  .addiction-content {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .addiction-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
  }

  .addiction-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(24, 196, 242, 0.3));
  }

  .show-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    position: relative;
  }

  .show-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(24, 196, 242, 0.3));
    animation: floatUp 3s ease-in-out infinite;
    animation-delay: 1s;
  }

  /* Contact Section Styles */
  .contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
  }

  .contact-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .contact-header h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .contact-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .contact-header a {
    color: #18c4f2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .contact-header a:hover {
    color: #15a8d1;
    text-decoration: underline;
  }

  .contact-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
  }

  .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

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

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #18c4f2;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(24, 196, 242, 0.2);
  }

  .form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
  }

  .send-message-btn {
    background: #18c4f2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
  }

  .send-message-btn:hover {
    background: #15a8d1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 196, 242, 0.4);
  }

  .send-message-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Netlify Forms Honeypot */
  .hidden {
    display: none;
  }

  /* Form Submission States */
  .contact-form.submitting .send-message-btn {
    opacity: 0.7;
    cursor: not-allowed;
  }

  .contact-form.submitting .send-message-btn span {
    content: "Sending...";
  }

  .contact-form.success .send-message-btn {
    background: #28a745;
  }

  .contact-form.error .send-message-btn {
    background: #dc3545;
  }

  /* Mobile Responsive for Know More Section */
  @media (max-width: 768px) {
    .know-more {
      padding: 2rem 1rem;
    }

    .know-more h2 {
      font-size: 2rem;
      margin-bottom: 2rem;
    }

    .know-more-content {
      gap: 1.5rem;
    }

    .info-box {
      min-width: 280px;
      max-width: 100%;
      padding: 1.5rem;
    }

    .info-box h3 {
      font-size: 1.3rem;
    }

    .book-image,
    .show-image {
      width: 150px;
      height: 150px;
    }

    .control-btn {
      width: 35px;
      height: 35px;
    }

    .play-btn {
      width: 45px;
      height: 45px;
    }

    .current-song {
      font-size: 0.9rem;
    }

    .next-song {
      font-size: 0.8rem;
    }

    .food-text {
      font-size: 1.1rem;
    }

    .songs-box,
    .food-box {
      min-width: 280px;
      max-width: 100%;
    }

    .food-image {
      width: 60px;
      height: 60px;
    }

    .persona-messages {
      height: 180px;
    }

    .message-bubble {
      font-size: 0.8rem;
      padding: 0.6rem 1rem;
    }

    /* Mobile Contact Form Styles */
    .contact-content {
      padding: 1rem 0;
    }

    .contact-header h3 {
      font-size: 1.5rem;
    }

    .contact-header p {
      font-size: 1rem;
    }

    .contact-form {
      padding: 1.5rem;
    }

    .form-row {
      flex-direction: column;
      gap: 0;
    }

    .send-message-btn {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
    }
  }
