:root{
  --light-bg: #f1e6d3;
  --dark-bg: #512a11;
  --main-font: "Roboto Flex", sans-serif;
}

*{
  font-family: var(--main-font);
}

body{
  background-color: var(--light-bg);
}

.logo {
    display: flex;
    align-items: center;
}
.logo>img {
    max-width: 80px;
    margin: 10px;
}
nav.theme-bg-dark{
  background-color: var(--dark-bg);
}

.logo h1{
  font-weight: bold;
  color: var(--dark-bg);
}

.navbar-nav {
    width: 100%;
    justify-content: space-around;
}
.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    color: var(--light-bg) !important;
    text-transform: uppercase;
}

/* Custom CSS for submenu and sub-submenu */

@media only screen and (min-width: 740px) {
    .dropdown:hover .dropdown-menu{
        display: block;
    }
}
    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
      display: block;
    }

    .dropdown-submenu-sub .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
    }

    .dropdown-submenu-sub:hover > .dropdown-menu {
      display: block;
    }

     /* Custom styles for home slider */
    .carousel-item {
      height: 450px; /* Adjust the height as per your design */
      background-size: cover;
      background-position: center;
    }

    
    .carousel-caption {
      background: rgba(0,0,0,0.5); /* Semi-transparent background for caption */
      padding: 20px;
    }
    .carousel-caption h2 {
      color: #fff;
    }
    .carousel-caption p {
      color: #fff;
    }

    /* Custom styles for quotation slider */
    .quotation.carousel {
        height: 100%;
    }
    .quotation .carousel-inner {
        background-size: cover;
        background-position: top;
        height: 100%;
        border-radius: 5px;
    }
    .quotation .carousel-item {
      height: 100%; /* Adjust the height as per your design */
    }
    .quotation .carousel-caption {
        width: 100%;
        right: 0;
        left: 0;
        bottom: 0;
    }
    /* Custom styles for block slider */
    .course-card {
      background-color: #f8f9fa;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .course-card img {
      max-height: 200px;
      object-fit: cover;
      width: 100%;
    }
    .course-card .card-body {
      padding: 20px;
    }
    .course-card h5 {
      margin-bottom: 0.5rem;
      color: #212529;
    }
    .course-card p {
      font-size: 0.875rem;
      color: #6c757d;
    }

    /* Custom CSS for message ticker */
    .ticker {
        overflow: hidden;
        white-space: nowrap;
        border-top: 1px solid #cfc2ab;
        padding: 5px;
        border-bottom: 1px solid #cfc2ab;
    }

    .ticker-inner {
      display: inline-block;
      padding-left: 100%; /* Start offscreen */
      animation: ticker 35s linear infinite;
    }


    @keyframes blink {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }

            100% {
                opacity: 1;
            }
        }

        .blink {
            animation: blink 1s infinite;
        }

    @keyframes ticker {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    /* Custom styles for news blocks */
    .news-item {
      margin-bottom: 20px;
      background-color: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 0.25rem;
      padding: 15px;
    }

    .news-item .news-date {
      font-size: 0.875rem;
      font-weight: bold;
      color: #6c757d;
    }

    .news-content {
      margin-top: 10px;
    }


    .block-slider {
      overflow: hidden;
      position: relative;
      margin-top: 20px;
    }

    .block-slider .slider-wrapper {
      display: flex;
      transition: transform 0.5s ease;
    }

    .block-slide {
      flex: 0 0 auto;
      width: 100%;
      max-width: 300px; /* Adjust slide width as needed */
      padding: 10px;
      text-align: center;
      border: 1px solid #ccc;
      border-radius: 8px;
      margin-right: 10px;
      background-color: #f8f9fa;
    }

    /* Media Query for smaller screens */
    @media (max-width: 768px) {
      .block-slide {
        max-width: 100%; /* Full width on smaller screens */
      }
    }

  
  .activities {
      background-color: var(--dark-bg);
      padding: 20px 30px 60px 30px;
      margin: 30px auto;
      background-image:  url(../../images/panel-bg.jpg);
      background-repeat: no-repeat;
      background-position: top;
      background-size: cover;
      background-attachment: fixed;
  }
  .activities h2, .news h2 {
    font-weight: 600;
    color: #fff;
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}
  .news {
      padding:20px 20px 50px 20px;
  }

  .news .card {
        margin: 1%;
    }
  .news h2 {
      color: var(--dark-bg);
  }
  .news .card-footer {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
  }
  .news .card-footer i.bi-arrow-right-circle-fill {
    color: var(--dark-bg);
    font-size: 24px;
  }
  
  
.news .card-body a {
    background-color: #512a11;
    color: #f1e6d3;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 50px;
}
.news .card-body a:hover {
    color: #fff;
}

.news .card-body a>i {
    font-size: 16px;
    font-style: normal;
}
.news .card-body a>i:before {
    margin-right:3px;
}


.photo-gallery .photos .item span {
    text-align: center;
    width: 100%;
    padding: 3px;
    background-color: #fff;
    display: block;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
    color: #512a11;
}

.footer {
      background-color: var(--dark-bg);
      color: #fff;
      padding: 40px 0;
    }
    .footer a {
      color: var(--light-bg);
      text-decoration: none;
    }
    .footer a:hover {
      color: #fff;
    }
    .social-icons a {
      color: var(--light-bg);
      font-size: 24px;
      margin-right: 15px;
      text-decoration: none;
    }
    .social-icons a:hover {
      color: #fff;
    }

    .credit-bar {
        display: inline-flex;
        justify-content: space-between;
        border-top: 1px solid #916b2b;
        padding-top: 20px;
    }



  .inside-banner {
    position: relative;
    height: 25vw;
    max-height: 400px;
    background-position: top center;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: #b7b1a7;
  }
  .inside-banner.aboutus {
    background-image: url(../../images/theme/about-banner.jpg);
  }
  .inside-banner.gen {
    background-image: url(../../images/theme/hatamuni-banner.jpg);
  }
  .inside-banner.hq {
    background-image: url(../../images/theme/hq-banner.jpg);
  }
  .inside-banner.holytrio {
    background-image: url(../../images/theme/holytrio-banner.jpg);
  }
  .inside-banner.school {
    background-image: url(../../images/theme/school-banner.jpg);
  }
  .inside-banner.faculty {
    background-image: url(../../images/theme/faculty-banner.jpg);
  }
  .inside-banner.infra {
    background-image: url(../../images/theme/infra-banner.jpg);
  }
  .inside-banner.medical {
    background-image: url(../../images/theme/medical-banner.jpg);
  }
  .inside-banner.spiritual {
    background-image: url(../../images/theme/spiritual-banner.jpg);
  }
  .inside-banner.cultural {
    background-image: url(../../images/theme/cultural-banner.jpg);
  }
  .inside-banner.relief {
    background-image: url(../../images/theme/relief-banner.jpg);
  }
  .inside-banner.notices {
    background-image: url(../../images/theme/notice-banner.jpg);
  }
  .inside-banner.contact {
    background-image: url(../../images/theme/banner-contact.jpg);
  }
  .inside-banner.school-admin {
    background-image: url(../../images/theme/banner-school-admin.jpg);
  }
  .inside-banner.academic {
    background-image: url(../../images/theme/banner-school-academic.jpg);
  }
  .inside-banner.infrastructure {
    background-image: url(../../images/theme/banner-school-infra.jpg);
  }
  .inside-banner.results {
    background-image: url(../../images/theme/banner-results.jpg);
  }
  .inside-banner.about-school {
    background-image: url(../../images/theme/banner-school-about.jpg);
  }
  .inside-banner.tender {
    background-image: url(../../images/theme/banner-tender.jpg);
  }
  .inside-banner.support {
    background-image: url(../../images/theme/banner-support.jpg);
  }
  .inside-banner.vtc {
    background-image: url(../../images/theme/banner-vtc.jpg);
  }

  .inside-banner>h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}
  .inside-content {
    font-size: 18px;
    line-height: 30px;
    margin: 30px auto;
  }
  .inside-content p{
    text-align: justify;
  }
  a.major-link {
    background-color: #512a11;
    color: #f1e6d3;
    text-decoration: none;
    padding: 5px 35px;
    border-radius: 35px;
    font-size: 20px;
    font-weight: bold;
}
a.major-link:hover {
    background-color: #c7af84;
    color: #512a11;
}

.sub-div {
    padding: 20px;
    border: 1px solid #a79e8f;
    margin: 20px auto;
    border-radius: 8px;
    background-color: #f9f1e4;
}
.sub-div>h2 {
    color: #512a11;
    font-size: 24px;
    border-bottom: 1px dashed #512a11;
    padding-bottom: 4px;
    margin-bottom: 16px;
    display: block;
}
.sub-div a.btn {
    margin: 8px auto;
}

/*-------------- Lightbox img styles [start]----------------------*/

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  width:100%;
  max-width:360px;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/*-------------- Lightbox img styles [end]----------------------*/


.photo-gallery {
  color:#313437;
  
}

.photo-gallery p {
  color:#7d8285;
}

.photo-gallery h2 {
  font-weight:bold;
  margin-bottom:40px;
  padding-top:40px;
  color:inherit;
}

@media (max-width:767px) {
  .photo-gallery h2 {
    margin-bottom:25px;
    padding-top:25px;
    font-size:24px;
  }
}

.photo-gallery .intro {
  font-size:16px;
  max-width:500px;
  margin:0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom:10px;
}

.photo-gallery .photos {
  padding-bottom:20px;
}

.photo-gallery .item {
  padding-bottom:30px;
}
.intro.album-inside-heading {
    max-width: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



img{
    margin: 0px auto;
    text-align: center;
    display: flex;
}
img.align-left {
    float: left;
    margin: 10px 20px 10px 0;
}
img.align-right {
    float: right;
    margin: 10px 0 10px 20px;
}


.tender-notices .card-header {
    background-color: #512a11;
}
.tender-notices .card-header button.btn.btn-link {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    text-align: left;
}

.tender {
    border: 1px solid #ddd;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 0 3px #eee;
    padding: 12px;
    width: 100%;
}
.tender.new {
    background-image: url(../../images/theme/new.gif);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
}
.tender a {
    display: flex;
    color: #333;
    text-decoration: none;
}
.tender a>h4 {
    width:72%;
    margin: 0 8px;
    font-size: 20px;
}
.tender a>em {
    width:25%;
    margin: 0 8px;
}
.tender a>h4>cite {
    font-size: 15px;
    color: #666;
}
.tender-notices #accordion {
    margin-bottom: 30px;
}


.picbox img {
    width: 96%;
    margin: 10px auto;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 0 12px #a79a85;
}

.achivements h4 {
    border-bottom: 1px solid #ad9d83;
    padding: 0 0 12px 0;
    margin-bottom: 12px;
}

.row.topper {
    border: 1px dotted #8d7f67;
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    background-color: #ffffff45;
}
.topper .row.students img {
    border: 5px solid #fff;
    margin: 0 auto;
    max-height: 220px;
    width: auto;
    box-shadow: 0 0 13px #c9c0b0;
    margin: 12px auto;
}

.topper h2.heading {
    background-color: #3780b5;
    color: #fff;
    font-size: 25px;
    padding: 4px 12px;
}

.topper .row.students p, .topper .row.students h4 {
    text-align: center;
    font-size: 20px;
}


.download-links {
    display: flex;
    flex-direction: column;
}
.download-links>a {
    color: #512a11;
    font-weight: bold;
    margin: 8px 15px;
    text-decoration: none;
    padding: 12px 30px;
    border: 1px solid #b1a185;
    border-radius: 6px;
}
.download-links>a:hover {
    background-color: #fbefda;
}

.form-section {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin-top: 2rem;
}
.form-title {
	text-align: center;
	font-weight: 700;
	margin-bottom: 1rem;
}
.header-text {
	text-align: center;
	font-size: 1rem;
	margin-bottom: 2rem;
}
