/* navbar styling */

.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    background: hsl(230, 57%, 46%);
}

.navbar.sticky {
    padding: 10px 0;
    background: hsl(230, 57%, 46%);
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}

.navbar .logo a span {
    color: hsl(230, 57%, 46%);
    transition: all 0.3s ease;
}

.navbar.sticky .logo a span {
    color: hsl(230, 57%, 46%);
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: rgb(11, 242, 230);
}

.navbar.sticky .menu li a:hover {
    color: black;
}


/* menu btn styling */

.menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: hsl(230, 57%, 46%);
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: white;
    z-index: 9999;
    font-size: 30px;
    border-radius: 20px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    filter: brightness(90%);
}


/* about section styling */

.about .about-content .left {
    width: 45%;
}

.about .about-content .left img {
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 200px;
}

.about .about-content .right {
    width: 55%;
}

.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right .text span {
    color: hsl(230, 57%, 46%);
}

.about .about-content .right p {
    text-align: justify;
}

.about .about-content .right a {
    display: inline-block;
    background: hsl(230, 57%, 46%);
    color: black;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 30px;
    border: 2px hsl(230, 57%, 46%);
    transition: all 0.3s ease;
}

.about .about-content .right a:hover {
    border: 3px solid red;
}

.address {
    background: black;
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}


/* contact section styling */

.container {
    max-width: 1320px;
}

.contact {
    margin: 10px;
    padding: auto;
    font-family: 'Poppins', sans-serif;
}

.columns {
    margin: 0 -15px;
    flex-wrap: wrap;
    display: flex;
}

.col {
    margin: 0 1px 20px;
    padding: 10px;
    border-radius: 6px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.12);
    border: 3px solid black;
}

.col-50 {
    width: calc(50% - 30px);
}

.contact-form {
    margin: auto;
}

form {
    max-width: 500px;
    margin: auto;
    text-align: left;
    padding: 20px 0;
    display: block;
}

input,
textarea,
label {
    display: block;
    margin: 0 auto;
    width: 100%;
    color: hsl(230, 57%, 46%);
    font-size: 20px;
    border-radius: 2px;
    border-color: #111;
}

input,
textarea {
    background-color: transparent;
    border: 1px solid black;
    border-radius: 5px;
}

input[type=submit] {
    background-color: hsl(230, 57%, 46%);
    padding: 20px 0;
    color: black;
    font-size: 15px;
    margin-top: 30px;
    cursor: pointer;
    transition: all .3s ease;
}

input[type=submit]:hover {
    border: 3px solid red;
    border-radius: 5px;
    box-sizing: 10px;
}

input,
textarea {
    color: black;
    font-size: 15px;
    padding: 5px;
}

input:focus,
textarea:focus {
    outline: 1px solid #828282;
}

@media screen and (max-width: 800px) {
    .col-50 {
        width: calc(100% - 30px);
    }
}


/* footer section styling */

footer {
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}

footer span a {
    color: hsl(230, 57%, 46%);
    text-decoration: none;
}

footer span a:hover {
    text-decoration: underline;
}


/* -----------faculty--------> */

.faculty-img {
    float: left;
    width: 250px;
    height: 250px;
    box-sizing: 50px;
    display: block;
    margin: auto;
    text-align: left;
    font-size: 25px;
    cursor: pointer;
}

.faculty-detail {
    float: left;
    width: 300px;
    height: 250px;
    box-sizing: 50px;
    display: block;
    margin: 30px;
    text-align: left;
    font-size: 25px;
    cursor: pointer;
}

.address {
    color: white;
    background: #111;
}

.one-fourth {
    width: 220px;
    border: #111;
    background-color: antiquewhite;
}

* {
    margin: auto;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}


/* Academic calender */

.Academic-calender .Time-table {
    background-color: #111;
    text-align: center;
    text-emphasis-color: white;
    border: 5px solid #111;
}


/* custom scroll bar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: hsl(230, 57%, 46%);
}

::-webkit-scrollbar-thumb:hover {
    background: #555555;
}


/* all similar content styling codes */

section {
    padding: 100px 0;
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.about,
.contact,
footer {
    font-family: 'Poppins', sans-serif;
}

.about .about-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: rgb(49, 47, 47);
    transform: translateX(-50%);
}

section .title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: rgb(23, 25, 25);
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}


/* responsive media query start */

@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before {
        content: "\f00d";
    }
    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active {
        left: 0;
    }
    .navbar .menu li {
        display: block;
    }
    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .max-width {
        max-width: 930px;
    }
    .about .about-content .column {
        width: 100%;
    }
    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right {
        flex: 100%;
    }
}

@media (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }
}

@media (max-width: 500px) {
    .about .about-content .right {
        font-size: 19px;
    }
    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 45px;
        font-size: 23px;
        line-height: 38px;
    }
}