/*
Theme Name: Avvashya TT5 Child
Theme URI: https://example.com/
Description: Custom child theme for TT5.
Author: LogiPrism
Template: twentytwentyfive
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: avvashya-tt5
*/


html {
  scroll-behavior: smooth;
}

/* ------- css.gg icons ------------------- */

.gg-arrow-up-r {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid;
  transform: scale(var(--ggs, 1));
  border-radius: 4px;
}
.gg-arrow-up-r::after,
.gg-arrow-up-r::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 4px;
}
.gg-arrow-up-r::after {
  width: 6px;
  height: 6px;
  border-top: 2px solid;
  border-left: 2px solid;
  transform: rotate(45deg);
  left: 6px;
}
.gg-arrow-up-r::before {
  width: 2px;
  height: 10px;
  left: 8px;
  background: currentColor;
}

/* ________________________________________ */

/* ------ Scroll to top button ------------ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #c49a6c;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: bounce 2s infinite;
  text-align: center;
  text-decoration: none;
}

.scroll-to-top:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(4px);
  }
}
/*_________________________________________ */