/* Custom Styles for Tuition Bureau */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.3s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse-slow 2s infinite;
}

/* Job ticker animation */
@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-animation {
    animation: ticker 20s linear infinite;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button animations */
.btn-hover {
    transition: all 0.2s ease;
}

.btn-hover:hover {
    transform: scale(1.02);
}

.btn-hover:active {
    transform: scale(0.98);
}

/* Form styling */
.form-input {
    transition: all 0.2s ease;
}

.form-input:focus {
    transform: scale(1.01);
}

/* Mobile menu animation */
.mobile-menu-enter {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2563EB, #16A34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Status badges */
.status-new {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.status-contacted {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-converted {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-closed {
    background-color: #F3F4F6;
    color: #374151;
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-verified {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* Table responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #2563EB;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide scrollbar but allow scrolling */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Focus styles for accessibility */
.focus-ring:focus {
    outline: none;
    ring: 2px;
    ring-offset: 2px;
    ring-color: #2563EB;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Blob Animations (Added) */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Linear Mask for Ticker */
.mask-linear {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}