.comment-container .dropdown-item {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.profile-image {
  width: 150px; /* Set width */
  height: 150px; /* Force height to match width */
  object-fit: cover; /* Ensures the image scales correctly and doesn't distort */
  border-radius: 50%; /* Ensures the image stays round */
}

.sm-profile-image {
  width: 35px; /* Set width */
  height: 35px; /* Force height to match width */
  object-fit: cover; /* Ensures the image scales correctly and doesn't distort */
  border-radius: 50%; /* Ensures the image stays round */
}

/* Mobile icon bar at the bottom */
.fixed-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1050;
}

.fixed-bottom .d-flex {
  justify-content: space-around;
}

.fixed-bottom a {
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fixed-bottom a i {
  display: block;
}

.fixed-bottom a .fs-sm {
  font-size: 0.75rem;
}

.fixed-bottom a i.text-success {
  color: #28a745; /* Green color for the add icon */
}


.gallery-item {
  width: 100%;
  padding-top: 100%; /* Makes the container a square */
  position: relative;
  overflow: hidden;
  border: 3px solid var(--si-bg-primary);
}
.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the square without distortion */
}

.text-overlay {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  color: white;
  font-size: 1rem;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.image-bg {
  height: 100vh; /* Ensures the section fills the viewport */
  background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,var(--si-body-bg) 70%, var(--si-body-bg) 100%),
      url('../images/surf.jpg');
  background-size: cover, cover, cover; /* Ensures each background is sized correctly */
  background-position: center, center, center; /* Aligns each background */
  background-repeat: no-repeat, no-repeat, no-repeat; /* Prevents tiling for all layers */
  background-attachment: scroll, scroll, scroll; /* Controls scroll behavior */
}

.image-bg-north {
  height: 100vh; /* Ensures the section fills the viewport */
  background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0) 50%, var(--si-body-bg) 100%),
      url('https://wallpapercave.com/wp/wp4579132.jpg');
  background-size: cover, cover, cover; /* Ensures each background is sized correctly */
  background-position: center, center, center; /* Aligns each background */
  background-repeat: no-repeat, no-repeat, no-repeat; /* Prevents tiling for all layers */
  background-attachment: scroll, scroll, scroll; /* Controls scroll behavior */
}

.image-bg-yellow{
  height: 100vh; /* Ensures the section fills the viewport */
  background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0) 50%, var(--si-body-bg) 100%),
      url('https://wallpapercave.com/wp/wp4579132.jpg');
  background-size: cover, cover, cover; /* Ensures each background is sized correctly */
  background-position: center, center, center; /* Aligns each background */
  background-repeat: no-repeat, no-repeat, no-repeat; /* Prevents tiling for all layers */
  background-attachment: scroll, scroll, scroll; /* Controls scroll behavior */
}

.dark-mode .image-bg-north {
  height: 100vh; /* Ensures the section fills the viewport */
  background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0) 50%, var(--si-body-bg) 100%),
      url('https://i.pinimg.com/originals/f0/a9/54/f0a954736633887614fee3270e6aeaa5.jpg');
  background-size: cover, cover, cover; /* Ensures each background is sized correctly */
  background-position: center, center, center; /* Aligns each background */
  background-repeat: no-repeat, no-repeat, no-repeat; /* Prevents tiling for all layers */
  background-attachment: scroll, scroll, scroll; /* Controls scroll behavior */

}
.dark-mode .image-bg-yellow{
  height: 100vh; /* Ensures the section fills the viewport */
  background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0) 50%, var(--si-body-bg) 100%),
      url('../images/bgs.jpg');
  background-size: cover, cover, cover; /* Ensures each background is sized correctly */
  background-position: center, center, center; /* Aligns each background */
  background-repeat: no-repeat, no-repeat, no-repeat; /* Prevents tiling for all layers */
  background-attachment: scroll, scroll, scroll; /* Controls scroll behavior */

}

.image-bg-latex {
  height: 100vh; /* Ensures the section fills the viewport */
  background: 
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0) 50%, var(--si-body-bg) 100%),
      url('https://wallpapercave.com/wp/wp4579132.jpg');
  background-size: cover, cover, cover; /* Ensures each background is sized correctly */
  background-position: center, center, center; /* Aligns each background */
  background-repeat: no-repeat, no-repeat, no-repeat; /* Prevents tiling for all layers */
  background-attachment: scroll, scroll, scroll; /* Controls scroll behavior */
}

.card-blur{
  border-radius:10px;
  backdrop-filter: blur(7px) saturate(171%); 
  -webkit-backdrop-filter: blur(7px) saturate(171%);
  background-color: rgba(var(--si-body-bg-rgb),0.3);  
}

.blur{
  backdrop-filter: blur(7px) saturate(171%); 
  -webkit-backdrop-filter: blur(7px) saturate(171%);
  background-color: rgba(var(--si-body-bg-rgb),0.3);  
  border: none;
}

.fade-in-up {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* When .fade-in-up has .is-visible, it transitions to final position */
.fade-in-up.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.alert-blur {
  backdrop-filter: blur(7px) saturate(171%); 
  -webkit-backdrop-filter: blur(7px) saturate(171%);
  background-color: rgba(var(--si-body-bg-rgb),0.3);  
}


/* ---------------------------INDEX-------------------------------------- */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Stylish Typewriter Effect */
.typing-effect {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid white; /* Simulated cursor */
  font-size: 3rem; /* Adjust as needed */
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.3);
  animation: typing 4s steps(40, end) forwards;
  border-right: none; /* No blinking after typing completes */
}

/* Neon glow animation for the hero heading */
.neon-text {
  color:rgb(254, 255, 223);
  text-shadow: 
     0 0 2px var(--si-primary),
     0 0 4px var(--si-primary),
     0 0 8px var(--si-primary),
     0 0 15px var(--si-primary);
  animation: neonGlow 2s ease-in-out infinite alternate;
  font-family: "Playwrite HU", sans-serif;
}
@keyframes neonGlow {
  0% {
    text-shadow: 
      0 0 2px var(--si-primary),
      0 0 4px var(--si-primary),
      0 0 6px var(--si-primary),
      0 0 8px var(--si-primary);
  }
  100% {
    text-shadow:
      0 0 4px var(--si-primary),
      0 0 7px var(--si-primary),
      0 0 10px var(--si-primary),
      0 0 15px var(--si-primary);
  }
}

/* Slightly dark overlay for text to pop on images */
.text-overlay {
  background: rgb(65 65 65 / 68%);
  padding: 0.3rem;
  font-size: 0.9rem;
}

/* Removed .fade-in-up and .is-visible styles
   since AOS handles animations now. */

.card-blur,
.alert-blur {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.image-bg-yellow {
  /* If you have a specific background image, you can set it here */
  background-size: cover;
  background-position: center;
}
/* Skeleton Loader Animation */
@keyframes skeleton-loading {
0% {
background-color:rgb(28, 31, 41);
}
50% {
background-color:rgb(43, 44, 27);
}
100% {
background-color: rgb(28, 31, 41);
}
}

/* Skeleton Loader Placeholder */
.skeleton {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 5px;
animation: skeleton-loading 1.2s infinite alternate;
}

/* Ensure images fade in smoothly while maintaining a square */
.skeleton-container {
overflow: hidden;
background: #1d1d1d;
border-radius: 5px;
width: 100%;
}

.skeleton-container img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}


