@import url(./global.css);

* {
  padding: 0;
  margin: 0;
  font-family: var(--main-font)
}

body {
  background-color: var(--light-background);
}

a {
  text-decoration: none !important;
}

/* .dropdown:nth-last-child(-n +3) .dropdown-menu {
  right: 0;
  left: auto;
}

.dropdown:nth-last-child(-n +3) .dropdown-submenu>.dropdown-menu {
  right: 94%;
  left: auto;
} */

.nav-item:hover .dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  min-width: 17rem;
  width: max-content;
  /* height: 280px; */
  background: #edf5ff;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.nav-item:hover .nav-link {
  /* color: black; */
  color: var(--active-color);
}

.navbar-nav .nav-link {
  font-size: 1rem;
  /* font-weight: bold; */
  padding: 5px 0 2px;
}

.navbar {
  /* background: #f0f8fe; */
  background-color: var(--main-color);
  padding: 0;
  border-bottom: 1px solid var(--main-color);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.nav-link {
  /* color: var(--main-color); */
  color: white;
  /* font-weight: bold; */
  font-size: .9rem;
}

.nav-item {
  text-align: center;
}

.dropdown-menu li {
  border-bottom: 1px dotted #a2a2a2;
}

.fa-house {
  color: white;
}

.dropdown-item {
  color: white;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #ffffff !important;
  text-decoration: none;
  background-color: var(--main-color);
}

.dropdown-item:focus,
.dropdown-item:hover i {
  color: #ffffff !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  position: absolute;
  display: none !important;
  top: 0;
  left: 94%;
  min-width: fit-content;
  border: none;
}

.dropdown-submenu>.dropdown-menu::after {
  content: "";
  display: none;
}

.dropdown-submenu>.dropdown-menu::before {
  content: "";
  display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
  position: absolute;
  display: block !important;
}

.dropdown-item {
  display: flex;
  color: rgb(0, 0, 0) !important;
  font-weight: bold;
  align-items: center;
  font-size: .9rem;
  padding: 0.45rem 1.5rem;
}

.dropdown-item i {
  margin-right: 10px;
}


.flex-box-two {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.flex-box-two p {
  margin: 0%;
}

.flex-box-two a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: .9rem;
  padding: 0 10px 0 10px;
  border-right: 1px solid white;
}


.flex-box-two-left {
  width: 45%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.flex-box-two-left i {
  color: white;
  margin-right: 5px;
}

.flex-box-two-right {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flex-box-two-right a:first-child {
  border-right: 1px solid white;
}

.flex-box-two-right a {
  color: white;
  text-decoration: none;
  font-size: .9rem;
  padding: 0 10px 0 10px;
  border-left: 1px solid white;
  border-right: none;
}

.flex-box-two-right i {
  color: white;
  margin-right: 5px;
}

.flex-box-two-right form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 100%; */
  color: white;
  border-left: 1px solid white;
  font-size: .8rem;
  padding: 0 0 0 10px;
}

.flex-box-two-right form select {
  font-size: 0.7rem;
  margin: 0 0 0 5px;
  color: white;
  background: transparent;
}

.text-size {
  margin: 0 10px;
  /* padding: 0 0 0 10px; */
  /* border-left: 1px solid white; */
  cursor: pointer;
}

.text-size-dropdown {
  display: none;
}

.text-size:hover .text-size-dropdown {
  display: block;
  list-style: none;
  position: absolute;
  background: var(--main-color);
  color: white;
  width: max-content;
  /* padding: 5px; */
  /* font-size: .3rem; */
  z-index: 1;
}

.text-size-dropdown li {
  color: white;
  border-right: none;
}

.text-size-dropdown li a {
  color: white;
  /* width: 100%; */
  font-size: .7rem;
  padding: 8px;
  text-decoration: none;
  border-left: none;
  border-right: none !important;
  /* border-bottom: 1px solid white; */
}

.flex-box-two a:hover {
  color: var(--active-color);
}

.flex-box-two a:hover i {
  color: var(--active-color);
}

.header-background {
  background: var(--main-color);
}


.sambalpuri-border {
  height: 19px;
  background-color: var(--main-color);
  background-image: url(../icons/smbl.png);
  background-repeat: repeat-x;
  background-size: 150px;
  background-position: top;
}

.sambalpuri-border2 {
  height: 18px;
  background-color: var(--light-background);
  background-image: url(../icons/blue.png);
  background-repeat: repeat-x;
  background-size: 90px;
  background-position: top;
}

.sambalpuri-border3 {
  height: 21px;
  /* background-color: var(--light-background); */
  background-image: url(../icons/smbl3.jpg);
  background-repeat: repeat-x;
  background-size: 104px;
  background-position: top;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* padding: 10px 0; */
}

.left-header {
  /* border: 1px solid; */
  width: 65%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}


.logo {
  width: 100px;
  /* border: solid; */
}

.logo img {
  width: 100%;
  height: auto;
}

.university-name {
  padding: 5px 0;
}

.odia {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--dark);
  margin: 0 0 7px;
  /* font-family: var(--heading-font); */
}

.hindi {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--dark);
  margin: 0 0 5px;
  /* font-family: var(--heading-font); */
}

.english {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--dark);
  margin: 0;
  font-family: var(--heading-font);
}

.right-header {

  /* border: 1px solid; */
  width: 35%;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: flex-end;
  gap: 35px;
}

.header-image {
  position: absolute;
  top: 5px;
  width: 205px;
  right: 70px;
}

.header-image img {
  width: 100%;
  /* height: auto; */
}

.backgrund-img-png {
  position: absolute;
  z-index: -1;
  width: 800px;
  right: 0;
  top: 45px;
}

.headings {
  font-size: 1.3rem;
  font-weight: bold;
  color: black;
  font-family: var(--heading-font);
  width: 100%;
  padding: 2px 15px 0px 2px;
  border-bottom: 2px solid var(--main-color);
  /* border-left: 30px solid var(--main-color); */
  position: relative;
}


.iframe-border {
  width: 100%;
}

.quick {
  list-style: none;
}

.quick li {
  position: relative;
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 15px;
  list-style-type: none;
}

.quick li a, .quick li a:visited, .quick li a:link {
  color: #000;
}

.quick li::before {
  content: '';
  background-image: url(../icons/next.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.f-back {
  background: linear-gradient(to bottom, #004791 0%, #021a34 100%);
}

.f-left {
  width: 100%;
  display: flex;
  height: max-content;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.f-left img {
  width: 18%;
}

.f-left .odia {
  color: white;
}

.f-left .english {
  color: white;
  font-weight: normal;
}

.f-left .hindi {
  color: white;
  font-weight: normal;
}

.f-left p {
  color: #f7cb78;
}

.footer-icons {
  display: flex;
  margin-bottom: 10px;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
}

.footer-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid white;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .5s;
}

.footer-icons i {
  font-size: 20px;
  color: white;
}

.footer-icons a:hover {
  background-color: white;
  transition: .5s;
  text-decoration: none;
}

.footer-icons a:hover i {
  color: var(--main-color);
  transition: .5s;
}

footer .headings {
  color: white;
  font-weight: normal;
  border-bottom: 2px solid lightgray;
}

.link {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
}

.link ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links {
  width: 49%;
}

.footer-links li a {
  color: white;
  font-size: .9rem;
}

.footer-links li::before {
  content: '';
  background-image: url(../icons/right-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.real-footer {
  width: 100%;
  margin: 25px auto 0;
  display: flex;
  border-bottom: 1px solid var(--active-color);
  border-top: 1px solid var(--active-color);
  justify-content: space-between;
}

.real-footer p {
  margin: 10px 0;
  font-size: .7rem;
  color: white;
}

.yellow-border {
  height: 40px;
  padding: 4px 0;
  background: var(--active-color);
}

.blue-background {
  width: 40%;
  position: relative;
  background: var(--main-color);
  height: 100%;
}

.blue-background .trngle {
  position: absolute;
  width: 32px;
  top: 0;
  right: -32px;
}

.weather {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  align-content: center;
  gap: 20px;
}

.weather p {
  color: white;
  margin: 0;
  font-weight: bold;
  letter-spacing: 1px;
}

.weather img {
  width: 35px;
  height: 35px;
}

.contacts-ft {
  width: 100%;
  /* border: 1px solid; */
  /* float: right; */
  margin-top: -28px;
  display: flex;
  padding: 0 0 0 40%;
  justify-content: space-around;
}

.contacts-ft a {
  color: black;
  font-size: 1rem;
  font-weight: bold;
}

.inner-banner {
  width: 100%;
  position: relative;
}

.inner-banner img {
  width: 100%;
}

.main-big-btn {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.main-box {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  justify-content: space-around;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.main-box img {
  width: 30%;
}

.main-box p {
  font-size: 1rem;
  font-weight: bold;
  color: #2a2a2a;
  text-align: center;
}

.main-box a {
  border: 2px solid var(--main-color);
  background-color: var(--main-color);
  padding: 5px 10px;
  color: white;
  /* font-weight: bold; */
  border-radius: 5px;
  display: flex;
  align-items: center;
  transition: .3s;
}

.main-box i {
  margin-left: 10px;
}
.main-box a:hover {
  background-color: var(--active-color);
  color: var(--main-color);
  font-weight: bold;
  transition: .3s;
  /* border: 1px solid var(--active-color); */

}
#msg {
    display: none;
    z-index: 99999;
    border: 2px solid #924949;
    position: absolute;
}

#msgcontent {
    display: block;
    background: #f3e6e6;
    padding: 5px;
    min-width: 150px;
    max-width: 250px;
    font-size: 12px;
    position: relative;
}

#msgimg {
    position: absolute;
    width: 37px;
    height: 7px;
    left: 0;
    top: -7px;
    background: url(../images/msg_arrow_top.png) no-repeat;
}

#msgRight {
    display: none;
    position: absolute;
    z-index: 200;
    background: url(../images/msg_arrow.gif) left center no-repeat;
    padding-left: 7px
}

#msgcontentRight {
    display: block;
    background: #f3e6e6;
    border: 2px solid #924949;
    border-left: none;
    padding: 5px;
    min-width: 250px;
    max-width: 400px
}



.main-big-btn1 {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transform-style: preserve-3d;
  transition: transform 0.3sease;
  display: flex
;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
}

/* Heading styling */
.main-big-btn1 h1 {
  color: #2c3e50;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0rem;
  position: relative;
}
.left-image {
  width: 50%;
}
img.image-icons {
  width: 100%;
}
.main-big-btn1 h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3498db;
}

/* Form elements styling */
.loginform {
  display: grid;
  gap: 1.5rem;
}

.form_input {
  width: 100%;
  padding: .4rem;
  border: 2px solid #3498db;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: all 0.3scubic -bezier(0.4, 0, 0.2, 1);
}

.form_input:focus {
  border-color: var(--active-color);
  box-shadow: 0 4px 6px -1px rgba(52, 152, 219, 0.1);
  outline: none;
}

/* Custom select styling */
.address-field select {
  width: 100%;
  padding: 0.4rem;
  border: 2px solid #3498db;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Remove default arrow styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e")
    no-repeat right 1rem center/1em;
  background-color: #fff;
}

/* File upload styling */
.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile-3 + label {
  color: var(--main-color);
  border: 2px dashed #bdc3c7;
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inputfile-3 + label:hover {
  border-color: var(--main-color);
  background: rgba(52, 152, 219, 0.05);
}

/* Submit button styling */
.form_submit {
  background: var(--main-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form_submit:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Bottom link styling */
.signup_bottom {
  margin-top: 1.5rem;
  text-align: center;
  color: #7f8c8d;
}

.signup_bottom a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.signup_bottom a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: width 0.3s ease;
}

.signup_bottom a:hover::after {
  width: 100%;
}

/* Error message styling (for PHP messages) */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-weight: 500;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-big-btn {
      padding: 1.5rem;
  }
  
  .form_input {
      padding: 0.8rem;
  }
}

/* Animation */
@keyframes formEntrance {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.loginform {
  animation: formEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.info {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  width: fit-content;
  padding: 12px;
  display: flex
;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  background: #d7f1fd;
  border-radius: 8px;
  border: 1px solid #509af8;
  box-shadow: 0px 0px 5px -3px #111;
  margin: auto;
}
.info__icon {
  width: 20px;
  height: 20px;
  transform: translateY(-2px);
  margin-right: 8px;
  color: #509af8;
}
.info__title {
  font-weight: 500;
  font-size: 14px;
  color: #0c2a75;
}
.main-big-btn2 {
  display: flex
;
  border: 2px solid green;
  border-radius: 10px;
  padding: 1rem;
  background: #f2fff2;
  align-items: center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.main-big-btn2 p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #005c00;
  font-size: 2rem;
}
.main-big-btn2 p span{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: darkred;
}


.main-big-btn3 {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
 
}

/* Heading styling */
.main-big-btn3 h1 {
  color: #2c3e50;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0rem;
  margin-bottom: 2rem;
  position: relative;
}
.main-big-btn3 h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3498db;
}
.my-g-read-more {
  color: #ffffff;
  display: flex
;
  align-items: center;
  width: fit-content;
  gap: 10px;
  background: #014692;
  padding: 5px 10px;
  border-radius: 5px;
}
.my-g-read-more:hover {
  color: #ffffff;
  display: flex
;
  align-items: center;
  width: fit-content;
  gap: 10px;
  background: #001730;
  padding: 5px 10px;
  border-radius: 5px;
}
.err {
  border-top: 2px solid #C30;
  border-bottom: 2px solid #C30;
  color: #C30;
  padding: 5px 0;
  width: 100%;
  display: inline-block;
  font-weight: bold;
  text-align: center;
  background: #FDE9E8;
  margin: 5px 0;
  -webkit-animation: shake .5sease-in-out;
  -moz-animation: shake .5s ease-in-out;
  -ms-animation: shake .5s ease-in-out;
  -o-animation: shake .5s ease-in-out;
  animation: shake .5sease-in-out;
}
.border-btms {
  width: 100%;
  border-bottom: 1px dotted black;
  margin-bottom: 15px;
}
.border-btms:last-child{
  border-bottom: none;
}