/*
Theme Name: Designkast
Theme URI: https://designkast.agency/
Description: Designkast a child theme of Hello Elementor, created by Emon Ahmed
Author: Emon Ahmed
Author URI: https://github.com/emon4u
Template: hello-elementor
Version: 1.0.0
Text Domain: designkast
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Common */
body {
    overflow-x: hidden;
    overflow-y: auto;
}

body p:last-child,
.elementor-heading-title p {
    margin-bottom: 0;
}

.e-n-accordion .elementor-widget-text-editor li::marker {
    color: #cccccc;
}

.element-backdrop-blur-10 {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.element-backdrop-blur-500 {
    backdrop-filter: blur(500px);
    -webkit-backdrop-filter: blur(500px);
}

@media (min-width: 1025px) {
    .elementor-element.service-container-sticky {
        position: sticky;
        top: 216px;
    }
}

.elementor-widget-text-editor b {
    font-weight: 700;
    color: var(--e-global-color-primary);
}

.element-gradient-border::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(139.15deg, var(--e-global-color-primary) 8.36%, var(--e-global-color-secondary) 74.21%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

/* Header */
.ekit-template-content-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.admin-bar .ekit-template-content-header {
    top: 32px;
}

.topbar-notice.elementor-element .elementor-alert {
    padding: 5px 20px;
    text-align: center;
    background: linear-gradient(117deg, #9100ff4d 18%, #60feff4d 82%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Glowing Button */
.glowing-btn .elementor-button {
    position: relative;
    z-index: 1;
}

.glowing-btn .elementor-button::before,
.main-contact-form .ff_btn_style::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background: linear-gradient(90deg, var(--e-global-color-primary) 13%, var(--e-global-color-secondary) 76%);
    background-size: 200% 100%;
    animation: glowing 3s linear infinite;
}

.glowing-btn .elementor-button::after,
.main-contact-form .ff_btn_style::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    z-index: -1;
    background-color: var(--e-global-color-text);
}

@keyframes glowing {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

@media (min-width: 1750px) {
    .hero-gallery-container {
        margin-right: -5%;
    }
}

/* Hover Accordion */
.hover-accordion .e-n-accordion-item-title {
    max-width: 1570px;
    flex-grow: 1;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1650px) {
    .hover-accordion .e-n-accordion-item-title {
        max-width: 1320px;
    }
}

.hover-accordion .e-n-accordion-item {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-accordion .e-n-accordion-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-accordion .e-n-accordion-item[open] {
    border-color: transparent !important;
}

.hover-accordion .e-n-accordion-item[open]:nth-child(1) {
    background-color: #a8d5ff;
}

.hover-accordion .e-n-accordion-item[open]:nth-child(2) {
    background-color: #f3f8ff;
}

.hover-accordion .e-n-accordion-item[open]:nth-child(3) {
    background-color: #d0f8ff;
}

.hover-accordion .e-n-accordion-item[open]:nth-child(4) {
    background-color: #ffe6e6;
}

.hover-accordion .e-n-accordion-item[open]:nth-child(5) {
    background-color: #b09eff;
}

/* Custom Shape Widget */
.designkast-custom-shape {
    width: 280px;
    height: 280px;
    background-color: var(--e-global-color-primary);
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin: auto;
}

.designkast-custom-shape.shape-circle {
    border-radius: 50%;
}

.designkast-custom-shape.shape-triangle {
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.designkast-custom-shape.shape-left {
    margin-left: 0;
    margin-right: auto;
}

.designkast-custom-shape.shape-center {
    margin: auto;
}

.designkast-custom-shape.shape-right {
    margin-right: 0;
    margin-left: auto;
}

/* Fixed Elements Kit Menu issue */
@media (max-width: 1024px) {
    .ekit-wid-con .elementskit-menu-overlay {
        left: calc(-1 * (100vw + 50px));
        width: 100vw;
    }

    .ekit-wid-con .elementskit-menu-offcanvas-elements {
        height: 100vh !important;
        padding-bottom: 0 !important;
    }

    .ekit-wid-con .elementskit-menu-offcanvas-elements.active {
        left: -20px;
    }

    .elementor-widget-ekit-nav-menu {
        margin-left: auto;
    }

    .ekit-wid-con .elementskit-menu-hamburger {
        background: transparent !important;
        color: #000 !important;
        font-size: 25px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        border: none;
    }

    .ekit-wid-con .elementskit-menu-close {
        font-size: 20px;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff !important;
        color: #000 !important;
        width: 45px;
        height: 40px;
    }

    .elementskit-nav-identity-panel {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 20px !important;
    }

    .ekit-wid-con .elementskit-menu-hamburger svg,
    .ekit-wid-con .elementskit-menu-close svg {
        width: 1em;
        height: 1em;
        fill: currentColor;
    }
}

/* Pricing Tabs */
.pricing-tab .e-n-tabs-heading {
    background: #000;
    align-self: flex-end;
    border-radius: 30px;
}

.pricing-lebel-wrap .elementor-heading-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pricing-lebel-wrap .plan-duration {
    font-size: 59%;
}

/* Compare List */
.compare-list.elementor-widget .elementor-icon-list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compare-list.elementor-widget .elementor-icon-list-item {
    padding: 16px 20px !important;
    border: 1px solid rgb(255, 255, 255, 0.2);
    border-radius: 10px;
}

.compare-list.light-scheme.elementor-widget .elementor-icon-list-item {
    border-color: rgba(0, 0, 0, 0.2);
}

.compare-list.light-scheme.elementor-widget svg path {
    fill: currentColor;
}

.compare-list.compare-primary.elementor-widget .elementor-icon-list-item {
    border-color: var(--e-global-color-primary);
}

.compare-list.compare-primary.elementor-widget svg {
    filter: drop-shadow(0px 4px 10px rgba(145, 0, 255, 1));
}

/* Infinite Scroll */
.designkast-scroll-elements {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.designkast-scroll-elements .scroll-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    animation: scrollLeft 10s infinite linear;
    padding-right: 20px;
}

.designkast-scroll-elements.dir-scroll-right .scroll-group {
    animation-name: scrollRight;
}

.designkast-scroll-elements .scroll-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.designkast-scroll-elements::-webkit-scrollbar {
    display: none;
}

@keyframes scrollLeft {
    from {
        translate: 0;
    }

    to {
        translate: -100%;
    }
}

@keyframes scrollRight {
    from {
        translate: -100%;
    }
    to {
        translate: 0;
    }
}

/* Why Choose US Box */
.elementor-element.wcu-box {
    position: relative;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(38px) saturate(180%);
    -webkit-backdrop-filter: blur(38px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.025), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

/* Main Contact Form */
.main-contact-form .fluentform-widget-wrapper {
    position: relative;
    backdrop-filter: blur(38px) saturate(180%);
    -webkit-backdrop-filter: blur(38px) saturate(180%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.025), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.main-contact-form .fluentform .ff-el-input--label {
    line-height: 1.2;
    margin-bottom: 10px;
}

.ff-budget-options .ff-el-input--content {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ff-budget-options .ff-el-input--content .text-danger {
    flex: 0 0 auto;
}

.ff-budget-options .ff-el-input--content .ff-el-form-check {
    margin: 0 !important;
}

.ff-budget-options .ff-el-form-check label > span {
    color: rgba(0, 0, 0, 0.5) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid transparent !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    padding: 12px 25px !important;
    border-radius: 30px !important;
    box-shadow: none !important;
}

.ff-budget-options .ff-el-form-check.ff_item_selected label > span {
    background: #fff !important;
    border-color: var(--e-global-color-primary);
}

.main-contact-form .ff_btn_style {
    position: relative;
    z-index: 1;
    opacity: 1 !important;
}

.main-contact-form .ff-default .ff-el-form-control {
    transition: all 0.3s !important;
}

.main-contact-form select {
    -webkit-appearance: none;
    background: transparent url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55% !important;
}

/* Testimonial Widget */
.designkast-testimonial .testimonial-item {
    display: flex;
    gap: 80px;
    line-height: 1;
}

.designkast-testimonial .reviewer-photo {
    max-width: 100%;
    width: 450px;
    flex-shrink: 0;
    padding: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    min-height: 485px;
}

.designkast-testimonial .reviewer-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    z-index: -1;
}

.designkast-testimonial .reviewer-photo img {
    border-radius: 20px;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    left: 2px;
    top: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
}

.designkast-testimonial .testimonial-video {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: var(
    --e-global-color-primary);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
}

.designkast-testimonial .testimonial-content {
    flex-grow: 1;
    align-self: center;
}

.designkast-testimonial .testimonial-content p {
    font-size: 45px;
    line-height: 1.25;
    margin: 0 0 30px;
}

.designkast-testimonial .testimonial-content h4 {
    margin: 0 0 10px;
}

.designkast-testimonial .testimonial-content span {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.designkast-testimonial .testimonial-nav-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.designkast-testimonial .testimonial-nav {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(136, 136, 136, 1);
    z-index: 1;
    background: #D9D9D9;
    cursor: pointer;
}

.designkast-testimonial .testimonial-video svg,
.designkast-testimonial .testimonial-nav svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.designkast-testimonial .testimonial-nav::before,
.designkast-testimonial .testimonial-nav::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background-color: #fff;
    z-index: -1;
}

.designkast-testimonial .testimonial-nav::after {
    inset: 0;
    background: linear-gradient(90deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    z-index: -2;
    opacity: 0;
}

.designkast-testimonial .testimonial-nav.testimonial-next::after {
    opacity: 1;
}

@media (max-width: 1650px) {
    .designkast-testimonial .testimonial-content p {
        font-size: 40px;
    }
}

@media (max-width: 1366px) {
    .designkast-testimonial .testimonial-item {
        gap: 50px
    }

    .designkast-testimonial .testimonial-content p {
        font-size: 32px;
    }
}

@media (max-width: 1025px) {
    .designkast-testimonial .testimonial-item {
        flex-direction: column;
        gap: 45px;
    }

    .designkast-testimonial .reviewer-photo {
        min-height: 425px;
    }

    .designkast-testimonial .testimonial-content p {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .designkast-testimonial .testimonial-content p {
        font-size: 26px;
    }
}

/* Blog Page & Work Page */
.archive-container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 150px 20px;
}

@media (max-width: 1650px) {
    .archive-container {
        max-width: 1280px;
    }
}

.entry-blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 30px;
}

.entry-post .entry-thumbnail {
    display: flex;
    margin: 0 0 30px;
    border-radius: 20px;
    overflow: hidden;
}

.entry-post .entry-thumbnail img {
    width: 100%;
    border-radius: 20px;
    transition: 0.3s;
}

.entry-post:hover .entry-thumbnail img,
.entry-work-card:hover .entry-thumbnail img {
    transform: scale(1.1);
}

.entry-post .entry-title {
    font-weight: 500;
    margin: 0;
}

.entry-post .entry-title a,
.entry-work-card .entry-title a {
    color: inherit;
}

.entry-work-card {
    position: relative;
}

.entry-work-card .entry-thumbnail {
    width: 100%;
    height: 555px;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    background-color: #000;
}

.entry-work-card .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.3s;
}

.entry-work-card .entry-content {
    position: absolute;
    left: 25px;
    bottom: 25px;
    right: 25px;
    z-index: 2;
    text-align: center;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.entry-work-card .entry-title,
.entry-work-card .entry-excerpt {
    color: #fff;
}

.entry-work-card .entry-title {
    margin: 0 0 15px;
}

.entry-work-card .entry-excerpt {
    margin: 0;
}

.posts-pagination {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.posts-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.posts-pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 500;
    color: var(--e-global-color-text);
}

.posts-pagination .page-numbers.current {
    background: linear-gradient(125.27deg, #9100FF 20.71%, #60FEFF 103.86%);
    color: #fff;
}

.posts-pagination .page-numbers.next,
.posts-pagination .page-numbers.prev {
    position: relative;
    z-index: 1;
    width: auto;
    padding: 0 20px;
}

.posts-pagination .page-numbers.next::before,
.posts-pagination .page-numbers.prev::before,
.posts-pagination .page-numbers.next::after,
.posts-pagination .page-numbers.prev::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 30px;
    background-color: #fff;
}

.posts-pagination .page-numbers.next::after,
.posts-pagination .page-numbers.prev::after {
    inset: 0;
    background: linear-gradient(125.27deg, #9100FF 20.71%, #60FEFF 103.86%);
    z-index: -2;
}

.archive-page-title {
    position: relative;
    z-index: 1;
    padding-top: 170px;
    padding-bottom: 80px;
    background-color: #000000;
    overflow: hidden;
    text-align: center;
}

.archive-page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #9100FF 0%, #60FEFF 100%);
    z-index: -1;
    filter: blur(220px);
}

.archive-page-title .page-title-container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1650px) {
    .archive-page-title .page-title-container {
        max-width: 1280px;
    }
}

.archive-page-title .page-title-container h1,
.archive-page-title .page-title-container p {
    color: #fff;
}

.archive-page-title .page-title-container h1 {
    margin: 0 0 20px;
    font-size: 48px;
}

.archive-page-title .archive-search {
    margin-top: 40px;
    max-width: 745px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.archive-page-title .archive-search input {
    width: 100%;
    height: 65px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 0 30px;
    border: 1px solid var(--e-global-color-primary);
    color: #fff;
}

.archive-page-title .archive-search input:focus {
    border: 1px solid var(--e-global-color-primary);
    outline: none;
}

.archive-page-title .archive-search button {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: #fff;
}

@media (max-width: 1200px) {
    .entry-blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .archive-container {
        padding: 100px 20px;
    }
}

@media (max-width: 768px) {
    .entry-blog-posts {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .archive-page-title h1 {
        font-size: 38px;
    }
}

/* Gradient Icon */
.gradient-icon .elementor-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-icon .elementor-icon {
    background: linear-gradient(90deg, #9100FF 0%, #60FEFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    animation: upDown 4s ease-in-out infinite;
}


/* Common Animation */
.img-down-effect img {
    animation: upDown 4s ease-in-out infinite;
}

.img-up-effect img {
    animation: downUp 4s ease-in-out infinite;
}

.img-rotate-effect img {
    animation: rotateHalf 10s ease-in-out infinite;
}

.custom-shape-left-right .designkast-custom-shape {
    animation: shapeLeftRight 18s ease-in-out infinite;
}

.custom-shape-right-left {
    animation: shapeRightLeft 18s ease-in-out infinite;
}

@keyframes upDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(30px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes downUp {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes rotateHalf {
    0% {
        transform: rotate(-15deg);
    }
    25% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-15deg);
    }
}

@keyframes shapeLeftRight {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(100vw - 100%));
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes shapeRightLeft {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(-1 * (100vw - 120%)));
    }
    100% {
        transform: translateX(0);
    }
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.designkas-toc .toc-list {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.designkas-toc .toc-list li {
    margin: 0 0 8px;
}

.designkas-toc .toc-list li:last-child {
    margin: 0;
}

.designkas-toc .toc-list a {
    color: #000;
}

@media (max-width: 1024px) {
    .blog-sidebar {
        position: static;
        top: 0;
    }
}

.hero-video a.ekit_icon_button svg {
    font-size: 45px;
}

.hero-video .ekit-wid-con {
    overflow: hidden;
    border-radius: 15px;
}

.hero-video .ekit-inline-video-content {
    display: flex;
}

.hero-video img {
    object-fit: cover;
    object-position: center;
}
