*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Archivo Black', sans-serif;
    user-select: none;
}
body{
    /*background-color: rgb(2, 11, 27);*/
    background-color: #001219;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.topbar{
    width:100%;
    height:100px;
    border-bottom:1px solid rgba(255, 255, 255, 0.08);
    /*width:20vw;*/
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /*padding-top: 5vh;*/
    padding-left:2%;
    padding-right:3%;
    position:sticky;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /*background-color: rgba(255, 255, 255, 0.02);*/
    background-color: rgba(0, 18, 25, 0.45);
    top:0;
    z-index: 1000;
}
.logo-text-container{
   font-size:3.5rem;
    color:white;
}
.pg-links{
    width:fit-content;
    height:100%;
    /*border-left:1px solid rgba(255, 255, 255, 0.08);*/
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-right:3%;
    gap:10%;

}
.pg-links a{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width:fit-content;
}
a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: row;
}

a:visited {
    color: white;
}

a:hover {
    text-decoration: none;
    color: white;
}

a:active {
    color: white;
}
.search-param-container{
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /*border:1px solid white;*/
    height:fit-content;
    position:relative;
    margin-top:5%;
    padding-right:2%;
}
.search-param-container form{
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    /*border:1px solid white;*/
    height:fit-content;
    position:absolute;
    gap:3vw;
    padding-left:2vw;
}


.search-form .search-input-wrapper{
    width:10%;
    height:50px;
    border:1px solid orangered;
    background-color:transparent;
    padding-left:2vw;
    font-size:1.1rem;
    color:white;
    font-weight:lighter;
    font-family:'Saira', sans-serif;
    border-radius:20px;
}
.search-input-wrapper input{
    width:100%;
    height:50px;
    background-color:transparent;
    outline:none;
    border:1px solid transparent;
    color:white;
    font-family:'Saira', sans-serif;
    font-size:1.1rem;
}
.search-form .search-input-wrapper::placeholder{
    color: rgba(255, 255, 255, 0.3);
}
.search-form .search-input-wrapper:focus{
    outline:none;
}
.search-form .search-input-wrapper:active{
    outline:none;
}
.search-form select{
    width:fit-content;
    height:50px;
    border-radius:6px;
    border:none;
    font-size:1rem;
}

.search-form .search-btn{
    width:fit-content;
    height:50px;
    border:1px solid orangered;
    background-color:transparent;
    padding:10px 70px;
    font-size:1.2rem;
    color:orangered;
    font-weight:bolder;
    font-family:'Saira', sans-serif;
    border-radius:20px;
    appearance:none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
    transition: 0.3s;
}
.search-form button:hover{
    background-color: rgba(255, 255, 255, 0.12);
}
.search-form select{
    width:fit-content;
    height:45px;
    border:1px solid orangered;
    background-color:transparent;
    padding:0px 20px;
    font-size:1rem;
    color:white;
    font-weight:lighter;
    font-family:'Saira', sans-serif;
    border-radius:20px;
    appearance:none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-form select:focus{
    outline:none;
}
.search-results-container{
    width:100%;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height:40vh;
    position:relative;
    margin-top:5%;
    padding: 2% 2% 2% 1%;
    gap:32px;
}
.result-tab-container{
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap:18px;
    position:relative;
}

.result-tab{
    flex:1;
    border:1px solid rgba(255, 69, 0, 0.18);
    background:
            linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius:22px;
    transition: 0.28s ease;
    overflow:hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
            0 10px 30px rgba(0,0,0,0.18),
            inset 0 1px 0 rgba(255,255,255,0.03);
}
.result-tab:hover{
    transform: translateY(-4px);
    border:1px solid rgba(255, 69, 0, 0.42);
    box-shadow:
            0 16px 38px rgba(0,0,0,0.24),
            0 0 0 1px rgba(255,69,0,0.06);
}
.college-logo{
    width:72px;
    min-width:72px;
    height:72px;
    border:1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255,255,255,0.04);
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius:20px;
    overflow: hidden;
    margin-left:0;
    flex-shrink:0;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.college-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.top-result-tab{
    width:100%;
    border-bottom:1px solid rgba(255, 69, 0, 0.12);
    display:flex;
    padding:18px 20px;
    align-items: center;
    color:orangered;
    font-family:'Saira', sans-serif;
    font-size:1.18rem;
    justify-content: space-between;
    gap:16px;
    background: linear-gradient(180deg, rgba(255,69,0,0.06), rgba(255,69,0,0.015));
}
.file-link-result-tab{
    padding:16px 20px 8px 20px;
    font-family:'Raleway',sans-serif;
}

.file-link-result-tab a{
    color: rgba(255, 255, 255, 0.52);
    font-family:'Raleway',sans-serif;
    display:flex;
    flex-wrap:wrap;
    line-height:1.7;
    word-break:break-word;
    transition:0.2s ease;
}

.file-link-result-tab a:hover{
    color:white;
}
.tags-container{
    padding:12px 20px 20px 20px;
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    gap:12px;
}

.tags{
    font-family:'Saira', sans-serif;
    font-size:0.88rem;
    color: rgba(255, 186, 148, 0.95);
    background: rgba(255, 69, 0, 0.10);
    border: 1px solid rgba(255, 69, 0, 0.16);
    padding:8px 14px;
    border-radius:999px;
    transition: 0.2s ease;
}

.tags:hover{
    cursor: pointer;
    color: white;
    background: rgba(255, 69, 0, 0.18);
    border-color: rgba(255, 69, 0, 0.28);
    user-select: none;
}
@media (max-width: 900px){
    .result-tab-container{
        flex-direction:column;
        gap:14px;
    }

    .college-logo{
        width:64px;
        min-width:64px;
        height:64px;
    }

    .top-result-tab{
        font-size:1rem;
        padding:16px;
        flex-wrap:wrap;
    }

    .file-link-result-tab{
        padding:14px 16px 8px 16px;
    }

    .tags-container{
        padding:10px 16px 16px 16px;
    }

    .tags{
        font-size:0.82rem;
        padding:7px 12px;
    }
}
.search-form{
    display:flex;
    gap:15px;
    align-items:center;
}

.search-input-wrapper{
    position:relative;
    flex:1;
}

.filter-wrapper{
    position:relative;
}

.filter-btn{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /*padding: 2vh 4vw;*/
    padding:10px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.15);
    background:transparent;
    color:white;
    cursor:pointer;
    margin-right:2vw;
}

.filter-dropdown{
    position:absolute;
    top:120%;
    right:0;
    width:240px;

    background: transparent;   /* IMPORTANT: darker transparent bg */

    backdrop-filter: blur(58px);
    -webkit-backdrop-filter: blur(58px);   /* VERY IMPORTANT for Safari / Mac */

    border:1px solid rgba(255,255,255,0.12);
    border-radius:18px;
    padding:18px;

    display:none;
    flex-direction:column;
    gap:12px;

    box-shadow:0 20px 50px rgba(0,0,0,0.45);

    z-index:999;
}

.filter-dropdown select{
    width:100%;
    padding:8px;
    border-radius:10px;
    background:rgba(255,255,255,0.05);
    color:white;
    border:none;
}
label{
    color:orangered;
}
#filter-toggle{

}

/* ===== ONLY NECESSARY ADDITIONS FOR COLLEGE SUGGESTION DROPDOWN ===== */

.search-input-wrapper{
    overflow: visible;
}

.search-input-wrapper input::placeholder{
    color: rgba(255, 255, 255, 0.3);
}

.suggestions-box{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    background: rgba(7, 13, 24, 0.96);
    border: 1px solid rgba(255, 69, 0, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.38);
    z-index: 1200;
}

.suggestions-box::-webkit-scrollbar{
    width: 8px;
}

.suggestions-box::-webkit-scrollbar-track{
    background: transparent;
}

.suggestions-box::-webkit-scrollbar-thumb{
    background: rgba(255, 69, 0, 0.35);
    border-radius: 20px;
}

.suggestions-box div{
    width: 100%;
    font-family: 'Saira', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.suggestions-box div:first-child{
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.suggestions-box div:last-child{
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.search-param-container,
.search-form,
.search-input-wrapper,
.filter-wrapper{
    overflow: visible;
}
.footer{
    margin-top: auto;
    width: 100%;
    min-height: 90px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.footer-left{
    font-size: 2rem;
    color: white;
}

.footer-right{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-right a{
    color: rgba(255,255,255,0.62);
    font-family: "Saira", sans-serif;
    text-decoration: none;
}

.footer-right a:hover{
    color: white;
}

.footer-right a:hover{
    color: white;
}

/* ===== Upload Loader ===== */

.upload-loader-overlay{
    position: fixed;
    inset: 0;
    background: rgba(2, 11, 27, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.upload-loader-overlay.active{
    display: flex;
}

.upload-loader-box{
    min-width: 280px;
    padding: 28px 32px;
    border: 1px solid rgba(255, 69, 0, 0.48);
    /*border-radius: 22px;*/
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.upload-loader-box p{
    color: white;
    font-family: 'Saira', sans-serif;
    font-size: 1.1rem;
    text-align: center;
}
.overlay-anchor-tags:hover{
    text-decoration: underline;
}
/* ===== CONTACT PAGE ===== */

.contact-page{
    width:100%;
    padding:5% 6%;
    display:flex;
    gap:3%;
    align-items:flex-start;
}

.contact-left{
    width:40%;
    padding:40px;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.contact-left h1{
    font-size:2.6rem;
    font-family:'Raleway',sans-serif;
}

.contact-desc{
    font-family:'Saira',sans-serif;
    color:rgba(255,255,255,0.7);
    line-height:1.7;
}

.contact-info-block{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:18px;
    border-radius:16px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
}

.contact-label{
    font-size:0.8rem;
    color:rgba(255,255,255,0.5);
    font-family:'Saira',sans-serif;
}

.contact-value{
    font-size:1rem;
    color:#ff9d59;
    font-family:'Raleway',sans-serif;
}

.contact-right{
    width:57%;
    padding:40px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-right h2{
    font-family:'Raleway',sans-serif;
    font-size:1.6rem;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-field{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.contact-field label{
    font-size:0.85rem;
    font-family:'Saira',sans-serif;
    color:rgba(255,255,255,0.6);
}

.contact-field input,
.contact-field textarea{
    padding:14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.04);
    color:white;
    font-family:'Saira',sans-serif;
    outline:none;
}

.contact-field textarea{
    resize:none;
}

.contact-btn{
    margin-top:10px;
    padding:15px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#ff5e00,#ff8c00);
    color:white;
    font-family:'Saira',sans-serif;
    cursor:pointer;
    font-size:1rem;
    transition:.25s;
}

.contact-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(255,94,0,0.25);
}

/* ===== RESPONSIVE ===== */

@media(max-width:1000px){

    .contact-page{
        flex-direction:column;
        gap:25px;
    }

    .contact-left,
    .contact-right{
        width:100%;
        padding:28px;
    }

}