/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Module cards hover effects */
.module-card:hover {
    transform: translateY(-5px);
}

/* Button hover effects */
.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Modal animations */
.modal-enter {
    animation: fadeInUp 0.3s ease-out;
}

/* Breathing animation */
.breathing-circle {
    animation: breathe 4s ease-in-out infinite;
}

/* Progress bar animations */
.progress-bar {
    transition: width 0.3s ease;
}

/* Note card animations */
.note-card {
    transition: all 0.3s ease;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Typing animation */
.typing-indicator {
    display: inline-block;
    position: relative;
}

.typing-indicator::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 0;
    width: 2px;
    height: 1em;
    background-color: currentColor;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Job card animations */
.job-card {
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Resume preview styles */
.resume-preview {
    background: white;
    color: black;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resume-preview h1 {
    color: #2d3748;
    border-bottom: 2px solid #4a5568;
    padding-bottom: 0.5rem;
}

.resume-preview h2 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Timer display */
.timer-display {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Quote carousel */
.quote-carousel {
    transition: transform 0.5s ease;
}

/* DSA progress circle */
.progress-circle {
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 0.5s ease;
}

/* Search input focus */
.search-input:focus {
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .timer-display {
        font-size: 2rem;
    }
    
    .resume-preview {
        padding: 1rem;
    }
    
    .module-card {
        margin-bottom: 1rem;
    }
}
