.slide-3 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem 4rem;
}

.slide-3-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.heading {
    font-weight: 800;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    z-index: 10;
}

.project-component {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.116);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 0 0.5px rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    width: 100%;
    max-width: 620px;
    height: 580px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-component:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 1px rgba(255, 255, 255, 0.12);
}

.project-img {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-container {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.project-btn {
    flex: 1;
    margin: 0 0.5rem;
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 600;
    color: #f0f6fc;
    background: linear-gradient(135deg, #1a2be6, #3f6df3);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
    box-shadow: 0 0 12px rgba(58, 104, 255, 0.2);
}

.project-btn:hover {
    transform: scale(1.06) translateY(-3px);
    background: linear-gradient(135deg, #2638f5, #5e85fa);
    box-shadow: 0 0 18px rgba(68, 123, 255, 0.3);
}

.project-btn:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {

    .slide-3{
        margin-top:20rem;
    }

    .project-component {
        max-width: 80%;
        height: auto;
        margin: 0 auto;
        gap: 8px;
    }

    .project-img {
        
        height: 260px;
        margin-bottom: 16px;
    }

    .btn-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .project-btn {
        width: 100%;
        margin: 0;
    }
}



/* 
.project-frame {
    width: 100%;
    max-width: 1800px;
    height: 1000px;
    max-height: 1000px;
    
    border: 2px solid #44444475;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    scale: 0.6;
    margin-right: auto;
    margin-left: auto;
}
  
.project-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transform-origin: top left;
} */

