@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #050815;
}
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #cacbff;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #32037e;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5642a5;
}

.scrollbar-container {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1; /* Kaydırıcı rengi ve iz rengi */
}
.bg-page1 {
  background-image: url("./source/herobg.png");
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  justify-items: center;
  align-items: center;
  align-content: center;
}

/*--- typewriter ---*/
#typewriter {
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  border-right: 2px solid #ffffff;
  padding-right: 5px;
  animation: blink 0.7s step-end infinite;
  border-right: 0.15em solid orange;
  animation: typing 3.5s steps(20, end), blink-caret 0.5s step-end infinite;
}

@keyframes blink {
  from {
    border-color: transparent;
  }
  to {
    border-color: #ffffff;
  }
}

.typewriter2 {
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(20, end), blink-caret 0.5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: orange;
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px hsla(258, 94%, 67%, 0.856);
  }
  50% {
    box-shadow: 0 0 40px hsla(258, 33%, 60%, 0.856);
  }
  100% {
    box-shadow: 0 0 10px #8b5cfada;
  }
}

.gradient-image-container img {
  animation: glow 1.5s ease-in-out infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #050815;
  transition: opacity 0.75s, visibility 0.75s;
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #dddddd;
  border-top-color: #302850;
  border-radius: 50px;
  animation: loading 0.75s ease infinite;
}
@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* -------Sechkin information------- */
.card {
  background-color: #302850;
  padding: 20px;
  margin: 20px;
  width: 300px;
  height: 350px;
  transition: all 0.3s ease-in-out;
  border-radius: 12px;
  border: 1px solid #8e5efa;
  box-shadow: 0 0 20px hsla(258, 94%, 67%, 0.856);
}

/* -------timeline------- */
.timeline {
  position: relative;
  display: block;
  list-style: none;
  padding-left: 0;
  width: 100%;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 2px;
  height: 95%;
  background-color: #e3e5e9;
}

.timeline li {
  position: relative;
  display: block;
  padding-left: 30px;
  margin-bottom: 20px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -8px;
  width: 18px;
  height: 18px;
  background-color: #32037e;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.timeline li .title {
  width: 180px;
  padding: 6px 20px;
  background-color: #75297b;
  color: #fff;
  font-weight: 500;
  border-radius: 30px 0 60px 30px;
  text-align: center;
}

.timeline li .details {
  background-color: #302850;
  margin-top: 8px;
  padding: 20px;
  border-radius: 4px;
}

.timeline li .details h5,
.timeline li .details p {
  margin-bottom: 0;
}

.timeline li .details small {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.progress {
  height: 10px;
  border-radius: 5px;
}

.skills {
  padding-top: 25px;
  width: 550px;
}

.progress-bar {
  background-color: #8b5cfada;
}
.techStackIconsBody {
  width: 80px;
  height: 80px;
  background-color: #302850;
  border-radius: 10%;
  display: flex; /* Подравнява съдържанието в центъра */
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border: 1px solid #8e5efa;
  box-shadow: 0 0 20px hsla(258, 94%, 67%, 0.856);
}

.techStackIconsBody:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
  box-shadow: 0 0 40px hsla(258, 33%, 60%, 0.856);
}

.techStackIconsBody img {
  transition: all 0.3s ease-in-out;
}

.techStackIconsBody:hover img {
  transform: scale(1.2);
}

/* .project-btn {
  background-color: rgba(255, 255, 255, 0);
  background: linear-gradient(#20193e, #20193e) padding-box,
    linear-gradient(60deg, #00f, #00e8ff) border-box;
  color: #ffffff;
  padding: 3px 70px;
  border: 3px solid transparent;
  border-radius: 40px;
  display: inline-block;
  font-size: 22px;
  box-shadow: 0 0 40px hsla(259, 100%, 55%, 0.856);
  text-decoration: none;
  transition: background 0.3s ease-in-out, filter 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.project-btn:hover {
  cursor: pointer;
  background: linear-gradient(60deg, #00f, #00e8ff) padding-box,
    linear-gradient(120deg, #00f, #00e8ff) border-box;
  color: white;
  filter: brightness(1.2);
} */

.cardText {
  height: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-primary {
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  background-color: #5642a5;
  color: #ffffff;
  width: 45%;
  border: 1px solid #8e5efa;
  box-shadow: 0 0 20px hsla(258, 94%, 67%, 0.856);
}
.btn-primary:hover {
  background-color: #8e5efa;
  border: 1px solid #8e5efa;
}

.btn-primary:focus {
  background-color: #5642a5;
  border: 1px solid #8e5efa;
  box-shadow: 0 0 20px hsla(258, 94%, 67%, 0.856);
}
/* ----- contact us ----- */
.contact {
  padding: 20px 0;
}

.contact .heading h2 {
  font-size: 2 rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.contact .heading h2 span {
  color: #fd5e53;
  font-weight: bold;
}

.contact .heading p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #999999;
  margin: 20px 0 60px;
  padding: 0;
}

.contact .form-control {
  padding: 25px;
  font-size: 13px;
  margin-bottom: 10px;
  background: #f9f9f9;
  border: 1px solid #8e5efa;
  border-radius: 10px;
  background-color: #050815;
  /* background-color: #f3f3f3; */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: white;
}
.contact .form-control:focus {
  box-shadow: 0 0 20px hsla(258, 100%, 89%, 0.856);
}

.contact button.btn {
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  background-color: #302850;
  color: #ffffff;
  width: 100%;
  border: 1px solid #8e5efa;
  box-shadow: 0 0 20px hsla(258, 94%, 67%, 0.856);
}
.contact button.btn:hover {
  background-color: #050815;
  width: 100%;
  border: 1px solid #fd5e53;
  border: 1px solid #8e5efa;
  box-shadow: 0 0 20px hsla(258, 100%, 89%, 0.856);
  color: hsla(258, 94%, 67%, 0.856);
}

.contact .title h3 {
  font-size: 18px;
  font-weight: 600;
  color: #8e5efa;
}

.contact .title p {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  line-height: 1.6;
  margin: 0 0 40px;
}

.contact .content .info {
  margin-top: 30px;
}
.contact .content .info i {
  font-size: 30px;
  padding: 0;
  margin: 0;
  color: #8e5efa;
  margin-right: 20px;
  text-align: center;
  width: 20px;
}
.contact .content .info h4 {
  font-size: 13px;
  line-height: 1.4;
  font-weight: bold;
}

.contact .content .info h4 {
  font-size: 13px;
  font-weight: 300;
  color: #c7c7c7;
}

.contact .content .info h4 span {
  font-size: 16px;
  font-weight: 300;
  color: #999999;
}

.alert-success {
  display: none;
}
@media screen and (max-width: 767px) {
  #contact-form-body {
    margin-top: 20px;
  }
}

.ribbon-wrapper {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.ribbon {
  font: bold 12px sans-serif;
  color: #fff;
  text-align: center;
  transform: rotate(-45deg);
  position: relative;
  padding: 7px 0;
  width: 140px;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 0.3);
  top: 15px;
  left: -40px;
}

/* Beautiful Progress Animation */
.progress-bar-laravel-php {
  background: linear-gradient(
    90deg,
    #ad20ff,
    #6435ff,
    #6320ff,
    #9035ff,
    #9320ff
  );
  background-size: 300% 100%;
  animation: beautifulLaravel 2s linear infinite;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 45, 32, 0.5);
}

.progress-bar-laravel-php::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: beautifulShimmer 1.5s linear infinite;
}

@keyframes beautifulLaravel {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes beautifulShimmer {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Certificates Gallery */
.certificates-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.certificate-item {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  background: #20193e;
  border: 2px solid transparent;
}

.certificate-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(142, 94, 250, 0.3);
  border-color: #8e5efa;
}

.certificate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.certificate-item:hover .certificate-img {
  transform: scale(1.05);
}

.certificate-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(32, 25, 62, 0.9));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.certificate-item:hover .certificate-info {
  transform: translateY(0);
}

.certificate-info h5 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: #8e5efa;
}

.certificate-info p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* Modal styling */
.modal-content {
  background: #20193e;
  border: 2px solid #8e5efa;
  border-radius: 12px;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid #8e5efa;
  background: #302850;
}

.modal-title {
  color: #8e5efa;
  font-weight: 600;
}

.btn-close {
  filter: invert(1);
}

.modal-body {
  background: #20193e;
  padding: 2rem;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .certificates-container {
    gap: 15px;
  }

  .certificate-item {
    width: 280px;
    height: 180px;
  }
}

@media screen and (max-width: 480px) {
  .certificate-item {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
}
