/*********    HOME PAGE     **********/

.grid-of-4{
    display: grid;
    gap: 1.5rem;
    @media (width >= 576px) {
        grid-template-columns: 1fr 1fr;   
    }
     @media (width >= 1200px) {
        grid-template-columns: 1fr 1fr 1fr 1fr;   
    }
}

.hero-section {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: bold;
    background: linear-gradient(135deg, #c471ed 0%, #f64f59 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--bs-heading-color);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.categories-grid {
    margin: 2rem 0;
    padding: 0 1rem;
}

.category-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.category-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.category-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

.how-it-works {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.how-it-works h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    color: var(--bs-heading-color);
}

.step h4 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.step p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

.cta-section {
    text-align: center;
    padding: 3rem 1rem 4rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section .btn-success {
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.divider-text {
    position: relative;
    text-align: center;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--divider-color);
    opacity: 0.3;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.divider-text span {
    background: var(--bs-body-bg);
    padding: 0 1rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1rem 3rem;
    }
}


/*********    DASHBOARD PAGE     **********/

.dashboard-stats {
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bs-heading-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

.dashboard-section {
    margin: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.75rem;
}

.focus-card {
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.focus-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.focus-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.focus-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.focus-details .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.kanban-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.kanban-mini-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--bs-heading-color);
}

.kanban-mini-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kanban-mini-item {
    padding: 1rem;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.kanban-mini-item:hover {
    transform: translateX(5px);
}

.kanban-mini-item span {
    display: block;
}

.empty-kanban {
    padding: 2rem;
    text-align: center;
    opacity: 0.6;
    font-style: italic;
}

.kanban-more {
    padding: 0.75rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    opacity: 0.8;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.projects-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    opacity: 0.7;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: grayscale(50%);
}

.projects-placeholder h4 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.projects-placeholder p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

/* Dashboard Mobile Optimizations */
@media (max-width: 576px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 0.75rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
    }
    
    .kanban-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

