/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Fira Code', monospace;
    background: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  
  /* Particle Background */
  #particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
  }
  
  /* Theme Toggle */
  .theme-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
  }
  
  #themeToggle {
    transition: transform 0.3s;
  }
  
  #themeToggle:hover {
    transform: scale(1.2);
  }
  
  /* Menu Button */
  .menu-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--text-color);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    z-index: 1001;
    display: inline-block;
    white-space: nowrap;
  }
  
  .menu-btn:hover {
    background: var(--hover-fill);
    color: var(--bg-color);
  }
  
  /* Main Content */
  main.content {
    padding: 6rem 2rem 4rem;
  }
  
  /* Resume Card */
  .resume-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100px);
  }
  
  
  .resume-card:hover {
    box-shadow: 0 0 20px #00ffe1, 0 0 40px rgba(0, 255, 204, 0.3);
    transform: translateY(-5px);
  }
  
  .resume-card h1 {
    font-size: 2.2rem;
    color: var(--highlight-color);
    text-shadow: 0 0 8px #00ffe1;
    margin-bottom: 2rem;
  }
  
  /* Resume Image */
 
  
  .resume-image:hover {
    box-shadow: 0 0 20px #00ffe1, 0 0 30px rgba(0, 255, 204, 0.25);
    transform: scale(1.01);
  }
  
  /* Download Button */
  .download-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    background: var(--highlight-color);
    color: var(--bg-color);
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .download-btn:hover {
    background: var(--hover-fill);
    color: var(--bg-color);
  }
  
  /* Scroll To Top Button */
  #scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--highlight-color);
    color: var(--bg-color);
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1001;
  }
  
  #scrollTopBtn:hover {
    background: var(--hover-fill);
    color: var(--bg-color);
  }
  
  /* Fade-In Animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
 
  }
  .flip-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }
  
  .flip-card {
    width: 90%;
    max-width: 800px;
    height: auto;
    position: relative;
  }
  
  .flip-card-inner {
    transition: transform 0.8s;
    transform-style: preserve-3d;
    position: relative;
  }
  
  .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  }
  
  .flip-card-front {
    background: var(--glass-bg);
  }
  
  .flip-card-back {
    background: var(--glass-bg);
    transform: rotateY(180deg);
  }
  
  .highlight {
    color: var(--accent-color);
  }
  
  .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .skills-list li {
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: background 0.3s;
  }
  
  .skills-list li:hover {
    background: var(--accent-color);
    color: #fff;
  }
  
  .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }
  
  button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    background: var(--accent-color);
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  button:hover {
    transform: scale(1.05);
  }
  /* Flipbook Styles */
.flipbook-wrapper {
  perspective: 1500px;
  width: 100%;
  max-width: 850px;
  margin: 2rem auto;
  position: relative;
}

.flip-inner {
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
  position: relative;
  min-height: 90vh;
}

.resume-page {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: var(--glass-bg);
  animation: flipIn 0.6s ease;
}

.resume-page img.resume-image {
  display: block;
  width: 100%;
  height: 90%;
  border-radius: 0;
}
.resume-card {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: 2.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 255, 204, 0.15);
  text-align: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden; /* add this */
}

@media (max-width: 768px) {
  .resume-card {
    width: 95%;
    padding: 1rem;
  }
}
.resume-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* fill screen vertically */
  padding: 1rem;
}

.front {
  z-index: 2;
}

.back {
  transform: rotateY(180deg);
}

.flipbook-wrapper.flipped .flip-inner {
  transform: rotateY(180deg);
}

@keyframes flipIn {
  from { transform: rotateY(-20deg); opacity: 0; }
  to { transform: rotateY(0deg); opacity: 1; }
}

.flip-btn, .download-btn {
  margin: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 10px;
  background: var(--accent-color, #007bff);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.flip-btn:hover, .download-btn:hover {
  background: var(--accent-color-hover, #0056b3);
}

.footer-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 1rem;
}


