

p{
     font-family: "Karla", sans-serif;
     
}

ul li{
     font-family: "Karla", sans-serif;
}

a{
     font-family: "Karla", sans-serif; 
     cursor: pointer !important;
}

h5{
       font-family: Arial, sans-serif;
}

h2 , h4{
  font-family: "Alegreya SC", serif;
}
/* Navbar Styling */
.navbar {
    background: linear-gradient(45deg, #351b14 , #53291f );
       padding-top: 1px;
    padding-bottom: 1px;
}
.navbar .navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}
.navbar .navbar-brand:hover {
    color: #f1f1f1;
}
.navbar-nav .nav-link {
    color: #fff;
      padding-top: 0px;
    padding-bottom: 0px;
    transition: all 0.3s ease;
    font-weight: 600;
}
.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transform: translateY(-2px);
}

/* Dropdown Menu Colors */
.dropdown-menu {
    background: #644b2e !important;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: dropdownFade 0.3s ease;
}
.dropdown-item {
    color: #333;
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    background: #2B1B17 ;
    color: #fff;
}

/* Submenu styling */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    border-radius: 8px;
    display: none;
}
.dropdown-submenu .dropdown-menu.show {
    display: block;
    animation: dropdownFade 0.3s ease;
}

.dropdown:hover > .dropdown-menu{
  background-color: #2e4964;
}

.custom_nav li a .dropdown-menu{
 background-color: #2e4964;
}


.custom_nav li a{
  color: #fff;
}

/* Hover dropdown on desktop */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: dropdownFade 0.3s ease;
    }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Keyframes for smooth animation */
@keyframes dropdownFade {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* topbar */

.top-bar {
        background-color: #53291f; /* Dark brown */
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 20px;
        font-size: 14px;
    }

    .contact-info {
        display: flex;
        gap: 20px;
        font-weight: bold;
    }

    .contact-info span {
        font-weight: normal;
    }

    /* Button list */
    .nav-buttons {
        list-style: none;
        display: flex;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .nav-buttons li {
        display: inline-block;
    }

.nav-buttons li a {
	text-decoration: none;
	color: #fff;
	padding: 5px 15px;
	border: 2px solid #fff;
	border-radius: 7px;
	font-weight: bold;
	transition: background 0.3s;
}

    .nav-buttons li a:hover {
        background: #fff;
        color: #2C3E50 ;
    }

    /* Social icons */
    .social-icons {
        display: flex;
        gap: 8px;
    }

    .social-icons a {
        color: #fff;
        font-size: 18px;
        border: 2px solid #fff;
        padding: 4px 6px;
        border-radius: 5px;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-icons a:hover {
        background: #ffffff7e;
        color: #2C3E50 ;
    }


    /* header */

            .logoBar {
	background: url('../image/headbg1.jpg') repeat 0 0;
}


.clg-nm{
      font-family: "Tiro Bangla", serif;
  font-weight: 800;
  font-size: 28px;
color: #1A4E8B  ;
margin-bottom: 0;}

.clg-nm1{
    font-family: "Alegreya SC", serif;
  font-weight: 700;
margin-bottom: 0;}

  .estd_nm{
  font-weight: 500;
margin-bottom: 0;
font-size: 16px;}


/* button */



.blink-btn {
	border-radius: 5px;
  margin-bottom: 2%;
font-family: "Alegreya SC", serif;
	font-size: 16px;
  font-weight: 600;
	padding: 7px 15px;
	color: #fff;
	animation: blink 2s infinite;
	box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1);
}

@keyframes blink {
     0% {
     background-image: linear-gradient(10deg, #2E1A12 0%, #2C3E50 100%);
     }
     50% {
       background: linear-gradient(10deg, #005B96 0%, #00688B 100%);
     }
     100% {
       background: linear-gradient(315deg, #2b4141  0%, #4e585c  74%);
     }
   }

   .custom-btn {
  color: #fff;
  border-radius: 5px;
  padding: 10px 15px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}



/* 14 */
.btn-14 {
  background: linear-gradient(10deg,rgb(38, 39, 7) 0%, #2B1B17 100%);
  border: none;
  z-index: 1;
font-family: "Alegreya SC", serif;
  font-size: 16px;
}

.btn-14 a{
  text-decoration: none;
  color: #181818;
}
.btn-14:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 5px;
  background-color: #eff6ff;
  background-image: linear-gradient(10deg, #44676e 0%, #2E1A12 100%);
   box-shadow:
   -7px -7px 20px 0px #fff9,
   -4px -4px 5px 0px #fff9,
   7px 7px 20px 0px #0002,
   4px 4px 5px 0px #0001;
  transition: all 0.3s ease;

}
.btn-14:hover {
  color: #ffffff;
}
.btn-14:hover:after {
  top: auto;
  bottom: 0;
  height: 100%;
}
.btn-14:active {
  top: 2px;
}


.news-ticker-container {
    display: flex;
    align-items: center;
  background: linear-gradient(45deg, #ce9e80, #ffeab5); 
    overflow: hidden;
    height: 40px;
    font-family: Arial, sans-serif;
}

/* Left Label */
.news-label {
    background: linear-gradient(45deg, #ce9e80, #b0693d); /* Blue gradient */
    color: #fff;
    font-weight: bold;
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: "Alegreya SC", serif;
    letter-spacing: 1px;
}



/* Ticker Wrap */
.news-ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Scrolling text */
.news-ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 40s linear infinite;
}

/* Ticker links */
.news-ticker a {
    color: #000;
    text-decoration: none;
    margin-right: 50px;
    font-size: 16px;
}
.news-ticker a:hover {
    text-decoration: underline;
}

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

/* Stop on hover */
.news-ticker-wrap:hover .news-ticker {
    animation-play-state: paused;
}


/* banner */

/* slider */
.banner-slider .banner-item img {
    width: 100%;
    height: 450px; /* Change this if needed */
    object-fit: cover;
    display: block;
}

/* Remove dots completely */
.banner-slider .owl-dots {
    display: none !important;
}

/* Custom navigation arrows - big and vibrant */

.banner-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff522f46, #dd24775e);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;  /* Large circle */
    height: 40px;
    font-size: 38px; /* Icon size */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.banner-slider .owl-nav button i {
    pointer-events: none; /* Avoid clicking issues */
}

.banner-slider .owl-nav button:hover {
    background: linear-gradient(135deg, #b0693d , #ce9e80);
    transform: translateY(-50%) scale(1.15);
    opacity: 1;
}

.banner-slider .owl-nav .owl-prev {
    left: 30px;
}
.banner-slider .owl-nav .owl-next {
    right: 30px;
}


/* notice box */
.bg-brown {
  background-color: #4a2416;
}

.notice-box {
  max-width: 350px;
  border-radius: 10px;
  overflow: hidden;
}

.notice-content {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.notice-marquee {
  display: flex;
  flex-direction: column;
  animation: scroll-up 20s linear infinite;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  padding: 5px;
}

.notice-item a{
    color: #000;
    text-decoration: none;
}

.notice-item:hover {
  background: rgba(74, 36, 22, 0.1);
  animation-play-state: paused;
}

/* Date style */
.notice-item .date {
  text-align: center;
  font-weight: bold;
  color: #4a2416;
}

.notice-item .date .day {
  font-size: 20px;
  display: block;
}

.notice-item .date .month {
  font-size: 12px;
  color: gray;
}

.view-all {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-family: "Alegreya SC", serif;
}

.view-all:hover {
  text-decoration: underline;
  cursor: pointer;
}

.card-hdr{
    color: #fff;
    background-color: #0056b3;
      font-family: "Alegreya SC", serif;
      font-weight: 700;
      padding: 8px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}


@keyframes scroll-up {
  0%   { transform: translateY(10%); }       /* Start from top */
  100% { transform: translateY(-100%); }   /* Scroll up completely */
}



/* Pause scrolling when hovering on container */
.notice-content:hover .notice-marquee {
  animation-play-state: paused;
}


.notice-item {
  background: transparent;
  transition: background 0.3s;
  animation: notice-color 3s linear infinite; /* Add color animation */
}



/* Keyframe for background color change */
@keyframes notice-color {
  0%   { background-color: rgba(74, 36, 22, 0.05); }
  50%  { background-color: rgba(74, 36, 22, 0.15); }
  100% { background-color: rgba(74, 36, 22, 0.05); }
}


/* 2ns section */


.bg-brown {
  background-color: #4a2416;
}

.info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px 5px;
  border-radius: 8px;
  height: 100%;
  color: white;
  text-decoration: none;       /* Remove underline */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box i {
  font-size: 30px;
  margin-bottom: 10px;
}

.info-box p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.info-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* "Lift" on hover */
  filter: brightness(1.1); /* Slightly brighten the box */
  text-decoration: none;
}
/* Different background colors */
.bg1 { background: #3B2F2F; }
.bg2 { background: #381819 ; }
.bg3 { background: #4B3621; }
.bg4 { background: #3E2723; }
.bg5 { background: #2E1A12; }
.bg6 { background: #2C1608; }
.bg7 { background: #4A2C2A; }
.bg8 { background: #352315 ; }
.bg9 { background: #2B1B17; }


.readmore{
    text-decoration: none;
    color: #000 ;
}

.card.shadow {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Main card hover effect */
.card.shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Gradient overlay */
.card.shadow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.card.shadow:hover::before {
  left: 150%;
}

/* Zoom & color pop on title */
.card.shadow:hover .card-title {
  color: #b87333;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

/* Animate text slightly */
.card.shadow .card-body p {
  transition: transform 0.3s ease;
}

.card.shadow:hover .card-body p {
  transform: translateX(5px);
}

/* Image zoom */
.card-img-top {
  transition: transform 0.5s ease;
}

/* .card.shadow:hover .card-img-top {
  transform: scale(1.1);
} */

/* next part */
.bg-brown {
  background-color: #53291f;
}

/* Vision and Mission Cards */
.vision-card, .mission-card {
  color: white;
  border: none;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect ONLY for Vision and Mission */
.vision-card:hover, .mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.vision-card {  background-color: #000000D9; }
.mission-card { background-color: #000000D9 ; }

/* Principal Card (NO hover effect) */
.principal-card {
  background-color: #fff;
  border-radius: 8px;
}
.principal-card p {
  text-align: justify;
}


.Read_all{
    padding: 10px 0;
       font-family: Arial, sans-serif;
}

.Read_all a{
    color: #fff;
}

.bg_new {
    background-image: url(../image/bg-bacl.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
}

/* event */

.event-box {
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}




.footer {
  background-color: #2b1d14;
  background-image: url('image/footer-bg.png');
  background-size: cover;
  color: #fff;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.social-icon:hover {
  background: #fff;
  color: #2b1d14;
}

.missionul li{
  font-size: 17px;
}

.footer_nn {
	background-image: url(../image/1816.jpg);
	background-size: 100%;
	background-position: 0px 0px;
	padding: 50px 0;
	box-shadow: 0 -4px 6px rgba(13, 12, 12, 0.7);
	border-radius: 50px 50px 0px 0px;
}

.des_cription{
  text-align: justify;
}