:root {
  --primary-color: #9570c6;
  --secondary-color: #081b29;
  ;
  --text-color: #ededed;
  --card-bg: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.2);

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Josefin Sans', sans-serif;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('/fonts/JosefinSans-Regular.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  position: relative;
  width: 100%;
  padding: 1.25rem 10%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.15);
}

.logo {
  font-size: 1.5625rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

span {
  color: #00ffe7;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-color);
}

.navbar {
  display: flex;
  gap: 2rem;
}

.navbar a {
  font-size: 1.125rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: transform 0.3s ease, color 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .menu-toggle:checked~.navbar {
    max-height: 300px;
  }

  .navbar a {
    padding: 1rem 0;
    text-align: center;
    margin: 0;
  }
}

.home {
  width: 100%;
  min-height: 30vh;
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 8rem 10% 0;
  background: #081b29;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.home-content {
  flex: 1;
  max-width: 600px;
  padding-right: 1rem;
  margin-left: 2rem;
}

.home-content h2 {
  color: white;
  margin: 5px 0px 20px;
  margin-left: 2rem;
  font-size: 3rem;
}

.home-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.home-content h4 {
  color: #9570c6;
  letter-spacing: 2px;
  font-size: 1.25rem;
}

.home-content .btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-bottom: 2rem;
}

.btn-box a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 9.375rem;
  height: 3.125rem;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 1;
  overflow: hidden;
  transition: all 0.5s ease;
}

.btn-box a:hover {
  color: #00ffe7;
}

.btn-box a:nth-child(2):hover {
  color: #00ffe7;
}

.btn-box a:nth-child(2)::before {
  background: var(--primary-color);
}

.btn-box a:nth-child(2) {
  background: transparent;
  color: var(--primary-color);
}

.btn-box a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary-color);
  z-index: -1;
  transition: width 0.5s ease;
}

.btn-box a:hover::before {
  width: 100%;
}

.img-box {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: 2rem;
  margin-bottom: 6rem;
  perspective: 1000px; 
}

.img-box img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 35%;
  object-fit: cover;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid transparent;
}

.img-box img:hover {
  transform: scale(1.1) rotateZ(3deg);
  box-shadow: 0 8px 24px #00d6c1;
  border: 3px solid#00d6c1;
}

@media (max-width: 768px) {
  .home {
    flex-direction: column;
    padding: 5rem 5% 2rem;
    text-align: center;
  }

  .home-content {
    margin-left: 0;
    padding-right: 0;
  }

  .home-content h2 {
    font-size: 2.5rem;
    margin-left: 0;
  }

  .home-content h3 {
    font-size: 1.25rem;
  }

  .home-content h4 {
    font-size: 1rem;
  }

  .btn-box {
    justify-content: center;
  }

  .img-box {
    margin: 2rem 0 4rem;
  }

  .img-box img {
    max-width: 80%;
  }

  .hamburger {
    display: block;

  }
}

@media (max-width: 480px) {
  .home-content h2 {
    font-size: 2rem;
  }

  .btn-box a {
    width: 100%;
    height: 3rem;
    font-size: 1rem;
  }

  .btn-box {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

.cube-wrapper {
  display: flex;
  justify-content: flex-start;
  margin: 2rem 0;
}

.cube-scene {
  width: 7.5rem;
  height: 7.5rem;
  perspective: 37.5rem;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 10s infinite linear;
}

.face {
  position: absolute;
  width: 7.5rem;
  height: 7.5rem;
  background: var(--card-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  border: 2px solid #6bd9e6;
  border-radius: 0.9375rem;
  box-shadow: 0 0 0.625rem var(--shadow);
  backface-visibility: hidden;
}

.front {
  transform: translateZ(3.75rem);
}

.back {
  transform: rotateY(180deg) translateZ(3.75rem);
}

.right {
  transform: rotateY(90deg) translateZ(3.75rem);
}

.left {
  transform: rotateY(-90deg) translateZ(3.75rem);
}

.top {
  transform: rotateX(90deg) translateZ(3.75rem);
}

.bottom {
  transform: rotateX(-90deg) translateZ(3.75rem);
}

@keyframes spin {
  0% {
    transform: rotateX(0) rotateY(0);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.about {
  min-height: 100vh;
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

.about-content {
  max-width: 50rem;
  color: #fff;
  text-align: left;
}

.about-content h2 {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 1rem;
}

.about-content h5 {
  font-size: 1.75rem;
  font-weight: 500;
  color: #f0f0f0;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin: 2rem 0;
}

.about-content button {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  background-color: #00ffe7;
  color: #000;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-content button:hover {
  background-color: #00d6c1;
  transform: scale(1.05);
  border-color: none !important;
}

.cute-dino {
  margin-bottom: 2.5rem;
  position: relative;
  height: 10rem;
  overflow: hidden;
  background: #081b29;
}

.dino {
  position: absolute;
  bottom: 1.25rem;
  left: -12.5rem;
  width: 7.5rem;
  height: 6.25rem;
  animation: walk 15s linear infinite;
}

.dino-body {
  position: relative;
  width: 6.25rem;
  height: 3.75rem;
  background-color: #4CAF50;
  border-radius: 40% 40% 30% 30%;
}

.eye {
  position: absolute;
  top: 0.625rem;
  left: 4.0625rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 0 0.125rem black;
}

.tail {
  position: absolute;
  left: -1.875rem;
  top: 1.25rem;
  width: 2.5rem;
  height: 1.25rem;
  background-color: #4CAF50;
  border-radius: 50%;
  transform: rotate(-30deg);
}

.leg {
  width: 1.25rem;
  height: 1.875rem;
  background-color: #388E3C;
  position: absolute;
  bottom: 0;
  border-radius: 20%;
}

.front-leg {
  left: 1.875rem;
}

.back-leg {
  left: 4.375rem;
}

@keyframes walk {
  0% {
    left: -9.375rem;
  }

  100% {
    left: 100vw;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header {
    padding: 1rem 5%;
  }

  .navbar a {
    margin-left: 1.5rem;
    font-size: 1rem;
  }

  .home {
    flex-direction: column;
    padding: 6rem 5% 2rem;
    text-align: center;
  }

  .home-content {
    justify-content: center;

  }

  .img-box {
    justify-content: center;
  }

  .img-box img {
    width: 300px;
  }

  .btn-box {
    width: 100%;
    flex-direction: column;
    height: auto;
    gap: 1rem;
    margin: 0 auto 2rem;
  }

  .btn-box a {
    width: 100%;
    margin-bottom: 1rem;
  }

  .cube-wrapper {
    justify-content: center;
    margin: 2rem auto;
  }

  .about {
    flex-direction: column;
    padding: 4rem 1rem;
    gap: 2rem;
    text-align: center;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2,
  .about-content h3 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }

  .navbar {
    display: none;

  }

  .home-content h1 {
    font-size: 2rem;
  }

  .home-content h3 {
    font-size: 1.5rem;
  }

  .cube-scene {
    width: 6rem;
    height: 6rem;
  }

  .face {
    width: 6rem;
    height: 6rem;
    font-size: 0.7rem;
  }

  .front {
    transform: translateZ(3rem);
  }

  .back {
    transform: rotateY(180deg) translateZ(3rem);
  }

  .right {
    transform: rotateY(90deg) translateZ(3rem);
  }

  .left {
    transform: rotateY(-90deg) translateZ(3rem);
  }

  .top {
    transform: rotateX(90deg) translateZ(3rem);
  }

  .bottom {
    transform: rotateX(-90deg) translateZ(3rem);
  }

}

button {
  background-color:#9e93e6;
  color: white;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: bold;
  padding: 13px 30px;
  border-radius: 30px;
  transform: 0.5s;
}

button:hover {
  background-color: transparent;
  border: 2px solid #9e93e6;
  cursor: pointer;

}


.bunny-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  pointer-events: none;
}

.bunny-container:hover {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}

.bunny {
  position: relative;
  width: 120px;
  height: 150px;
  animation: none;
  transition: transform 0.3s ease;

}

.bunny:hover {
  animation: bunny-bounce 0.6s ease-in-out;
  transform: scale(1.5);
}

.bunny-head {
  position: absolute;
  top: 0;
  left: 40px;
  width: 80px;
  height: 80px;
  background-color: #f9f3f3;
  border-radius: 50%;
  z-index: 10;
}

.bunny-ear {
  position: absolute;
  width: 20px;
  height: 50px;
  background-color: #f9f3f3;
  border-radius: 50% 50% 0 0;
  top: -30px;
}

.bunny-ear::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 30px;
  background-color: #e8c4c4;
  border-radius: 50% 50% 0 0;
  bottom: 0;
  left: 5px;
}

.bunny-left-ear {
  left: 15px;
  transform: rotate(-15deg);
}

.bunny-right-ear {
  right: 15px;
  transform: rotate(15deg);
}

.bunny-face {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 40px;
  height: 40px;
}

.bunny-eye {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #333;
  border-radius: 50%;
  top: 10px;
}

.bunny-left-eye {
  left: 5px;
}

.bunny-right-eye {
  right: 5px;
}

.bunny-nose {
  position: absolute;
  width: 8px;
  height: 6px;
  background-color: #ff6b88;
  border-radius: 50%;
  top: 20px;
  left: 16px;
}

.bunny-mouth {
  position: absolute;
  width: 20px;
  height: 8px;
  border-bottom: 2px solid #333;
  border-radius: 0 0 50% 50%;
  top: 28px;
  left: 10px;
}

.bunny-body {
  position: absolute;
  top: 60px;
  left: 30px;
  width: 100px;
  height: 100px;
  background-color: #f9f3f3;
  border-radius: 50% 50% 40% 40%;
}

.bunny-arm {
  position: absolute;
  width: 25px;
  height: 40px;
  background-color: #f9f3f3;
  border-radius: 20px;
  top: 80px;
  z-index: 5;
}

.bunny-left-arm {
  left: 20px;
  transform: rotate(30deg);
}

.bunny-right-arm {
  right: 20px;
  transform: rotate(-30deg);
}

.bunny-foot {
  position: absolute;
  width: 30px;
  height: 20px;
  background-color: #f9f3f3;
  border-radius: 50%;
  bottom: 10px;
}

.bunny-left-foot {
  left: 40px;
}

.bunny-right-foot {
  right: 40px;
}

.bunny-tail {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #f9f3f3;
  border-radius: 50%;
  bottom: 20px;
  right: 30px;
  z-index: 1;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.bunny {
  animation: bounce 2s infinite ease-in-out;
  transition: transform 0.3s ease;
  will-change: transform;
}

.bunny:hover {
  animation-play-state: paused;
  transform: scale(1.1) rotate(-5deg);
}

.contact-me {
  width: 100%;
  height: 290px;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.contact-me p {
  color: white;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;

}

.contact-me .button-two {
  background-color: #9570c6;
  color: white;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: bold;
  padding: 13px 30px;
  border-radius: 50px;
  transform: 0.5s;
  margin-top: 40px;

}

.contact-me .button-two:hover {
  background-color: transparent;
  border: 2px solid #00d6c1;
  cursor: pointer;
}

footer {
  background: #081b29;
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;   */
  margin-top: auto;
  position: relative;
  z-index: 10;
}


.footer-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-desc {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #e6e6e6;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.social-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.social-btn:hover::before {
  transform: translateX(100%);
}

.email-btn {
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4));
  color: white;
}

.github-btn {
background: linear-gradient(45deg, rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4));
  color: white;

}

.telegram-btn {
background: linear-gradient(45deg, rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4));
  color: white;
}

.twitter-btn {
background: linear-gradient(45deg, rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4));
  color: white;
  text-align: center;

}
.call-btn{
background: linear-gradient(45deg, rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4));
  color: white;
  text-align: center;

}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:active {
  transform: translateY(1px);
}

.end {
  font-size: 1rem;
  color: #9570c6;
  margin-top: 5.5rem;
  position: relative;
  display: inline-block;
  text-align: center;
}

.ending {
  font-size: 1.5rem;
  color: #9570c6;
  margin-top: 5.5rem;
  position: relative;
  display: block;
  text-align: center;
  margin-bottom: 5rem;

}

.call-checkbox {
  display: none;
}

.phone-number {
  display: none;
  margin-top: 1rem;
  color: #00d6c1;
  font-weight: bold;
  margin-bottom: 1rem;
}

.call-checkbox:checked+.call-btn+.phone-number {
  display: block;
}

.call-btn:hover {
  background-color: #6bd9e6;
}


.end::before,
.end::after {
  content: '🩵';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
}

.end::before {
  left: -30px;
}

.end::after {
  right: -30px;
}

.end:hover::before,
.end:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

@media (max-width: 600px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-btn {
    width: 80%;
  }

  .footer-title {
    font-size: 1.8rem;
  }

  .footer-desc {
    font-size: 1rem;
  }
}

.social {
  display: flex;
}

.social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #081b29;
  border-radius: 50%;
  margin: 22px 10px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  pointer-events: auto;

}

.social a:hover {
  transform: scale(1.3);
  transition: .3s;
}

.end {
  position: relative;
  color: #cccccc;
  bottom: 35px;
  font-size: 15px;
  text-align: center;
  align-items: center;
}

.edu {
  width: 100%;
  padding: 60px 20px;
  background: #081b29;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  border-top: 1px solid #333;
}

.edu .heading {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  animation: fadeInDown 1s ease;
}

.edu .heading span {
  color: #9570c6;
}

.edu-line {
  width: 60px;
  height: 4px;
  background-color: #9570c6;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.edu-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 700px;
  width: 100%;
}

.edu-content {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.edu-content:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
}

.edu h5 {
  color: #9570c6;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.edu-detail {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.6;
}

.download-cv-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background-color: #00d6c1;
  color: black;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.download-cv-btn:hover {
  background-color: #6bd9e6;
  transform: translateY(-2px);
}


@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .edu h5 {
    font-size: 1.2rem;
  }

  .edu-detail {
    font-size: 0.95rem;
  }

  .edu-line {
    width: 40px;
  }
}


.skills {
  background: rgba(0, 0, 0, 0.4);
  ;
  width: 100%;
  padding: 80px 0;
}

.skills .title h2 {
  color: white;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.skill-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 20px;
}

.skill-card {
  width: 260px;
  background: #081b29;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s;
}

.skill-card:hover {
  transform: scale(1.05);
}

.skill-card h5 {
  color: #9570c6;
  font-size: 22px;
  margin-bottom: 15px;
}

.skill-card .pra p {
  color: #fcfcfc;
  font-size: 15px;
  line-height: 24px;
}

.projects {
  background: #081b29;
  padding: 80px 20px;
  text-align: center;
}

.projects-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.project-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.project-card h5 {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.project-card p {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.project-buttons {
  display: flex;
  justify-content: space-between;
}

.btn,
.btn-outline {
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn {
  background: #9570c6;
  color: white;
  border: none;
}

.btn:hover {
  background: transparent;
  border: 2px solid #9570c6;
  color: #9570c6;
}

.btn-outline {
  background: transparent;
  border: 2px solid #00d6c1;
  color: #00d6c1;
}

.btn-outline:hover {
  background: #00d6c1;
  color: white;
}

span {
  color: #00ffe7;
}

.interests {
  padding: 4rem 2rem;
  background-color: rgba(0, 0, 0, 0.4);

  color: #f1f1f1;
  text-align: center;
  border-radius: 12px;
}

.interests h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.interests ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.interests li {
  background-color: #081b29;
  padding: 1.2rem 1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.interests li:hover {
  transform: translateY(-5px);
  cursor: pointer;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color:#333;
  color: #ffffff;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 30%;
  text-align: center;
  text-decoration: none;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
  background-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-4px) scale(1.1);
}

