:root {
  --primary-color: #4361ee;
  --secondary-color: #3a0ca3;
  --accent-color: #f72585;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #495057;
  --text-light: #6c757d;
  --success-color: #4cc9f0;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fefefe;
  overflow-x: hidden;
}
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
  /* loader */
  #page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .loader-content {
    text-align: center;
    animation: bounce 1.5s infinite;
  }

  .loader-content img {
    width: 120px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
  }

  #typewriter-text {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #333;
    width: 0;
    margin: 0 auto;
    animation: typing 2s steps(25, end) forwards, blink 0.8s step-end infinite;
  }

  @keyframes typing {
    from { width: 0 }
    to { width: 230px }
  }

  @keyframes blink {
    50% { border-color: transparent }
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-10px) }
  }
/* Hero Section */
.hero-section {
  background: linear-gradient(145deg, rgba(67, 97, 238, 0.9) 0%, rgba(58, 12, 163, 0.9) 100%), 
              url('kumar.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 150px 0 100px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.profile-image:hover {
  transform: scale(1.05) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
}

/* Section Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  color: var(--dark-color);
  font-size: 2.5rem;
  font-weight: 700;
}

.section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* Experience Cards */
.experience-container {
  position: relative;
}

.experience-timeline {
  position: relative;
  padding-left: 30px;
}

.experience-timeline:before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.current-role {
  position: relative;
  border-left: 4px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.current-badge {
  position: absolute;
  top: 29px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
  z-index: 2;
}

.experience-card {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-card:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.experience-card .text-muted {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: block;
  font-size: 0.9rem;
}

.experience-card ul {
  padding-left: 20px;
}

.experience-card ul li {
  margin-bottom: 0.8rem;
  position: relative;
  list-style-type: none;
  padding-left: 25px;
}

.experience-card ul li:before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
  line-height: 1;
}

/* Skills */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.skill-item {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-category {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.skill-category i {
  margin-right: 10px;
  color: var(--primary-color);
}

.skill-progress {
  margin-bottom: 1.5rem;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.skill-bar {
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  position: relative;
  overflow: hidden;
}

.skill-level:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
              rgba(255, 255, 255, 0.1) 0%, 
              rgba(255, 255, 255, 0.3) 50%, 
              rgba(255, 255, 255, 0.1) 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: block;
  text-decoration: none;
}

.whatsapp-container {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.whatsapp-float i {
  font-size: 36px;
  color: white;
  z-index: 2;
  transition: all 0.3s ease;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.2);
  z-index: 1;
  transition: all 0.3s ease;
}

.whatsapp-float::before {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::after {
  /* width: 60px;
  height: 60px; */
  /* background: #25D366; */
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: #075E54;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  transform: scale(0.5);
  animation: pulse 2s infinite;
}

/* Hover Effects */
.whatsapp-float:hover::before {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover::after {
  transform: scale(0.9);
}

.whatsapp-float:hover i {
  transform: rotate(15deg) scale(1.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  right: 85px;
}
/* popup */
/* Crazy popup style */
    .popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.7);
      background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
      color: white;
      padding: 30px;
      border-radius: 20px;
      text-align: center;
      z-index: 1000;
      animation: popup-bounce 0.5s ease forwards;
      font-family: 'Poppins', cursive;
      box-shadow: 0 0 20px rgba(0,0,0,0.3);
    }

    @keyframes popup-bounce {
      0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
      100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    }

    .popup.show {
      display: block;
    }

    .popup h4 {
      font-size: 24px;
      margin-bottom: 10px;
    }

    .popup p {
      font-size: 18px;
      margin: 0;
    }
    /* learning */
    
/* Animations */
@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-container {
    width: 60px;
    height: 60px;
  }
  
  .whatsapp-float::before {
    width: 60px;
    height: 60px;
  }
  
  .whatsapp-float::after {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float i {
    font-size: 30px;
  }
  
  .whatsapp-tooltip {
    font-size: 12px;
    padding: 8px 15px;
    right: 70px;
  }
  
  .whatsapp-float:hover .whatsapp-tooltip {
    right: 75px;
  }
}
/* learning */

    .learning-button {
      font-family: "Poppins", sans-serif;
      font-weight: 500;
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: var(--primary-color);
      color: white;
      padding: 14px 30px;
      font-size: 18px;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.4s ease;
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
      overflow: hidden;
    }

    .learning-button::after {
      content: '>>';
      position: absolute;
      right: 20px;
      opacity: 0;
      transition: right 0.3s ease, opacity 0.3s ease;
    }

    .learning-button:hover {
      background-color: var(--secondary-color);
      padding-right: 45px;
    }

    .learning-button:hover::after {
      right: 15px;
      opacity: 1;
    }

    .learning-button:active {
      transform: scale(0.96);
    }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 120px 0 80px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
  
  .skills-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .section-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
 
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .experience-card {
    padding: 20px;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
}