
/*  Basic Stylling */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #a8dadc;
}
html,body{
    height:100%;
    width:100%;
}
#main{
    height:100%;
    width:100%; 
}

/*    Header Section  */
.header-sec1 {
    background-color: #fff;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;   
    padding-right: 2rem;
}
.sec1-box1{
    display: flex;
}
.header-logo {
    height: 6rem;
    width: 6rem;
    align-items: center;
    margin: 1rem;
}
.brand-name {
    margin-top: 1rem;
    margin-left: 2rem;
}
.icons2 {
    display: flex;
    color: #232323;
    gap: 1rem;
    align-items: center;
    
}
.in2 {
    color: #232323;
    size: 4rem;
    border:1px solid black;
    border-radius:5px;
    padding:10px;
}
.in2:hover {
    background-color: #c22504;
}


/*    Department Image    */
.dept-img {
    height: 30rem;
}
.dept-img-src {
    height: 30rem;
    background-image: url("images/Homepage-img/dept-img-3.jpg");
    background-size:cover;
}


/*   Mobile Navigation Bar   */
.close-btn {
  font-size: 30px;
  color: white;
  text-align: right;
  padding: 10px 20px;
  cursor: pointer;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.navbar {
  height: 60px;
  background-color:#457b9d;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  display: none;
}

.hamburger {
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background-color:#457b9d;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 1000;
  display: none;
}

.side-menu li {
    color: white;
}

.side-menu.open {
  left: 0;
}

.menu, .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu > li {
  padding: 15px 20px;
  color: white;
  cursor: pointer;
  border-bottom: 1px solid #555;
  position: relative;
}

.menu > li:hover {
  background-color: #555;
}

.has-submenu > .submenu {
  display: none;
  background-color: #555;
}

.has-submenu.open > .submenu {
  display: block;
  position: relative;
  left: 10px;
}

.submenu > li {
  padding: 10px 30px;
  color: #ddd;
  border-bottom: 1px solid #666;
}

.submenu > li:hover {
  background-color: #666;
}
.menu li,
.menu li a,
.menu li span,
.menu li ul.submenu li a {
  color: white !important;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-transform: capitalize;
}

.menu li a:hover,
.menu li span:hover {
  color: #ffcc00 !important;
  transition: color 0.3s ease;
}


.menu .has-submenu > span {
  color: white !important;
}


/*  Home-Page Content Section  */
.content-sec1 {
    /* height: 90rem; */
    display: flex;
    gap: 3rem;
    justify-content: center;
    
}
/*  Navigation Bar  */
.hvr {
    color: white;
   text-decoration: none;
}
.hvr:hover {
   cursor: pointer;
   color: orange;
}
.homepage-navbar {
    background-color: #457b9d;
    display: flex;
    flex-direction: column;
    padding-left: 2.5rem;
    padding-top:1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    /* height: 100%; */
    width: 70rem;
    padding-top: 2rem;
    padding-left: 2rem;
    gap: 2rem;
}
.homepage-navbar a {
    font-weight: 1000;
    font-size: 1.5rem;
    text-shadow: 0 0 2px white, 0 0 15px black;
}
.navbar-activity {
    display: flex;
    gap: 0rem;
}
.activity-menu {
    display: flex;
    position: relative;
    width: 100%;   
}
.activity-submenu {
    display: none;
    flex-direction: column;
    /* height: 21rem; */
    width: 18rem;
    background-color:#2a495c;
    color: white;
    padding: 1rem;
    padding-left: 0.9rem;
    border-radius: 10%;
    margin-left: 0.1rem;
    position: absolute;
    left: 10rem;
    text-align:justify;
}
.mag-submenu {
    left: 15rem;
    width: 12rem;
}
.inno-menu {
    width: 12rem;
    left: 12rem;
    padding: 0.5rem;
}
.activity-menu:hover .activity-submenu {
    display: flex;
}
.research-submenu {
    width: 15rem;
}

/*  Information section  */
.con-sec1-info{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
    padding-top: 5rem;
}
.con-sec1-box {
    width: 90%;
    background-color: #e7e7e7;
    border-radius: 25px;
    box-shadow: 5px 10px 15px;
}
.box-heading {
    padding-top: 0.5rem;
    background-color: #457b9d;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    color: white;
    padding-left:1rem ; 
}
.box-info {
    font-size: 1.25rem;
    font-weight: 300;
    padding: 1rem;
    text-align: justify;
}
.box-content {
    display: flex;
    padding: 1.5rem;
}
.box-content img {
    box-shadow: 5px 3px 15px;
    height: 10rem;
    width: 15rem;
    border-radius: 2px;
    
}
.hod-msg-box {
    display: flex;
    flex-direction: column;
    font-size: 1.25rem;
    font-weight: 300;
    text-align: justify;
}
.hod-msg {
    display: flex;
}
.hod-name {
    font-weight: 700;
}
.hod-name2 {
    display: none;
}

/*   Number Counter Section */
.content-sec2 {
    height: 10rem;
    display: flex;
    align-items:center;
    
}
.con-sec2-info {
    height: 7rem;
    width: 50rem;
    margin-bottom: 2rem;
    background-color: #457b9d;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 10px;
    color: white;
    box-shadow: 5px 10px 15px black;
}
.num-of-student, .num-of-faculty, .num-of-staff{
    font-size: 3rem;
}


/*    Footer Section   */

#footer{
    width:100%;
    background-color: blue;
}
#footertop{
    height:40vh;
    width:100%;
    background-color:rgb(48, 29, 112);
    display: flex;
    align-items: center;
    justify-content: center;
}
#footertopcontent{
    height:80%;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#footermaplogo{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
    width:65%;
}
#footermap{
    height:80%;
    width:70%;
    overflow: hidden;  
} 
#footermap iframe{
  width: 100%;
}
#footerlogo{
    background-color: white;
    width:12%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#footerlogo img{
    width:100%;
    padding: 8px;
}
#footeraddresstext{
    color:white;
    margin-bottom: 30px;
}
#footersocialmediasection{
    height: 100%;
    width: 100%;
    font-display: flex;
    align-items: center;
}
#footersocialmediaicon{
    height: 100%;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#footersocialmeadiaicon:hover {
    background-color: #c22504;
}
.footersocialmedia a{
    padding: 6px 10px;
    border: 1px solid white;
    border-radius: 5px;;
    color: white;
}
#footermiddle{
    
    width:100%;
    background-color: rgb(35, 35, 35);
    display: flex;
    justify-content: space-around;
}
#footermidcontent{
    width:90%;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
}
.links{
    margin-left: 55px;
    color: white;
}
.links a{
    color: white;
    text-decoration: none;
    
}
.links a h4{
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: inline-block;
    border-bottom: 1px solid white;   
}
li::before{
    content: "\f303";
    color: #ebc495;
    margin-right: 8px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display:inline-block;
    font-style: normal;   
}
ul li{
    list-style: none;
    padding:6px 0px ;   
}
li a{
    font-size: 13px; 
    text-decoration: none;
}
#footerbuttom{
    height: 17vh;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    background-color: white;
}
#footerbuttom p{
    color:#c22504;
}
#footerbuttom a{
    color:#c22504;
    font-weight: bolder;
}
.bottom-footer {
    background-color: #2c1c72;
    color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.bottom-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.map-section iframe {
    border-radius: 8px;
}

.info-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.institution-logo {
    width: 80px;
    margin-bottom: 10px;
}

.info-section p {
    margin: 5px 0;
    font-size: 14px;
}

.info-section a {
    color: #ffcc00;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffcc00;
}

.footer {
    background-color: #121212;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    padding-left:3rem ;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section li:hover {
    color: #ffcc00;
}

.footer-section a {
    color: white;
    font-size: 1rem;
}

#footerbuttom div{
    display: flex;
    align-items: center;
}


/*   Media Querry added for Responsiveness   */

/*small size laptop*/

@media (max-width:1280px) {
    
    .mag-submenu {
        left: 15rem;
    }
}

@media (max-width:1160px) {
    .dept-img {
        height: 25rem;
    }
    .dept-img-src {
        height: 25rem;
    }
    .con-sec2-info {
        width: 45rem;
    }
}

@media (max-width:1086px) {
    .con-sec2-info {
        width: 42rem;
        font-size: 1.3rem;
    }
    
} 

@media (max-width:1031px) {
    .con-sec2-info {
        width: 38rem;
        font-size: 1.1rem;
    }
}

@media (max-width:966px) {
    .con-sec2-info {
        width: 34rem;
        font-size: 1rem;
    }
    .hod-msg {
        flex-direction: column;
        align-items: center;
    }
    .hod-name2 {
        margin-top: 2rem;
        display: block;
        font-weight: 700;
    }
    .hod-name {
        display: none;
    }

} 

@media (max-width:897px) {
    .con-sec2-info {
        width: 31rem;
        font-size: 0.8rem;
    }
}

@media (max-width:817px) {
    .con-sec2-info {
        width: 28rem;
        font-size: 0.7rem;
    }
}
@media (max-width: 802px) {

   .homepage-navbar {
    display: none;
   }

   .navbar {
    display:block;
   }
  .hamburger {
    display: block;
  }

  .side-menu {
    display: block;
  }
  .con-sec1-info {
    align-items: center;
  }
}


@media (max-width:590px) {
    .header-sec1 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .sec1-box1 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width:500px) {
    #footerbuttom {
        gap: 0.5rem;
    }
    #footerbuttom div {
        flex-direction: column;
        gap: 0.5rem;
    }
  }



@media (max-width: 480px) {


    
    .header-sec1 {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }
    .sec1-box1{
        flex-direction: column;
    }
    .dept-img, .dept-img-src {
        height: 10rem;
    }
    .homepage-navbar {
        display: none;
    }
    .topnav {
        display: block;
    }
    .box-content img {
        width: 12rem;
        align-items: center;
    }



    .con-sec1-box {
        width:90%;
    }
    .con-sec2-info {
        width: 28rem;
    }

    .con-sec2-info {
        width: 25rem;
        font-size: 0.6rem;
    }


    #footertop {
        height: 150vh;
    }
    #footertopcontent {
        flex-direction: column;
    }
    #footermap {
        height: 30%;
        width: 120%;
        
    }
    #footerlogo {
        width: 40%;
        height: 30%;
    }
    #footermiddle {
        height: 250vh;
        
    }
    #footermidcontent {
        flex-direction: column;
    }
    #footermaplogo {
        flex-direction: column;
    }
  }

  
  
  @media (max-width:441px) {
    .con-sec2-info {
        width: 22rem;
        font-size: 0.2rem;
        padding: 0.5rem;
        font-weight: 300;
    }
    .con-sec2-info p {
        font-size: 0.8rem;
    }
  }

  @media (maax-width:439px) {
    .con-sec2-info {
        width: 22rem;
    }
    .con-sec2-info p {
        font-size: 0.8rem;
    }
  }


  @media (max-width:385px) {

    .box-content img {
        width: 9rem;
        height: 8rem;
    }
    
    .num-of-student, .num-of-faculty, .num-of-staff {
        font-size: 2.5rem;
    }

    .con-sec2-info {
        width: 20rem;
        font-size: 0.05rem;
        padding: 0.8rem;
    }
    .con-sec2-info p {
        font-size: 0.6rem;
    }
  }

  @media (max-width:369px) {
    
    .con-sec2-info {
        width: 18rem;
    }
    .num-of-student, .num-of-faculty, .num-of-staff {
        font-size: 2rem;
    }
    .con-sec2-info p {
        font-size: 0.8rem;
    }
  }
