:root {
  --text-color: #ffffff;
  --bg-color: #252627;
  --main-color: #d4af37; /* Papaya Orange */
  --other-color: #00a0b0; /* Light Blue */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  top: 100px;
  left: 0;
  margin-left: 10px;
  height: 430px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  width: 200px;
  background-color: var(--bg-color);
  padding-top: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  overflow: visible;
  z-index: 1000;
}

.sidebar .nav-link {
  color: var(--text-color);
  padding: 10px 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
  color: var(--main-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  color: #d4af37;
  background-color: rgba(245, 128, 32, 0.2);
  font-weight: 600;
  border-left: 4px solid #d4af37;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-200px);
  }
  .sidebar.active {
    transform: translateX(0);
  }
}

.toggler {
  display: none;
}

.resume {
  margin-left: 250px;
  padding: 60px 40px;
}

.resume img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #d4af37;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.resume-left {
  background-color: rgba(255, 255, 255, 0.05);
}

.resume .col-md-8 .exp {
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
}

.resume .col-md-8 .exp::before {
  content: "•";
  position: absolute;
  left: -2px;
  top: -2px;
  color: #fff;
  font-size: 3em;
}

.resume .col-md-8 .exp::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background-color: #ffffff8c;
}

@media (max-width: 768px) {
  .toggler {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    color: var(--text-color);
    font-size: 2.5rem;
  }

  .sidebar {
    transform: translateX(-240px);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .hero {
    margin-left: 0;
    padding: 0 15px;
    height: auto;
    display: block;
  }
  .hero .scroll-text {
    display: none;
  }
  .hero .developer-text {
    margin: 30px;
  }
  .resume,
  .portfolio,
  .services-section,
  .testimonial,
  .contact-section {
    margin-left: 0 !important;
    padding: 20px 15px;
  }

  .resume .resume-right,
  .portfolio .album,
  .services-section .container,
  .testimonial .container,
  .contact-section .container {
    text-align: left;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .resume .row,
  .portfolio .row,
  .services-section .row,
  .testimonial .row,
  .contact-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .resume-left {
    text-align: center;
    padding: 15px;
  }
  .resume-left img {
    margin: 0 auto;
  }

  .portfolio .album .card {
    margin: 0 auto;
  }

  .testimonial .carousel {
    text-align: center;
  }
  .testimonial .carousel-inner .quote-wrapper {
    padding: 0 10px;
  }

  .contact-section .contact-info,
  .contact-section .contact-form {
    margin: 0 auto;
    padding: 15px;
  }
}

.hero {
  /* background-color: #1a1a1a; */
  color: #fff;
  height: 100vh;
  margin-left: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
  position: relative;
}
.hero .top-text {
  font-size: 0.9rem;
}
.hero .line {
  width: 157px;
  height: 3px;
  background-color: #d4af37;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
}
.hero .developer-text {
  font-size: 0.9rem;
  margin-left: 130px;
  color: #d4af37;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.hero .scroll-text {
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: #ccc;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.btn-custom {
  background-color: var(--main-color);
  color: var(--bg-color);
  border: none;
  padding: 10px 20px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: var(--other-color);
  color: var(--text-color);
  box-shadow: 0 0 10px var(--other-color);
}

.btn-outline-custom {
  color: var(--main-color);
  border-color: var(--main-color);
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
}

.social-icons a {
  color: var(--text-color);
  margin-right: 10px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--main-color);
}

.heading {
  background-color: var(--other-color);
  width: 130px;
  padding: 4px;
}

.stats {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
}

.stats p {
  margin: 0;
  color: var(--main-color);
  font-weight: 600;
}

.stats span {
  color: var(--text-color);
  font-size: 0.9rem;
}

.hr {
  margin-left: 270px;
  margin-right: 20px;
  margin-top: 50px;
}

.resume {
  margin-left: 250px;
  padding: 60px 40px;
}

/* .resume img{            
            width: 150px;
            height: 150px; 
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid #d4af37;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .resume-left{
            background-color: rgba(255, 255, 255, 0.05);

        }
        .resume .col-md-8 .exp {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.resume .col-md-8 .exp::before {
    content: "•";
    position: absolute;
    left: -2px;
    top: -2px;
    color: #fff;
    font-size: 3em;
}

.resume .col-md-8 .exp::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: #ffffff8c;
} */

.slide-in-left,
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease-out;
}

.slide-in-left {
  transform: translateX(-100px);
}

.inview.slide-in-left,
.inview.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.custom-bullets {
  list-style-type: disc;
  padding-left: 20px;
}

.custom-bullets li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.portfolio {
  margin-left: 250px;
  padding: 60px 40px;
}

/* .portfolio .col:hover{
            transform: translateY(0) scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.5s ease-in-out;
        } */

.portfolio .col {
  transition: transform 0.8s ease; /* smoother entry and exit */
}

.portfolio .col:hover {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skills-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding-top: 10px;
  padding-bottom: 15px;
  width: 280px;
  margin-left: 20px;
}

.animate-up .line {
  width: 60px;
  height: 2px;
  margin-left: 20px;
  margin-right: 20px;
  background-color: #d4af37;
  display: inline-block;
  vertical-align: middle;
}

.custom-progress {
  background-color: #d4af37 !important;
  width: 0%;
  transition: width 2s ease;
  color: black;
  font-weight: bold;
  text-align: center;
  font-size: 12px;
}

.progress {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skills-card.fade-in {
  opacity: 0;
  transform: translateY(50px) scale(1);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.skills-card.in-view.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skills-card.in-view.fade-in:hover {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animate-up,
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.in-view.animate-up {
  opacity: 1;
  transform: translateY(0);
}

.in-view.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-up,
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.in-view.animate-up,
.in-view.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Services */
.services-section {
  padding: 30px 0;
  margin-left: 240px;
}

.services-section .card {
  background-color: var(--bg-color);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .card:hover {
  transform: translateY(-5px);
}

.services-section .card-title {
  color: var(--text-color);
  font-size: 1.25rem;
}

.services-section .card p {
  color: var(--text-color);
  font-size: 0.95rem;
}
ul {
  list-style-type: none;
}
a,
a:hover {
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 16px;
  font-weight: 300;
  line-height: 23px;
  font-family: "Poppins", sans-serif;
}
ul {
  list-style-type: none;
}
a,
a:hover {
  text-decoration: none;
}

.testimonial {
  padding: 100px 0;
  margin-left: 250px;
  .row {
    .tabs {
      all: unset;
      margin-right: 50px;
      display: flex;
      flex-direction: column;
      li {
        all: unset;
        display: block;
        position: relative;
        &.active {
          &::before {
            position: absolute;
            content: "";
            width: 50px;
            height: 50px;
            background-color: #009282;
            border-radius: 50%;
          }
        }
        &.active {
          &::after {
            position: absolute;
            content: "";
            width: 30px;
            height: 30px;
            background-color: #009282;
            border-radius: 50%;
          }
        }
        &:nth-child(1) {
          align-self: flex-end;
          &::before {
            left: 64%;
            bottom: -50px;
          }
          &::after {
            left: 97%;
            bottom: -81px;
          }
          figure {
            img {
              margin-left: auto;
            }
          }
        }
        &:nth-child(2) {
          align-self: flex-start;
          &::before {
            right: -65px;
            top: 50%;
          }
          &::after {
            bottom: 101px;
            border-radius: 50%;
            right: -120px;
          }
          figure {
            img {
              margin-right: auto;
              max-width: 300px;
              width: 100%;
              margin-top: -50px;
            }
          }
        }
        &:nth-child(3) {
          align-self: flex-end;
          &::before {
            right: -10px;
            top: -66%;
          }
          &::after {
            top: -130px;
            border-radius: 50%;
            right: -46px;
          }
          figure {
            img {
              margin-left: auto;
              margin-top: -50px;
            }
          }
          &:focus {
            border: 10px solid red;
          }
        }
        figure {
          position: relative;
          img {
            display: block;
          }
          &::after {
            content: "";
            position: absolute;
            top: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
            border: 4px solid #dff9d9;
            border-radius: 50%;
            -webkit-transform: scale(1);
            -ms-transform: scale(1);
            transform: scale(1);
            -webkit-transition: 0.3s;
            -o-transition: 0.3s;
            transition: 0.3s;
          }
          &:hover {
            &::after {
              -webkit-transform: scale(1.1);
              -ms-transform: scale(1.1);
              transform: scale(1.1);
            }
          }
        }
      }
      &.carousel-indicators {
        li.active {
          figure {
            &::after {
              -webkit-transform: scale(1.1);
              -ms-transform: scale(1.1);
              transform: scale(1.1);
            }
          }
        }
      }
    }
    .carousel {
      > h3 {
        font-size: 20px;
        line-height: 1.45;
        /* color: rgba(0,0,0,.5); */
        color: #fff;
        font-weight: 600;
        margin-bottom: 0;
      }
      h1 {
        font-size: 40px;
        line-height: 1.225;
        margin-top: 23px;
        font-weight: 700;
        margin-bottom: 0;
      }
      .carousel-indicators {
        all: unset;
        padding-top: 43px;
        display: flex;
        list-style: none;
        li {
          background: #000;
          background-clip: padding-box;
          height: 2px;
        }
      }
      .carousel-inner {
        .carousel-item {
          .quote-wrapper {
            margin-top: 42px;
            p {
              font-size: 18px;
              line-height: 1.72222;
              font-weight: 500;
              /* color: rgba(0,0,0,.7); */
              color: #fff;
            }
            h3 {
              color: #d4af37;
              font-weight: 700;
              margin-top: 37px;
              font-size: 20px;
              line-height: 1.45;
              text-transform: uppercase;
            }
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 1200px) {
  .testimonial {
    .row {
      .tabs {
        margin-right: 25px;
      }
    }
  }
}

/* Contact section styles */
.contact-section {
  padding: 60px 0;
  margin-left: 250px;
  border-radius: 20px;
}

.contact-section .contact-info,
.contact-section .contact-form {
  background-color: var(--bg-color);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .contact-info:hover,
.contact-section .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(141, 122, 107, 0.5);
}

.contact-section .contact-info h4,
.contact-section .contact-form h4 {
  color: var(--text-color);
  font-size: 1.25rem;
}

.contact-section .contact-info p,
.contact-section .contact-info span {
  color: var(--text-color);
}
/* 
.contact-section .contact-info .social-icons a:hover {
    color: var(--main-color);
} */

.contact-section .form-control {
  border: 1px solid var(--main-color);
  background-color: #2f3537;
  color: var(--text-color);
}

.contact-section .form-control:focus {
  box-shadow: 0 0 5px var(--main-color);
  border-color: var(--main-color);
}

.contact-section .btn-custom {
  color: var(--bg-color);
  transition: all 0.3s ease;
}

.contact-section .btn-custom:hover {
  color: var(--text-color);
}

.animate-from-below {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-from-below.show {
  opacity: 1;
  transform: translateY(0);
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.logo {
  display: inline-flex;
  width: 50px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.tech-logos {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  align-items: center;
}
.tech-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.tech-logo-wrapper {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  padding-left: 10px;
}
.tech-logo-wrapper:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  transition: all 0.3s ease;
}
.tech-logo-wrapper h6 {
  color: var(--text-color);
  font-size: 1rem;
  margin: 0;
  text-align: center;
  padding-left: 5px;
  font-style: oblique;
}
.title-section:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.back-arrow {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: invert(1);
  transition: transform 0.3s ease;
}
.back-arrow:hover {
  transform: scale(1.1);
}
.link {
  display: inline-block;
  color: var(--text-color);
  font-size: 1rem;
  margin-left: 10px;
  vertical-align: middle;
  transition: color 0.3s ease;
  padding-top: 15px;
}
.icon {
  filter: invert(1);
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
}
.icon-github {
  filter: invert(1);
  width: 53px;
  height: 53px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
}
.icon-github:hover,
.icon:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}
/* .hr-rb {
  width: 100px;
  height: 3px;
  background-color: #d4af37;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 20px;
} */
