  @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,h2,h3,h4{
    font-family: 'Oswald', sans-serif;
}
/********************
******header*********
********************/

.main-header {
    background-color: rgba(253, 253, 151, 0.685);
    position: fixed;
    width: 100%;
    z-index: 6;
}

.header img {
    width: 80px;
    margin-left: 2rem;
    float: left;
}

.header h1 {
    margin-left: 0.5rem;
    line-height: inherit;
    vertical-align: middle;
    font-size: 1.1rem;
    font-weight: 700;
    display: none;
}

.header-icon {
    border-top: 5px solid #723b07;
    margin-bottom: -30px;
    position: relative;
    z-index: 10;
    display: block;
}

.nav-link{
    color: #3d1e00;
    font-weight: 600;
    font-size: inherit;
    text-transform: uppercase;
}

.nav-link:hover{
    border-top: 1px solid;
    color: #fff;
    border-color: #3d1e00;
}

.navbar-nav .nav-link.active{
    color: black;
    border-bottom: 3px double #3d1e00;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu{
    background-color: #723b07b9;
    border-radius: 0.1px;
}

.dropdown-menu .nav-item:hover{
    background-color: #3d1e00;
}

.dropdown-menu .dropdown-item{
    color: #fff;
}

.dropdown-item:hover{
    color: #3d1e00;
    border-bottom: 1px solid #3d1e00;
}

.nav-item{
    padding: 15px 20px;
}

.empty {
    background-color: transparent;
}

.icon{
    color: white;
    background-color: #723b07;
    padding: 0.09rem;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 14% 99%);
    text-align: end;
    padding-top: 0;
}

.icon a{
    color: inherit;
    text-decoration: none;
    margin-right: 10px;
    padding: 3px;
    padding-top: 0px;
}

.icon i{
    color: #fff;
    margin-right: 10px;
}

.container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media screen and (max-width:577px) {
    .header-icon{
        display: none;
    }
    .con{
        display:none;
    }
    .header img{
        display: none;
    }
    .header h1{
        display: block;
        font-size: medium !important;
    }
    .main-header {
        position: relative;
        background-color: white;
        border-bottom: 2px solid #3d1e00;
    }
    .nav-item{
        padding: 0;
    }
    .container{
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}

@media screen and (max-width:840px) {
    .header-icon{
        display: none;
    }
    .header img{
        display: none;
    }
    .header h1{
        display: block;
        font-size: xx-large;
    }
    .main-header {
        background-color: #fefefe;
    }
}

@media screen and (max-width:1196px) {
    .header-icon{
        margin-bottom: -26px;
    }
    .icon a{
        font-size: small;
    }
}
@media screen and (max-width:1037px) {
    .icon a{
        font-size: 10px;
    }
}
/********************
******index*********
********************/

.Slider {
    background-color: black;
}

.Slider img {
    opacity: 0.6;
    width: 100%;
}

.carousel-caption {
    bottom: 280px;
    left: 110px;
    right: auto;
    top: auto;
    text-align: start;
}

.carousel-caption h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.5rem;
}

.about-box {
    padding: 2rem;
    background-color: rgb(231, 243, 253);
    margin-top: -6.5rem;
    margin-bottom: 75px;
    box-shadow: 0px 5px 10px rgb(7, 7, 7);
    border-radius: 2px;
    width: 100%;
    height: 100%;
    transition: 0.2s;
    position: relative;
    z-index: 1;
}

.about-box:hover {
    margin-top: -5rem;
}

.about-box-img {
    width: 70px;
    height: 70px;
    border-radius: 50px;
    margin-top: -3.5rem;
    background-color: aliceblue;
    border: 2px solid white;
}

.ab {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

h2 {
    font-weight: 600;
    border-bottom: 3px solid #723b07;
    margin-right: 20rem;
    padding-left: 10px;
    padding-bottom: 5px;
    transition: 0.2s;
}

h2:hover {
    margin-right: 0;
}

p {
    text-align: justify;
    margin-top: 1rem;
}

.ab img {
    padding-left: 10px;
    border-radius: 5px;
    box-shadow: 15px 10px 0px #723b07;
    transition: 0.2s;
}

.ab img:hover {
    box-shadow: 20px 20px 0px #723b07;
    padding-left: 0;
}

.choose {
    background-color: #723b07;
    color: white;
}

.choose h2 {
    border-color: white;
}

.course h2 {
    margin-right: 0;
    text-align: center;
    margin-bottom: 2rem;
}

.box {
    position: relative;
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #723b07e1;
    overflow: hidden;
    width: 100%;
    height:0;
    transition: .5s ease;
  }
  
  .box:hover .overlay {
    bottom: 0;
    height: 100%;
  }
  
  .text {
    color: white;
    position: absolute;
    padding:3rem 2rem;
  }

.overlay h4{
    text-align: center;
}

.staff{
    background-color: #723b0734;
}

.staff h2{
    margin-right: 0;
    text-align: center;
}
.staff p{
    text-align: center;
}

.staff .carousel-indicators{
    margin-bottom: -3rem;
}

.id-box{
    background-color: #fff;
    padding: 20px;
    height: 100%;
}

.id-box img{
    width: 30%;
    margin-bottom: 10px;
    float: left;
    margin-right: 2rem;
    background-color: #723b073d;
}

.id-box p{
    text-align: justify;
}

@media screen and (max-width:577px) {
    h2{
        margin: 0;
    }
    .about-box{
        margin:18px 0px;
        height: fit-content;
    }
    .box{
        margin: 5px 0px;
    }
}

@media screen and (max-width:840px){
    .about-box{
        margin: 20px 0px;
        height: fit-content;
    }
    .id-box img {
        margin-right: 10px;
    }
    .id-box p {
        font-size: small;
    }
    .box {
        height: fit-content;
        margin: 3px;
    }
    .carousel-caption{
        bottom: 0;
        left: 10px;
    }
}

@media screen and (max-width:1196px) {
    .carousel-caption {
        bottom: 98px;
        left: 30;
    }
    .choose img{
        height: 100%;
    }
    h2{
        margin-right: 20px;
    }
}
/*********************************************************
***********************footer*****************************
*********************************************************/
.footer{
    background-color: #723b07;
    border-top: 6px solid #3d1e00;
}

.main-footer{
    background-color: black;
    padding: 1rem 3rem;
    color: gray;
}

.main-footer a{
    color: gray;
    text-decoration: none;
}

.main-footer a:hover{
    color: rgb(71, 71, 71);
}

.footer h5{
    color: #f8f294;
    border-bottom: 1px dotted #f8f294;
    padding-bottom: 1rem;
}

.footer ul{
    list-style-type: none;
    color: white;
    margin-left: -2rem;
}

.footer ul li{
    margin-top: 1rem;
}

.footer ul li i{
    margin-right: 1rem;
    font-size: 1.2rem;
}

.footer ul li a{
    text-decoration: none;
    color: white;
}

.footer ul li a:hover{
    text-decoration: underline;
}

.foot-icon i{
    color: #fff;
    font-size: 20px;
    padding-top: 5px;
    border-radius: 50%;
    border: 30 double #fff;
    width: 40px;
    height: 40px;
    margin-right: 6px;
    margin-top: 5px;
    text-align: center;
    vertical-align: middle;
}
.foot-icon i:hover{
    background-color: white;
    color: #3d1e00;
    border: 30 solid #3d1e00;
}

@media screen and (max-width:577px) {
    .footer{
        text-align: center;
    }
    .footer h5{
        margin-top: 10px;
    }
    .footer ul li{
        margin: 2px;
    }
}
/***********************
********Caption*********
***********************/

.caption{
    background-image: url(../picture/CAPTION.webp);
    background-color: #3d1e00;
    background-size: cover;
    background-repeat: no-repeat;
}

.caption .text{
    color: black;
    font-weight: 600;
}
.caption a{
    color: black;
    text-decoration: none;
}

@media screen and (max-width:577px) {
    .caption .text{
        padding: 0px;
    }
}

/***********************
********About Us********
***********************/

.ab-khaga{
    background-color: #723b075b;
}

.vision-box{
    width: 100%;
    height: 100%;
    box-shadow: 1px 5px 15px #3d1e00;
    padding: 3rem;
    padding-bottom: 1rem;
    background-color: white;
}

.vision-box h4{
    color: #3d1e00;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: larger;
}

.vision-box h4:hover{
    color: gray;
    border-bottom: 2px solid #3d1e00;
}

.vision-box p{
    text-align: justify;
}

.ab-bg-img{
    margin-top: -30rem;
    position: relative;
    z-index: -8;
    background-color: #3d1e00;
    
}

.bg-ab{
    padding: 17rem 0px;
    opacity: 0.4;
    background-image: url(../picture/bg-1.jpg);
    background-attachment: fixed;
    background-size: cover;
}

@media screen and (max-width:577px) {
    .vision-box{
        margin: 5px 0px;
        height: fit-content;
    }
}

@media screen and (max-width:840px) {
    .vision-box{
        margin: 5px 0px;
        height: fit-content;
    }
    
}

/***********************
********contact us******
***********************/


form{
    box-shadow: 1px 5px 15px #3d1e00;
    padding: 3rem;
    padding-bottom: 1rem;
    background-color: #fff;
}

form h3{
    color: #3d1e00;
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 2px solid #3d1e00;
    margin-bottom: 30px;
}

form span{
    color: red;
}

.form-control{
    border-radius: 0px;
    margin-top: 5px;
}

form .btn{
    background-color: #3d1e00;
    color: #fff;
    border-radius: 2px;
    padding: 0.5rem;
    margin-top: 5px;
    width: 49%;
    border: 1px transparent;
}

form .reset{
    background-color: #723b07;
    color: white;
    border-radius: 2px;
    padding: o.5rem;
    margin-top: 5px;
}

form .btn:hover{
    border: 1px solid #3d1e00;
    color: #3d1e00;
}

.m-b{
    margin-bottom: -5.8rem;
    position: relative;
    z-index: 2;
}

.contact-d{
    padding: 30px;
    margin-bottom: 100px;
    background-color: #fff;
}

.contact-d h5{
    color: #3d1e00;
    font-size: 1.5rem;
}

.contact-d i{
    font-size: 2rem;
    float: left;
    width: fit-content;
    height: fit-content;
    border-radius: 50%;
    border: 2px solid #3d1e00;
    color: #3d1e00;
    padding: 1.5rem;
    margin-right: 2rem;
}

.contact-d p{
    color: black;
}

/***********************
********Department******
***********************/

.depar-box{
    width: 100%;
    height: 100%;
    box-shadow: 1px 5px 15px #3d1e00;
    padding: 3rem;
    padding-bottom: 1rem;
    border-radius: 0px 30px;
    background-color: white;
}

.depar-box h4{
    color: #3d1e00;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: larger;
    border-bottom: 2px solid #3d1e00;
}

.depar-box h4:hover{
    color: gray;
    
}

.depar-box p{
    text-align: justify;
}

.depar-img{
    margin-bottom: -8rem;
    margin-top: -8rem;
    position: relative;
    background-image: url(../picture/bg-3.webp);
    background-attachment: fixed;
    z-index: -3;
}

.depar-dg{    
    background-color: #3d1e00e0;
    height: 100%;
    padding: 4rem;
}

@media screen and (max-width:577px) {
    .depar-box{
        height: fit-content;
        margin: 10px 0px;
    }
    .depar-dg{
        padding: 0;
        margin: 5px;
    }
    .depar-img{
        margin: 0;
    }
}

/***************************
Academic Rules & Regulations
****************************/

.scroll-box .s-text{
    overflow: scroll;
    color: rgb(56, 56, 56);
    margin: 0;
    height: 500px;
}

.scroll-box{
    width: 100%;
    height: fit-content;
    margin: 2rem;
    margin-bottom: 0;
    box-shadow: 1px 5px 10px #3d1e00;
}

.scroll-box li{
    margin-top: 10px;
}

.scroll-box h3{
    color:white;
    text-align: center;
    padding: 5px 10px;
    margin: 0;
    background-color: #3d1e00;
}

@media screen and (max-width:577px) {
    .scroll-box{
        margin: 5px 0px !important;
        height: fit-content;
    }
    .scroll-box h3{
        font-size: 20px;
    }
}

/****************************
********gallery**************
****************************/

.gallery{
    display: flex;
    float: left;
}

.gallery-img{
    width: 33%;
    background-color: #3d1e00;
    height: 100%;
    overflow: hidden;
    border: 3px solid #3d1e00;
    margin: 2PX;
}

.gallery-img .IMG-H{
    opacity: 1;
    transition: 0.2s;
}

.gallery-img .IMG-H:hover{
    opacity: 0.5;
    transform: scale(1.1);
}

button{
    background-color: #3d1e00;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 15; 
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
  }

  .modal img {
    background-color: #fefefe;
    margin: auto; 
    border: 1px solid #888;
    width: 80%; 
    margin-left: 10%;
  }

  .close {
    position: absolute;
    right: 155px;
    top: 60px;
    color: #723b07;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #3d1e00;
    cursor: pointer;
  }

/********************************
*********whatsapp****************
********************************/

.chat{
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
}

.chat a{
    width: 50px;
    height: 50px;
    font-size: 2rem;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 1px 5px 15px #3d1e00;
    color: #3d1e00;
    display: block;
}

.chat a:hover{
    background-color: #3d1e00;
    color: white;
}

