* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
  background: linear-gradient(135deg, #0a0a2a 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  justify-content: flex-start; 
  align-items: center;

  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  position: relative;

  padding-top: 40px;   
}


    /* Animated Background Particles */
    body::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
      z-index: -2;
      animation: pulse 8s ease-in-out infinite alternate;
    }

    @keyframes pulse {
      0% { opacity: 0.3; }
      100% { opacity: 0.7; }
    }

    /* Header Styling */
    .header {
      text-align: center;
      margin-bottom: 20px;
      z-index: 10;
    }

    .header h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: 3.5rem;
      background: linear-gradient(90deg, #00dbde, #fc00ff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 10px;
      letter-spacing: 2px;
      text-shadow: 0 0 30px rgba(0, 219, 222, 0.3);
      animation: glow 2s ease-in-out infinite alternate;
    }

    @keyframes glow {
      from { text-shadow: 0 0 20px rgba(0, 219, 222, 0.5); }
      to { text-shadow: 0 0 40px rgba(252, 0, 255, 0.8); }
    }

    .header p {
      color: #a0a0d0;
      font-size: 1.2rem;
      max-width: 600px;
      line-height: 1.6;
    }

    /* ===== ADVANCED 3D SCENE ===== */
    .scene {
  width: 420px;
  height: 520px;      
  perspective: 1500px;
  margin-bottom: 40px; 
}


    /* Floating Animation */
    .scene::after {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      z-index: -1;
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translate(-50%, -50%) scale(1); }
      50% { transform: translate(-50%, -50%) scale(1.1); }
    }

    /* ===== CAROUSEL ===== */
    .carousel {
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);

      transform: rotateY(0deg);
      will-change: transform;

      
  
    }

    /* ===== PRO-LEVEL CARD DESIGN ===== */
   .card {
  position: absolute;

  width: 300px;
  height: 420px;          /* BETTER HEIGHT FOR IMAGES */

  left: 50%;
  top: 50%;
  transform-origin: center;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));

  backdrop-filter: blur(15px);

  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  flex-direction: column;

  justify-content: flex-start;   /* IMPORTANT */
  align-items: center;

  padding: 12px;                 /* LESS PADDING */

  /* transition: all 0.5s ease; */
  
   transition: transform 0.6s ease, 
              box-shadow 0.4s ease,
              border-color 0.4s ease;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);

  overflow: hidden;
  cursor: pointer;
    pointer-events: auto;
  backface-visibility: visible;
     z-index: 5;
}


    /* Card Glow Effect */
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      transition: 0.8s;
    }

    .card:hover::before {
      left: 100%;
    }

    /* Card Number Badge */
    .card-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, #00dbde, #fc00ff);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.2rem;
      box-shadow: 0 5px 15px rgba(0, 219, 222, 0.4);
      backface-visibility: visible;
      transform-style: preserve-3d;
       /* transform: rotateY(calc(var(--ry) * -1)); */
    }

    /* Card Icon */
    .card-icon {
      font-size: 4rem;
      margin: 20px 0;
      background: linear-gradient(135deg, #00dbde, #fc00ff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      filter: drop-shadow(0 5px 15px rgba(0, 219, 222, 0.3));
    }

    /* Card Content */
    .card-title {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 15px;
      text-align: center;
      background: linear-gradient(90deg, #fff, #a0a0d0);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .card-desc {
      text-align: center;
      color: #b0b0e0;
      font-size: 0.95rem;
      line-height: 1.5;
      margin-bottom: 25px;
      flex-grow: 1;
    }

    /* Card Stats */
    .card-stats {
      display: flex;
      justify-content: space-around;
      width: 100%;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat {
      text-align: center;
    }

    .stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(90deg, #00dbde, #fc00ff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .stat-label {
      font-size: 0.8rem;
      color: #a0a0d0;
      margin-top: 5px;
    }

    /* ===== 3D POSITIONING WITH DEPTH ===== */
    .card:nth-child(1) {
  --ry: 0deg;
  transform: translate(-50%, -50%) rotateY(var(--ry)) translateZ(420px);
  --color: rgba(0, 219, 222, 0.3);
}

.card:nth-child(2) {
  --ry: 120deg;
  transform: translate(-50%, -50%) rotateY(var(--ry)) translateZ(420px);
  --color: rgba(252, 0, 255, 0.3);
}

.card:nth-child(3) {
  --ry: 240deg;
  transform: translate(-50%, -50%) rotateY(var(--ry)) translateZ(420px);
  --color: rgba(255, 204, 0, 0.3);
}




    /* ===== ENHANCED HOVER EFFECT ===== */
 
    .card:hover {
  transform: translate(-50%, -50%)
             rotateY(var(--ry))
             translateZ(460px)
             translateY(-10px)
             scale(1.05);

  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 255, 255, 0.15);

  border-color: rgba(255, 255, 255, 0.2);
}



    /* ===== CONTROL PANEL ===== */
    .controls {
  display: flex;
  gap: 30px;
  margin-top: 0;   /* MORE SPACE FROM CARD */
  margin-bottom: 20px;
  align-items: center;
}


    .nav-btn {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, #00dbde, #fc00ff);
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(0, 219, 222, 0.4);
    }

    .nav-btn:hover {
      transform: scale(1.15) rotate(15deg);
      box-shadow: 0 15px 40px rgba(252, 0, 255, 0.6);
    }

    .nav-btn:active {
      transform: scale(0.95);
    }

    .counter {
      color: white;
      font-family: 'Orbitron', sans-serif;
      font-size: 1.5rem;
      min-width: 100px;
      text-align: center;
      background: rgba(255, 255, 255, 0.05);
      padding: 12px 24px;
      border-radius: 30px;
      backdrop-filter: blur(5px);
      margin-top: 10px;
      margin-bottom: 10px;
    }

    /* ===== INDICATORS ===== */
    .indicators {
      display: flex;
      gap: 15px;
      margin-top: 5px;
    }

    .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .indicator.active {
      background: linear-gradient(135deg, #00dbde, #fc00ff);
      transform: scale(1.3);
      box-shadow: 0 0 15px rgba(0, 219, 222, 0.7);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      .scene {
        width: 320px;
        height: 320px;
        perspective: 1800px;
      }
      
      .card {
        width: 240px;
        height: 320px;
        padding: 20px;
      }
      
      .card:nth-child(1),
      .card:nth-child(2),
      .card:nth-child(3) {
        transform: translate(-50%, -50%) rotateY(var(--ry)) translateZ(240px);
      }
      
      .header h1 {
        font-size: 2.5rem;
      }
    }

    /* ===== FOOTER ===== */
    .footer {
      margin-top: 50px;
      color: #a0a0d0;
      text-align: center;
      font-size: 0.9rem;
    }

    .footer a {
      color: #00dbde;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer a:hover {
      color: #fc00ff;
      text-decoration: underline;
    }


    /* ===== IMAGE BOX STYLING ===== */

/* ===== BETTER IMAGE STYLE FOR CARDS ===== */

.image-box {
  width: 100%;
  height: 100%;          /* FILL CARD COMPLETELY */

  margin: 0;

  border-radius: 16px;

  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}


.image-box img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ===== GITHUB LINK BOX ===== */
.github-box {
  margin-top: 25px;
  margin-bottom: 30px;    /* NEW SPACE ADDED */

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 30px;

  backdrop-filter: blur(10px);

  transition: all 0.3s ease;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.github-box i {
  font-size: 22px;
  color: #00dbde;      /* CHANGED FROM PINK TO CYAN */
}

.github-box a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Hover Effect - PROFESSIONAL COLOR */

.github-box:hover {
  transform: translateY(-3px);

  background: rgba(255, 255, 255, 0.12);

  box-shadow: 0 0 20px rgba(0, 219, 222, 0.4);   /* CYAN SHADOW */
}

.github-box:hover a {
  color: #00dbde;
}

/* ===== PRO LEVEL FOOTER DESIGN ===== */

/* ===== CLEAN PROFESSIONAL FOOTER DESIGN ===== */

.footer {
  margin-top: 30px;
  margin-bottom: 20px;

  padding: 12px 22px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 30px;

  backdrop-filter: blur(8px);

  text-align: center;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

  transition: all 0.3s ease;
}

.footer p {
  font-size: 0.95rem;
  color: #c5cde8;        /* SHARP VISIBLE TEXT */

  letter-spacing: 0.5px;
  word-spacing: 1px;

  margin: 0;
}

/* Name Highlight – CLEAN NOT ROBOTIC */

.footer-name {
  color: #00dbde;        /* CYAN – MATCHES THEME */
  font-weight: 600;
  letter-spacing: 1px;
}

/* Subtle Hover – NO NOISY SHADOW */

.footer:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
/* Smooth movement ke liye wrapper */
.github-wrapper {
  margin-top: 20px;
  margin-bottom: 10px;

  display: flex;
  justify-content: center;

  transition: transform 0.4s ease;
}

.github-wrapper.hover-move {
  transform: translateY(-30px);
}





