/* Tendexa — Custom Styles */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 5rem;
}

/* Hero gradient overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 100%);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Yellow accent underline for section headings */
.accent-underline {
    position: relative;
    display: inline-block;
}
.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: #FACC15;
    border-radius: 2px;
}

/* Navbar shadow on scroll */
.navbar-scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

/* Form focus ring */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FACC15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

/* Stats counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.stat-animate {
    animation: countUp 0.5s ease-out forwards;
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}
