body {
    background-color: #f4f4f4;
}



.top-sec {
    background: url(../assets/case/topcasebg.png);
    background-position: center center;
    background-size: cover;
    /* padding: 100px 0; */
    display: flex;
    min-height: 550px;
    align-items: center;
    justify-content: start;
}

.top-sec h1,
.ebook-sec h1 {
    color: var(--blue);
    font-size: 100px;
    font-weight: 700;
}

.top-sec p,
.ebook-sec p {
    color: var(--blue);
    font-size: 28px;
    font-weight: 400;
}

.dropdown-toggle::after {
    display: none;
}

.filter-btn {
    border-radius: 10px;
    background-color: #E4E3E3;
    padding: 8px;
    display: flex;
    gap: 10px;
}

.filter-btn .dropdown {
    border-radius: 10px;
    background-color: #f8f8f8;
    padding: 7px 30px 6px 25px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 33%;
}

.filter-btn .dropdown .dropdown-toggle {
    display: flex !important;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 22px;
}

.featured-card h2 {
    color: var(--blue);
    font-size: 48px;
    margin-bottom: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.featured-card p {
    color: #202020;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 400;
}

.featured-card a {
    color: var(--purple);
    font-size: 28px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
}

.featured-card a:hover {
    text-decoration: underline;
}

.case-card-listing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-card {
    border-radius: 48px;
    background: linear-gradient(var(--orange), var(--purple));
    padding: 20px 20px 35px;
    color: var(--white);
}

.case-card h3 {
    line-height: 26px !important;
    font-size: 20px;
    width: 80%;
}

.case-card h3 a {
    font-size: 20px;
    color: var(--white) !important;
    line-height: 26px !important;
    text-decoration: none !important;
    font-weight: 600;
}

.img-link {
    float: right;
    margin: -21px;
}

.case-card p {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}

.case-card>img {
    height: 150px;
    object-fit: cover;
}


@media(max-width:1240px) {
    .case-card-listing {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:992px) {
    .case-card-listing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:540px) {
    .case-card-listing {
        grid-template-columns: repeat(1, 1fr);
    }
}


@media (max-width:767px) {
    .top-sec {
        background-color: #D9D8DC;
        padding: 50px 0;
        display: flex;
        min-height: 250px;
        align-items: center;
        justify-content: start;
    }

    .top-sec h1,
    .ebook-sec h1,
    .blog-sec h1 {
        font-size: 40px;
    }

    .top-sec p,
    .ebook-sec p,
    .blog-sec p {
        font-size: 20px;
    }

    .load-more {
        font-size: 18px;
        border: 0 !important;
        padding: 0 !important;
    }
}

.load-more {
    font-size: 32px;
    font-weight: 600;
    color: var(--purple);
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}


/* blog page */
.blog-sec {
    background: url(../assets/blogs/blog-banner.png);
    background-position: right center;
    background-size: cover;
    /* padding: 100px 0; */
    display: flex;
    min-height: 550px;
    align-items: center;
    justify-content: start;
}

.blog-sec h1 {
    color: var(--white);
    font-size: 100px;
    font-weight: 700;
}

.blog-sec p {
    color: var(--white);
    font-size: 28px;
    font-weight: 400;
    width: 35%;
}

/* Ebook */

.ebook-sec {
    background: url(../assets/ebook/ebook-banner.png);
    background-position: center center;
    background-size: cover;
    /* padding: 100px 0; */
    display: flex;
    min-height: 550px;
    align-items: center;
    justify-content: start;
}

@media (min-width:992px) {
    .ebook-sec p {
        width: 40% !important;
    }
}

.case-card p{
     display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.case-card h3 a{
   display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}