@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", serif;
}

.header_img img {
    height: 150px;
}

.navbar, .dropdown-menu {
    background: rgb(16,118,157);
    background: linear-gradient(90deg, rgba(16,118,157,1) 29%, rgba(23,144,168,1) 100%);
}

.nav-link, .dropdown-item {
    margin: 0 2px;
    font-weight: 600;
    color: #fff!important;
    font-size: 15px;
}

.dropdown-item:hover {
    color: #000!important;
}

/* Smooth transition for the dropdown menu */
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s ease;
    position: absolute;  /* Added position absolute for proper alignment */
    z-index: 999;  /* Ensures the dropdown is above other elements */
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hover behavior for nested dropdown (dropright) */
.dropright:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);  /* Moves the nested menu horizontally */
    left: 100%;  /* Positions it to the right of the parent item */
    top: 0;  /* Ensures it appears at the same vertical level as the parent */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*------- top notice ----------*/
.top_notice{
    background: linear-gradient(to bottom, #FFFFFF, #85C1E9); 
    height: 35px
}
.top_notice a{
    color: red;
    font-weight: 500;
    font-size: 1.1em;
}


/*--------- read more button ---------- */

.read-more-btn {
  --color: #560bad;
  font-family: inherit;
  display: inline-block;
  width: 8em;
  height: 2.6em;
  line-height: 2.5em;
/*  margin: 0 20px;*/
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--color);
  transition: color 0.5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--color);
}

.read-more-btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 150px;
  width: 200px;
  border-radius: 50%;
}

.read-more-btn:hover {
  color: #fff;
}

.read-more-btn:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

.read-more-btn:hover:before {
  top: -30px;
  left: -30px;
}

.read-more-btn:active:before {
  background: #3a0ca3;
  transition: background 0s;
}

.notice_event .notice_item{
    margin-top: 6px;
}

.notice_event .notice_item a{
    font-size: 0.9em;
}

.sec_heading{
    color: #eb7e09;
}
.sub_heading{
    color: #fff;
}

/*----------- department -----------*/
.department_card{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 20px;
    transition: 0.2s ease all;
}
.department_card:hover{
    transform: translateY(-10px);
}
/*------home gallery ----*/
.gallery img{
    aspect-ratio: 3/2;
}
/*-------------- footer----------------*/
footer{
    padding: 50px 0;
    background-image: linear-gradient(90deg, rgb(43, 77, 130),rgb(40, 144, 172));
}
footer .contact-list {
    list-style: none;
}

footer .first-col a{
    color: #fff;
    margin: 0 10px;
}
footer li{
    text-indent: -15px;
    line-height: 37px;
    color: #fff;
}
footer li i{
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
    color: #ff9d00;
}

.footer-icons i{
    margin: 0 10px;
    padding: 10px;
    font-size: 20px;
    color: #ff9d00;
    background-color: #616960;
    border-radius: 50%;
}





/*---------------- mocollege page ----------*/
.mocollege p{
    line-height: 35px;
}
.mocollege p{
    line-height: 35px;
}

.mocollege .contact-header, .contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.mocollege .contact-info span, .contact-header span {
    width: 33.33%;
    word-wrap: break-word;
}
.mocollege .contact-header {
    font-weight: bold;
    margin-bottom: 20px;
}



/*------------mission_page ----------------*/
.mission_page li, .vision_page li{
    line-height: 45px;
}

/* mobile responsive */
@media (min-width: 768px) {
    .dropdown-menu {
        width: 330px;
        margin-top: 0; 
        top: 100%; 
        left: 0;
    }

    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}
