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

body {
  background-color: #000000;
}

#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;
}

.back-to-top i {
  color: var(--primary);
}

.back-to-top i:hover {
  color: var(--dark);
}

.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;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--light);
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
}

.accordion .card {
  background-color: #1d1d2af0;
}

.accordion .card .card-header {
  background-color: #29294b;
}

.accordion .card .btn-link {
  width: 100%;
  text-align: left;
  padding: 0;
}

.badge-featured {
    float: right;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #59d2fe, #0d9ed2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.accordion .card .btn-link:hover,
.accordion .card .btn-link:focus {
  box-shadow: none;
  border: 1px solid transparent;
  color: #fff;
}

/* Accordion Arrow Animation */
.accordion .card-header button .fa-chevron-down {
  transition: transform 0.3s ease;
}

.accordion .card-header button:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
}

.gotoproject {
  text-align: center;
  margin: 40px 0;
}

.project-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #00B87B;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 184, 123, 0.4);
  position: relative;
  overflow: hidden;
}

.project-btn:hover {
  background-color: #04855a;
  /* darker shade for hover */
  color: #fff;
  /* keep text white for contrast */
  box-shadow: 0 6px 18px rgba(1, 129, 86, 0.6);
  transition: .3s ease;
}

/*  tech stack */

.tech-stack-section {
  color: #fff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 5px;
  max-width: 900px;
  margin: auto;
}

.tech-card {
  background: #1e293b;
  padding: 10px 3px;
  text-align: center;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-card i {
  font-size: 32px;
  margin-bottom: 10px;
  color: #38bdf8;
}

.tech-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* Hover Effect */
.tech-card:hover {
  transform: translateY(-6px) scale(1.05);
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
}

.tech-card:hover i {
  color: #fff;
}

/* Individual Tech Colors */

.tech-card .fa-html5 {
  color: #e34f26;
}

.tech-card .fa-css3-alt {
  color: #1572b6;
}

.tech-card .fa-sass {
  color: #cc6699;
}

.tech-card .fa-bootstrap {
  color: #7952b3;
}

.tech-card .fa-js {
  color: #f7df1e;
}

.tech-card .fa-angular {
  color: #dd0031;
}

.tech-card .fa-server {
  color: #512bd4;
  /* ASP.NET */
}

.tech-card .fa-file-alt {
  color: #ff9800;
  /* RDLC (approx report color) */
}

.tech-card .fa-database {
  color: #cc2927;
  /* MS SQL */
}