@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(2.25rem, 5vw + 1rem, 5.6rem);
  line-height: 144px;
  text-align: center;
}
h2 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 4.2rem);
  line-height: 112px;
  text-align: center;
}
h3 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1.375rem, 3vw + 0.5rem, 3.16rem);
  line-height: 62px;
  text-align: center;
}
h4 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1.125rem, 2.2vw + 0.4rem, 2.37rem);
  line-height: 62px;
  text-align: center;
}
h5 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1rem, 1.8vw + 0.3rem, 1.78rem);
  line-height: 62px;
  text-align: center;
}
h6 {
  font-family: "Montserrat", sans-serif;
  line-height: 62px;
}

p {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: clamp(1.1rem, 1.3vw, 1.3125rem);
  text-align: center;
  opacity: 75%;
  color: #2a2b28;
  margin-top: clamp(14px, 1.2vw, 16px);
}

.social-media a {
  display: flex;
  background: #e0f0ea;
  height: 50px;
  width: 50px;
  margin: 0 10px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0);
  transition: transform 0.5s;
}

.social-media a i {
  font-size: 25px;
  color: #777;
  transition: transform 0.5s;
}

.social-media a:hover {
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0px rgba(255, 255, 255, 1),
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.01);
  transform: translateY(2px);
}

.social-media a:hover i {
  transform: scale(0.9);
}

.social-media a:hover .fa-facebook {
  color: #3b5998;
}

.social-media a:hover .fa-x-twitter {
  color: #000000;
}

.social-media a:hover .fa-github {
  color: #000000;
}

.social-media a:hover .fa-instagram {
  color: #f14843;
}

.social-media a:hover .fa-linkedin-in {
  color: #3b5998;
}
.social-media a:hover .fa-envelope {
  color: #cc3a2e;
}

/* Cursor Dot */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 8px white;
}

/* Trail Effect */
/* .trail {
  position: fixed;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 9998;
  animation: fadeOut 0.7s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.5);
  }
} */

/* Custom ScrollBar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #e0f0ea;
}

::-webkit-scrollbar-thumb {
  background: #2b1f39;
  border-radius: 10px;
  box-shadow: 0 0 8px #2b1f39, 0 0 16px #e0f0ea;
  background-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(224, 240, 234, 0.8) 50%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: neonFlow 2s linear infinite;
}

::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 12px #e0f0ea, 0 0 24px #2b1f39;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #2b1f39 #e0f0ea;
}

@keyframes neonFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 200%;
  }
}

/* Logo Box Transitions */
.logo-box {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
  will-change: transform, box-shadow;
}

.logo-box:hover {
  transform: translateY(-6px) scale(1.05) rotateY(5deg);
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15),
    0 8px 16px -4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
  filter: brightness(1.05);
}
