@media screen and (max-width: 765px) {
    body {
        
    }

    .navbar {
        width: 95%;
        padding: 10px 10px;
        /* Increased horizontal padding for breathing room */

    }


    .nav-tabs {
        display: none;
    }
    .homemain {
   
    flex-direction: column;
   
    height: 80vh;
}

.homemain .soci {
    margin-top: 6em;
   margin-bottom: 3em;
    flex-direction: row;

    

    img {
        height: 20px;
        width: 20px;
        margin-left: 0px;
        margin-right: 10px;
        margin-bottom: 0px;

  
    }

    

    span {

        writing-mode: horizontal-tb;
        transform: rotate(0deg);

    }
}
.title-group {
   
    text-align: left;


}

.homemain .tagline span:first-of-type {
    font-size: 3.1rem;
    
   
}

/* 2. The Tilted Side Span */
.homemain .tagline span:nth-of-type(2) {
    font-size: 1.3rem;
    /* The Tilt */
    transform: rotate(-5deg);

}
.soci:nth-child(2){
    display: none;
}



.folder-wrapper {
    margin: 0;
    width: 100%;
    height: 900px;
    display: flex;
    background-color: #64b4f630;
    justify-content: center;
    align-items: end;
    padding-bottom: 5em;
    perspective: 1000px;
    transition: ease-in-out .5s;
    /* Adds 3D depth */
}

.folder-body {
    position: relative;
    width: 290px;
    height: 250px;
    background: #d2ecff;
    /* Light inner folder color */
    backdrop-filter: blur(12px);
    border: solid #72befc26 1px;
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px 15px 15px 15px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Base Card Styling */
.f-card {
    position: absolute;
    width: 300px;
    height: 200px;
    left: 20px;
    bottom: 20px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;

    span {
        font-size: 1em;
        font-weight: 500;
        color: black;
        margin-bottom: 10px
    }

    span:nth-of-type(2) {
        font-size: 12px;
        font-weight: 500;
        color: rgb(52, 52, 52);
        margin-right: 7em;
    }
}


.chip {
    width: 40px;
    height: 30px;
    background: white;
    border-radius: 4px;
    margin-bottom: 10px;
    opacity: .8;
}

/* Folder Front (The "Pocket") */


/* THE SCATTER ANIMATION */


.folder-body .feature-1 {
    transform: translate(-50px, -290px) rotate(-7deg);
}

.folder-body .feature-2 {
    transform: translate(0, -100px) rotate(0deg);
}

.folder-body .feature-3 {
    transform: translate(0px, -500px) rotate(8deg);
}
.stage {
        height: auto;
        overflow: hidden;
        padding: 20px 0;
    }

    .bow-container {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 20px;
        width: 100%;
        perspective: none !important;
        /* Custom scrollbar styling for a cleaner look */
        -webkit-overflow-scrolling: touch;
    }

    /* Reset the cards to be normal flat rectangles */
    .card {
        position: relative !important;
        flex: 0 0 280px; /* Fixed width for mobile cards */
        transform: none !important; /* Remove the curve/rotation */
        opacity: 1 !important;
        filter: none !important;
        pointer-events: auto !important;
        scroll-snap-align: center;
        margin: 0 !important;
        left: 0 !important;
        top: 0 !important;
    }

    /* Hide the background element if it interferes with the list */
    .bagg {
        display: none;
    }
    .center-text{
        display: none;
    }


}


/* ======================================================
   3. DESKTOP STYLES
   Target: Screens 1024px and wider (Laptops, Monitors)
   ====================================================== */
@media screen and (min-width: 1024px) {
    body {
       
    }
}


/* ======================================================
   4. LARGE DESKTOP (Optional)
   Target: 1440px+ (Ultra-wide monitors)
   ====================================================== */
@media screen and (min-width: 1440px) {
    body {
        
    }
}