.hero .modal-video {
    background: rgba(0, 0, 0, 0.6);
}

.hero .carousel-item img {
    height: 350px;
    object-fit: cover;
}

.hero .over-hero {
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.48) 100%
    );
    z-index: 1;
    padding-bottom: 1rem;
}
.hero .over-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(var(--color-light), 1);
}
.hero .over-hero .breadcrumb-item {
    font-size: 12px;
}
.hero .over-hero .img-header-inner img {
    border-radius: var(--service-img-radius);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
}
.hero .over-hero .hero-content h1 {
    font-size: 50px;
}
.hero .over-hero .hero-content p {
    font-size: 18px;
    line-height: 1.75;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.banner-scrollable {
    background-color: var(--color-one);
}
.banner-scrollable .scroll-text {
    width: max-content;
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -moz-animation: my-animation 50s linear infinite;
    -webkit-animation: my-animation 50s linear infinite;
    animation: my-animation 50s linear infinite;
}
.banner-scrollable .scroll-text li {
    font-family: sans-serif !important;
    list-style: inherit !important;
    margin-left: 50px;
    text-transform: uppercase;
    font-size: 42px;
    color: var(--text-primery);
}

/* for Firefox */
@-moz-keyframes my-animation {
    from {
        -moz-transform: translateX(-100%);
    }
    to {
        -moz-transform: translateX(-100%);
    }
}

/* for Chrome */
@-webkit-keyframes my-animation {
    from {
        -webkit-transform: translateX(-100%);
    }
    to {
        -webkit-transform: translateX(100%);
    }
}

@keyframes my-animation {
    from {
        -moz-transform: translateX(-20%);
        -webkit-transform: translateX(-20%);
        transform: translateX(-20%);
    }
    to {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes my-animation2 {
    from {
        -moz-transform: translateX(0%);
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
    to {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes my-animation3 {
    from {
        -moz-transform: translateX(0%);
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
    to {
        -moz-transform: translateX(70%);
        -webkit-transform: translateX(70%);
        transform: translateX(70%);
    }
}

.list-services .sort-form li {
    background-color: rgba(var(--color-light), 0.7);
    padding: 6px;
    border-radius: var(--theme-radius-button);
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}
.list-services .sort-form li:last-child {
    margin-bottom: 0;
}
.list-services .sort-form li input {
    box-shadow: none;
    outline: 0;
}
.list-services .sort-form li input:checked {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

.list-services .filter select {
    border-radius: 1rem;
    padding: 10px 8px;
}
.list-services .filter select:focus {
    box-shadow: none;
    border-color: #dee2e6;
    outline: 0;
}

.list-services .list-card .overlay {
    content: "";
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    bottom: 0;
    color: rgba(var(--color-light), 1);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    border-radius: 0 0 25px 0;
    padding: 0.75rem 0.75rem;
    flex-direction: column;
}
.list-services .list-card .overlay p {
    text-shadow: 0 0 3px #000;
}

.list-services .list-card img {
    border-radius: var(--gallry-img-thumb);
}

.list-services .list-card .sub-cat {
    margin-top: -2rem;
    position: relative;
}
.list-services .list-card .sub-cat .sub-cat-list {
    position: relative;
    top: -40px;
}
.list-services .list-card .sub-cat .sub-cat-list .card-body {
    border-radius: var(--theme-radius-2);
    padding-top: 45px !important;
}
.list-services .list-card .sub-cat .sub-cat-list .card-body li:last-child {
    margin-bottom: 0;
}
.list-services .list-card .sub-cat .sub-cat-list .card-body li a {
    padding: 6px 0;
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-family: pelak-thin;
    color: var(--color-dark);
    transition: 0.5s;
}
.list-services .list-card .sub-cat .sub-cat-list .card-body li a:hover {
    padding-right: 5px;
}
.list-services .list-card .sub-cat .btn-arrow {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 14px 20px;
    box-shadow: 0 4px 13px 0 rgba(0, 0, 0, 0.1);
    font-size: 14px;
}
.list-services .list-card .sub-cat .btn-arrow .arrow-box {
    margin-right: 0;
    width: 35px;
    height: 35px;
}
.list-services .list-card .sub-cat .btn-arrow .arrow-box img {
    width: 15px !important;
    height: 15px !important;
}

.seo-box {
    background: linear-gradient(
        180deg,
        rgba(var(--color-light), 1) 34.81%,
        rgba(255, 255, 255, 0) 85.84%
    );
    border-radius: var(--about-back-radius);
    margin-top: 50px !important;
    margin: 0 50px;
    padding: 50px 0;
    position: relative;
}
.seo-box .content {
    line-height: 1.75;
    font-size: 14px;
    color: #333;
}
.seo-box .content img {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    margin: auto;
    display: block;
}
.seo-box .content .table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: var(--bg-table);
}
.seo-box .content table {
    width: 100% !important;
    text-align: center;
}
.seo-box .content table * {
    align-content: center;
}
.seo-box .content table p {
    margin-bottom: 0 !important;
}
.seo-box .content p {
    font-family: pelak-rgular;
    margin-bottom: 8px;
}
.seo-box .content li {
    font-family: pelak-rgular;
    list-style: inherit;
}
.seo-box .box .button {
    transition: unset !important;
    margin: auto;
    width: max-content;
    display: flex;
}
.seo-box .box input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.seo-box .box .p {
    display: block;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: inherit;
    word-wrap: break-word;
    transition: max-height 0.5s ease;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-height: 25rem;
    -webkit-box-orient: vertical;
    line-height: 1.75rem;
    font-size: 0.9rem;
    position: relative;
}
.seo-box .box .p.after::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(
        0deg,
        var(--color-body) 12%,
        rgba(255, 255, 255, 0) 100%
    );
}
.seo-box .box input:checked + .p {
    -webkit-line-clamp: unset;
    max-height: max-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    height: auto;
    -webkit-box-orient: vertical;
}
.seo-box .box input:checked + .p::after {
    content: unset !important;
}
.seo-box .box input:checked ~ .button {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
}

@media (min-width: 1600px) {
    .seo-box .content img {
        max-width: 70% !important;
        max-height: max-content !important;
        margin: auto !important;
        display: block;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .hero .over-hero {
        padding-top: 10rem;
    }
    .hero .over-hero .img-header-inner img {
        border-radius: var(--about-img-one);
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
    }
    .hero .over-hero .hero-content p {
        font-size: 16px;
    }
    .seo-box .content img {
        max-width: 80% !important;
        max-height: max-content !important;
        margin: auto !important;
        display: block;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .hero .img-header-inner img {
        border-radius: var(--about-img-one) !important;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
    }
    .hero .hero-content p {
        font-size: 16px !important;
    }
    .seo-box .content img {
        max-width: 80% !important;
        max-height: max-content !important;
        margin: auto !important;
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .hero .img-header-inner img {
        border-radius: var(--about-img-one) !important;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
    }
    .hero .hero-content p {
        font-size: 16px !important;
    }
    .hero .hero-content .anchors a {
        font-size: 14px;
    }
    .seo-box .content img {
        width: 70% !important;
        height: auto !important;
        margin: auto !important;
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .hero .carousel-item img {
        height: 330px;
        object-fit: cover;
        object-position: center;
    }
    .hero .img-header-inner {
        margin-top: 2rem;
    }
    .hero .over-hero {
        padding-bottom: 1rem;
    }
    .hero .over-hero .hero-content h1 {
        font-size: 40px;
    }
    .hero .over-hero .hero-content p {
        font-size: 16px;
    }
    .seo-box {
        margin: 0 20px;
        padding: 30px;
        border-radius: var(--about-img-one);
    }
    .seo-box .content img {
        width: 80% !important;
        height: auto !important;
        margin: auto !important;
        display: block;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .hero .carousel-item img {
        height: 280px;
        object-fit: cover;
        object-position: center;
    }
    .hero .img-header-inner {
        margin-top: 2rem;
    }
    .hero .over-hero {
        padding-bottom: 1rem;
    }
    .hero .over-hero .hero-content h1 {
        font-size: 40px;
    }
    .hero .over-hero .hero-content p {
        font-size: 16px;
    }
    .hero .over-hero .video {
        width: 100%;
        margin-right: auto;
        height: auto;
    }
    .seo-box {
        margin: 0 0;
        padding: 30px;
        border-radius: var(--about-img-one);
    }
    .seo-box .content img {
        width: 90% !important;
        height: auto !important;
        margin: auto !important;
        display: block;
    }
}

@media (max-width: 576px) {
    .hero .carousel-item img {
        height: 250px;
        object-fit: cover;
        object-position: center;
    }
    .hero .over-hero {
        padding-bottom: 1rem;
    }
    .hero .over-hero .img-header-inner {
        margin-top: 0.5rem;
    }
    .hero .over-hero .img-header-inner img {
        border-radius: var(--about-img-one) !important;
    }
    .hero .over-hero .hero-content h1 {
        font-size: 25px;
        line-height: 1.5;
    }
    .hero .over-hero .hero-content p {
        font-size: 14px;
        line-height: 2;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* number of lines to show */
        line-clamp: 4;
        -webkit-box-orient: vertical;
    }
    .hero .over-hero .video {
        width: 100%;
        margin-right: auto;
        height: auto;
    }
    .hero .over-hero .video .btn-video {
        position: unset;
        width: 100%;
    }
    .hero .anchors {
        flex-wrap: wrap;
    }
    .hero .anchors a {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 0 !important;
        margin-bottom: 10px !important;
    }
    .seo-box {
        margin: 0 0;
        padding: 30px 10px;
        border-radius: var(--about-img-one);
    }
    .seo-box .content img {
        width: 100% !important;
        height: auto !important;
    }
}

#text-box li:has(h2)::marker {
  font-size: 1.8em; 
  font-weight: bold;
}

#text-box li:has(h3)::marker {
  font-size: 1.5em;
  font-weight: bold;
}

#text-box li:has(h4)::marker {
  font-size: 1.4em;
  font-weight: bold;
}

#text-box li:has(h5)::marker {
  font-size: 1.3em;
}

#text-box li:has(h6)::marker {
  font-size: 1.1em;
}
