/* Search Block Styles */
.blogTitle{
    background: linear-gradient(180deg, #ebf7ff 0, #fdf5eb 100%);
    position: relative;
    padding: 130px 0 70px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;

}
.blogTitle::before{
    content:"";
    background: url(../images/blogBannerStar1.svg);
    width:66px;
    height: 68px;
    position: absolute;
    top: 156px;
    left: 18px;
}

.blogTitle::after{
    content:"";
    background: url(../images/blogBannerStar2.svg);
    width:106px;
    height: 139px;
    position: absolute;
   
     top: 232px;
    right: 0;

}
.blogTitle h1{
color: #231F20; 
font-weight: 500;
font-style: Medium;
font-size: 42px;
leading-trim: NONE;
line-height: 130%;
letter-spacing: 0%;
text-align: center;
padding-bottom: 15px;
}
.titlePara p{
font-weight: 450;
font-size: 17px;
line-height: 180%;
letter-spacing: 0%;
text-align: center;
color: #676767;
}
.search-body {
  transition: padding 0.3s ease, max-height 0.3s ease, box-shadow 0.3s ease;
}
header.mpw-navbar {
    top: 0;
    z-index: 99999;
}
.sticky-search {
  position: fixed;
  top: 0;
  width: 100%;
}

.search-body.sticky-search {
  top: 44px;
  background: linear-gradient(180deg, #ebf7ff 0, #fdf5eb 100%);
  z-index: 1000;
  padding: 138px 0 140px;
  max-height: 128px;
  height: 100%;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}
.searchWraper{
    position: relative;
    max-width: 646px;
    width: 100%;
    margin: 0 auto
}
.titlePara{
    margin-bottom: 43px;
}
.searchControl{
  width:100%;
  height: 52px;
  background-color: white;
  border-radius:15px;
  color: #231F20;
  margin: 0 auto;
  position: relative;
  box-shadow: 0px 2.62226px 30.156px rgba(118, 133, 160, 0.15);
border: 1px solid #CFDEF0;
 
font-style: normal;
font-weight: 400;
font-size: 15px;
line-height: 19px;
padding: 0 120px 0px 53px;
}
.searchControl::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #B0B0B0;
  opacity: 1; /* Firefox */
}

.searchControl:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #B0B0B0;
}

.searchControl::-ms-input-placeholder { /* Microsoft Edge */
  color: #B0B0B0;
}
 
.searchIcon::before{
    content: '';
    position: absolute;
    background: url(../images/searchIcon.svg);
    width: 20px;
    height: 20px;
    top:50%;
    left:20px;
    transform: translateY(-50%);
    z-index: 1;
}
.searchBtn{
      max-width: 103px;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #233F8C;
    border: 1px solid #233F8C;
    color: #fff;
    outline: none;
    position: absolute;
   top:50%;
    transform: translateY(-50%);
 right: 10px;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
transition: all 0.3s ease;
}

.searchBtn:hover {
    background-color: #1a2f6b;
    border-color: #1a2f6b;
    cursor: pointer;
}
input.searchControl:focus-visible,
input.searchControl:focus {
  border: 1px solid #117BD4!important;
  outline: unset;
}

/* Responsive styles for search block */
@media (max-width:500px) {
    .blogTitle::before {
    content: "";
    background: url(../images/blogBannerStar1.svg);
    width: 46px;
    height: 68px;
    position: absolute;
    top: 107px;
    left: 18px;
    background-size: contain;
    background-repeat: no-repeat;
}
    .blogTitle::after{
            width: 36px;
    height: 139px;
            background-size: contain;
    top: 232px;
    right: 0;
    background-repeat: no-repeat;
    }
    .searchIcon::before {
    content: '';
   
    width: 17px;
    height: 18px;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    z-index: 1;
    background-size: contain;
}
  .searchControl {
    height: 48px;
    padding: 0 100px 0px 33px;
  }
  .titlePara p {
    
    font-size: 15px;
  
    max-width: 90%;
 
    margin: 0 auto;
}
  .blogTitle h1{
    font-size: 32px;
    line-height: 150%;
  }
  .search-body.sticky-search {
    top: 51px;
    background: #F5FAFF;
    z-index: 1;
    padding: 85px 0 80px;
    max-height: 94px;
    height: 100%;
  }
  .searchIcon svg{
    width: 24px;
    height: 24px;
  }
  .searchWraper {
    max-width: 330px;
  }
}
/* seeseeAutor */
.seeAutor{
font-weight: 450;
 position: relative;
font-size: 15px;
 color: #407BFF;
line-height: 180%;
letter-spacing: 0%;
display: flex;
align-items: center;
justify-content: center;
 margin-top: 24px;
}
.seeAutor::before{
    content:'';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background: url(../images/authorIcon.svg);
}
.seeAutor:hover{
    color: #407BFF;
    text-decoration: underline;
}

/* Category Filter Styles */
.categoryFilter {
    background: #ffffff;
    padding: 40px 0;
}
.categoryWrap{
    background: #FFFFFF;
    box-shadow: 0px 6px 20.4px 0px #00000040;
    padding: 25px 50px;
    border-radius: 20px;
}
.categoryFilterLabel {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #848484;
    text-align: center;
    margin-bottom: 20px;
}

.categoryFilterWrapper {
       display: flex;
    align-items: start;
    justify-content: start;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 30px;
}
/* Scrollbar Styling */
.categoryFilterWrapper::-webkit-scrollbar {
    height: 5px;
}

.categoryFilterWrapper::-webkit-scrollbar-track {
    background: #E2EDFB;
    border-radius: 10px;
}

.categoryFilterWrapper::-webkit-scrollbar-thumb {
    background: #3D75CA;
    border-radius: 10px;
}

.categoryFilterWrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(42, 95, 168, 0.6);
}
.categoryBtn {
    background: #F8FAFD;
    border: 1px solid #D9EBF8;
    border-radius: 100px;
    padding: 11px 16px;
    font-weight: 450;
    font-size: 16px;
    line-height: 19px;
    color: #4A4A4A;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    white-space: nowrap;
}

.categoryBtn:hover {
    background: #F5F9FF;
    border-color: #117BD4;
    color: #117BD4;
}

.categoryBtn.active {
    background: #233F8C;
    border-color: #233F8C;
    color: #FFFFFF;
}

.categoryBtn.active:hover {
    background: #1a2f6b;
    border-color: #1a2f6b;
}

.categoryCount {
    font-weight: 400;
    opacity: 0.8;
    color: #407BFF;
}
.categoryBtn.active .categoryCount{
    color: #fff;
}
/* Responsive styles for category filter */
@media (max-width: 768px) {
    .categoryFilter {
        padding: 30px 0;
    }

    .categoryFilterWrapper {
        gap: 8px;
    }

    .categoryBtn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .categoryFilter {
        padding: 25px 0;
    }

    .categoryFilterLabel {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .categoryFilterWrapper {
        gap: 6px;
    }

    .categoryBtn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Sort Filter Section Styles */
.sortFilterSection {
        margin-bottom: 70px;
}

.sortFilterWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sortByLabel {
 
font-weight: 450;
 
font-size: 15px;
 
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #8898AE;
}

/* Custom Dropdown Styles */
.customDropdown {
    position: relative;
    flex-shrink: 0;
}

.dropdownToggle {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 12px 40px 12px 20px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
}

.dropdownToggle:hover {
     border-color: #233f8c;
}

.dropdownToggle.active {
        border-color: #233f8c;
}

.selectedOption {
    font-weight: 450;
    font-size: 15px;
    line-height: 19px;
    color: #231F20;
}

.dropdownArrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.dropdownToggle.active .dropdownArrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown Menu */
.dropdownMenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
}

.dropdownMenu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdownItem {
    padding: 12px 20px;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #4A4A4A;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdownItem:hover {
    color: #117BD4;
}

.dropdownItem.active {
    background: #E8F3FF;
    color: #117BD4;
    font-weight: 450;
}

/* Articles Count */
.articlesCount {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #233F8C;
    white-space: nowrap;
    margin-left: auto;
}

.articlesCount span {
    font-weight: 450;
    color: #233F8C;
}

/* Responsive styles for sort filter */
@media (max-width: 768px) {
    .sortFilterSection {
        padding: 25px 0;
    }

    .sortFilterWrapper {
        flex-wrap: wrap;
        gap: 15px;
    }

    .dropdownToggle {
        min-width: 180px;
        padding: 10px 35px 10px 16px;
    }

    .articlesCount {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

@media (max-width: 500px) {
    .sortFilterSection {
        margin-bottom: 30px;
        padding: 20px 0;
    }

    .sortFilterWrapper {
        justify-content: center;
        gap: 12px;
    }

    .sortByLabel {
        font-size: 14px;
    }

    .dropdownToggle {
        min-width: 160px;
        padding: 10px 30px 10px 14px;
    }

    .selectedOption,
    .dropdownItem,
    .articlesCount {
        font-size: 14px;
    }

    .dropdownArrow {
        width: 12px;
        height: 7px;
    }
}
/* blog card */
.blogList{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
 
.blogCard{
 
    max-width: 555px;
    width: 100%;
    position: relative;
    border-radius: 25px;
    border: 1px solid #F3F7FE;
    box-shadow: 0px -2px 24.5px 0px #B7B7B740;
    overflow: hidden;

    transition: all 0.3s ease;
}
 
.titleBlogCard{
 
    font-weight: 500;
    font-style: Medium;
    font-size: 23px;
    leading-trim: NONE;
    line-height: 160%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    min-height: 74px;
}
.blogCard:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 32px 0px rgba(17, 123, 212, 0.2);
    border-color: #117BD4;
}
.blogHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    position: relative;
    padding: 34px 38px;
       background: linear-gradient(109deg, #233F8C, #1176CA, #2E5CB8, #1890E0, #233F8C);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
 
    z-index: 1;
}
.blogHeader::after{
    content: '';
    background: url(../images/blogCardbg.svg);
    width: 155px;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    top: 0;
    right: 47px;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* Blog Card Link Wrapper */
.blogCardLink {
     display: flex;
       flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    color: inherit;
    transition: all 0.3s ease;
}

.blogCardLink:hover {
    text-decoration: none;
}

/* Blog Card Detail Info Styles */
.blogDetailinfo {
    padding: 32px 32px 50px;
    background: #FFFFFF;
    position: relative;
}

.blogMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.blogCategory {
    background: #EEF4FA;
    border-radius: 100rem;
    padding: 8px 14px;
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1176CA;
}

.blogDate {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 450;
    font-size: 15px;
    line-height: 18px;
    color: #676767;
    position: relative;
}
.blogDate::before{
    content:'';
    background: url(../images/calenderIcon.svg);
    width: 17px;
    height: 17px;
    display: inline-block;
}

.blogDate svg {
    flex-shrink: 0;
}

.blogTimeBadge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: #117BD4;
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 450;
    font-size: 11px;
    line-height: 14px;
    color: #FFFFFF;
}

.blogExcerpt {
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: #56606C;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blogFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.blogReadMore {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 450;
    font-size: 15px;
    line-height: 19px;
    color: #286BFF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.blogReadMore:hover {
    gap: 5px;
    color: #286BFF;
}
.blogReadMore::after{
    content:'';
    background: url(../images/arrowRight.svg);
    width: 17px;
    height: 17px;
    display: inline-block;
     transition: transform 0.3s ease;

}
 

.blogReadMore:hover::after {
    content:'';
    transform: translateX(4px);
}

.blogAuthor {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #676767;
}

/* Load More Button Styles */
.loadMoreWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.loadMoreBtn {
    background: #FFFFFF;
    border: 1.5px solid #CFDEF0;
    border-radius: 15px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 450;
    font-size: 15px;
    line-height: 19px;
    color: #676767;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.loadMoreBtn:hover {
    background: #F5F9FF;
    border-color: #233F8C;
    color: #233F8C;
}

.loadMoreBtn:hover svg path {
    stroke: #233F8C;
}

.loadMoreBtn svg {
    transition: transform 0.3s ease;
}

.loadMoreBtn:hover .arrowDown {
    transform: translateY(2px);
}

.loadMoreBtn:hover .arrowUp {
    transform: translateY(-2px);
}
.loadMoreBtn .arrowUp{
    display: none;
}
/* Newly Loaded Cards Animation */
.blogCard.newly-loaded {
    animation: cardFadeIn 0.4s ease-out;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for blog card detail */
@media (max-width: 768px) {
    .blogDetailinfo {
        padding: 24px;
    }

    .blogTimeBadge {
        top: 24px;
        right: 24px;
        font-size: 10px;
        padding: 5px 8px;
    }

    .blogTimeBadge svg {
        width: 12px;
        height: 12px;
    }

    .blogExcerpt {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .loadMoreWrapper {
        padding: 40px 0;
    }

    .loadMoreBtn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .titleBlogCard {
    font-weight: 500;
    min-height: 60px;
    font-size: 19px;
  
}
    .blogDetailinfo {
        padding: 20px 20px 30px;
    }
.blogReadMore::after{
        top: -2px;
    position: relative;
}
    .blogMeta {
        margin-bottom: 18px;
    }

    .blogCategory {
        font-size: 11px;
        padding: 5px 10px;
    }
.searchBtn {
    max-width: 83px;
    width: 100%;
    height: 32px;
   
    transform: translateY(-50%);
    right: 10px;
    font-weight: 450;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    transition: all 0.3s 
ease;
}
    .blogDate {
        font-size: 13px;
    }

    .blogDate svg {
        width: 16px;
        height: 16px;
    }

    .blogTimeBadge {
        top: 20px;
        right: 20px;
        font-size: 9px;
        padding: 4px 7px;
    }

    .blogTimeBadge svg {
        width: 10px;
        height: 10px;
    }

    .blogExcerpt {
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .blogReadMore {
        font-size: 14px;
    }

    .blogReadMore svg {
        width: 14px;
        height: 10px;
    }

    .blogAuthor {
        font-size: 13px;
    }

    .loadMoreWrapper {
        padding: 30px 0;
    }

    .loadMoreBtn {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .loadMoreBtn svg {
        width: 14px;
        height: 14px;
    }
}
.blogHeader .iconText{
font-weight: 450;
font-size: 44px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
}
.blogHeader h3 a{
font-weight: 500;
font-style: Medium;
font-size: 23px;
leading-trim: NONE;
line-height: 160%;
letter-spacing: 0%;
text-align: center;
color: #fff;
text-decoration: none;
}