@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');


body{
      font-family: "Montserrat", sans-serif;
}


.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    /* margin-bottom: 140px; */
}
.josefin-font {
  font-family: "Josefin Sans", sans-serif;
}


.tab-btn.active {

    color: #ffffff;
    border-bottom: 3px solid #FEB207;
    background: #32415A;
}

.tab-btn{
    
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 24px; 
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    border-radius: 0;
    outline: none;
}
.tab-btn:hover{
    background-color: #2e5071;
    color: #fff;
} 
.tulf-subject-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.tulf-subject-item.active .tulf-subject-num {
    color: #32415A;
}

.tulf-subject-num {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    min-width: 20px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.tulf-subject-item.active .tulf-subject-name {
    color: #32415A;
}
.tulf-subject-item:hover {
    background: rgba(254, 178, 7, 0.08);
}

.tulf-subject-name {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex: 1;
    transition: color 0.2s;
}
.tulf-subject-item.active .tulf-week-pill {
    background: #FEB207;
    color: #32415A;
    border-color: #FEB207;
}

.tulf-week-pill {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    background: transparent;
    border: 1.5px solid #ddd;
    border-radius: 30px;
    padding: 6px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tulf-desc-display p {
    font-size: 14px;
    color: #555;
    line-height: 1.85;
    margin: 0; 
}
.tulf-deadline-badge {
    display: inline-block;
    background: #32415A;
    color: #ffffff;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}
.header-menu li a.active{
    color: #F6AF07;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;

}

.instaSwiper  .swiper-slide{
    height: auto!important;
}
.instaSwiper  .swiper-slide a , .instaSwiper  .swiper-slide a>div {
    display: inline-block;
    height: 100%;
}
/*  
.instabg{  
    position: absolute;
    top: calc(100% - 50px - 40px);
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5) calc((50px + 40px) / 2));
    height: calc(100% + 50px + 40px); 
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    top: calc(-50px - 15px);
    backdrop-filter: blur(4px);
    }  */
    


.instabg {
    position: absolute;
    /* top: calc(100% - 50px - 40px); */
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5) calc((50px + 40px) / 2));
    /* height: calc(100% + 50px + 40px); */
    height: 120px;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    top: calc(100% - 140px - 30px); 
    backdrop-filter: blur(4px);
    bottom: 80px;
}
.instaSwiper  .swiper-slide a{

    transition: all 0.5s ease;
}
.instaSwiper  .swiper-slide a:hover img{
    transform: scale(1.1);
    transition: all 0.5s ease;
}
.instaSwiper  .swiper-slide a:hover .instabg{
    top: calc(-50px - 15px);
    bottom: auto;
    height: calc(100% + 50px + 40px); 
}

/* grab cursor */
.bannerSwiper {
  cursor: grab;
}
.bannerSwiper:active {
  cursor: grabbing;
}

/* text animation */
.fadeUp {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.fadeUp.active {
  opacity: 1;
  transform: translateY(0);
}

/* background zoom */
.swiper-slide-bg {
  transition: transform 6s ease;
}
.swiper-slide-active .swiper-slide-bg {
  transform: scale(1.1);
}

/* pagination style */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #facc15; /* yellow */
}

.bannerSwiper .swiper-pagination .swiper-pagination-bullet{
    background-color: #000;
    opacity: 0.2;
}
.bannerSwiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    opacity: 1;
}

.swiper-slide-bg {
    background-color: #bbbbbb;
    background-image: url(https://tulfoundation.org/wp-content/uploads/2025/12/3.Challan-for-change-scaled.jpg);
    background-size: cover;
}

.swiper-slide-bg {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100%;
    min-width: 100%;
}

 .swiper-slide {
    transition-duration: calc(5000ms * 1.2)!important; 
}


.swiper-slide-inner {
    text-align: center;
}

.swiper-slide-inner {
    justify-content: center;
}
.swiper-slide-inner {
    align-items: flex-end;
}
.swiper-slide-inner, .swiper-slide-inner:hover {
    color: #fff;
    display: flex;
}
.swiper-slide-inner {
    background-position: 50%;
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 50px;
    position: absolute;
    right: 0;
    top: 0;
}




.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}


.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: 'prev';
    display: none !important;

}

.swiper-button-next:after, .swiper-rtl .swiper-button-next:after {
    content: 'prev';
    display: none !important;

}