/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Raleway:wght@400;500;700&display=swap");

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Raleway", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* General sections styles */
section {
  padding: 100px 0;
}
.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}
.about,
.services,
.skills,
.skills-hobbies,
.contact,
footer {
  font-family: "Raleway", sans-serif;
}
section .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Poppins", sans-serif;
}
section .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}
section .title::after {
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: #6e6e6e;
  padding: 0 5px;
  background: #fff;
  transform: translateX(-50%);
}

/* Navbar styles */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 30px 0;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}
.navbar.sticky {
  padding: 15px 0;
  background: #fff; /* Change background to white */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  width: 100px;
  height: auto;
}
.navbar .menu li {
  list-style: none;
  display: inline-block;
}
.navbar .menu li a {
  display: block;
  color: #333; /* Change text color to a darker shade */
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
  padding: 5px 0;
  -webkit-tap-highlight-color: transparent;
}
.navbar .menu li a:hover {
  color: #6e6e6e;
}
.navbar .menu-btn {
  color: #3883d3;
  font-size: 23px;
  cursor: pointer;
  display: none;
  padding: 10px;
  -webkit-tap-highlight-color: transparent;
}
.navbar .menu-btn i.active:before {
  content: "00d";
}

/* Scroll up button */
.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: #3883d3;
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: #ededed;
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}
.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}
.scroll-up-btn:hover {
  filter: brightness(90%);
}

/* Home section styles */
.home {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  background: #f8f8f8;
}
.home__animated-background {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  transform: skewY(3deg) translateY(-80px);
  z-index: 1;
  background: transparent;
  pointer-events: none;
}
.home__animated-background::after {
  content: "";
  background: url("https://www.transparenttextures.com/patterns/dark-mosaic.png");
  width: 800%;
  position: absolute;
  top: -400%;
  right: -400%;
  height: 800%;
  opacity: 0.15;
  animation: rotate 140s infinite linear;
}
@keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
.home .max-width {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.home .home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home .home-content .text-1,
.home .home-content .text-2,
.home .home-content .text-3,
.home .home-content .text-4 {
  color: #000;
}
.home .home-content .text-1 {
  font-size: 27px;
}
.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}
.home .home-content .text-3 {
  font-size: 40px;
  margin: 5px 0;
}
.home .home-content .text-4 {
  font-size: 40px;
  margin: 5px 0;
}
.home .home-content .text-3 span,
.home .home-content .text-4 span {
  color: #444;
  font-weight: 500;
}
.home .home-content a {
  display: inline-block;
  background: #333;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 34px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.home .home-content a:hover {
  background: #555;
  color: #fff;
  border-color: #555;
}
.home .home-content .arrow {
  position: relative;
  margin: 15px auto 25px auto;
  width: 200px;
  height: 70px;
}
.home .home-content .arrow .curve {
  border: 2px solid #555;
  border-color: transparent transparent transparent #555;
  height: 70px;
  width: 200px;
  border-radius: 80px 0 0 50px;
  position: absolute;
  top: 0;
  left: 0;
}
.home .home-content .arrow .point {
  position: absolute;
  left: 8px;
  top: 56px;
  width: 8px;
  height: 8px;
}
.home .home-content .arrow .point:before,
.home .home-content .arrow .point:after {
  border: 1px solid #555;
  height: 12px;
  content: "";
  position: absolute;
  background-color: #555;
}
.home .home-content .arrow .point:before {
  top: -3px;
  left: -6px;
  transform: rotate(-74deg);
}
.home .home-content .arrow .point:after {
  top: -4px;
  left: 3px;
  transform: rotate(12deg);
}

/* About section styles */
.about {
  background: url(bn.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  color: #000;
}
.about .about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
}
.about .about-content .column {
  flex: 1;
}
.about .about-content .left img {
  width: 100%;
  border-radius: 6px;
}
.about .about-content .right {
  margin-left: 50px;
}
.about .about-content .right .text {
  font-size: 30px;
  font-weight: 500;
}
.about .about-content .right p {
  font-size: 16px;
  margin: 20px 0;
  color: #6e6e6e;
  line-height: 1.6;
}
.about .about-content .right p:last-child {
  margin-bottom: 40px;
}
.about .about-content .right .btn {
  font-size: 16px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

/* Services section styles */
.services .serv-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 80px;
}
.services .serv-content .card {
  flex-basis: calc(33.333% - 20px);
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 6px;
  transition: background 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.services .serv-content .card .box {
  display: flex;
  align-items: center;
}
.services .serv-content .card .box i {
  font-size: 35px;
  color: #3883d3;
  margin-right: 20px;
}
.services .serv-content .card .box .text {
  font-size: 20px;
  font-weight: 500;
}
.services .serv-content .card .box p {
  font-size: 16px;
  margin-top: 8px;
  color: #6e6e6e;
}

/* Skills section styles */
.skills {
  background: url(bn.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  color: #000;
}
.skills .skills-content {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}
.skills .skills-content .column {
  flex: 1;
}
.skills .skills-content .left {
  margin-right: 50px;
}
.skills .skills-content .text {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 30px;
}
.skills .skills-content .column.right .bars {
  margin-bottom: 30px;
}
.skills .skills-content .column.right .bars:last-child {
  margin-bottom: 0;
}
.skills .skills-content .column.right .bars .info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.skills .skills-content .column.right .bars .info span:first-child {
  font-size: 18px;
  font-weight: 500;
  color: #6e6e6e;
}
.skills .skills-content .column.right .bars .info span:last-child {
  font-size: 16px;
  font-weight: 400;
  color: #3883d3;
}
.skills .skills-content .column.right .bars .line {
  height: 8px;
  width: 100%;
  background: #f1f1f1;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.skills .skills-content .column.right .bars .line::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  background: #3883d3;
  border-radius: 8px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.skills .skills-content .column.right .bars .line.java.animated::before {
  width: 90%;
}
.skills .skills-content .column.right .bars .line.python.animated::before {
  width: 85%;
}
.skills .skills-content .column.right .bars .line.javascript.animated::before {
  width: 80%;
}
.skills .skills-content .column.right .bars .line.react.animated::before {
  width: 75%;
}
.skills .skills-content .column.right .bars .line.nodejs.animated::before {
  width: 70%;
}

/* Skills & Hobbies section styles */
.skills-hobbies .carousel {
  position: relative;
  margin-top: 50px;
}
.skills-hobbies .carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}
.skills-hobbies .carousel .owl-nav .owl-prev,
.skills-hobbies .carousel .owl-nav .owl-next {
  background: #3883d3;
  color: #fff;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 18px;
  display: inline-block;
  transition: background 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.skills-hobbies .carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}
.skills-hobbies .carousel .owl-dots .owl-dot {
  height: 13px;
  width: 13px;
  background: #ccc;
  display: inline-block;
  margin: 0 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}
.skills-hobbies .carousel .owl-dots .owl-dot.active {
  background: #3883d3;
}
.skills-hobbies .carousel .card {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin: 5px;
}
.skills-hobbies .carousel .card .box {
  display: flex;
  align-items: center;
}
.skills-hobbies .carousel .card .box i {
  font-size: 35px;
  color: #3883d3;
  margin-right: 15px;
}
.skills-hobbies .carousel .card .box .text {
  font-size: 20px;
  font-weight: 500;
}
.skills-hobbies .carousel .card .box p {
  font-size: 16px;
  margin-top: 8px;
  color: #6e6e6e;
}

/* Contact section styles */
.contact {
  background: url(bn.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  color: #000;
}
.contact .contact-content {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  gap: 30px;
}
.contact .contact-content .column {
  flex: 1;
}
.contact .contact-content .left .text {
  font-size: 30px;
  font-weight: 500;
}
.contact .contact-content .left p {
  font-size: 16px;
  margin-top: 20px;
  color: #6e6e6e;
  line-height: 1.6;
}
.contact .contact-content .left .icons {
  margin-top: 20px;
}
.contact .contact-content .left .icons a {
  display: inline-block;
  margin-right: 15px;
  -webkit-tap-highlight-color: transparent;
}
.contact .contact-content .left .icons i {
  font-size: 30px;
  color: #3883d3;
  transition: color 0.3s ease;
}
.contact .contact-content .right form .fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}
.contact .contact-content .right form .field,
.contact .contact-content .right form .textarea {
  margin-bottom: 0;
  width: 100%;
}
.contact .contact-content .right form .fields.two-cols .field {
  width: calc(50% - 10px);
}
.contact .contact-content .right form .field input,
.contact .contact-content .right form .textarea textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.3s ease;
  font-size: 16px;
  -webkit-appearance: none;
}
.contact .contact-content .right form .field input:focus,
.contact .contact-content .right form .textarea textarea:focus {
  border-color: #3883d3;
}
.contact .contact-content .right form .textarea textarea {
  height: 120px;
  resize: vertical;
}
.contact .contact-content .right form .button-area {
  margin-top: 20px;
  text-align: left;
}
.contact .contact-content .right form .button {
  -webkit-tap-highlight-color: transparent;
}

/* Footer section styles */
.footer {
  background: #181828;
  color: #f1f1f1;
  padding: 48px 0 28px 0;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  margin-top: 60px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-main {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  gap: 4px;
}
.footer-year {
  font-size: 1em;
  font-weight: 400;
  color: #bdbdbd;
  margin-top: 2px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.footer-social-link {
  color: #fff;
  background: #22223b;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.footer-social-link:hover,
.footer-social-link:focus {
  background: #8a4fff;
  color: #fff;
  transform: translateY(-4px) scale(1.08);
  text-decoration: none;
}
.footer-tagline {
  margin-top: 18px;
  font-size: 1.1em;
  color: #bdbdbd;
  font-weight: 400;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-container {
    padding: 0 10px;
  }
  .footer {
    font-size: 16px;
    padding: 32px 0 18px 0;
  }
  .footer-social-link {
    width: 44px;
    height: 44px;
    font-size: 1.5em;
  }
  .footer-tagline {
    font-size: 1em;
  }
}

/* Experience section styles */
.experience {
  background: url(bn.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  color: #000;
}
.experience .exp-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}
.experience .card {
  background: rgba(249, 249, 249, 0.95);
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.experience .card .box {
  display: flex;
  flex-direction: column;
}
.experience .card .company {
  font-size: 24px;
  font-weight: 600;
  color: #3883d3;
  margin-bottom: 5px;
}
.experience .card .position {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}
.experience .card .duration {
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 15px;
}
.experience .card ul {
  margin-left: 20px;
  padding-left: 0;
  list-style: disc;
}
.experience .card ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15px;
}

/* Projects section styles */
.projects {
  padding: 100px 0;
}
.projects .project-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.projects .card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 6px;
  height: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.projects .card .box {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.projects .card .project-title {
  font-size: 20px;
  font-weight: 600;
  color: #3883d3;
  margin-bottom: 10px;
}
.projects .card .tech-stack {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #6e6e6e;
}
.projects .card .date {
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 15px;
}
.projects .card ul {
  margin-left: 20px;
  margin-bottom: 20px;
  flex-grow: 1;
  padding-left: 0;
  list-style: disc;
}
.projects .card ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 15px;
}
.projects .card .github-link {
  align-self: flex-start;
  padding: 10px 20px;
  background: #3883d3;
  color: #fff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  text-decoration: none;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
}

/* Card animation */
.card-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.card-animate.card-animate--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Vim help box styles */
.vim-help {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(249, 249, 249, 0.95);
  color: #333;
  border-radius: 6px;
  z-index: 10000;
  width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}
.vim-help.hidden {
  transform: translateX(-220px);
}
.vim-help-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #3883d3;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #fff;
}
.vim-help-toggle {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  -webkit-tap-highlight-color: transparent;
}
.vim-help-content {
  padding: 10px;
}
.vim-help-content ul {
  list-style: none;
  padding-left: 0;
}
.vim-help-content ul li {
  margin-bottom: 8px;
  font-size: 13px;
}
.vim-help-content kbd {
  background: #e6e6e6;
  border-radius: 3px;
  padding: 2px 5px;
  font-family: monospace;
  font-weight: bold;
  color: #333;
  border: 1px solid #ccc;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Mobile optimizations */
@media (max-width: 1200px) {
  .max-width {
    padding: 0 50px;
  }
}
@media (max-width: 1080px) {
  .max-width {
    padding: 0 40px;
  }
}
@media (max-width: 991px) {
  .max-width {
    padding: 0 30px;
  }
  .about .about-content .right {
    margin-left: 30px;
  }
  .skills .skills-content .left {
    margin-right: 30px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .max-width {
    padding: 0 20px;
  }
  section .title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  section .title::before {
    width: 150px;
  }
  section .title::after {
    font-size: 18px;
  }
  .navbar {
    padding: 15px 0;
    background: #6e6e6e;
  }
  .navbar .menu {
    display: none;
  }
  .navbar .menu-btn {
    display: block;
    z-index: 1000;
  }
  .navbar.active .menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(40, 40, 40, 0.98);
    padding-top: 80px;
    text-align: center;
    border-top: none;
    z-index: 998;
    overflow-y: auto;
  }
  .navbar.active .menu li {
    width: 100%;
    margin-bottom: 15px;
  }
  .navbar.active .menu li a {
    margin-left: 0;
    display: block;
    padding: 15px 20px;
    font-size: 22px;
    color: #fff;
  }
  .navbar.active .menu li a:hover {
    color: #3883d3;
    background: rgba(255, 255, 255, 0.1);
  }
  .home .home-content .text-2 {
    font-size: 60px;
  }
  .home .home-content .text-3,
  .home .home-content .text-4 {
    font-size: 32px;
  }
  .about .about-content,
  .skills .skills-content,
  .contact .contact-content {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
    gap: 40px;
  }
  .about .about-content .column.left {
    text-align: center;
    margin-bottom: 20px;
  }
  .about .about-content .column.right,
  .skills .skills-content .column.left,
  .contact .contact-content .column.left {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }
  .about .about-content .column.right {
    text-align: left;
  }
  .skills .skills-content .column.right {
    width: 100%;
  }
  .contact .contact-content .column.right form {
    width: 100%;
  }
  .contact .contact-content .left .icons {
    text-align: center;
    margin-bottom: 20px;
  }
  .contact .contact-content .left .icons a {
    margin: 0 10px;
  }
  .services .serv-content {
    margin-top: 40px;
    gap: 25px;
  }
  .services .serv-content .card {
    flex-basis: 100%;
  }
  .experience .card {
    padding: 20px;
  }
  .experience .card .company {
    font-size: 20px;
  }
  .experience .card .position {
    font-size: 16px;
  }
  .projects {
    padding: 60px 0;
  }
  .projects .project-content {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 25px;
  }
  .projects .card {
    padding: 20px;
  }
  .projects .card .project-title {
    font-size: 18px;
  }
  .scroll-up-btn {
    right: 20px;
    bottom: 20px;
  }
  .scroll-up-btn.show {
    bottom: 20px;
  }
  .about,
  .skills,
  .contact,
  .experience {
    background-attachment: scroll;
  }
}
@media (max-width: 500px) {
  .max-width {
    padding: 0 15px;
  }
  section .title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  section .title::before {
    width: 120px;
  }
  section .title::after {
    font-size: 16px;
  }
  .home .home-content .text-1 {
    font-size: 22px;
  }
  .home .home-content .text-2 {
    font-size: 45px;
  }
  .home .home-content .text-3,
  .home .home-content .text-4 {
    font-size: 25px;
  }
  .home .home-content a {
    font-size: 14px;
    padding: 8px 25px;
  }
  .about .about-content .right .text {
    font-size: 24px;
  }
  .about .about-content .right p {
    font-size: 15px;
  }
  .about .about-content .right .btn {
    font-size: 14px;
  }
  .services .serv-content .card .box {
    flex-direction: column;
    text-align: center;
  }
  .services .serv-content .card .box i {
    margin-right: 0;
    margin-bottom: 10px;
    font-size: 35px;
  }
  .services .serv-content .card .box .text {
    font-size: 18px;
  }
  .services .serv-content .card .box p {
    font-size: 15px;
  }
  .skills .skills-content .text {
    font-size: 24px;
  }
  .skills .skills-content .column.right .bars .info span:first-child {
    font-size: 16px;
  }
  .skills .skills-content .column.right .bars .info span:last-child {
    font-size: 14px;
  }
  .skills-hobbies .carousel .card .box {
    flex-direction: column;
    text-align: center;
  }
  .skills-hobbies .carousel .card .box i {
    font-size: 35px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .skills-hobbies .carousel .card .box .text {
    font-size: 18px;
    margin-left: 0;
  }
  .skills-hobbies .carousel .card .box p {
    font-size: 15px;
  }
  .skills-hobbies .carousel .owl-nav {
    padding: 0;
  }
  .skills-hobbies .carousel .owl-nav .owl-prev,
  .skills-hobbies .carousel .owl-nav .owl-next {
    padding: 6px 12px;
    font-size: 16px;
  }
  .contact .contact-content .left .text {
    font-size: 24px;
  }
  .contact .contact-content .left p {
    font-size: 15px;
  }
  .contact .contact-content .right form .field input,
  .contact .contact-content .right form .textarea textarea {
    width: 100%;
    padding: 10px;
  }
  .contact .contact-content .right form .button {
    font-size: 14px;
    padding: 10px 30px;
  }
  .contact .contact-content .right form .fields.two-cols .field {
    width: 100%;
  }
  .experience .card .company {
    font-size: 18px;
  }
  .experience .card .position {
    font-size: 15px;
  }
  .experience .card ul li {
    font-size: 14px;
  }
  .projects .card .project-title {
    font-size: 17px;
  }
  .projects .card ul li {
    font-size: 14px;
  }
  .projects .card .github-link {
    padding: 8px 16px;
    font-size: 14px;
  }
  .vim-help {
    width: 160px;
    bottom: 15px;
    left: 15px;
  }
}
.ball {
  width: 50px;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  backdrop-filter: invert(1) grayscale(1);
  -webkit-backdrop-filter: invert(1) grayscale(1);
  z-index: 99999;
}
@media (max-width: 768px) {
  .ball {
    display: none;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: none;
  outline: none;
  background-color: #3883d3;
  color: #fff;
  padding: 12px 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
button:hover {
  background-color: #6e6e6e;
}

/* Terminal section styles */
.terminal {
  background-color: #0d0d0f;
  color: #fff;
}

.terminal .title {
  color: #fff;
  border-bottom-color: #fff;
}

.terminal .title::after {
  background: #0d0d0f;
  color: #8a4fff;
}

.terminal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.terminal-window {
  background-color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  width: 100%;
  max-width: 800px;
}

.terminal-header {
  background-color: #2d2d2d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-button.close {
  background-color: #ff5f57;
}

.terminal-button.minimize {
  background-color: #ffbd2e;
}

.terminal-button.maximize {
  background-color: #28ca42;
}

.terminal-title {
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
}

.terminal-body {
  padding: 20px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 14px;
  line-height: 1.4;
  background-color: #000;
  color: #00ff00;
  position: relative;
  min-height: 100px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-prompt {
  color: #00ff00;
  font-weight: bold;
}

.terminal-command {
  color: #fff;
  font-family: inherit;
}

.terminal-cursor {
  display: inline-block;
  animation: blink 1s infinite;
  color: #00ff00;
}

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

.terminal-instructions {
  background-color: #1a1a1d;
  border-radius: 8px;
  padding: 25px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.terminal-instructions h3 {
  color: #8a4fff;
  margin-bottom: 15px;
  font-size: 18px;
}

.terminal-instructions ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.terminal-instructions li {
  color: #a0a0a0;
  margin-bottom: 8px;
  line-height: 1.5;
}

.copy-btn {
  background-color: #8a4fff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.copy-btn:hover {
  background-color: #6a3fb8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 79, 255, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .terminal-content {
    padding: 0 20px;
  }

  .terminal-window {
    max-width: 100%;
  }

  .terminal-instructions {
    max-width: 100%;
  }
}