/********** Template CSS **********/
:root {
  --primary: #00B87B;
  --secondary: #314355;
  --light: #F2F2F2;
  --dark: #2C3E50;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-lg-top.vh-100 {
    height: 100% !important;
  }
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.btn-square {
  width: 40px;
  height: 40px;
}

.btn-sm-square {
  width: 30px;
  height: 30px;
}

.btn-lg-square {
  width: 50px;
  height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.typed-cursor {
  font-size: 25px;
  color: var(--light);
}

.back-to-top {
  position: fixed;
  display: none;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1;
  font-size: 30px;
  right: 30px;
  bottom: 30px;
  transition: background 0.5s;
  z-index: 11;
  border-radius: 50%;
  
}

.back-to-top i {
  color: var(--primary);
  border-radius: 50%;
}

.back-to-top:hover {
  background-color: #ffffff20 ;
}

.back-to-top {
  -webkit-animation: action 1s infinite alternate;
  animation: action 1s infinite alternate;
}

@-webkit-keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

@keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

.title {
  position: relative;
}

.title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 0;
  border: 2px solid var(--light);
  border-radius: 10px;
}

.title::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 15px;
  border-radius: 2px;
  background: var(--light);
}

.progress {
  height: 5px;
}

.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

.service-item {
  padding: 30px;
  text-align: center;
  background: var(--secondary);
}

.service-item i {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  transition: .5s;
}

.service-item:hover i {
  background: var(--primary);
  color: var(--light);
}

.portfolio-item .portfolio-btn {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  font-size: 90px;
  background: rgba(44, 62, 80, .9);
  opacity: 0;
  transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  top: 30px;
  left: 30px;
}

.portfolio-item i {
  opacity: 0;
  transition: .3s;
  transition-delay: .3s;
}

.portfolio-item:hover i {
  opacity: 1;
}

/*...skills start...*/
/* Skills Section */
.skills-section {
  text-align: center;
  padding: 50px 20px;
}

/* Skill Box */
.skill-box {
  padding: 15px;
  margin: 10px;
  border-radius: 12px;
  width: 110px;
  height: 100px;
  text-align: center;
  font-weight: bold;
  color: white;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  /* Glassy Effect */
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255,);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.1);
  
  /* Floating Animation */
  animation: floatAnimation 3s ease-in-out infinite;
}

/* Vibrant Colors for Text */
.python { color: #FFD43B; }
.java { color: #F89820; }
.cpp { color: #00599C; }
.html { color: #E34F26; }
.css { color: #1572B6; }
.wordpress { color: #21759B; }
.scss { color: #C76494; }
.salesforce { color: #00A1E0; }
.figma { color: #0ACF83; }
.git { color: #F1502F; }
.github { color: #181717; }
.vscode { color: #007ACC; }
.ccai { color: #FFD700; }
.office { color: #D83B01; }

/* Skill Icon */
.skill-icon {
  font-size: 40px;
  margin: 15px 0 5px 0;
  display: block;
}

/* Floating Animation */
@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0px); }
}

/* Hover Effect */
.skill-box:hover {
  transform: scale(1.05);
  box-shadow: 0px 1px 10px rgba(255, 255, 255, 0.3);
}



/*...skills end...*/
