:root {
        --font-home: 'Brush Script MT', Brush Script Std, cursive;
        scroll-behavior: smooth; /* Native CSS smooth scroll */
        scroll-padding-top: 100px; /* Adjust this value to match your header height */
      }

      body{
        background-image: url(assets/new_bc_7.jpg);
        background-size: cover;
      }
      /*  */

      section{
        opacity: 0;
        transform:translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }
       section.visible{
        opacity: 1;
        transform:translateY(0);
       }

        .cursor {
            display: inline-block;
            width: 3px;
            height: 2rem;
            background-color: #333;
            animation: blink 1s infinite;
            margin-left: 4px;
            vertical-align: middle;
        }

         @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0; }
            100% { opacity: 1; }
        }

        .header nav ul li a span:hover {
          cursor: pointer;
          border-bottom: indigo solid 2px;
          transition: color 0.2s;
        }
        .button:hover {
          background-color: indigo;
          transition: width 0.3s;
        }
        .pcont:hover{
          transform: scale(1.05);
          transition: transform 0.3s;
        }
        video{
          width:100%;
          height: auto;
          object-fit:cover;
          border-radius: 10px;
        }

        .cap-bar{
          width: 100%;
          height:20px;
          background-color: #e0e0e0;
          border-radius: 10px;
          margin-bottom: 10px;
          overflow:hidden;
        }

        .cap-fill{
          height:100%;
          width: 0%;
          border-radius: 10px;
          transition: width 0.5s ease-in-out;
        }
        .cap-label{
          display: flex;
          justify-content:space-between;
        }
         .neon-pulse {
            border: 3px solid #00ffff;
            box-shadow: 
                0 0 10px #00ffff,
                0 0 20px #00ffff,
                0 0 30px #00ffff,
                inset 0 0 10px rgba(0, 255, 255, 0.1);
            animation: neonPulse 3.5s ease-in-out infinite;
        }

       @keyframes neonPulse {
    0% {
        border-color: #00ffff;
        box-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            inset 0 0 10px rgba(0, 255, 255, 0.1);
    }
    25% {
        border-color: #ff0080;
        box-shadow: 
            0 0 15px #ff0080,
            0 0 30px #ff0080,
            0 0 45px #ff0080,
            inset 0 0 15px rgba(255, 0, 128, 0.2);
    }
    50% {
        border-color: #ffff00;
        box-shadow: 
            0 0 15px #ffff00,
            0 0 30px #ffff00,
            0 0 45px #ffff00,
            inset 0 0 15px rgba(255, 255, 0, 0.2);
    }
    75% {
        border-color: #00ff00;
        box-shadow: 
            0 0 15px #00ff00,
            0 0 30px #00ff00,
            0 0 45px #00ff00,
            inset 0 0 15px rgba(0, 255, 0, 0.2);
    }
    100% {
        border-color: #00ffff;
        box-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            inset 0 0 10px rgba(0, 255, 255, 0.1);
    }
}

     .neon-pulse-two {
            border: 3px solid #00ffff;
            box-shadow: 
                0 0 10px #00ffff,
                0 0 20px #00ffff,
                0 0 30px #00ffff,
                inset 0 0 10px rgba(0, 255, 255, 0.1);
            animation: neonPulseTwo 2.5s ease-in-out infinite;
        }

       @keyframes neonPulseTwo {
    0% {
      border-color: #ff0080;
        box-shadow: 
            0 0 15px #ff0080,
            0 0 30px #ff0080,
            0 0 45px #ff0080,
            inset 0 0 15px rgba(255, 0, 128, 0.2);     
    }
    25% {
        /*  */
        border-color: #00ffff;
        box-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            inset 0 0 10px rgba(0, 255, 255, 0.1);
            
    }
    50% {
        border-color: #ffff00;
        box-shadow: 
            0 0 15px #ffff00,
            0 0 30px #ffff00,
            0 0 45px #ffff00,
            inset 0 0 15px rgba(255, 255, 0, 0.2);
    }
    75% {
        border-color: #00ffff;
        box-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            inset 0 0 10px rgba(0, 255, 255, 0.1);
    }
    100% {
        border-color: #00ff00;
        box-shadow: 
            0 0 15px #00ff00,
            0 0 30px #00ff00,
            0 0 45px #00ff00,
            inset 0 0 15px rgba(0, 255, 0, 0.2);
    }
}

       


        /* About Section Styling */
        /* Animated Border Styles */
/* Animated Border Only */
#optimized {
  position: relative;
  border: 2px solid transparent;
}

/* Animated gradient border */
#optimized::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, 
    #ff6b6b, 
    #4ecdc4, 
    #45b7d1, 
    #f7b731, 
    #5f27cd, 
    #ff9ff3,
    #54a0ff,
    #ff6b6b
  );
  background-size: 300% 300%;
  border-radius: 2rem;
  z-index: -1;
  animation: borderRotate 6s linear infinite;
}

@keyframes borderRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



/* Certification Card */
.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.5);
}

/* Image Container */
.cert-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.cert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-image {
  transform: scale(1.1);
}

/* Overlay */
.cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay {
  opacity: 1;
}

/* View Button */
.view-btn {
  background: white;
  color: #667eea;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.cert-card:hover .view-btn {
  transform: translateY(0);
  opacity: 1;
}

.view-btn:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* Certificate Info */
.cert-info {
  text-align: center;
  padding: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cert-card {
    padding: 0.75rem;
  }
}

/* download CV section */

/* Animated Border Styles */
#cvsection {
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Rotating gradient border */
#cvsection::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, 
    #ff6b6b, 
    #feca57, 
    #48dbfb, 
    #ff9ff3, 
    #54a0ff, 
    #5f27cd,
    #00d2d3,
    #ff6b6b
  );
  background-size: 400% 400%;
  border-radius: 0.5rem;
  z-index: -1;
  animation: rotateBorder 4s linear infinite;
}

/* Alternative: Glowing pulse border */
#cvsection::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #f59e0b);
  border-radius: 0.5rem;
  z-index: -2;
  filter: blur(10px);
  opacity: 0.7;
  animation: pulse 2s ease-in-out infinite;
}

/* Border rotation animation */
@keyframes rotateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Pulse glow animation */
@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

/* Contact Section Border Animation */
#contact {
  position: relative;
  border: 2px solid transparent;
}



/* Form Styles */
.contact-form {
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Input Group */
.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

/* Input Fields */
.input-field {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-field:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  transform: translateY(-2px);
}

.input-field:focus + .input-border {
  transform: scaleX(1);
}

.input-group:focus-within .input-label {
  color: #f093fb;
}

/* Animated Bottom Border */
.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f093fb, #f5576c, #feca57);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

/* Textarea Specific */
.textarea-field {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

/* Submit Button */
.submit-btn {
  position: relative;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border: none;
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Focus States for Accessibility */
.input-field:focus-visible,
.submit-btn:focus-visible {
  outline: 2px solid #f093fb;
  outline-offset: 2px;
}

/* Animation classes for the modal */
#thankYouModal.show {
    display: flex;
}

#thankYouModal.show #modalContent {
    transform: scale(1);
    opacity: 1;
}

 .github-stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

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