/* section1 css */
.section_1 {
    text-align: center;
    /* padding: 60px 20px;  */
    margin: 0 auto; 
    max-width: 1400px;
}

.section_img {
    width: 100%;
   /* padding-top: 1rem; */
    height: auto;
    position: absolute;
    margin-top: -20rem;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.section_1 .content {
    position: relative;
    z-index: 1;
    margin-top: 10rem;
    padding-top: 0.2rem;
}

.section_1 .content h1 {
    font-weight: lighter;
    font-family: "Syne", sans-serif;
    color: #000;
    font-size: 4rem;  
    margin-top: 6.5rem;  
}

.section_1 .content p {
    margin-top: 6rem;
    font-family: "Syne", sans-serif;
    font-size: 2rem; 
    color: #07124D;   
}

/* Categories Base Styles */
.categories {
    margin-top: 6rem;
    padding: 10px 0;
    text-align: center;
}

.categories ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.categories ul li {
    margin: 0 15px;
    cursor: pointer;
    font-family: "Syne", sans-serif;
    font-size: 1rem;
}

.categories ul li.active {
    color: #000;
    border: 1px solid #07124D;
    border-radius: 30px;
    padding: 5px 15px ;

    
}
.profile-button {
    background-color: #07124D;
    color: white;
    padding: 0.75rem 1.5rem;
    margin: 2rem 0;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
     font-family: 'Poppins', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}


/* Responsive Design Adjustments */

@media (max-width: 1624px) {
   
       .section_1 .content{
        padding-top: 0rem;
       }
       
       .section_1 .content p {
        margin-top: 4rem;
       }

}
@media (max-width: 1024px) {
  
    .section_1 {
        text-align: center;
        padding: 60px 20px; 
       
    }


    .section_img {
        width: 100%;
        height: auto;
        position: absolute;
        margin-top: -7rem;
        left: 0;
        z-index: -1;
        object-fit: cover;
    }
    
    .section_1 .content {
        position: relative;
        z-index: -1;
        margin-top: 7rem;
        padding-top: 0rem;
    }
    
    .section_1 .content h1 {
        font-weight: lighter;
        font-family: "Syne", sans-serif;
        color: #000;
        font-size: 3.5rem;    
    }
    
    .section_1 .content p {
        margin-top: 3rem;
        font-family: "Syne", sans-serif;
        font-size: 1.5rem; 
        color: #07124D;   
    }
    
    /* Categories Base Styles */
    .categories {
        margin-top: 5rem;
        padding: 10px 0;
        text-align: center;
    }
    
    .categories ul {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 3rem;
    }
    
    .categories ul li {
        margin: 0 1px;
        cursor: pointer;
    }
    
    .categories ul li.active {
       border: 1 px solid #07124D;
    }

}

/* @media (max-width:950px ){
    .section_1{
        z-index: -1;
    }
} */

@media (max-width: 768px) {
  
    .section_1 {
        padding: 40px 10px;
    }
    .section_1 .content {
        margin-top: 3rem !important;
        padding-top: 0rem;
        z-index: -1;
    }
    .section_1 .content h1 {
        font-size: 2.5rem;
        padding-top: 0rem;
        margin-top: 2rem;
    }
   
    /* .section_1 .content p {
        font-size: 0.9rem;
    } */
    .categories {
        overflow-x: auto;
        margin-top: 3rem;
    }

    .categories ul {
        display: inline-flex;
       
        gap: 1px;
        padding: 1px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .categories ul::-webkit-scrollbar {
        display: none; /* WebKit */
    }

    .categories ul li {
        flex: 0 0 auto;
        scroll-snap-align: center;
        white-space: nowrap;
        padding: 0.3rem 1rem;
        border-radius: 20px;
       
       
    }

    .categories ul li.active {
        border:1px solid #0D47A1;
        color: black;
      
    }
}

@media (max-width: 480px) {
    .section_1 {
        padding: 30px 5px;
    }
    .section_img {
        width: 100%;
        height: auto;
        position: absolute;
        top: 8rem;
        left: 0; 
    }

    .section_1 .content h1 {
        font-size: 2.6rem;
        margin-top: -2rem;
    }
    .section_1 .content p {
        font-size: 1.5rem;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
   
    .section_1 .content {
        margin-top: 9rem !important;
        padding-top: 0rem;
        z-index: -1;
    }
    .section_1 {
        padding: 30px 5px;
        margin-top: 15rem;
    }
    .section_img {
        width: 100%;
        height: auto;
        position: absolute;
        top: 10rem;
        left: 0; 
    }

    .section_1 .content h1 {
        font-size: 1.7rem;
        margin-top: -22.5rem;
    }
    .section_1 .content p {
        font-size: 1rem;
        margin-top: 2.9rem;
    }
    
}

