/* ==========================================================================
   FRONTEND STYLES - TAPOVAN PARYUSHAN ARADHANA
   ========================================================================== */

/* Import modular CSS files */
@import 'base.css';
@import 'header.css';
@import 'hero.css';
@import 'sections.css';
@import 'footer.css';
@import 'home.css';

/* ==========================================================================
   ADDITIONAL UTILITIES AND ANIMATIONS
   ========================================================================== */

/* Animation Classes */
@keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(30px);
}
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
    opacity: 0;
        transform: translateX(-30px);
}
    to {
    opacity: 1;
        transform: translateX(0);
}
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations - DISABLED to prevent smooth transitions */
/*
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.slide-in-top {
    animation: slideInFromTop 0.6s ease-out;
}

.slide-in-bottom {
    animation: slideInFromBottom 0.6s ease-out;
}

/* Staggered Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
*/

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Show login button only on desktop/tablet, hide on mobile */
.header-login-btn {
    display: inline-block;
    margin-left: 24px;
}
@media (max-width: 991.98px) {
    .header-login-btn {
        display: none !important;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .hero,
    .loading-spinner,
    .back-to-top,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .section {
        page-break-inside: avoid;
  }
}