*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #462795;
    color: #000000;
}
.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #7231e2;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after {
    width: 100%; 
}

/*-break for about-*/

#Who{
    padding: 80px 0;
    color: #e1d8e4;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.who-col-1{
    flex-basis: 40%;
}
.who-col-1 img{
    width: 100%;
    border-radius: 35px;
}
.who-col-2{
    color: #e4d9e5;
    flex-basis: 50%;
}

.sub-title{
    font: bold;
    font-size: 65px;
    font-weight: 500;
    color: #ffffff;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
    margin-top: 35px;
}
.tab-titles-1{
    display: flex;
    margin: 20px 0 40px;
    margin-top: 35px;
    align-items: center;
    justify-content: center;
}
.tab-links{
    margin-right: 60px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #ffffff;
}
.tab-links-1{
    margin-right: 50px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #ffffff;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #7231e2;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links-1::after{
    content: '';
    width: 0;
    height: 3px;
    background: #7231e2;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 100%;
}

.tab-links-1.active-link::after{
    width: 100%;
}

.tab-contents ul li{
    list-style: none;
    margin: 20px -30px;
}
.tab-contents ul li span{
    color: #7231e2;
    font-size: 18px;
}
.tab-contents{
    display: none;
    margin-top: -10px;
}
.tab-contents-1{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
.tab-contents-1.active-tab{
    display: block;
}
/*-break for who/project-*/
/*project starts*/

#projects{
    padding: 50px 0;
}
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    padding: 20px; 
}

.project{
    margin-top: 10px;
    border-radius: 10px;
    height: auto;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    display: inline-block;
    flex: 1 1 calc(33.33% - 20px); 
    max-width: calc(33.33% - 20px); 
    box-sizing: border-box;
}
.project img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    position: relative;
    z-index: 2; 
    cursor: pointer;
}
.project a {
    position: relative;
    z-index: 3; 
}
.layer{
    position: absolute;
    width: 100%;
    height: 0%;
    background: linear-gradient(transparent, #7231e2);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    text-align: center;
    font-size: 16px;
    transition: height 0.3s;
    z-index: 1; 
    pointer-events: none;
    
}
.layer h3{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: black;
}
.layer p{
    font-size: 14px;
    color: black;
}

.project:hover img{
    transform: scale(1.1);
}
.project:hover .layer{
    height: 100%;
}

.lightbox {
    display: block; 
}

.lightbox img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.lightbox img:hover {
    transform: scale(1.05);
}


.lightbox-modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-modal img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    object-fit: contain;
}

.lightbox-modal.active {
    display: flex; 
}

.lightbox-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.uniform-image {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    object-position: center;
}
.close-btn {
    position: absolute;
    top: 20px;  
    right: 20px;  
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}
.project-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; 
        gap: 20px;
}
/*kill me now*/
#contact{
    padding: 30px 0;
}
.contact-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.contact-list div{
    background: #a79fc2;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}
.contact-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.contact-list div h2{
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 15px;
}
.contact-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.contact-list div:hover{
    background: #7231e2;
    transform: translateY(-10px);
}
.contact-list a {
    text-decoration: none; 
    color: inherit;
    display: block; 
}
/*kill me now, the return*/

.feedback-left{
    flex-basis: 35%;
}
.feedback-right{
    flex-basis: 60%;
}
.feedback-left p{
    margin-top: 30px;
}
.feedback-left p i{
    margin: 10px;
    color: #7231e2;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #b3b3b3;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #7231e2;
    transform: translateY(-5px);
}
.btn.btn2{
    display: block;
    margin: 30px auto;
    width: fit-content;
    border: 1px solid #7231e2;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn.btn2:hover{
    background: #7231e2;
}
.btn.btn2{
    margin-left: 0px;
}
.feedback-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #a79fc2;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
.btn.btn2 button{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #7231e2;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.form btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
/*ini sampe salah lagi, i swear*/
nav .fas{
    display: none;
}
#header{
    height: 120vh;
    background-image: url(Images/bg1.png);
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}
@media only screen and (max-width: 600px){

    .header-text{
        margin-top: 40px;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 45px;
    }
    .header-text h1 span{
        color: #362285;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #362285;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
}