section.hero-slider{
    height: 40vh;
    min-height: 300px;
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

/* Swiper Slider Styles */
.heroSwiper {
    width: 100%;
    height: 40vh;
    min-height: 300px;
    max-height: 600px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    height: 40vh;
    min-height: 300px;
    max-height: 600px;
}
.home-title{
    margin-top: 25px;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1b2956d1 55%, #1b295600 95%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: #fff !important;
    z-index: 2;
    text-align: left !important;
}

.slider-content {
    color: #fff !important;
}

.slider_title {
    color: #fff !important;
}

.slider_sub_title {
    color: #fff !important;
}

/* Bootstrap container wrapper */
.slider-content-wrapper {
    display: flex;
    align-items: center;
    min-height: 100%;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    transform: scale(1.2) !important;
}
.quote-section em{
    font-style: italic !important;
}
.quote-section {
    background-color: #E6E6E6;
    padding: 12px 12px;
    margin-top: 16px;
    position: relative;
    line-height: 25px;
    font-style: italic !important;
}
.quote-section::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #1A2956 0%, #178DB9 100%);
    border-radius: 12px 0 0 12px;
}

.custom-card {
  border-radius: 16px;
  border: 1px solid var(--np-border-color);
  overflow: hidden;
}

.custom-card .card-img-top {
  height: 180px;
  object-fit: cover;
  object-position: 0% 70%;
}

.custom-card .card-title {
     color: var(--np-primary-color);
    font-size: 22px;
    line-height: normal;
    letter-spacing: 0px;
}
.card-text{
  margin-bottom: 12px;
  line-height: 22.4px;
  min-height: 67.2px;
}
.custom-card .card-link {
  color: var(--np-link-color);
}
li.slider_nav::marker {
    color: #00ffff00;
}
.slider_title{
font-family: var(--np-font-family);
font-size: 64px;
line-height: 74px;
letter-spacing: 0px;
margin-bottom: 30px;
}
.slider_sub_title{
  font-family: var(--np-font-family);;
  font-weight: 600;
  font-size: 24px;
  line-height: 38.4px;
  letter-spacing: 0px;
  margin-bottom: 12px;
}

.btn-primary-light:hover .btn-arrow {
  filter: brightness(0) invert(1);
}

section#chapter-section {
    margin: 25px 0px !important;
    padding: 0 !important;
    overflow: hidden;
}
.home .container-footer-home-widgets{
    margin-top: 115px;
}


.carousel-caption {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    padding: 0;
}

.slider-content {
    max-width: 1440px;
    padding-right: 16%;
    color: #fff;
}
.custom-card .full-card-link {
    position: absolute;
    width: 100%;
    left: 0;
    height: 360px;
    right: 0;
    top: 0;
}
.custom-card {
    border-radius: 16px;
    border: 1px solid var(--np-border-color);
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}
.custom-card:hover {
    box-shadow: 0px 0px 5px 0.3rem #ddddddc4;
}

.large-fs .slider_title {
  font-size: 66px !important;
}
.large-fs .slider_sub_title {
  font-size: 26px !important;
}
.large-fs .custom-card .card-title{
    font-size: 24px ;
}
.small-fs .slider_title {
  font-size: 62px !important;
}
.small-fs .slider_sub_title {
  font-size: 22px !important;
}
.small-fs .custom-card .card-title{
    font-size: 20px ;
}
@media (max-width: 1200px) {
    section.hero-slider{
        min-height: 300px;
        max-height: 500px;
        overflow: hidden;
    }
}

@media (max-width: 992px) {
    section.hero-slider{
       
        min-height: 280px;
        max-height: 450px;
        overflow: hidden;
    }
    
    .swiper-slide { 
        
        min-height: 280px;
        max-height: 450px;
    }
    
    .banner_overlay {
        background: linear-gradient(90deg, #1b2956a6) !important;
    }
    
    .slider_sub_title{
        font-size: 20px !important;
        padding-right: 20px;
        line-height: 22px;
    }
    
    .slider_title {
        font-size: 46px !important;
        line-height: normal;
        margin-bottom: 24px;
        padding-right: 10px;
        max-height: 116px;
        overflow: hidden;
    }

    .slide-content {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-content {
        padding-right: 0;
        text-align: left !important;
    }
    
    /* Swiper mobile styles - navigation removed */
    
    .swiper-pagination {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        bottom: 20px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .large-fs .slider_title {
        font-size: 38px !important;
    }
    
    .large-fs .slider_sub_title {
        font-size: 20px !important;
    }

    .small-fs .slider_title {
        font-size: 34px !important;
    }
    
    .small-fs .slider_sub_title {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    section.hero-slider{
        
        min-height: 250px;
        max-height: 400px;
        overflow: hidden;
    }
    
    .swiper-slide { 
        
        min-height: 250px;
        max-height: 400px;
    }
    .swiper-pagination{
        bottom: 60px !important;
    }
    .small-fs .slider_title {
        font-size: 22px !important;
    }
    .large-fs .slider_title {
        font-size: 26px !important;
    }
}

@media (max-width: 600px) {
    section.hero-slider{
        
        min-height: 220px;
        max-height: 350px;
        overflow: hidden;
    }
    
    .swiper-slide { 
        
        min-height: 220px;
        max-height: 350px;
    }
    
    .slider_title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    .slider_sub_title {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    .swiper-pagination{
        bottom: 104px !important;
    }
}

@media (max-width: 480px) {
    section.hero-slider{
        
        min-height: 200px;
        max-height: 300px;
        overflow: hidden;
    }
    
    .swiper-slide { 
        
        min-height: 200px;
        max-height: 300px;
    }
    
    .slider_title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    
    .slider_sub_title {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
     .swiper-pagination{
        bottom: 150px !important;
    }
}

@media (max-width: 380px) {
    section.hero-slider{
        
        min-height: 180px;
        max-height: 250px;
        overflow: hidden;
    }
    
    .swiper-slide { 
        
        min-height: 180px;
        max-height: 250px;
    }
    
    .slider_title {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }
    
    .slider_sub_title {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }
     .swiper-pagination {
        bottom: 193px !important;
    }
}

.chapter-row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
}

@media (min-width: 768px) {
    .chapter-row {
        --bs-gutter-x: 33px;
        --bs-gutter-y: 33px;
    }
}


@media (max-width: 768px) {
    section.hero-slider{
        height: 500px;
    }
    
    .swiper-slide { 
        height: 500px;
    }
    
    .slide-content {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-content {
        text-align: left;
    }
    
    .slider_title {
        font-size: 36px !important;
        margin-bottom: 16px;
    }
    
    .slider_sub_title {
        font-size: 18px !important;
    }
    
    .home .container-footer-home-widgets {
        margin-top: 150px;
    }
}

@media (max-width: 480px) {
    section.hero-slider{
        height: 500px;
    }
    
    .swiper-slide { 
        height: 500px;
    }
    
    .slide-content {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-content {
        text-align: left;
    }
    
    .slider_title {
        font-size: 24px !important;
        margin-bottom: 12px;
    }
    
    .slider_sub_title {
        font-size: 16px !important;
    }
}

