.header-ai-img {
    -webkit-animation: none;
    animation: none;
}

.header-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-ai-img {
    width: 75%;
}

/* Insta Model */
.ai-logo-detail {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #d4d4ff;
    background-color: var(--color-white);
}

dialog h2 {
    text-decoration: none;
}

/* 
dialog {
padding: 0;
color: var(--color-white);
background: var(--color-box);
width: 100%;
max-width: 340px;
border-radius: 20px;
border: 0;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
-webkit-animation: fadeIn 0.1s ease both;
animation: fadeIn 0.1s ease both;
height: 405px;
} */
/* 
.insta-video-div {
margin: 20px 0 0 0;
width: auto;
max-height: 460px;
position: absolute;
top: -75px;
left: 50%;
transform: translate(-50%, 0px);
overflow: hidden;
} */
dialog {
    padding: 25px 15px;
    color: var(--color-white);
    background: var(--color-primary-bg);
    border-radius: 10px;
    border: 2px solid var(--color-white);
    box-shadow: 0 10px 20px rgb(255 255 255 / 19%), 0 6px 6px rgba(0, 0, 0, 0.23);
    -webkit-animation: fadeIn 0.1s ease both;
    animation: fadeIn 0.1s ease both;
    max-width: 750px;
    /* max-height: 510px;
max-width: 310px;
width: 1000px;
height: 1000px;
overflow: hidden; */
}

dialog::backdrop {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

#InstaVideoModel .fa-times {
    text-shadow: 0px 0px 6px #000000;
}

.insta-video-div {
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-media {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translate(-50%, 0px);
    overflow: hidden;
    max-height: 590px;
    max-width: 450px;
    width: 1000px;
    height: 1000px;
}

.insta-embed-inner-div {
    padding: 16px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    width: 100%;
}

.instaVideoDesc {
    font-size: 14px;
}

.insta-video-loader {
    z-index: -1;
}

#instagramMainDiv {
    max-height: 510px;
    max-width: 320px;
    width: 100%;
    height: 600px;
    overflow: hidden;
    text-align: center;
    margin: 0 16px;
}

@media (max-width: 1000px) {
    #instagramMainDiv {
        max-width: 100%;
    }
}

#instagramVideoDetails {
    border-left: 2px solid var(--color-grey);
    padding-right: 0;
}

#popupFooter {
    position: absolute;
    bottom: 0;
    right: 25px;
}

#instaPopupDesc {
    overflow-y: auto;
    max-height: 400px;
    word-break: break-word;
}

#InstaTopHeading {
    display: none;
}

@media (max-width: 996px) {
    #instagramMainDiv {
        margin: 10px auto 0 auto !important;
    }

    #instagramVideoDetails {
        margin-top: 30px;
        border-left: unset;
    }

    #instaPopupDesc {
        max-height: 100%;
        margin-bottom: 40px;
    }

    dialog {
        max-width: 500px;
        /* max-height: 700px; */
    }

    #InstaTopHeading {
        display: flex;
    }

    #InstaSecHeading {
        display: none;
    }
}

#loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* Insta Model */


/* Instagram Videos list */

.Invideo-section {
    position: relative;
    width: 80%;
    margin: 50px auto 0 auto;
    min-height: 100vh;
    column-gap: 3rem;
    padding-block: min(20vh, 3rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Invideo-section h2 {
    letter-spacing: 0.8px;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1.2;
}

.Invideo-section p {
    font-size: 0.9rem;
    max-width: 680px;
    line-height: 1.6;
    margin-inline: auto;
    margin-top: 10px;
}

.swiper-container {
    position: relative;
}

.swiper {
    width: 100%;
    padding: 60px 0 10px 0;
}

.swiper-slide {
    width: 10rem;
    height: 22rem;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    position: relative;
    border-radius: 12px;
    box-shadow: -1px 5px 15px #0000001f;
    align-items: center;
}

.swiper-slide h3 {
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 0.625rem;
    letter-spacing: 0.8px;
    position: relative;
}

.swiper-slide p {
    color: #fff;
    line-height: 1.6;
    font-size: 0.8rem;
}

.swiper-slide .slide-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
}

.swiper-slide .author {
    grid-template-columns: 1fr;
    justify-items: center;
    position: absolute;
    bottom: -90px;
    width: 100%;
    display: none;
    opacity: 0;
}

.swiper-slide .author span {
    display: block;
    margin: 5px 0 10px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.swiper-slide .author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3.5px solid white;
}

.swiper-slide .author ul {
    display: flex;
    align-items: center;
}

.swiper-slide .author ul li svg {
    width: 20px;
    color: orange;
}

.swiper-slide-active .author {
    display: grid;
    opacity: 1;
}

.swiper-button-prev {
    background: white;
    border-radius: 50%;
    top: 47%;
    left: -30px;
    width: 50px;
    height: 50px;
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.17);
}

.swiper-button-prev::after {
    font-size: 1.4rem;
    content: "";
}

.swiper-button-prev svg {
    width: 25px;
}

.swiper-button-next {
    background: white;
    border-radius: 50%;
    top: 47%;
    right: -30px;
    width: 50px;
    height: 50px;
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.17);
}

.swiper-button-next::after {
    font-size: 1.4rem;
    content: "";
}

.swiper-button-next svg {
    width: 25px;
}

@media (min-width: 760px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: flex;
    }
}


/* Insta Card  */
.insta-videos-list {
    /* margin-top: 30px; */
    display: flex;
    column-gap: 15px;
}

.insta-card {
    /* width: 360px; */
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.32);
    cursor: pointer;
    position: relative;
    transform-origin: center;
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* margin: 0 16px 0 0; */
}

.insta-card:last-child {
    margin: 0;
}

.insta-card:hover {
    transform: scale(1.05);
}

.insta-card .content {
    padding: 40px 24px 48px 24px;
    position: relative;
}

.insta-card .content p {
    margin: 0;
    padding: 0;
    transition: all 0.9s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.insta-card .content .instaVideoDesc {
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insta-card.split {
    height: 480px;
    background: rgba(22, 22, 22, 0.8);
}

.insta-card.split:before {
    content: "";
    width: 100%;
    height: 0;
    background: #f3f3f3;
    position: absolute;
    bottom: 0;
    transform-origin: bottom;
    transition: all 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.insta-card.split:hover:before {
    height: 277px;
}

.insta-card.split .image {
    display: block;
    position: relative;
}

.insta-card.split .image img {
    width: 100%;
    height: auto;
}

.insta-card.full {
    border-radius: 10px;
    height: 100%;
    width: 210px;
    background: #161616;
    overflow: hidden;
    border: 1px solid var(--color-grey);
}

.insta-card.full .content {
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0;
    bottom: 13px;
    padding: 0 10px;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.insta-card.full:hover .content {
    bottom: 20px;
}

/* .insta-card.full:hover .content p.copy {
-webkit-line-clamp: 5;
} */
.insta-card.full:hover .play-button {
    visibility: visible;
    opacity: 1;
}

/* .insta-card.full .image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
} */

.insta-card.full .image img {
    height: 100%;
    /* width: auto; */
}

.insta-card.full .image:before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 100%);
    position: absolute;
}

.insta-card .content h3 {
    font-size: 20px;
}

.insta-user-logo {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.insta-user-info {
    display: flex;
    align-items: center;
    column-gap: 6px;
    margin-bottom: 5px;
}

.insta-user-info span {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

dialog h2 {
    text-decoration: none;
}

.play-button {
    position: absolute;
    /* width: 50px;
height: 50px;
background-color: transparent;
border: 2px solid var(--color-white);
border-radius: 50%;
margin: 0;
box-shadow: 1px 0px 15px 3px #0e0e0e52; */
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    font-size: 45px;
}

.swiper-next {
    position: absolute;
    right: 0;
    top: 50%;
    font-size: 25px;
    cursor: pointer;
    transform: translate(10px, -50%);
    z-index: 111;
}

.swiper-prev {
    position: absolute;
    left: 0;
    top: 50%;
    font-size: 25px;
    cursor: pointer;
    transform: translate(-10px, -50%);
    z-index: 111;
}

.swiper-button-disabled {
    display: none;
}

/* Insta Card  */
/* Instagram Videos list */