html {
  scroll-behavior: smooth;
}

@keyframes move {
  50% {
    translate: 0px 15px;
  }
  100% {
    translate: 0px 0px;
  }
}

@keyframes contactmove {
  100% {
    transform: rotate(360deg);
  }
}

#madrasa {
  border: 1px solid rgb(203, 201, 201);
  border-radius: 5px;
  border-width: 0px 1px 0px 1px;
}

/* nav bar fixing id */

#madrasaLogo2 {
  width: 50px;
  margin-right: 50px;
 margin-left: 20px;
}
.madrasaNav {
  margin-left: 5px;
}

.bengali-text {
  font-family: "Kalpurush", sans-serif;
  font-size: larger;
}

.carousel-image-opacity {
  opacity: 0.8;
  background-color: lightgreen(#000000c9, #71f0d1b5);
  color: white;
}

.navItemMarge {
  margin-left: 50px;
}

#madrasaNavHover .dropdown-item:hover {
  background-color: #7a7979;
  color: #ffd102;
}

#madrasaCarosoleWidth img {
  width: 100%;
  max-height: auto;
}

.usingJs {
  font-weight: bold;
}

#madrasaNavItem {
  color: #073a5d;
  font-size: 17px;
  font-weight: bolder;
}



.madrasaButton {
  background-color: #75f958;
  color: #ffffff;
  margin-left: 60px;
  margin: 5px;
  padding: 7px;
  border-radius: 7px 10px;
  font-size: large;
  width: 190px;
}

.madrasaButton:hover {
  background-color: #ffd500;
  color: #073a5d;
}



.madrasaButtonTwo {
  background-color: #9689f8;
  border: 1px solid black;
  color: white;
  font-weight: 580;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 120px;
  border-radius: 30px;
  transition: all 0.5s ease-in-out;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.madrasaButtonTwo:hover {
  background-color: #ff7f00;
}



#PrincipleImage {
  width: 60%;
  margin-left: 40px;
}
@media (min-width: 768px) {
  #PrincipleImage {
    width: 70%;
  
  }
}



.principleMessege {
  margin-top: 18px;
}

.col-lg-3.messageRowsOne {
  transition: all 0.4s ease-in-out;
  transform: translateX(1px) scale(0.9);
  box-shadow: 6px 4px rgb(244, 244, 244);
  border-radius: 2px;
 
}

.col-lg-3.messageRowsOne:hover {
  border-width: 6px 2px;
  border-style: solid;
  border-color: rgb(242, 245, 254);
  box-shadow: 0px 13px 1px 2px #eaeaea;
  border-radius: 13px 9px;
  padding: 0px;
}



.messageRowsTwo:hover {
  border-width: 7px 2px;
  border-style: solid;
  border-color: rgb(242, 245, 254);
  box-shadow: 0px 13px 1px 2px #e7e6e6;
  border-radius: 15px 9px;
}

.messageRowsTwo {
  transition: all 0.4s ease-in-out;
  transform: translateX(10px) scale(0.9);
  padding: 30px;
  box-shadow: 6px 4px rgb(244, 244, 244);
  border-radius: 2px;
}
.name {
  margin-top: 30px;
  margin-left: 29px;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

@media (min-width: 768px) {
  
  .name {
    margin-top: 60px;
    
  }
}


.messageBari {
  color: rgb(4, 4, 124);
  margin-top: 20px;
  padding: 25px;
  font-weight: 600;
}

.nameTwo p {
  margin-top: 14px;
  padding: 6px;
  color: #22211c;
  font-weight: 510;
}

/* complite Author Hover */

.authorDiv img {
  width: 80%;
  margin-top: 20px;
  border: 2px solid rgb(243, 234, 234);
  border-radius: 1px 2px;
  transition: all 0.3s ease-in-out;
  transform: translateX(10px) scale(0.9);
  padding: 4px;
}

.authorImage:hover {
  border-width: 8px 2px;
  border-style: solid;
  border-color: rgb(242, 245, 254);
  box-shadow: 0px 13px 1px 2px #e7e6e6;
  border-radius: 13px 9px;
}

.authorClassesName {
  color: #073a5d;
  margin-top: 15px;
  padding: 20px;
  font-weight: 690;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.kajiarchorMadrassaCaptionAll {
  margin-top: 25px;
  padding: 10px;
  color: #075b92;
 
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

.lalluMama {
  margin-top: 40px;
}

.kajiarchorMadrassaCaption h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: rgba(255, 176, 48, 0.927);
  margin-top: 20px;
  margin-left: 300px;
}

.chanMama {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .kajiarchorMadrassaCaption h4::after {
    margin-left: 135px;
  }
}

.backgroundImage {
  position: relative;
  width: auto;
  height: auto;
  padding: 100px;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("Image/madrashaGirCropl2.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.7;
    z-index: -1;
    border-radius: 5px 7px;
  }
}

.count-section {
  padding: 10px 15px;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.count-container {
  justify-content: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: -80px;
}

.counter-box {
  width: 100%;
  max-width: 300px;
  border: 3px solid rgb(255, 251, 251);
  box-shadow: 3px 3px;

  margin: 10px;
  padding: 10px;
  border-radius: 500px 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fffdfd;
}

.counter-box p {
  color: rgb(5, 5, 55);
  font-size: 18px;
  font-weight: 400;
  padding-left: 5px;
}

.counter-box h2 {
  height: auto;
  text-align: center;
  color: #ff4f01;
  margin: 5px;
  text-orientation: mixed;
  background-color: rgb(255, 255, 255);
  line-height: normal;
}

@media (max-width: 768px) {
  .counter-box {
    max-width: 100%;
  }
}

.welcome {
  margin-top: 38px;
  padding: 15px;
}

.col-md-6 {
  position: relative;
  left: -100%; 
  opacity: 0;
  transition: left 2s ease, opacity 0.5s ease;
}

.right-column {
  left: 100%;
}

.slide-in {
  left: 0;
  opacity: 1;
}

.center {
  text-align: center;
  margin-bottom: 25px;
  padding: 5px;
}

.cardSpecial {
  margin-bottom: 20px;
  padding: 10px;
}

#historical-outline {
  margin-top: -10px;
}

.madrasaButtonss {
  width: 500px;
  background: linear-gradient(to right, #75f958, #2bc0e4);
  color: #40b406;
  margin: 5px;
  padding: 7px;
  border-radius: 7px 10px;
  font-size: large;
  
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  border: 1px solid black;
  background-size: 200% 100%;
}

#historyReader{
  font-weight: bold;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.visitButton{
  font-weight: bold;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

#buttonColor {
  color: white;
  font-size: large;
  width: auto;
  
}

.recentEventsOne {
  margin-top: 50px;
  margin-bottom: 20px;
  border: 3px solid rgb(180, 241, 114);
  box-shadow: 10px 20px 25px rgba(100, 98, 98, 0.5);
  border-radius: 20px 13px;
}
.colom2 {
  margin-left: 160px;
}

.rowPadding {
  margin-bottom: 10px;
}



.madrasaButtonssCard {
  width: 180px;
  background: linear-gradient(to right, #75f958, #2bc0e4);
  color: #40b406;
  margin: 5px;
  padding: 7px;
  transition: background 0.5s ease, color 0.6s ease;
  border-radius: 7px 10px;
  font-size: large;
  background-clip: text;
  -webkit-background-clip: text;
}

.plsVinchiDaa {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
}

.meetOurAuthority {
  width: auto;
  background: linear-gradient(to right, #ffffff, rgb(255, 128, 1));
  color: rgb(4, 4, 65);
  margin: 15px;
  padding: 12px;
  border-radius: 77px;
  font-size: large;
  text-align: center;
  border: 1px solid black;
  background-size: 200% 100%;
  transition: background-position 1s ease;
}
#Authorites{
  font-weight: 600;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.meetOurAuthority:hover {
  background-position: -100% 0;
}

.meetOurAuthority2 {
  width: auto;
  background: linear-gradient(to right, #ffffff, rgb(255, 128, 1));
  color: rgb(3, 3, 62);
  margin: 10px;
  padding: 9px;
  border-radius: 77px;
  font-size: large;
  text-align: center;
  border: 1px solid black;
  background-size: 200% 100%;
  transition: background-position 1s ease;
  font-weight: 610;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.meetOurAuthority2:hover {
  background-position: -100% 0;
}

.madrasaButtonssCard:hover {
  background: linear-gradient(to right, #fed400, #f76d57);
  color: #073a5d;
}



.notice-container {
  box-sizing: border-box;
  margin: auto;
  max-width: 90%;
  width: 1100px;
}

.notice-area {
  margin: auto;
  max-width: 500px;
  padding: 50px 4px;
}

.notice-heading {
  padding: 3.5px;
  background: linear-gradient(145deg, cyan 15%, #9600ff 90%);
  height: 60px;
  border-radius: 20px 20px 0px 0px;
}

.line span {
  position: relative;
}
.line span:before {
  content: "";
  position: absolute;
  top: 100%;
  width: 105%;
  height: 2.5px;
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    transparent,
    #9600ff 20%,
    cyan 80%,
    transparent
  );
}

.notice-heading h4 {
  text-align: center;
  color: #f9f9f9;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}

.first-box,
.second-box,
.third-box {
  margin: 0px 10px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0px 20px 25px -10px rgba(0, 0, 0, 0.5);
}

.third-box {
  margin: 0px 10px;
  height: 500px;
  background: #fff;
  padding-left: 5px;
  overflow: hidden;
}

.third-box marquee {
  height: 500px;
}

.alert-box {
  width: 90%;
  margin: 20px auto;
  padding: 5px 10px;
  position: relative;
  background-color: #f5f5f5;
  border-radius: 5px;
  box-shadow: 10px 5px 5px 0px #ccc;
}
.alert-box a {
  font-weight: 400;
  font-size: 20px;
  color: #000;
  line-height: 30px;
  white-space: pre-wrap;
}



.simple-alert {
  border-left: 5px solid #f93;
  transition: transform 0.3s ease-out;
}
.simple-alert:hover {
  transform: translate(0, 5px);
}

fieldset {
  border: 0;
}
legend {
  font-size: 12px;
  padding: 0px 5px;
  color: white;
  background: red;
  border-radius: 10px;
}

@keyframes flash {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
.flash {
  animation-name: flash;
  animation-duration: 3s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

.upcoming-event-section {
  box-sizing: border-box;
  margin: auto;
  width: 380px;
  background: #f5f5f5;
  height: 420px;
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    145deg,
    pink,
    #9600ff 20%,
    cyan 80%,
    transparent
  );
}

.event-header {
  text-align: center;
  margin: 20px 0px 10px;
  padding-bottom: 10px;
  position: relative;
}

.event-header h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 40px;
  margin-bottom: 0px;
}
.event-header .event-line {
  background-color: #ddd;
  position: absolute;
  width: 380px;
  right: 0;
  height: 2px;
}

.event-body {
  margin: 0px;
  padding: 0px;
}

.event-box {
  border: 1px solid #ddd;
  box-sizing: border-box;
  margin: 0px;
  overflow: hidden;
  padding: 10px 15px 25px;
  transition: transform 0.3s ease-out;
}
.event-box:hover {
  transform: translate(0, 10px);
}

.time-from {
  border: 1px solid #f93;
  box-sizing: border-box;
  color: #f93;
  float: left;
  margin: 0px;
  text-align: center;
  width: 48px;
}
.date {
  font-size: 24px;
  font-weight: 700;
  line-height: 25px;
  margin: 15px 0px 0px;
}

.event-wrapper {
  box-sizing: border-box;
  float: right;
  position: relative;
  width: calc(100% - 66px);
}
.event-wrapper h5 {
  font-size: 18px;
  margin: 10px 0px;
}
a {
  color: #333333;
  text-decoration-line: none;
}

.time {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-left: 20px;
}


.responsive-menu {
  display: none;
}

@media screen and (max-width: 768px) {
  .header .navbar {
    display: none;
  }

  .responsive-menu {
    display: block;
    text-align: center;
  }

  .responsive-menu .navbar {
    display: none;
  }

  .responsive-menu .navbar a {
    padding: 10px;
  }
}


.noticediv {
  text-align: center;
}

.noticediv h1 {
  color: red;
}

.imgWid {
  width: 400px;
}
.kholaJanala {
  text-align: center;
}

.madrasaButtonssPublic {
  width: 100px;
  background: linear-gradient(to right, #75f958, #2bc0e4);
  color: #40b406;
  margin: 5px;
  padding: 7px;
  transition: background 0.5s ease, color 0.6s ease;
  border-radius: 7px 10px;
  font-size: large;
  background-clip: text;
  -webkit-background-clip: text;
}

.madrasaButtonssPublic:hover {
  background: linear-gradient(to right, #ff3902, #f76d57);
  color: #073a5d;
}

.cardMarge {
  margin: 15px;
  padding: 10px;
}

.ourCourses {
  text-align: center;
}

#academicsprograms {
  border-radius: 20px 12px;
}

.holeDiv {
  margin-top: 30px;
  padding-top: 20px;
}

#head {
  text-align: center;
}

#authorId {
  text-align: center;
  margin-top: 35px;
}

#bgmOne {
  background-color: rgb(144, 207, 255);
}

body,
ul {
  margin: 0;
  padding: 0;
}

footer {
  background-color: #3e3333; 
  color: #fff; 
  padding: 30px 10px; 
}


footer h4 {
  font-size: 18px;
  margin-bottom: 15px;
}


footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}


footer ul li a {
  color: #fff; 
  text-decoration: none;
  transition: color 0.5s; 
}

footer ul li a:hover {
  color: #00acf6; 
}


footer address {
  font-size: 14px;
  line-height: 1.5;
}


footer .social-icons {
  list-style: none;
  padding: 0;
}

footer .social-icons li {
  display: inline-block;
  margin-right: 10px;
}

footer .social-icons li a {
  color: #f7f7f7; 
  font-size: 24px;
  text-decoration: none;
}


 .IconMarge{
  margin-left: 15px;
}

@media (max-width: 767px) {
  footer {
    text-align: center; 
  }
  .col-md-3 {
    margin-bottom: 30px; 
  }
}
.fudaa {
  margin-top: 30px;
  border-radius: 15px;
  border: 1px solid snow;
}
.navBgm {
  background-color: #e5eef6;
}

.festivals {
  background-color: rgb(3, 3, 96);
  color: white;
  font-size: large;
  border: 2px solid orange;

  padding: 12px;
  border-radius: 12px;
}

.topPad {
  margin-top: 40px;
}

.stafPicMaage {
  width: 100px;
}

.qustion {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 10px;
}

.alert-info {
  margin-top: 35px;
}

.halaikoice {
  font-weight: bolder;
  padding-top: 3px;
  margin-top: 5px;
}

.bottom-details {
  text-align: center;
}

.creator {
  color: #016fdc;
  font-weight: 600;
}
.coverUp {
  line-height: 0.2;
}

#noticeBoardBgm {
  background-color: #eafbff;
}




.madName {
  font-size: 1.5rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .madName {
    font-size: 2rem;
    font-weight: 700;
  }
}

.fixed-top {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.caroPaddd {
  margin-top: 56px;
}

@media (min-width: 768px) {
  .caroPaddd {
    margin-top: 121px;
  }
}


 

.achivement {
  text-align: center;
  margin-top: 20px;
}

#achivementBgm {
  background-color: #fefdf9;
}

.imgWidth {
  height: 570px;
}

.awardPic {
  margin-top: 50px;
}


@media (max-width: 767px) {
  .usingJs {
    margin-right: 90px;
  }
}



.imgOptimizeSm img {
  width: 100%; 
  height: auto; 
}


@media (max-width: 500px) {
  .imgOptimizeSm img {
    height: 225px; 
  }
}


.fa-facebook {
  color: rgb(49, 81, 226);
  font-size: 32px;
  margin-left: 10px;
}

.fa-facebook:hover {
  background-color: #1f012b;
  color: rgb(62, 73, 180);
  border-radius: 50px;
}

.fa-phone{
  color: #4fdf07;
  font-size: 20px;
  margin-bottom: 15px;
}

.phoneAdminis{
  margin-top: 10px;
}


/* For small screens */
@media (max-width: 767px) {
  .kajiarchorMadrassa, .principleMessege {
    display: flex;
    flex-direction: column;
  }
  .kajiarchorMadrassa {
    order: 0;
  }
  .principleMessege {
    order: 1;
  }
}




