* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SolaimanLipi", Poppins;
  position: relative;
  background: #f2f2f2;
  font-size: 15px;
  font-weight: 400;
}

ul,
ol {
  padding-left: 0px !important;
}

/* header top CSS */
.header-top {
  background: #1d9bf0;
  padding-left: 7px;
  padding-right: 15px;
}

.header-top-right {
  padding-right: 0px;
}

.header-top-right ul {
  height: 40px;
  list-style: none;
  margin: 0px;
}

.header-top-right ul li a {
  background: #ffffff;
  padding: 5px 30px;
  margin-left: 10px;
  text-decoration: none;
  color: #202c45;
  font-size: 15px;
  font-weight: 600;
  border-radius: 5px;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.header-top-right ul li a:hover {
  background: #ff8040;
  color: #edf5e1;
}

/* ADMISSION আর লগ-ইন বাটন: একই মাপ, লেখা আর তীরচিহ্নের মাঝে ফাঁক */
.header-top-right .dropdown > .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  justify-content: center;
  padding: 5px 18px;
  line-height: 1.5;
}

.header-top-right .dropdown > .dropdown-toggle::after {
  margin-left: 0;
}

/* ADMISSION / লগ-ইন এর dropdown:উপরের বাটনের ধাঁচ (margin, বড় padding) ভেতরের লিংকে যেন না আসে */
.header-top-right .dropdown-menu {
  padding: 6px 0;
  min-width: max-content;
  border-radius: 6px;
}

.header-top-right .dropdown-menu li a.dropdown-item {
  display: block;
  margin: 0;
  padding: 7px 18px;
  border-radius: 0;
  font-size: 14px;
  background: transparent;
}

.header-top-right .dropdown-menu li a.dropdown-item:hover {
  background: #ff8040;
  color: #fff;
}

.header-contact ul {
  list-style: none;
  margin-bottom: 0px;
}

.header-contact ul li {
  line-height: 40px;
}

.header-contact ul li a {
  text-decoration: none;
  color: #ffffff;
  font-family: "Poppins";
  transition: all 0.3s linear;
}

.header-contact ul li a i {
  background: #fffcfb;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 15px;
  width: 25px;
  height: 25px;
  display: inline-block;
  text-align: center;
  line-height: 25px;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.header-contact ul li a span {
  transition: all 0.3s linear;
}

.header-contact ul li a i.fa-facebook-f {
  color: #3659a3;
}

.header-contact ul li a i.fa-twitter {
  color: #1d9bf0;
}

.header-contact ul li a i.fa-youtube {
  color: #c93226;
}

.header-contact ul li a i.fa-solid.fa-phone {
  margin-right: 2px !important;
  color: #e01245;
}

.header-contact ul li a i.fa-solid.fa-envelope {
  margin-right: 7px !important;
  color: #e01245;
}

.header-contact ul li a span {
  font-size: 14px;
  margin-right: 10px;
  transition: all 0.3s linear;
}

.header-contact ul li a i:hover {
  background: #0b1d51;
  color: #ffffff !important;
}

/* Banner CSS */
.banner {
  background: #006bff;
  padding: 25px 15px 20px 15px;
  color: #ffffff;
}

.banner-left {
  width: 100px;
}

.ins-name h1 {
  margin: 0px;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.ins-name h3 {
  font-size: 18px;
  font-family: "Poppins";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.ins-name h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0px;
}

.banner-right {
  width: 100px;
  margin-left: auto;
}

.ins-name h5 {
  font-family: "Poppins";
  font-size: 16px;
  margin-top: 10px;
}

.banner-right ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.banner-right ul li {
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  font-family: "Poppins";
}

span#clock,
span#clock2 {
  color: #fdc81a;
  font-weight: 700;
}

/* =========================================
   MODERN BANNER SLIDER (১৭ রকম transition)
   JS: welcome.blade.php এর নিচে
========================================= */

.custom-slider {
    --d: 1;      /* 1 = সামনে, -1 = পিছনে */
    --t: 0.7s;  /* transition সময় (JS এর ANIM এর সমান) */
    width: 100%;
    /* banner ছবি 1600x640 (5:2) — উচ্চতা ছবির অনুপাতে, খুব চওড়া পর্দায় সর্বোচ্চ 600px */
    aspect-ratio: 5 / 2;
    max-height: 600px;
    position: relative;
    overflow: hidden;
    background: #0b1a2b;
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    perspective: 1600px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    backface-visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.slide.leaving {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ken Burns: চলতি ছবি আস্তে zoom হয় */
.slide.active img {
    animation: kenburns 7s ease-out forwards;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

/* নিচে গাঢ় gradient, যাতে caption পড়া যায় */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}

/* ---------- transition effects ---------- */

/* ১. slide */
.slide.fx-slide.active  { animation: inSlide var(--t) cubic-bezier(.77, 0, .18, 1) both; }
.slide.fx-slide.leaving { animation: outSlide var(--t) cubic-bezier(.77, 0, .18, 1) both; }
@keyframes inSlide  { from { transform: translateX(calc(var(--d) * 100%)); } to { transform: none; } }
@keyframes outSlide { to { transform: translateX(calc(var(--d) * -35%)); filter: brightness(.4); } }

/* ২. circle */
.slide.fx-circle.active { animation: inCircle var(--t) ease-in-out both; }
@keyframes inCircle { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }

/* ৩. curtain */
.slide.fx-curtain.active { animation: inCurtain var(--t) cubic-bezier(.65, 0, .35, 1) both; }
@keyframes inCurtain { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }

/* ৪. diagonal */
.slide.fx-diagonal.active { animation: inDiag var(--t) ease-in-out both; }
@keyframes inDiag { from { clip-path: polygon(0 0, 0 0, 0 0); } to { clip-path: polygon(0 0, 200% 0, 0 200%); } }

/* ৫. blinds (খাড়া ফালি) */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.slide.fx-blinds.active {
    -webkit-mask-image: linear-gradient(to right, #000 var(--p), transparent var(--p));
            mask-image: linear-gradient(to right, #000 var(--p), transparent var(--p));
    -webkit-mask-size: 12.5% 100%;
            mask-size: 12.5% 100%;
    animation: inBlinds var(--t) ease-in-out both;
}
@keyframes inBlinds { from { --p: 0%; } to { --p: 100%; } }

/* ৬. flip (3D cube) */
.slide.fx-flip.active  { animation: inFlip var(--t) ease-in-out both; transform-origin: center center -50vw; }
.slide.fx-flip.leaving { animation: outFlip var(--t) ease-in-out both; transform-origin: center center -50vw; }
@keyframes inFlip  { from { transform: rotateY(calc(var(--d) * 90deg)); } to { transform: none; } }
@keyframes outFlip { to { transform: rotateY(calc(var(--d) * -90deg)); filter: brightness(.4); } }

/* ৭. zoom */
.slide.fx-zoom.active  { animation: inZoom var(--t) ease-out both; }
.slide.fx-zoom.leaving { animation: outZoom var(--t) ease-out both; }
@keyframes inZoom  { from { transform: scale(1.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes outZoom { to { transform: scale(.85); filter: blur(8px); opacity: 0; } }

/* ৮. up */
.slide.fx-up.active  { animation: inUp var(--t) cubic-bezier(.77, 0, .18, 1) both; }
.slide.fx-up.leaving { animation: outUp var(--t) cubic-bezier(.77, 0, .18, 1) both; }
@keyframes inUp  { from { transform: translateY(calc(var(--d) * 100%)); } to { transform: none; } }
@keyframes outUp { to { transform: translateY(calc(var(--d) * -25%)); filter: brightness(.4); } }

/* ৯. split (উপর-নিচ মাঝখান থেকে) */
.slide.fx-split.active { animation: inSplit var(--t) cubic-bezier(.65, 0, .35, 1) both; }
@keyframes inSplit { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }

/* ১০. diamond */
.slide.fx-diamond.active { animation: inDiamond var(--t) ease-in-out both; }
@keyframes inDiamond { from { clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); } to { clip-path: polygon(50% -60%, 160% 50%, 50% 160%, -60% 50%); } }

/* ১১. clock (ঘড়ির কাঁটার মতো) */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.slide.fx-clock.active {
    -webkit-mask-image: conic-gradient(#000 var(--a), transparent var(--a));
            mask-image: conic-gradient(#000 var(--a), transparent var(--a));
    animation: inClock var(--t) ease-in-out both;
}
@keyframes inClock { from { --a: 0deg; } to { --a: 360deg; } }

/* ১২. bubbles */
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.slide.fx-bubbles.active {
    -webkit-mask-image: radial-gradient(circle, #000 var(--r), transparent calc(var(--r) + 1%));
            mask-image: radial-gradient(circle, #000 var(--r), transparent calc(var(--r) + 1%));
    -webkit-mask-size: 10% 20%;
            mask-size: 10% 20%;
    animation: inBubbles var(--t) ease-in both;
}
@keyframes inBubbles { from { --r: 0%; } to { --r: 75%; } }

/* ১৩. stripes (আড়াআড়ি ফালি) */
.slide.fx-stripes.active {
    -webkit-mask-image: linear-gradient(to bottom, #000 var(--p), transparent var(--p));
            mask-image: linear-gradient(to bottom, #000 var(--p), transparent var(--p));
    -webkit-mask-size: 100% 12.5%;
            mask-size: 100% 12.5%;
    animation: inBlinds var(--t) ease-in-out both;
}

/* ১৪. door */
.slide.fx-door.active  { animation: inDoor var(--t) cubic-bezier(.3, 1.3, .6, 1) both; transform-origin: left center; }
.slide.fx-door.leaving { animation: outDim var(--t) ease both; }
@keyframes inDoor { from { transform: rotateY(-95deg); } to { transform: none; } }
@keyframes outDim { to { filter: brightness(.3); transform: scale(.94); } }

/* ১৫. wipe */
.slide.fx-wipe.active     { animation: inWipe var(--t) cubic-bezier(.77, 0, .18, 1) both; }
.slide.fx-wipe.active img { animation: wipeImg var(--t) cubic-bezier(.77, 0, .18, 1) both, kenburns 7s ease-out var(--t) forwards; }
@keyframes inWipe  { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipeImg { from { transform: translateX(-20%) scale(1.1); } to { transform: none; } }

/* ১৬. spin */
.slide.fx-spin.active  { animation: inSpin var(--t) cubic-bezier(.2, .8, .2, 1) both; }
.slide.fx-spin.leaving { animation: outDim var(--t) ease both; }
@keyframes inSpin { from { transform: rotate(-25deg) scale(.2); opacity: 0; border-radius: 50%; } 60% { opacity: 1; } to { transform: none; border-radius: 0; } }

/* ১৭. flash */
.slide.fx-flash.active { animation: inFlash var(--t) ease-out both; }
@keyframes inFlash { from { opacity: 0; filter: blur(25px) brightness(2.5); } to { opacity: 1; filter: none; } }

/* ---------- caption (৩ রকম ঢোকা) ---------- */

.slide-caption {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 60px;
    z-index: 3;
    opacity: 0;
}

.slide.active .slide-caption {
    opacity: 1;
}

.slide-caption span {
    display: inline-block;
    max-width: 700px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    padding: 10px 18px;
    border-left: 5px solid #fdc81a;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(4px);
    border-radius: 0 8px 8px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

.slide.active.cap-left .slide-caption span { animation: capLeft .8s ease .7s both; }
.slide.active.cap-up .slide-caption span   { animation: capUp .8s ease .7s both; }
@keyframes capLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes capUp   { from { opacity: 0; transform: translateY(40px) scale(.95); } to { opacity: 1; transform: none; } }

.slide-caption .ch {
    display: inline-block;
    font-style: normal;
    white-space: pre;
}

.slide.active.cap-letters .slide-caption .ch {
    animation: capCh .5s ease both;
    animation-delay: calc(.7s + var(--i) * 35ms);
}
@keyframes capCh { from { opacity: 0; transform: translateY(-20px) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ---------- progress bar ---------- */

.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 5;
    background: rgba(255, 255, 255, .2);
}

.slider-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #fdc81a;
}

/* ---------- arrow ---------- */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .3s, background .3s, transform .3s;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.custom-slider:hover .slider-arrow,
.slider-arrow:focus-visible {
    opacity: 1;
}

.slider-arrow:hover {
    background: #1d9bf0;
    border-color: #1d9bf0;
    transform: translateY(-50%) scale(1.08);
}

/* ---------- dot ---------- */

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .35s, background .35s;
}

.slider-dots button.active {
    width: 30px;
    background: #fdc81a;
}

/* যাঁরা animation বন্ধ রাখেন */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide img,
    .slide-caption span,
    .slide-caption .ch { animation: none !important; }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .slide-caption {
        bottom: 34px;
    }

    .slide-caption span {
        font-size: 15px;
        padding: 6px 10px;
        border-left-width: 3px;
    }

    /* মোবাইলে hover নেই, তাই arrow সবসময় দেখাবে (ছোট) */
    .slider-arrow {
        opacity: 1;
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .slider-arrow.prev { left: 8px; }
    .slider-arrow.next { right: 8px; }

    .slider-dots {
        bottom: 10px;
    }

}



/* Banner CSS End */


/* menubar start */

.menubar .container-fluid{
  background-color: #1d9bf0;
  line-height: normal;
}

.menubar .navbar {
  background-color: #1d9bf0;

}

.menubar {
  position: sticky;
  z-index: 100;
  width: 100%;
  top:0px;
}

.menubar .navbar .dropdown-menu {
  background-color: #1d9bf0;
}

.navbar-nav .nav-item .nav-link {
  color: #fff;
}
.navbar-nav .nav-item a .active{
  color: #190251e6;
}

/* মেনুর আইকন আর লেখা এক লাইনে, ভেঙে নিচে যাবে না */
.menubar .navbar-nav .nav-link,
.menubar .navbar-nav .dropdown-item {
  white-space: nowrap;
}

.menubar .navbar-nav .nav-link i,
.menubar .navbar-nav .dropdown-item i {
  width: 1.1em;
  text-align: center;
}

.menubar .navbar .dropdown-item:hover,
.menubar .navbar .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Desktop এ মাউস নিলেই সাবমেনু খোলে (মোবাইলে আগের মতো চাপলে) */
@media (hover: hover) and (min-width: 992px) {
  .menubar .navbar-nav .dropdown:hover > .dropdown-menu,
  .header-top-right .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .header-top-right .dropdown {
    position: relative;
  }

  .header-top-right .dropdown:hover > .dropdown-menu {
    top: 100%;
    left: 0;
  }

  .header-top-right .dropdown:hover > .dropdown-menu-end {
    left: auto;
    right: 0;
  }
}

/* ছোট ল্যাপটপ (৯৯২–১৩৯৯px): মেনু বেশি হলেও এক সারিতে আঁটে */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .menubar .navbar-nav .nav-link {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 14px;
  }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
  .menubar .navbar-nav .nav-link {
    padding-left: 4px;
    padding-right: 4px;
    font-size: 13px;
  }
}

/* menubar end */

/* news section start */
.news .shironam {
  background-color: #c93226;
  color: #ffffff;
  height: 30px;
  line-height: 30px;
  padding-left: 30px;
  text-align: center;
}

.news .news-content {
  background-color: #3659a3;
  color: #ffffff;
  padding: 0;
}
.news .news-content a {
  background-color: #3659a3;
  color: #ffffff;
  padding: 0;
  text-decoration: none;
  line-height: 60%ex;
}
/* news section end */

/* Notice Section Start */

.notice table tr td .download_sty, .fa-solid .fas {
    font-size: 14px;

}

.notice table tr td .download_sty {
    color: #000;
    border: 2px solid green;
    padding: 3px 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.notice table tr td a:hover, a:active {
    background-color: green;
    color: white;
    text-decoration: none;
    text-size-adjust: inherit;
}

/* Notice Section End */



/* speech start */

.title-divider {
  font-size: 20px;
  font-weight: 600;
  color: #202c45;
  position: relative;
  margin-bottom: 70px;
  text-align: center;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.title-divider:hover {
  animation: rotateText 5s linear infinite; /* Apply the animation */
  transform-origin: center center; /* Ensure rotation around the center of the text */
}

.title-divider::before {
  content: "";
  position: absolute;
  background: #d50d3f;
  width: 200px;
  height: 2px;
  bottom: -20px;
  left: 50px;
}

.title-divider::after {
  content: "";
  position: absolute;
  background: #202c45;
  width: 15px;
  height: 15px;
  bottom: -15px;
  text-align: center;
  transform: rotate(45deg);
  left: 145px;
  bottom: -25px;
}

.speech-title {
  background: #0b1d51;
  color: #ffffff;
  font-size: 3vh;
  padding: 10px;
  text-transform: capitalize;
  text-align: center;
}
/* speech end */

/* Teacher Section Start */
.teacher-section .card {
  width: 12rem;

}

.teacher-section .card {
    margin: 10px 5px;
}

/* .teacher-section .card .card-title{
 --bs-card-title-spacer-y:0px

} */

.teacher-section .card img {
  width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin: 15px auto 0;
    display: block;
}


.teacher-section .card .card-body h5 {
    background-color: #116ae6;
    border-radius: 5px;
    padding: 6px;
    font-size: 15px;
    color: #fff;
    text-align: center;

}



.teacher-section .card .card-body p {
    margin-top: 0;
    margin-bottom: 0;
}


.teacher-section .card .card-body a {
    margin-top: 1rem;
    margin-bottom: 0;
}

.teacher-section .modal-body .details-list .list-group-item{
    border-radius:0;
    padding:8px 10px;
    font-size:14px;
}

.teacher-section .modal-body .details-list .list-group-item:nth-child(1){
    width:30%;
    font-weight:500;
    background:#f8f8f8;
}
/* Column widths like table */
.teacher-section .modal-body .details-list .details-dot{
    width:10%;
    text-align:center;
    background:#f8f8f8;
    font-weight:bold;
}
.teacher-section .modal-body .details-list .list-group-item:nth-child(3){
    width:50%;
}

.teacher-section .modal-body .edit-button{
    background:#d9d9d9;
    padding:8px 12px;
    border:1px solid #ddd;
    font-weight:600;
}

.nav-pills .nav-link.active{
    background:#006bff !important;
}


/* .teacher-section .card img:hover {
  background: #006bff!important;
} */
 @media (max-width: 576px) {

    .teacher-section .modal-body .details-list{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        margin-bottom:0;
    }

    .teacher-section .modal-body .details-list .list-group-item{
        padding:8px 10px;
        border-radius:0;
        display:flex;
        align-items:center;
    }

    .teacher-section .modal-body .details-list .list-group-item:nth-child(1){
        width:40%;
        background:#f8f8f8;
        font-weight:500;
    }

    .teacher-section .modal-body .details-list .details-dot{
        width:10%;
        justify-content:center;
        font-weight:bold;
        background:#f8f8f8;
    }

    .teacher-section .modal-body .details-list .list-group-item:nth-child(3){
        width:50%;
        word-break:break-word;
    }

}

/* Teacher Section End */

/* committe section Start */
.committe-section .card {

  width: 12rem;
}

.committe-section .card {
  margin: 10px 10px;
  position: relative;
}

.committe-section .card img {
  border-radius: 50%;
}

.committe-section .card .teacher-badge {
  top: 120px;
  right: 30px;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  position: absolute;
}

/* committe section End */



/* 4th Staff Section Start */
.staff-section .card {
  width: 12rem;
}
.staff-section .card {
  margin: 10px 10px;
  position: relative;
}

.staff-section .card img {
  border-radius: 50%;
}

.staff-section .card .teacher-badge {
  top: 120px;
  right: 30px;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  position: absolute;
}
/* 4th Staff Section End */



/* =========================
   Playground Start
========================= */
/* Section */
.playground-section {
    padding: 40px 0;
}

/* Card (NO hover animation here) */
.playground-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* Image wrapper (important for zoom containment) */
.playground-wrapper {
    overflow: hidden;
}

/* Image */
.playground-img {
    width: 100%;
    height: 220px;
    object-fit: cover;

    transition: transform 0.4s ease;
}

/* ONLY IMAGE HOVER */
.playground-card:hover .playground-img {
    transform: scale(1.08);
}

/* Body */
.playground-body {
    display: flex;
    flex-direction: column;
    padding: 15px;

}

/* Title */
.playground-card .card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

/* Description */
.playground-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Button (no hover movement now) */
.playground-body .btn {
    align-self: flex-start;
}

/* Mobile */
@media (max-width: 576px) {
    .playground-img {
        height: 200px;
    }

    .playground-body {
        min-height: auto;
    }
}

/* Playground End */

/* Gellary Section Start */



/* Gallery Layout */
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Card */
.photo-card {
    width: 25rem;
    margin: 15px 5px;
    border: none;
    border-radius: 14px;
    transition: all 0.4s ease;
}

/* IMPORTANT WRAPPER */
.photo-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

/* Image */
.photo-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover zoom */
.photo-card:hover .photo-img {
    transform: scale(1.12);
}

/* Zoom */
.photo-card:hover .photo-img {
    transform: scale(1.12);
}

/* Overlay */
.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    transform: scale(1.05);

    transition: all 0.4s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Show overlay */
.photo-card:hover .photo-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Mobile fix */
@media (max-width: 576px) {
    .photo-card {
        width: 100%;
    }
}

/* Gellary Section End */


/* ==========================
   Video Gallery Section
========================== */

.video-card{
    margin: 15px 5px;
    position: relative;
    border-radius:10px;
    overflow:hidden;
    transition:.3s ease;
}

.video-thumb{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
    transition:.5s ease;
}

.video-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.video-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:100%;
    text-align:center;
    padding:0 15px;
    z-index:2;
}

.video-title{
    color:#fff;
    font-size:24px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:20px;
    text-shadow:0 2px 8px rgba(0,0,0,.5);
}

.play-btn{
    width:65px;
    height:65px;
    border:3px solid #fff;
    border-radius:50%;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:22px;
    background:rgba(255,255,255,.15);
    transition:.3s ease;
}

.play-btn:hover{
    background:#fff;
    color:#dc3545;
    transform:scale(1.1);
}

.video-card:hover .video-thumb{
    transform:scale(1.08);
}

.video-card:hover{
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

@media (max-width: 768px){

    .video-thumb{
        height:220px;
    }

    .video-title{
        font-size:18px;
        margin-bottom:15px;
    }

    .play-btn{
        width:55px;
        height:55px;
        font-size:18px;
    }
}


/* Video Gallery Section End */

/* History Page CSS Start */
/* History Section Start */

/* History Section End */
/* History Page CSS End */

/* Footer Start */
.top-footer {
  background: #22253a;
  padding-top: 30px;
  padding-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px;
}

.footer-area-1 {
  padding-right: 40px;
}

.footer-area-1 h1,
.footer-area-2 h1,
.footer-area-3 h1,
.footer-area-4 h1 {
  color: #ffffff;
  font-size: 19px;
  border-left: 3px solid #f2184f;
  padding: 5px 10px;
  margin-bottom: 15px;
}

.footer-area-1 p {
  color: #ffffff;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: justify !important;
}

.footer-area-2 ul li a{
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  padding-left: 1rem;
}

.footer-area-3 {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  padding-left: 1rem;
}

.footer-area-3 .contact-info li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.footer-area-4 iframe{
  padding-left: 30px;
}



.social-icon ul {
  list-style: none;
  padding: 0px;
}

.social-icon ul li a {
  background: #edf5e1;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: inline-block;
  text-align: center;
  line-height: 28px;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.footer-area-2 {
  padding-left: 0px;
}

.bottom-footer {
    background-color: #10121e;
    padding: 5px 0;
    line-height: 10px;
    padding-top: 20px;
}

.bottom-footer p{
  color: #fff;
}

.bottom-footer p a{
  text-decoration: none;
  color: #0be937;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color:#006bff;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.back-to-top:hover{
  background-color:   #2804f5e2;
  color: #fdc81a;
  transform: translateY(-3px);
}




/* =========================================
   মোবাইল ঠিক করা (৭৬৮px এর নিচে)
   বড় পর্দার design এ কোনো বদল নেই
========================================= */

/* slider এর .row container এর বাইরে বসানো, তাই পাতা ডানে-বাঁয়ে নড়ত */
section.slider > .row {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 767.98px) {

  /* উপরের স্কুলের নাম আর তারিখ যেন কিনারায় না ঠেকে */
  .banner {
    padding: 15px 10px;
  }

  .ins-name h1 {
    font-size: 22px;
    letter-spacing: 0;
  }

  .ins-name h4 {
    font-size: 13px;
    letter-spacing: 0;
  }

  .ins-name h5 {
    font-size: 13px;
    margin-top: 6px;
  }

  /* মেনু: আঙুলে চাপার মতো ফাঁক আর আলাদা দাগ */
  .menubar .navbar-nav .nav-item .nav-link {
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .menubar .navbar-nav .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
  }

  .menubar .navbar-nav .dropdown-item {
    color: #fff;
    padding: 8px 6px;
  }

  /* শিক্ষক, কমিটি, কর্মচারী: এক সারিতে ২টা card */
  .teacher-section .card,
  .committe-section .card,
  .staff-section .card {
    width: calc(50% - 10px);
    margin: 5px;
  }

  .teacher-section .card img {
    width: 90px;
    height: 90px;
  }

  .teacher-section .card .card-body {
    padding: 10px 8px;
  }

  .teacher-section .card .card-body h5 {
    font-size: 13px;
  }

  .teacher-section .card .card-body p {
    font-size: 13px;
    word-break: break-word;
  }

  /* footer এর ম্যাপ পুরো চওড়া */
  .ins-map iframe {
    width: 100%;
    height: 250px;
  }

  /* উপরে ওঠার বোতাম যেন footer এর লেখা না ঢাকে */
  .back-to-top {
    width: 42px;
    height: 42px;
    line-height: 42px;
    right: 15px;
    bottom: 15px;
    font-size: 17px;
  }

  .bottom-footer {
    padding-bottom: 60px;
  }
}

/*
| স্কুলের logo (banner): উপরে logo, নিচে নাম, সব মাঝখানে (herosection.blade.php)।
| logo র উচ্চতা নির্দিষ্ট, তাই চওড়া বা চৌকো যেকোনো logo একই মাপে দেখায়, চ্যাপ্টা হয় না।
*/
.banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.banner-left {
  width: auto;
  flex-shrink: 0;
}

/* নীল banner এর উপর যেকোনো রঙের logo যেন পরিষ্কার দেখা যায় */
.banner-left a {
  display: inline-block;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-left img {
  display: block;
  height: 76px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .banner-inner {
    gap: 10px;
  }

  .banner-left img {
    height: 56px;
    max-width: 80vw;
  }
}
