::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-thumb{
    background:#26dd86;
    border-radius: 2px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --bg-color:#0f3446;
    --primary-color:#7fffd4;
    --font-family-primary: 'Baloo 2', cursive;
    --font-family-secondary: 'Balsamiq Sans', cursive;
    --font-family-ternary:'Alkatra', cursive;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    background-color: var(--bg-color);
    font-family: var(--font-family-primary);
}
.container{
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}
.header{    
    padding: 0 8vw;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background-color: var(--bg-color);
    box-shadow: 0 2px .5rem rgb(0, 0, 0);
}
.navbar-toggler-icon{
    width: 40px;
    height: 40px;
}
.nav-link{
    color: white;
    font-size: 2.2rem;
    text-transform: uppercase;
}
.nav-link:hover{
    color: var(--primary-color);
}
.container-fluid{
    position: relative;
}
.navbar-collapse {
    position: relative;
    left: 48vw;
}
.navbar-nav{
   column-gap: 45px;
   row-gap: 5px;
}
.dropdown-menu{
    background: var(--bg-color);
    border: none;
}
.dropdown-item{
    color: whitesmoke;
    font-size: 1.9rem;
}
.logo{
    width: 7rem;
    filter: invert(1);
}

/* ===================Hero Section===================== */

.hero-container{
    background: url(img/home-img.png);
    background-size: cover !important;
    background-position:left !important;
    background-attachment:fixed;
    background-repeat: no-repeat;
    height: 96vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-inline: 12vw;
}
.slogan{
    text-align: center;
    margin-top: 23vh;
}
.slogan h1{
    font-size: 10rem;
    text-transform: capitalize;
    color: #009879;
  text-shadow: 1px 1px 2px black;
    font-weight: 600;
    font-family: var(--font-family-ternary);
}
.slogan p{
    font-size: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
}
.icon{
    width: 2rem;
    filter: invert(1);

}
.hero-img{
    width: 520px;
}
.hero-img img{
    width: 100%;
}
.detail::after{
    content: "";
    height: 230px;
    width: 100vw;
    position: absolute;
    background: url(img/wave0.5.svg);
    background-size: cover;
    background-repeat: no-repeat;
    top: -228px;
    left: 0;
    right: 0;
}
.detail{
    position: relative;
    background: #ecf5fe;
    text-align: center;
    padding-block: 30px;
    position: relative;
}
.name{
    font-size: 2.7rem;
    text-align: center;
    font-weight: 600;
}
.detail-content{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-block: 30px;
}
.content-icon{
    width: 80px;
    mix-blend-mode: darken;
}
.content p{
    font-size: 1.5rem;
}


/* ==================Faculty Section=============== */

.faculty-container{
    background: #ecf5fe;
    padding: 5vh 10vw;
}
.item-container{
    margin-block:10vh;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    grid-gap: 8rem;
}
.item{
    /* border: 2px solid black; */
    border-radius: 5px 30px;
    text-align: center;
    overflow: hidden;
    background-color: #f6fffc;
    padding-bottom: 20px;
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); */
    box-shadow: 2px 2px 8px #474747,4px 4px 10px #aafde4;
    /* box-shadow: -1px 7px 8px 0 rgba(0 0 0 / 0.10); */

}
.item-img{
    width: min(100%,350px);
    border-radius: 10px;
    mix-blend-mode: multiply;
}
.large-img{
    width:70%;
}
.item h2{
    margin-block: 20px;
    font-size: 2.5rem;
}
.item p{
    margin-block:10px;
    font-size: 1.5rem;
}
.btn{
    background: var(--bg-color);
    padding: 6px 0;
    border-radius: 5px;
    font-size: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    color: white;
    display: inline-block;
    width: 70%;
    transition: background 1s ease;
}
.btn:hover{
    background: white;
    border: 1px solid var(--bg-color);
}
hr{
    width: 80%;
    margin: auto;
    color:blue;
}

/* =========================About Section================= */
#about{
    background: #ecf5fe;
    padding-top: 40px ;
    border-radius: 0 0 10px 10px;
   
}
.about{
    display: flex;
    justify-content: space-evenly;
    padding-block: 50px;
    flex-wrap: wrap;
}
.about-details{
    align-self: center;
    text-align: center;
}
.about-details h2{
    font-size: 3.5rem;
}
.about-details p{
    font-size: 2rem;
}

 .about img{
    width:min(90%,450px);
    mix-blend-mode: darken;
 }

.footer{
    color: var(--primary-color);
    background:url(img/wave.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px ;
    text-align: center;
    padding: 2vh 10px;
}
.footer-item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.footer-item>h3>a{
    text-decoration: none;
    color: var(--primary-color);
}
.footer-item ul{
    padding: 0;
}
.footer-item ul li{
    list-style-type: none;
    margin-block: 7px;
}
.footer-item ul li a{
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.2rem;
}
.footer-item ul li a:hover{
    color: #7fffd4;
    text-decoration: underline;
}
.form input{
 margin-inline: 5px;
}
.form input,textarea{
    background: rgb(204, 244, 236);
    outline: none;
    border: none;
    padding: 5px 10px;
    border-radius:10px 2px;
}
.form textarea{
    height: 80px;
    width: 97.5%;
}
.submit{
    width: 98%;
    display: inline-block;
    margin: auto;
    color: var(--bg-color);
    background:  #009879;
}
.submit:hover{
    background: var(--bg-color);
    border: 1px solid white;
}
.main-footer {
    /* border-top: 1px dotted aquamarine; */
    height: 45px;
    width: 100vw;
    background: rgba(0, 188, 156, 0.444);
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* box-shadow: 0 -1px .5rem rgb(62, 100, 125); */
}
.main-footer p{
    font-size: 1.5rem;
    color: white;
    text-align: center;
    margin-bottom: 0;
}
.main-footer p a{
    color: var(--primary-color);
    text-decoration: none;
}


/* ======================Faculty Container==================  */

.fac-container{
    padding: 15vh 15px 5vh 15px;
    background: #ecf5fe;
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}
.fac-container>h2{
    font-weight: bold;
    font-size: 2.5rem;
}
.int-aim>h2,.obj-career>h2{
    text-decoration: underline;
    font-size: 2.15rem;
    color: #009879;
}
.int-aim>p,.obj-career>p:last-child{
    text-indent: 100px; 
}
/* .int-aim>p::first-letter,.obj-career>p::first-letter{
    font-size: 3.5rem;
} */
.table-detail,.faculty-detail{
    max-width: 1250px;
    margin: auto;
}
.faculty-detail{
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 20px;
}
.int-aim,.obj-career{
    width:min(95%,650px);
    margin: auto;
}
.faculty-detail p,.table-detail p{
    font-size: 1.8rem;
    text-align: justify;
    /* height: 150px; */
}
.faculty-img{
    width:min(100%,480px);
    margin: auto;
    border-radius: 20px;
    mix-blend-mode: darken;
}
.table-detail{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}
.obj-career ul li{
    text-align: start;
    font-size: 1.4rem;
}

/* ===================Table================ */

.content-table {
    border-collapse: collapse;
    margin: auto;
    width:min(100%,480px);
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
    text-align: center;
    font-size: 1.6rem;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
    background-color: #ffff;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 3.5px solid #009879;
}

.content-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}
.btn-sm {
    padding: 5px 10px;
    border-radius: 10px;
    background: #2e3748;
    color: #ffffff;
    font-size: 1.4rem;
    border: none;
    text-decoration: none;
}

/* =================End Table================ */


/* ===========================All Eng First Sem========================== */
.main-topic{
    margin-top: 11.8vh;
    text-align: center;
    background: #ecf5fe;
}
.main-topic>h1{
    padding-block: 15px;
    border-radius: 5px;
    font-size: 3rem;
    margin-block: 1px;
}
.main-content{
    background: #ecf5fe;
    padding: 5vh 2vw 10vh 2vw;
    display: flex;
    justify-content: space-evenly;
    gap: 25px;
    flex-wrap: wrap;
}

.topic-name{
    text-align: center;
    background: #028d65;
    padding-block: 5px;
    border-radius: 5px;
    font-size: 2.5rem;
}
.content-table-sem {
    flex: 1 1 350px;
    border-collapse: collapse;
    margin: auto;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* ===============Media Query============= */
@media screen and (max-width:1260px) {
    .navbar-collapse {
        left: 35vw;
    }
}

@media screen and (max-width:992px) {
    .nav-item{
    border-bottom: 1px solid black;
    }
    .navbar-collapse{
        position: absolute;
        top: 11vh;
        right: 0;
        background: var(--bg-color);
        text-align: end;
        padding: 0 15px;
        border-radius: 10px;
    }
}
@media screen and (max-width:700px) {
    html{
        font-size: 7px;
    }
    .main-topic {
        margin-top: 8.8vh;
    }
    .navbar-collapse {
        top: 7.9vh;
    }
    /* .hero-container{
        background-position: center !important;
    } */
    #about{
        padding-top: 20px;
    }
}
@media screen and (max-width:426px) {
    .hero-container{
        background: url(img/home-mbl.png);
        /* background-size: cover; */
        background-position: center !important;
        height: 60vh;
    }
    .detail::after {
        height: 127px;
        top: -95px;
    }
    .slogan h1 {
        font-size: 6rem;
    }
}
@media screen and (max-width:400px) {
    .navbar-toggler-icon {
        width: 30px;
        height: 30px;
    }
    .faculty-container {
        padding: 5vh 8vw;
    }
    .navbar-collapse{
        top: 8vh;
        width: 135px;
    }
    .content-icon {
        width: 60px;
    }

}
@media screen and (max-width:340px) {
    .faculty-container {
        padding: 5vh 7vw;
    }
}
@media screen and (max-width: 280px){
.faculty-container {
    padding: 5vh 3.5vw;
}
}