a.heroCardSlider img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
}
a.heroCardSlider {
    width: 100%;
}
#heroSlider .swiper-button-next::after,
#heroSlider .swiper-button-prev::after {
    display: none;
}
#heroSlider .swiper-button-prev img {
    transform: rotate(180deg);
}
#heroSlider .swiper-button-next,
#heroSlider .swiper-button-prev {
    background-color: var(--theme-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
}
#heroSlider .swiper-button-next {
    right: 5vw !important;
}
#heroSlider .swiper-button-prev {
    left: 5vw !important;
    right: unset !important;
}
div#servicesSlider {
    width: 90%;
    margin: 16px auto 40px;
    padding: 24px 48px;
}
a.serviceCard {
    background-color: #ffffff15;
    border: 1px solid #ffffff05;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.7s;
    position: relative;
}
a.serviceCard img {
    width: 100%;
    border-radius: 16px;
}
a.serviceCard h3 {
    transition: all 0.7s;
    color: #ffffff64;
}

a.serviceCard:hover {
    background-color: #a8712426;
    border: 1px solid #a87124a3;
    transform: scale(1.05);
}
a.serviceCard:hover h3 {
    font-size: 20px;
    color: #a87124;
}
#servicesSlider .swiper-button-next::after,
#servicesSlider .swiper-button-prev::after {
    display: none;
}
#servicesSlider .swiper-button-prev img {
    transform: rotate(180deg);
}
#servicesSlider .swiper-button-next,
#servicesSlider .swiper-button-prev {
    background-color: var(--theme-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
}
#servicesSlider .swiper-button-next {
    right: 5vw !important;
}
#servicesSlider .swiper-button-prev {
    left: 5vw !important;
    right: unset !important;
}
section#homeAbout img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid #444444;
    box-shadow: 4px 4px 40px 0px #ffffff33;
}
.rtlTheme #homeAbout p {
    text-align: justify;
}
section#homeAbout p {
    line-height: 36px;
}
section#homeAbout {
    width: 90%;
    margin: 96px auto 48px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 56px;
}
.portfolioCategoryCard {
    background-color: #ffffff15;
    border: 1px solid #ffffff05;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.7s;
    align-items: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    justify-content: center;
}
div#homeCategories {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 90%;
    margin: 40px auto;
    gap: 24px;
}
div#homeCategoriesSwiper {
    width: 90%;
    margin-right: 5%;
}
.ltrTheme div#homeCategoriesSwiper {
    margin-left: 5%;
    margin-right: unset;
}
.portfolioCategoryCard a {
    background: #a87124;
    opacity: 0.64;
    transition: all 0.7s;
    border-radius: 8px;
    padding: 12px 64px;
}
.portfolioCategoryCard span {
    color: #ffffff64;
}
.portfolioCategoryCard:hover {
    background-color: #a8712426;
    border: 1px solid #a87124a3;
}
.portfolioCategoryCard span {
    transition: all 0.7s;
}
.portfolioCategoryCard:hover span {
    color: white;
}
.portfolioCategoryCard:hover a {
    opacity: 1;
}

.portfolioCategoryCard img {
    width: 90px;
    aspect-ratio: 1 / 1;
    filter: grayscale(100%) brightness(200%) opacity(64%);
    transition: all 0.7s;
}
.portfolioCategoryCard:hover img {
    filter: invert(55%) sepia(89%) saturate(759%) hue-rotate(6deg)
        brightness(89%) contrast(87%);
}
.girdContent5 .portfolioCategoryCard:nth-child(5) {
    grid-column: 2 / 4;
    width: 50%;
    margin: auto;
}
.girdContent6 .portfolioCategoryCard:nth-child(5) {
    grid-column: 1 / 3;
    width: 50%;
    margin: auto;
}
.girdContent6 .portfolioCategoryCard:nth-child(6) {
    grid-column: 3 / 5;
    width: 50%;
    margin: auto;
}

.girdContent7 .portfolioCategoryCard:nth-child(5) {
    transform: translateX(50%);
}
.girdContent7 .portfolioCategoryCard:nth-child(6) {
    transform: translateX(50%);
}
.girdContent7 .portfolioCategoryCard:nth-child(7) {
    transform: translateX(50%);
}
section#newPortfolios {
    width: 100%;
    margin: 96px auto 48px;
}
.rtlTheme #newPortfolios > a {
    margin-top: 16px !important;
}
.newPortfoliosHeader {
    padding: 4px 5%;
}
#homeService {
    margin-top: 96px !important;
}
#newPortfoliosSlider {
    width: 95%;
    margin-left: 5%;
}
section.homePortfolio {
    margin-top: 96px;
}
section.homePortfolio .nodeList {
    width: 95%;
    margin-left: 5%;
    margin-bottom: 24px !important;
}
#homeBlog {
    margin-top: 96px;
}
div#homeBlogList {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 23px;
    width: 95%;
    margin: 24px auto;
}
.verticalBlogCard {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 16px;
    border: 1px solid #ffffff05;
    background: #ffffff15;
    border-radius: 16px;
    position: relative;
}
.verticalBlogCard p,
.horzintalBlogCard p {
    color: #bcbcbc;
}
.verticalBlogCard .blogCategoryBadge,
.horzintalBlogCard .blogCategoryBadge {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: #00000040;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    padding: 8px 16px;
}
.verticalBlogCard p {
    margin: 12px 0;
}
.verticalBlogCard h2 {
    margin: 16px 0;
}
.verticalBlogCard > img {
    width: 100%;
    border-radius: 16px;
}

.horzintalBlogCard > img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.horzintalBlogCard {
    position: relative;
    display: grid;
    gap: 16px;
    align-items: start;
    grid-template-columns: 1fr 2fr;
    padding: 16px 53px 16px 16px;
    border: 1px solid #ffffff05;
    background-color: #ffffff15;
    border-radius: 16px;
}
div#otherBlog {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}
.horzintalBlogCard .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.horzintalBlogCard,
.verticalBlogCard {
    transition: all 0.5s;
}
.horzintalBlogCard,
.verticalBlogCard,
.horzintalBlogCard a,
.verticalBlogCard a {
    transition: all 0.5s;
}
.horzintalBlogCard:hover,
.verticalBlogCard:hover {
    border-color: var(--second-theme);
}

.horzintalBlogCard:hover a,
.verticalBlogCard:hover a {
    color: var(--second-theme);
}
@media (max-width: 580px) {
    section#homeAbout {
        display: flex;
        flex-direction: column-reverse;
    }
    div#homeBlogList {
        display: flex;

        flex-direction: column;
        gap: 16px;
    }
    div#servicesSlider {
        padding: 8px;
    }
    section#homeProjects h1,
    section#homeService h1 {
        text-align: center;
    }
}
/* faqs */
section#faqs .card button svg {
    margin-left: auto;
    width: 36px;
    height: 37px;
}
.rtlTheme section#faqs .card button svg {
    margin-left: unset;
    margin-right: auto;
}
section#faqs .card button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}
section#faqs .card {
    background: transparent;
    width: 100%;
}
section#faqs #accordion .card-header {
    background-color: #494949 !important;
    width: 100%;
}
section#faqs #accordion .card-header img {
    width: 64px;
}
section#faqs #accordion {
    width: 85%;
    margin: 24px auto;
}
section#faqs {
    width: 90%;
    margin: 96px auto 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
#faqs .collapse {
    width: 100%;
}
#faqs .card-body {
    width: 100%;
    background: #494949;
    padding: 24px 48px;
}
@media (max-width: 580px) {
    section#faqs #accordion {
        width: 98%;
    }
    section#faqs .card button svg {
        display: none;
    }
    .card-header {
        padding: 0 !important;
    }
    .card-header img {
        width: 36px !important;
    }
    section#faqs .card button {
        gap: 8px;
    }
    section#faqs .card button span {
        font-size: 14px;
        display: block;
        white-space:normal ;
    }
}
