.section_2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
}

.project {
    max-width:50%;
    margin-right: 10px;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-info {
    margin-top: 20px;
}

.project-info h2 {
    font-family: "Syne", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.project-link,
.arrow-link {
  text-decoration: none;
  color: inherit;
}

.custom-link {
  text-decoration: none;
  color: inherit;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
   transform: rotate(-45deg) translate(1px, -1px);
   font-size: 1rem;
}


.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 10px;
    text-align: left;
    margin-left: -0.1rem;

}

.tags span {
    padding: 10px 20px;
    border: 1px solid black;
    border-radius: 10px;
    font-size: 0.9rem;
   
    font-family: "poppins", sans-serif;
}

.additional-columns {
    max-width: 45%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.slider-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;

}

.slider-item .project-title{
    color: #000;
}

.slider-item .project-skills{
    color: #000;
}
.screenshots, .other-projects {
    width: 100%;
}

.playstore-button {
    display: inline-block;
    /* margin-top: 10px; */
    padding: 8px 16px;
    background-color: #e5e5e5;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 300;
    border: 1px solid #333;
}



@media screen and (min-width: 1025px) {
    .section_2 {
        display: flex;
        flex-wrap: nowrap;
    }

    .project {
        width: 100%;
    }

    .additional-columns {
        width: 50%;
        display: flex;
        flex-direction: row;
        gap: 40px;
    }

    .screenshots, .other-projects {
        width: 50%;
    }
.screenshots h2, .other-projects h2{
   font-size: 1.3rem;
   font-family: "poppins", sans-serif;
   font-weight: 100;
        margin-bottom: 1rem;

    }
    .other-projects .project-title{
        font-size: 1rem;
        margin-bottom: 0.4rem;
        font-family: "poppins", sans-serif;
    }
    .other-projects .project-skills{
        font-size: 0.6rem;
        font-family: "poppins", sans-serif;
        margin-bottom: 1.5rem;
    }
    .screenshots img, .other-projects img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 10px;
    }
   
}


@media screen and (max-width: 1024px) {
    .section_2 {
       max-width: 1000px;
    }

    h2 {
        font-size: 1.2rem !important;
                font-weight: 200;
        margin-bottom: 10px;
    }
    .additional-columns {
        flex-direction: row;
        gap: 20px;
    }
    .slider-item img {
        width: 100%;
    }
    .project-title {
        margin-top: 10px;
        font-size: 1rem;
        font-family: "poppins", sans-serif;
        white-space: normal;
    }

    .project-skills {
        font-size: 0.6rem;
        white-space: normal;
        font-family: "poppins", sans-serif;
        margin-bottom: 1.5rem;
    }

} 

/* Mobile Specific Adjustments */
@media screen and (max-width: 768px) {
    .section_2 {
        padding: 15px;
    }
    .project{
        max-width: 100%;
    }
    .additional-columns{
        max-width: 100%;
        
        }

    .slider-item {
        flex: 0 0 30%;
    }

    .project-info h2 {
        font-size: 1.2rem;
    }

    .tags span {
        padding: 6px 12px;
        font-size: 0.8rem;
        font-family: "poppins", sans-serif;
    }

    .owner-info h2 {
        font-size: 1rem;
        font-family: "poppins", sans-serif;
    }

    .owner-info p {
        font-size: 0.9rem;
        font-family: "poppins", sans-serif;
    }

    .screenshots h2 {
        font-size: 1.3rem;
        font-family: "poppins", sans-serif;
         font-weight: 100;
        margin-bottom: 1rem;
    }

    .other-projects h2 {
        font-size: 1.3rem;
        margin-top: 1rem;
        font-family: "poppins", sans-serif;
    }
    .section_2 {
        flex-direction: column;
        padding: 20px;
    }

    .project, .additional-columns {
        width: 100%;
        margin: 0 0 40px 0;
        flex-direction: column;
        
    }

    .slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .slider a {
        flex: 0 0 auto;
        width: 100%; /* You can tweak to 50%, 60%, etc. */
        scroll-snap-align: start;
        text-decoration: none;
        color: inherit;
        /* display: block; */
    }

    .slider-item {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background: #fff;
    }

    .slider-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9; /* Force consistent aspect ratio */
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }
    
    .project-title {
        margin-top: 10px;
        font-size: 1.1rem;
        font-family: "poppins", sans-serif;
        white-space: normal;
    }

    .project-skills {
        font-size: 0.5rem;
        white-space: normal;
        font-family: "poppins", sans-serif;
        font-weight: 100;
    }

   
    .slider-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ccc;
        cursor: pointer;
    }

    .indicator.active {
        background-color: #07124D;
    }
}

/* Small Mobile Screens */
@media screen and (max-width: 480px) {
    .section_2 {
        flex-direction: column;
        padding: 20px;
    }

    .project, .additional-columns {
        width: 100%;
        margin: 0 0 20px 0;
        flex-direction: column;
        
    }
    .slider::-webkit-scrollbar {
        display: none;
    }
    .slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .slider a {
        flex: 0 0 auto;
        width: 100%;
        text-decoration: none;
        color: inherit;
        scroll-snap-align: start;
    }

    .slider-item {
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        box-sizing: border-box;
    }
    .slider-item img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

    .project-title {
        margin-top: 10px;
        font-size: 1rem;
        font-family: "poppins", sans-serif;
        white-space: normal;
        word-wrap: break-word;
    }
    .project-skills {
        font-size: 0.6rem;
        margin-top: 0.3rem;
        white-space: normal;
        font-family: "poppins", sans-serif;
        font-weight: 100;
    }
    .slider-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ccc;
        cursor: pointer;
    }

    .indicator.active {
        background-color: #07124D;
    }
    
    
}

/* Add these styles to your existing CSS */
.project, .owner_info {
    transition: opacity 0.3s ease;
}

.fade-out {
    opacity: 0;
}

.slider-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-info {
    transition: all 0.3s ease;
}

.tags span {
    transition: all 0.3s ease;
}
