/* ============================
   AKSHAR MOBILE - Light Theme
   Custom CSS (Tailwind handles most styling)
   ============================ */

/* Scrollbar */
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: #f1f5f9; }
html::-webkit-scrollbar-thumb { background: #1a3a8a; border-radius: 3px; }
html { scrollbar-width: thin; scrollbar-color: #1a3a8a #f1f5f9; }

/* Preloader */
.preloader-progress {
    animation: preloaderBar 2s ease-in-out forwards;
}
@keyframes preloaderBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Navbar Active State */
.nav-link.active {
    color: #1a3a8a !important;
    background: rgba(26, 58, 138, 0.06);
    font-weight: 600;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(to right, #1a3a8a, #d32f2f);
    border-radius: 1px;
}

/* Navbar scrolled state */
#navbar.scrolled,
.navbar.scrolled,
nav.scrolled {
    background-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
#navbar.scrolled .nav-logo-img,
.navbar.scrolled .nav-logo-img {
    height: 56px !important;
}

/* Hamburger active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu open */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll dot animation */
.scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 18px; }
}

/* Heart beat in footer */
.heart-beat {
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

/* Brand marquee mask */
.brand-marquee-mask {
    -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

/* Reveal animations */
.reveal-item {
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards;
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top visible */
#backToTop.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Selection styling */
::selection {
    background: rgba(26, 58, 138, 0.15);
    color: #1a3a8a;
}

/* Smooth link underline on footer hover */
footer a {
    position: relative;
}

/* Grid pattern subtle overlay for hero */
.hero-grid-pattern {
    background-image: 
        linear-gradient(rgba(26, 58, 138, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 58, 138, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
