/* stipend.css - Stipends Styles for GAI Helpline */

body {
    background-color: #fcfeff;
    color: #020617;
    overflow-x: hidden;
}

/* Base Ticker styling */
.header-ticker {
    overflow: hidden;
    background: #00aeef !important;
    height: 52px !important;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.15);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    font-family: 'Anek Bangla', 'Inter', sans-serif !important;
}

.header-ticker .ticker-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding-left: 0.75rem;
    padding-right: 0.5rem;
}

.header-ticker .ticker-badge {
    background: #ffffff !important;
    color: #00aeef !important;
    font-weight: 800;
    font-size: 11px !important;
    padding: 4px 12px !important;
    border-radius: 9999px !important;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 10;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-right: 0.75rem;
    user-select: none;
    line-height: 1 !important;
    align-self: center !important;
}

.header-ticker .ticker-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00aeef;
    border-radius: 50%;
    animation: tickerPulse 1.5s infinite;
}

@keyframes tickerPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.header-ticker .ticker-scroll-area {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.header-ticker .ticker-track {
    position: absolute;
    white-space: nowrap !important;
    will-change: transform;
    animation: siteTicker 24s linear infinite !important;
    font-family: inherit;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .header-ticker .ticker-container {
        padding-left: 1.5rem;
    }
    .header-ticker .ticker-badge {
        font-size: 13px !important;
        padding: 5px 14px !important;
    }
}

@keyframes siteTicker {
    0% { transform: translate3d(100vw, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

    100% {
        transform: translateX(-100%);
    }
}

.hero-gradient {
    background: radial-gradient(circle at top left, #ffffff 0%, #ffffff 100%);
}

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

::selection {
    background: #00aeef;
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Anek Bangla', sans-serif !important;
}

.logo-spin {
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#mobile-menu-backdrop {
    transition: opacity 0.5s ease;
}

details[open] {
    border-color: #00aeef !important;
}

details summary::-webkit-details-marker {
    display: none;
}

.float-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 150;
    background: #25d366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 30px 60px rgba(37, 211, 102, 0.4);
}

@media (max-width: 640px) {
    .float-whatsapp {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
        border-radius: 20px;
    }
}