/* ===================================
   Projetos Page - Design Moderno
   =================================== */

/* ===== HERO BANNER PROFISSIONAL ===== */
.hero-banner {
    margin-top: 80px;
    min-height: 85vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Partículas animadas */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 15s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; top: 80%; animation-delay: 8s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(50px, -30px) scale(1.5); opacity: 0.6; }
    50% { transform: translate(100px, 20px) scale(1); opacity: 0.3; }
    75% { transform: translate(50px, 50px) scale(1.2); opacity: 0.5; }
}

.hero-banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

/* Lado do texto */
.hero-text-side {
    color: white;
}

.hero-badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInLeft 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title-pro {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInLeft 0.8s ease 0.1s backwards;
}

.highlight-text {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-desc-pro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    animation: fadeInLeft 0.8s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    animation: fadeInLeft 0.8s ease 0.3s backwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.feature-item i {
    color: #00ff88;
    font-size: 1rem;
}

/* Lado visual com cards flutuantes */
.hero-visual-side {
    position: relative;
    height: 400px;
    animation: fadeInRight 1s ease;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.4);
}

.floating-card i {
    font-size: 2.5rem;
}

.floating-card span {
    font-size: 1rem;
    font-weight: 600;
}

.card-1 {
    width: 160px;
    height: 160px;
    top: 10%;
    left: 10%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
    animation: float-card-1 6s ease-in-out infinite;
}

.card-2 {
    width: 140px;
    height: 140px;
    top: 20%;
    right: 15%;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.4), rgba(245, 87, 108, 0.4));
    animation: float-card-2 5s ease-in-out infinite 1s;
}

.card-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 30%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(102, 126, 234, 0.3));
    animation: float-card-3 7s ease-in-out infinite 0.5s;
}

@keyframes float-card-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(5deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 15px) rotate(-5deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -25px) rotate(3deg); }
}

/* Botão Flutuante CTA */
.floating-cta-btn {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-btn 3s ease-in-out infinite, fadeInUp 1s ease 0.5s backwards;
}

.floating-cta-btn:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.floating-cta-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1rem;
}

.floating-cta-btn .btn-text {
    letter-spacing: 0.5px;
}

.floating-cta-btn .btn-arrow {
    animation: bounce-arrow 2s infinite;
}

@keyframes float-btn {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Wave inferior */
.hero-wave-new {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave-new svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Animações */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsivo para o Banner */
@media (max-width: 992px) {
    .hero-banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title-pro {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual-side {
        height: 300px;
    }
    
    .floating-card {
        padding: 1.5rem;
    }
    
    .card-1 { width: 130px; height: 130px; left: 5%; }
    .card-2 { width: 110px; height: 110px; right: 5%; }
    .card-3 { width: 120px; height: 120px; left: 25%; }
}

@media (max-width: 576px) {
    .hero-banner {
        min-height: 100vh;
    }
    
    .hero-banner-content {
        padding: 3rem 1rem;
    }
    
    .hero-title-pro {
        font-size: 2rem;
    }
    
    .hero-desc-pro {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-visual-side {
        display: none;
    }
    
    .floating-cta-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        bottom: 80px;
    }
    
    .floating-cta-btn .btn-icon {
        width: 30px;
        height: 30px;
    }
}

/* ===== FILTERS SECTION ===== */
.filters-section {
    background: #f8fafc;
    padding: 2rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Quando é a seção principal (sem banner) */
.filters-section.filters-top {
    margin-top: 80px;
    padding: 3rem 0 2rem 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    position: relative;
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.3);
}

.filters-top .search-filter-bar {
    flex-direction: column;
    gap: 1.5rem;
}

.filters-top .search-box {
    max-width: 600px;
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.filters-top .search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
}

.filters-top .search-box i {
    color: rgba(255, 255, 255, 0.7);
}

.filters-top .search-box input {
    color: white;
}

.filters-top .search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filters-top .filter-buttons {
    justify-content: center;
}

.filters-top .filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filters-top .filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.filters-top .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.search-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    max-width: 400px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.search-box i {
    color: #667eea;
    font-size: 1.1rem;
    margin-right: 10px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 1rem;
    width: 100%;
    background: transparent;
    font-family: inherit;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.filter-btn i {
    font-size: 1rem;
}

/* ===== PROJECTS GRID ===== */
.projects-section-new {
    padding: 5rem 0;
    padding-top: 4rem;
    background: #f8fafc;
    min-height: 50vh;
    margin-top: 2rem;
}

.projects-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Loading */
.loading-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: #64748b;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state-projects {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state-projects i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-projects h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #334155;
}

/* ===== PROJECT CARDS ===== */
.project-card-new {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.4s ease;
}

.project-card-new:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-card-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.project-tag {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-card-footer {
    display: flex;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.project-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.project-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.project-btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

/* ===== MODAL ===== */
.modal-new {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-new.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content-new {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-new {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-new:hover {
    background: #667eea;
    color: white;
    transform: rotate(90deg);
}

.modal-body-new {
    padding: 2rem;
}

.modal-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 20px;
    background: #f8fafc;
    padding: 1rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.modal-category {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-category span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-description {
    color: #64748b;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.modal-tag {
    background: #f1f5f9;
    color: #667eea;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-btn-primary:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer-new {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 80px;
    height: auto;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Card entrance animation */
.project-card-new {
    animation: cardEntrance 0.5s ease backwards;
}

.project-card-new:nth-child(1) { animation-delay: 0.1s; }
.project-card-new:nth-child(2) { animation-delay: 0.2s; }
.project-card-new:nth-child(3) { animation-delay: 0.3s; }
.project-card-new:nth-child(4) { animation-delay: 0.4s; }
.project-card-new:nth-child(5) { animation-delay: 0.5s; }
.project-card-new:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title-new {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .search-filter-bar {
        flex-direction: column;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .projects-grid-new {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content-new {
        padding: 3rem 1rem;
    }
    
    .hero-badge-new {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .hero-title-new {
        font-size: 1.8rem;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
    }
    
    .filters-section {
        position: relative;
        top: 0;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn {
        padding: 12px;
    }
}
