html {
    scroll-behavior: smooth;
}
/* Global Font */
body {
    font-family: 'Poppins', sans-serif;
    /* Optional: add top padding so content doesn't hide behind the fixed nav */
    padding-top: 5rem;

}
/* Dropdown Animation */
.dropdown-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Gradient Hover Effect */
.gradient-hover {
    background: linear-gradient(90deg, #084391, #4EB3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s ease-in-out;
}
/* Underline Hover for Dropdown Items */
.dropdown-menu a {
    position: relative;
}
.dropdown-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #4EB3FF;
    transition: width 0.3s ease-in-out;
}
.dropdown-menu a:hover::after {
    width: 100%;
}
/* Underline Hover for Direct Nav Items */
.underline-hover {
    position: relative;
}
.underline-hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #4EB3FF;
    transition: width 0.3s ease-in-out;
}
.underline-hover:hover::after {
    width: 100%;
}
.btn-hover {
    width: 100%; /* Full width as per your original button */
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    height: 55px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Gradient background */
.btn-hover.color-9 {
    background-image: linear-gradient(to right, #084391,#4EB3FF, #084391,#4EB3FF);
    box-shadow: 0 4px 10px 0 rgba(58, 58, 58, 0.5);
}

/* Hover effect */
.btn-hover:hover {
    background-position: 100% 0;
    transition: all 0.4s ease-in-out;
}

/* Focus effect */
.btn-hover:focus {
    outline: none;
}
/* Custom Scrollbar Styling */
.roadmap-box::-webkit-scrollbar {
    width: 8px; /* Thin scrollbar */
}

.roadmap-box::-webkit-scrollbar-thumb {
    background-color: #084391; /* Scrollbar color */
    border-radius: 6px;
}

.roadmap-box::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light background */
    border-radius: 6px;
}

/* Hide Scrollbar When Not Needed */
.roadmap-box {
    max-height: 450px;
    overflow-y: auto;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #084391 #f1f1f1;
}

/* Hide scrollbar by default */
.roadmap-box.no-scroll {
    overflow-y: hidden;
}
.hidden-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.visible-section {
    opacity: 1;
    transform: translateY(0);
}
.hidden-up {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.heartbeat {
    animation: smallHeartBeat 1.5s infinite;
}
@keyframes smallHeartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.container{
    padding: 16px !important;
}
@media (max-width: 640px) {
    h2 {
        text-align: center !important;
    }
}

/* base (hidden) */
.tg-hidden { display: none; }

/* container */
#telegram-banner.tg-show {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 8px;
  background: #0b1228; /* dark, not flashing */
  color: #fff;
  box-shadow: 0 -6px 20px rgba(0,0,0,.12);
}

/* content */
#telegram-banner .tg-content {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}

/* icon */
#telegram-banner .tg-icon { width: 28px; height: 28px; flex: 0 0 28px; }

/* text */
#telegram-banner .tg-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
#telegram-banner .tg-text strong { font-weight: 700; }

/* CTA */
#telegram-banner .tg-cta {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: #4664EC;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}

/* close button */
#telegram-banner .tg-close {
  margin-left: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; font-size: 18px; line-height: 1;
  cursor: pointer;
}

/* keep it small on mobile */
@media (max-width: 640px){
  #telegram-banner.tg-show { padding: 8px; }
  #telegram-banner .tg-text { font-size: 13px; }
  #telegram-banner .tg-cta { padding: 8px 12px; font-size: 13px; }
}

/* optional: gentle slide-in (not required) */
@media (prefers-reduced-motion: no-preference){
  #telegram-banner.tg-show { animation: tgSlide .25s ease-out; }
  @keyframes tgSlide { from { transform: translateY(12px); opacity: .0; } to { transform: translateY(0); opacity: 1; } }
}

