/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
        position: static;
    }

    .projects-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .navbar-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .navbar-links {
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .navbar-content {
        width: 100%;
    }

    .search-nav-container {
        max-width: 100%;
        width: 100%;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .stat-card {
        min-width: 100%;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .register-form-container {
        padding: 30px 20px;
    }

    .account-type {
        flex-direction: column;
    }

    .progress-step::after {
        font-size: 0.8rem;
        top: calc(100% + 5px);
    }

    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
    }

    .reset-container {
        padding: 30px 20px;
    }

    .reset-header h1 {
        font-size: 2rem;
    }

    .links-container {
        flex-direction: column;
        gap: 10px;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .projects-container {
        grid-template-columns: 1fr;
    }

    .project-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .search-container {
        flex-direction: column;
    }

    .search-container input {
        border-radius: 50px;
        margin-bottom: 10px;
    }

    .search-btn {
        border-radius: 50px;
        justify-content: center;
    }

    .register-form-container {
        padding: 20px 15px;
    }

    .register-header h1 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .reset-container {
        padding: 20px 15px;
    }

    .reset-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .bid-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bid-actions {
        width: 100%;
    }

    .btn-action {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bid-card,
.project-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.bid-card:nth-child(1),
.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.bid-card:nth-child(2),
.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.bid-card:nth-child(3),
.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.bid-card:nth-child(4),
.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.bid-card:nth-child(5),
.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }

    70% {
        transform: translateX(-50%) scale(1.3);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

 /* Responsive */
        @media (max-width: 768px) {
            
            .confirmation-container {
                padding: 40px 20px;
            }
            
            .confirmation-header h1 {
                font-size: 2rem;
            }
            
            .confirmation-message {
                font-size: 1rem;
            }
            
            .btn-home {
                width: 100%;
            }
        }

        
/* الرسوم المتحركة */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(67, 97, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

/* التكيف مع الأجهزة المحمولة */
@media (max-width: 768px) {
    .email-verification-card {
        padding: 30px 20px;
    }
    
    .verification-success-title {
        font-size: 1.8rem;
    }
    
    .verification-success-message {
        font-size: 1rem;
    }
    
    .verification-action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-outline-primary {
        width: 100%;
    }
}