/*
Theme Name: LearnSoft
Theme URI: https://learnsoft.in
Author: LearnSoft
Author URI: https://learnsoft.in
Description: A clean, modern computer education landing page theme built with Tailwind CSS utility classes and Font Awesome icons.
Version: 1.0.0

Tags: custom-menu, featured-images, translation-ready, full-width-template, education, tech
*/

/* ==========================================================================
   1. WordPress Core Required Styles
   ========================================================================== */
/* Alignment classes used natively by WordPress editors */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 100%;
    padding: 5px;
    text-align: center;
}

.wp-caption-text {
    font-size: 0.85em;
    margin: 5px 0 0;
    color: #4b5563;
}

/* ==========================================================================
   2. Theme Animation & Interaction Rules
   ========================================================================== */

/* Smooth Lift Interaction for Course Cards */
.course-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s ease, 
                transform 0.5s ease;
}

.course-card:hover {
    transform: translateY(-5px) !important; /* Force override scroll-animation base matrix */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Custom Dynamic Category Card Active State Border Overrides */
.category-card {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

/* Progress Loop Rings (Useful for extended LMS or dashboard profiles) */
.progress-ring__circle {
    transition: stroke-dashoffset 0.5s ease;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

/* Hero & Section Component Entry Keyframes */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-fade-in {
    opacity: 0; /* Fallback starting state handled sequentially via JS execution */
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   3. Fallback Navigation Utilities
   ========================================================================== */
/* Ensures basic list items look clean if no custom navigation array is registered */
.flex.space-x-8 ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flex.space-x-8 ul li a {
    color: #374151;
    transition: color 0.2s ease;
}

.flex.space-x-8 ul li a:hover {
    color: #2563eb;
}