:root {
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont,
                        "Segoe UI", Roboto, "Helvetica Neue",
                        Arial, sans-serif;
  /* --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif; */
}

body {
  font-size: 0.95rem;          /* slightly better than default */
  line-height: 1.6;
  color: #212529;
}

/* Headings: slightly bolder but clean */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

@font-face {
  font-family: eyek;
  src: url(../fonts/epaomayek.ttf);
}

@font-face {
  font-family: impact;
  src: url(../fonts/impact.ttf);
}

@font-face {
  font-family: xerox;
  src: url(../fonts/xerox.ttf);
}

.headline-eyek {
  font-size: 25px;
  font-family: eyek !important;
  display: table;
  font-weight: bold;
  line-height: 1;
  white-space: normal;
}

.headline1 {
  font-size: 28px;
  font-family: Impact, fantasy;
  display: table;
  text-align: center !important;
  color: #000000;
  line-height: 1.5;
  white-space: normal;
}

.headline2 {
  font-size: 14px;
  font-weight: bold;
  font-family: xerox;
  display: table;
  text-align: center !important;
  color: #383d49;
  line-height: 13px;
  white-space: normal;
}

/* Search Start */
.search-div input::placeholder {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* end Search */

@media (min-width: 992px) {
  .container-fluid {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 768px) {
  .navbar-brand .headline-eyek {
    font-size: 18px;
    font-family: eyek !important;
    display: table;
    line-height: 1.5;
    white-space: normal;
  }

  .navbar-brand .headline1 {
    font-size: 17px;
    font-family: Impact, fantasy;
    display: table;
    line-height: 1.8;
    white-space: normal;
  }

  .navbar-brand .headline2 {
    font-size: 12px;
    font-weight: bold;
    font-family: xerox;
    display: table;
    white-space: normal;
  }
}

/* Card container */
 .container-div{
		padding-right: calc(var(--bs-gutter-x) * .2); 
		padding-left: calc(var(--bs-gutter-x) * .2);
	}
	
    .card-div{
		padding: 1rem;
    border-radius: 0;
	}
	
	.card-div .card-header {
    padding: 0px;
    margin-bottom: 0;  
    padding-bottom: 0rem;
    border-bottom: none;
}

.card-div .card-footer{
  border-top: none !important;
}

.container, .container-md, .container-sm {
        max-width: 100%;
    }


/* End Card container */

body {
  font-family: var(--bs-font-sans-serif);
  font-size: 18px;
  background: whitesmoke;
}

.top-bar {
  background: #f7eaea;
  font-size: 14px;
}

.college-header img {
  max-height: 90px;
}

:root {
  --menu-bg: #1d5874;
  --menu-hover: #009688;
  --menu-active: #5D4037;
  --dropdown-bg: #9C4325;
  --dropdown-hover: #B55230;
}

/*** Theme Start ***/

/* Social Icon */
@media (min-width: 992px) {
  .icon-bar {
    display: inline-block;
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 15;
  }

  .icon-bar a {
    display: block;
    text-align: center;
    padding: 7px 11px 7px 11px;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 16px;
  }

  .icon-bar a:hover {
    background-color: #000;
  }

  .facebook {
    background: #3B5998;
    color: #ffffff;
  }

  .twitter {
    background: #55ACEE;
    color: #ffffff;
  }

  .google {
    background: #dd4b39;
    color: #ffffff;
  }

  .linkedin {
    background: #007bb5;
    color: #ffffff;
  }
}

/* End Social Icon */

/* Feedback */
@media (min-width: 992px) {
  #feedbacks {
    display: block;
    padding: 0px 0px 0px 0px;
    text-align: center;
    margin: 0px;
    width: 120px;
    height: 30px;
    z-index: 15;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform-origin: bottom left;
    position: fixed !important;
    right: -90px !important;
    top: 38%;
    cursor: pointer;
    text-decoration: none;
  }
}

/* End Feedback */

.menu-bar {
  background-color: #1d5874;
  border-top: 1px solid #795548;
  border-bottom: 3px solid #795548;
}

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #1d5874;
  --bs-btn-border-color: #1d5874;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #898e93;
  --bs-btn-hover-border-color: #898e93;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #565e64;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
}

.btn-group>.btn-group:not(:last-child)>.btn,
.btn-group>.btn.dropdown-toggle-split:first-child,
.btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.text-theme-control .btn-small {
  font-size: 14px;
  padding: 0px 5px;
  /* border: 1px solid #fff; */
  color: #fff;
  border: 1px solid #FFEB3B;
  background-color: #E91E63;
  line-height: 20px;
}

.text-theme-control .btn-small:hover {
  color: #444444;
}

/*** End Theme ***/

.menu-bar {
  flex-wrap: wrap;
}

.menu-flex {
  flex-grow: 1;
  min-width: 0;
}

.menu-bar .navbar-nav {
  flex-wrap: wrap;
}

.admin-login {
  flex-shrink: 0;
  white-space: nowrap;
}


/* MOBILE BEHAVIOR */
@media (min-width: 992px) {

  /* Header row fixed */
  .navbar-top {
    flex-wrap: nowrap;
  }

  /* Menu always below header */
  .menu-flex {
    width: 100%;
  }
}

.menu-bar .nav-link {
  padding: .5rem .5rem !important;
}



.navbar {
  --bs-navbar-padding-y: 0rem !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.menu-bar {
  background-color: var(--menu-bg);
}

.menu-bar .nav-link {
  color: #fff !important;
  /* font-weight: 600; */
  padding: 14px 16px;
  font-size: 14px;
}

.menu-bar .nav-link:hover {
  background-color: var(--menu-hover);
}

.menu-bar .nav-link.active {
  background-color: var(--menu-active);
}

.navbar-toggler {
  padding: 0 .2rem;
  margin: 5px 0px !important;
  background: #fff !important;
}

.dropdown-menu {
  background-color: var(--dropdown-bg);
  border: none;
  border-radius: 0;
}

.dropdown-item {
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-top: 1px solid #fff;
  padding: .25rem 1.5rem;
}

.dropdown-item:hover {
  background-color: var(--dropdown-hover);
  color: #fff;
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu[data-bs-popper] {
  margin-top: 0px !important;
}

.dropdown-menu {
  --bs-dropdown-padding-y: 0rem !important;
}


#collegeCarousel {
  height: 60vh;
  /* responsive height */
}

#collegeCarousel .carousel-inner,
#collegeCarousel .carousel-item,
#collegeCarousel img {
  height: 100%;
}

.carousel-img {
  object-fit: cover;
  /* prevents stretching */
}

/*section 2*/

.section-title {
  color: #2a2a8f;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 16px;
}

.btn-read-more {
  background-color: #8B3A1E;
  color: #fff;
  border-radius: 4px;
  padding: 6px 14px;
}

.btn-read-more:hover {
  background-color: #A14A2B;
  color: #fff;
}

/* Notice List */

.notice-list .news-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  /* padding: 8px 0; */
}

.notice-list .news-item a {
  display: block;
  color: #007bff;
  font-size: 16px;
  /* font-weight: 500; */
  text-decoration: none;
  text-transform: uppercase;
}

.notice-list .news-item span {
  font-size: 12px;
  color: #777;
}

.news-wrapper {
  width: 100%;
  /* height: 180px; */
  /* Shows approx. 3 items worth */
  overflow: hidden;
  position: relative;
}

/* Adjust notification container height here */
.notifications {
  height: 32rem;
}
.downloads, .newsevents {
  height: 16rem;
}

.notice-list {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* font-weight: 500; */
  padding: 0.75rem 1rem;
  border-bottom: 1px dotted #ccc;
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
  box-sizing: border-box;
}

.new-item a,
.notice-box a {
  color: #337ab7;
}

.btn-news-control button {
  /* padding: 0px 5px !important; */
}

/* Banner Carousel */
.notice-box a:hover {
  text-decoration: underline;
}

/* End Notice List */

.text-justify {
  text-align: justify;
}

/*section 3*/
.btn-more {
  background-color: #8B3A1E;
  color: #fff;
  border-radius: 4px;
  padding: 4px 12px;
}

.btn-more:hover {
  background-color: #A14A2B;
  color: #fff;
}

.news-card {
  border: 1px solid #e5e5e5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.news-card img {
  height: 180px;
  object-fit: cover;
}

.news-card .card-title {
  font-size: 14px;
  font-weight: 600;
  color: #0b3c5d;
}

.news-date {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

/*Footer*/
.top-bar {
    background: url(../img/img02.jpg) center/cover no-repeat;
    position: relative;
    color: white !important;
}
footer {
    background: url(../img/img02.jpg) center/cover no-repeat;
    position: relative;
    color: white !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    width: 100%;
    height: 100%;
}
footer .head-title {
    border-bottom: 3px solid gray !important;
    font-weight: bold !important;
}
footer ul.list-unstyled{
  font-size: 1rem;
}
footer ul.list-unstyled li{
  padding: 5px;
}
footer ul.list-unstyled li:before {
    content: "\f105";
    font-family: FontAwesome;
    display: inline-block;
    font-size: 10px;
    margin-right: 8px;
    width: 1em;
}

footer ul.list-unstyled li a:hover {
    text-decoration: underline !important;
}

footer .overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.65);  */
  background: rgb(0 0 0 / 50%);
}

footer .container-fluid {
  position: relative;
  z-index: 1;
}

/* Extra support */
.principal-desk{
  padding: 0 !important;
}
.principal-desk .text-label{
  padding: 0 1rem !important;
}
.passport-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  /* keep rectangle, not circle */
  border: 3px solid #f1f1f1;
}
.swiper-pagination{
  margin-bottom: -12px !important;
}
.swiper-button-prev, .swiper-button-next {
  color: #fff;
}

.text-indent {
    text-indent: 3rem;
}