/* loader start */
.loader-fade-out {
  animation: fadeOut .6s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* loader end */



/* bg video start */
.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

body {
    position: relative;
}

/* Light mode */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgb(244 247 250 / 80%);
    z-index: -1;
    pointer-events: none;
}

/* Dark mode */
.dark body::before {
    background: rgb(33 34 36 / 80%);
}
/* bg video end */



/* scroolbar start */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: #e9eef4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #2b2c2f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #acf5d8;
  cursor: pointer;
}

.dark *::-webkit-scrollbar-track {
  background: #2b2c2f;
  border-radius: 4px;
}

.dark *::-webkit-scrollbar-thumb {
  background: #e9eef4;
  border-radius: 4px;
}

.dark *::-webkit-scrollbar-thumb:hover {
  background: #1d2052;
  cursor: pointer;
}
/* scroolbar end */



/* language button start */
.tab-btn.active {
  background: #2b2c2f !important;
  color: #f4f7fa !important;
}

/* dark mode active */
.dark .tab-btn.active {
  background: #e9eef4 !important;
  color: #212224 !important;
}
/* language button end */



/* sidebar menyu reng start */
.menu-item.active .icon {
  background-color: #ffae00 !important;
}
/* sidebar menyu reng end */



/* custom cursor start */
.procus-cursor {
  width: 40px;
  height: 40px;
  border: 1px solid #ffae00;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 999999;
}

.procus-cursor2 {
  width: 10px;
  height: 10px;
  background: #ffae00;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 999999;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .procus-cursor {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .procus-cursor {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .procus-cursor2 {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .procus-cursor2 {
    display: none;
  }
}
/* custom cursor end */



/* fonts staret */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: url("/assets/fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Montserrat";
  letter-spacing: -0.2px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

button {
  font-weight: 500;
  letter-spacing: -0.3px;
}

.playfair-display {
  font-family: "PlayfairDisplay";
}

/* mobil font tənzimləmələri */
@media (max-width: 1024px) {
  body {
    letter-spacing: -0.1px;
  }
  h1, h2, h3 {
    letter-spacing: -0.3px;
  }
}
/* fonts end */



/* profile image start */
.reveal-scroll {
  clip-path: inset(0 100% 0 0);
  animation: scrollOpen 1.4s ease forwards;
}

@keyframes scrollOpen {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.shine {
  position: absolute;
  top: -50%;
  left: 50%;
  width: 0;
  height: 220%;
  background: rgba(255,255,255,0.35);
  transform: rotate(35deg);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}

.group:hover .shine {
  animation: centerShine 0.8s ease;
}

@keyframes centerShine {
  0% {
    left: 50%;
    width: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    left: -20%;
    width: 140%;
    opacity: 0;
  }
}
/* profile image end */



/* ok spin start */
#rotatingImage {
  animation: spinNormal 25s linear infinite;
}

@keyframes spinNormal {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ok spin end */



/* section active start */
section {
  min-height: auto;
}
/* section active end */



/* page right left up animations start */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 3.0s;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 3.0s;
}

.animate-slide-in-up {
  animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 3.40s;
  opacity: 0;
}

/* mobil düzəlişlər - animasiya məsafələri azaldılır */
@media (max-width: 1024px) {
  @keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(-20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
/* page right left up animations end */



/* services section animations start */
.services-div {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.services-div:nth-of-type(1) {
  animation-delay: 0.1s;
}

.services-div:nth-of-type(2) {
  animation-delay: 0.2s;
}

.services-div:nth-of-type(3) {
  animation-delay: 0.3s;
}

.services-div:nth-of-type(4) {
  animation-delay: 0.4s;
}

.services-title-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.05s;
}

.services-h1 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.services-h1:nth-of-type(1) {
  animation-delay: 0.1s;
}

.services-h1:nth-of-type(2) {
  animation-delay: 0.2s;
}

.services-h3 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.05s;
}

/* mobil düzəlişlər - animasiya daha az məsafə ilə */
@keyframes slideInLeftMobile {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .services-div,
  .services-title-img,
  .services-h1,
  .services-h3 {
    transform: translateX(15px);
  }
  
  @keyframes slideInLeftMobile {
    0% {
      opacity: 0;
      transform: translateX(15px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}
/* services section animations end */



/* portfolio section animations start */
.portfolio-title-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.06s;
}

.portfolio-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
}

.portfolio-img:nth-of-type(1) {
  animation-range: entry 60% cover 30%;
}

.portfolio-img:nth-of-type(2) {
  animation-range: entry 80% cover 40%;
}

.portfolio-h1 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.portfolio-h1:nth-of-type(1) {
  animation-delay: 0.1s;
}

.portfolio-h1:nth-of-type(2) {
  animation-delay: 0.2s;
}

.portfolio-h3 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.06s;
}

/* mobil düzəlişlər - animasiya daha az məsafə ilə */
@media (max-width: 1024px) {
  .portfolio-title-img,
  .portfolio-img,
  .portfolio-h1,
  .portfolio-h3 {
    transform: translateX(15px);
  }
}
/* portfolio section animations end */



/* about section animations start */
.about-div {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 60% cover 30%;
}

.about-title-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.07s;
}

.about-h1 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.about-h1:nth-of-type(1) {
  animation-delay: 0.1s;
}

.about-h1:nth-of-type(2) {
  animation-delay: 0.2s;
}

.about-h3 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.07s;
}

/* mobil düzəlişlər - animasiya daha az məsafə ilə */
@media (max-width: 1024px) {
  .about-div,
  .about-title-img,
  .about-h1,
  .about-h3 {
    transform: translateX(15px);
  }
}
/* about section animations end */



/* skills section animations start */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

.skills-div {
  opacity: 0;
  transform: scale(1.5);
  animation: zoomIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
}

.skills-div:nth-of-type(1) {
  animation-range: entry 0% cover 30%;
}

.skills-div:nth-of-type(2) {
  animation-range: entry 3% cover 30%;
}

.skills-div:nth-of-type(3) {
  animation-range: entry 6% cover 30%;
}

.skills-div:nth-of-type(4) {
  animation-range: entry 9% cover 30%;
}

.skills-div:nth-of-type(5) {
  animation-range: entry 12% cover 30%;
}

.skills-div:nth-of-type(6) {
  animation-range: entry 15% cover 30%;
}

.skills-div:nth-of-type(7) {
  animation-range: entry 18% cover 30%;
}

.skills-div:nth-of-type(8) {
  animation-range: entry 21% cover 30%;
}

.skills-div:nth-of-type(9) {
  animation-range: entry 24% cover 30%;
}

.skills-div:nth-of-type(10) {
  animation-range: entry 27% cover 30%;
}

.skills-div:nth-of-type(11) {
  animation-range: entry 30% cover 30%;
}

.skills-div:nth-of-type(12) {
  animation-range: entry 33% cover 30%;
}

.skills-div:nth-of-type(13) {
  animation-range: entry 36% cover 30%;
}

.skills-div:nth-of-type(14) {
  animation-range: entry 39% cover 30%;
}

.skills-div:nth-of-type(15) {
  animation-range: entry 42% cover 30%;
}

.skills-div:nth-of-type(16) {
  animation-range: entry 45% cover 30%;
}

.skills-title-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.08s;
}

.skills-h1 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.skills-h1:nth-of-type(1) {
  animation-delay: 0.1s;
}

.skills-h1:nth-of-type(2) {
  animation-delay: 0.2s;
}

.skills-h3 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.08s;
}

/* mobil düzəlişlər - animasiya daha az məsafə ilə */
@media (max-width: 1024px) {
  .skills-title-img,
  .skills-h1,
  .skills-h3 {
    transform: translateX(15px);
  }
  @keyframes zoomIn {
    0% {
      opacity: 0;
      transform: scale(1.15);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}
/* skills section animations end */



/* diploma section animations start */
.diploma-title-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.09s;
}

.diploma-img {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    animation: rollReveal 1s ease-out forwards;

    animation-timeline: view();
    animation-range: entry 60% cover 40%;
}

@keyframes rollReveal {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.diploma-h1 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.diploma-h1:nth-of-type(1) {
  animation-delay: 0.1s;
}

.diploma-h1:nth-of-type(2) {
  animation-delay: 0.2s;
}

.diploma-h3 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.09s;
}

/* mobil düzəlişlər - animasiya daha az məsafə ilə */
@media (max-width: 1024px) {
  .diploma-title-img,
  .diploma-h1,
  .diploma-h3 {
    transform: translateX(15px);
  }
}
/* diploma section animations end */



/* contact section animations start */
.contact-div {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 50% cover 40%;
}

.contact-title-img {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.1s;
}

.contact-h1 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
}

.contact-h1:nth-of-type(1) {
  animation-delay: 0.2s;
}

.contact-h1:nth-of-type(2) {
  animation-delay: 0.3s;
}

.contact-h3 {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInLeft 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-timeline: view();
  animation-range: entry 100% cover 30%;
  animation-delay: 0.1s;
}

/* mobil düzəlişlər - animasiya daha az məsafə ilə */
@media (max-width: 1024px) {
  .contact-div,
  .contact-title-img,
  .contact-h1,
  .contact-h3 {
    transform: translateX(15px);
  }
}
/* contact section animations end */

/* animation delays start */
.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}
/* animation delays end */



@media (min-width: 1025px) and (max-width: 1366px) {

  @keyframes slideInRight {
    0% {
      opacity: 0;
      /* Hərəkət olmasın */
      transform: translateX(0);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInLeft {
    0% {
      opacity: 0;
      /* Hərəkət olmasın */
      transform: translateX(0);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInUp {
    0% {
      opacity: 0;
      /* Hərəkət olmasın */
      transform: translateY(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes zoomIn {
    0% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}

@media (max-width: 1024px) {

  @keyframes slideInRight {
    0% {
      opacity: 0;
      /* Minimal məsafə */
      transform: translateX(-15px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInLeft {
    0% {
      opacity: 0;
      /* Minimal məsafə */
      transform: translateX(15px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInUp {
    0% {
      opacity: 0;
      /* Minimal məsafə */
      transform: translateY(15px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Skills section üçün mobil zoom animasiyası */
  @keyframes zoomIn {
    0% {
      opacity: 0;
      /* Minimal böyümə */
      transform: scale(1.15);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}