/*====================================================
Stories of Change
====================================================*/

.story-item{
    padding:8px;
}

.story-card{
    background:#f9f1e2;
    border-radius:20px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.35s;
    max-width:100%;
    margin:auto;
    height:100%;
}

.story-card:hover{
    transform:translateY(-6px);
}

.story-image{
    height:180px;
    overflow:hidden;
}

.story-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.story-card:hover .story-image img{
    transform:scale(1.05);
}

.story-content{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.story-category{
    display:inline-block;
    color:#c69a2b;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin-bottom:10px;
}

.story-content h4{
    font-size:24px;
    line-height:1.3;
    font-weight:700;
    margin-bottom:15px;
}

.story-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:18px;
    flex:1;
}

.read-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    font-weight:600;
}

.read-more:hover{
    gap:14px;
}

.story-item{

height:100%;

}

.story-card{

height:100%;

display:flex;

flex-direction:column;

}

.story-content{

flex:1;

display:flex;

flex-direction:column;

}

.story-content p{

flex:1;

}

/*====================================================
Carousel
====================================================*/

.stories-carousel .owl-stage{

display:flex;

}

.stories-carousel .owl-item{

display:flex;

}

.stories-carousel .owl-dots{

margin-top:30px;

text-align:center;

}

.stories-carousel .owl-dot span{

width:12px;

height:12px;

margin:5px;

transition:.3s;

}

.stories-carousel .owl-dot.active span{

background:var(--primary);

width:28px;

border-radius:20px;

}

/*====================================================
Modal
====================================================*/

#storyModal .modal-content{

border:none;

border-radius:20px;

overflow:hidden;

}

#storyModal .modal-header{

background:#f8f9fa;

}

#storyModal .modal-body{

padding:35px;

}

#storyImage{

max-height:520px;

object-fit:cover;

}

.story-designation{

display:inline-block;

padding:10px 22px;

background:#eef5ff;

border-radius:30px;

font-size:14px;

font-weight:700;

color:var(--primary);

}

.story-description{

font-size:16px;

line-height:1.9;

color:#555;

}

/*====================================================
Responsive
====================================================*/

@media(max-width:991px){

.story-image{

height:220px;

}

.story-content{

padding:22px;

}

}

@media(max-width:767px){

.story-image{

height:220px;

}

.story-content{

padding:20px;

}

#storyModal .modal-body{

padding:20px;

}

}

.gallery-filter{

display:flex;

justify-content:center;

flex-wrap:wrap;

gap:12px;

margin-bottom:50px;

}

.gallery-filter button{

border:none;

background:#ffffff;

color:#1c467d;

padding:12px 26px;

border-radius:40px;

font-weight:600;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.35s;

cursor:pointer;

}

.gallery-filter button:hover{

background:#1c467d;

color:#fff;

transform:translateY(-3px);

}

.gallery-filter button.active{

background:#1c467d;

color:#fff;

box-shadow:0 12px 30px rgba(28,70,125,.35);

}

p#modalTestimonial{
    font-size:13px;
    text-align: justify;
}