/************************************/
/***  all services pages Start  ***/
/************************************/

.service-details {
    position: relative;
    padding: 120px 0 80px
}

.service-details {
    position: relative;
    padding: 80px 0;
}

.service-details::before {
    content: '';
    display: block;
    position: absolute;
    left: -20px;
    top: 80px;
    background: url(../images/section-bg-shape-2.png) no-repeat;
    background-position: left top;
    background-size: contain;
    width: 250px;
    height: 250px;
    opacity: 50%;
    animation: circlerotate 10s infinite linear;
    animation-direction: alternate;
    z-index: -1;
}

@keyframes circlerotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(150%) rotate(360deg);
    }
}

.our-details-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.details-list-item {
    width: calc(50% - 15px);
    position: relative;
    background: url(../images/details-list-item-bg.svg) no-repeat;
    background-position: top left;
    background-size: auto;
    border: 1px solid var(--divider-color);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    border-radius: 30px;
    padding: 30px 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.details-list-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--secondary-color);
    opacity: 0.4;
    z-index: -1;
    transition: opacity 0.4s ease;
}



.details-list-item::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: #959799; */
    background: var(--primary-color);
    transform: translateY(100%);
    z-index: -2;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-list-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px)
}

.details-list-item:hover::after {
    transform: translateY(0);
}

.details-list-item:hover::before {
    opacity: 0;
}

.details-list-item:hover .detail-item-content h3,
.details-list-item:hover .detail-item-content p,
.details-list-item:hover {
    color: var(--accent-color) !important;
}

/* Content styles */
.detail-item-content h3 {
    position: relative;
    font-size: 20px;
    text-transform: capitalize;
    margin-bottom: 20px;
    padding-left: 25px;
    color: inherit;
    transition: color 0.3s ease;
}

.detail-item-content h3::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    background: url(../images/icon-sub-heading.svg) no-repeat;
    background-position: left center;
    background-size: cover;
    width: 18px;
    height: 18px;
}

.detail-item-content h3 span {
    font-size: 16px;
    font-weight: 400;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.detail-item-content p {
    margin-bottom: 0;
    color: inherit;
    transition: color 0.3s ease;
}

.detail-item-btn {
    margin-top: 20px;
}

.detail-item-btn a {
    display: inline-block;
}

/************************************/
/***  all services pages Start  ***/
/************************************/

/************************************/
/***     AI Applications Start    ***/
/************************************/
.section-title h2 {
    font-size: 50px;
    font-weight: 300;
    line-height: 1.2em;
    color: var(--primary-color);
    margin-bottom: 0;
    cursor: none
}

.project-single-image {
    position: relative;
}

.project-single-image figure {
    width: 100%;
    margin: 0;
    position: relative;
}

.project-single-image .cover-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.project-single-image .cover-logo img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1240px) {
    .project-single-image .cover-logo img {
        width: 60%;
        /* Adjust image size for smaller screens */
        margin-top: 60px;
    }
}

/* Responsive Design */
@media (max-width: 1070px) {
    .project-single-image .cover-logo img {
        width: 50%;
        /* Adjust image size for smaller screens */
        margin-top: 60px;
    }
}

/* Responsive Design */
@media (max-width: 990px) {
    .project-single-image .cover-logo img {
        width: 100%;
        /* Adjust image size for smaller screens */
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .project-single-image .cover-logo p {
        font-size: 1.6rem;
    }

    .project-single-image .cover-logo img {
        width: 60%;
        /* Adjust image size for smaller screens */
        margin-top: 0px;
    }
}

@media (max-width: 480px) {
    .project-single-image .cover-logo p {
        font-size: 1rem;
    }

    .project-single-image .cover-logo img {
        width: 70%;
        /* Further adjust image size for smaller screens */
    }
}

.technology-card {
    width: calc(20% - 20px);
    background: rgb(255 255 255 / .1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 0;
    text-align: left;
    box-shadow: rgb(0 0 0 / .15) 0 5px 15px;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    align-items: center
}


.tools-technologies {
    padding: 80px 0;
}

.tools-box {
    position: relative;
    background: url('../images/why-choose-box-bg.svg') no-repeat;
    background-position: top left;
    background-size: auto;
    border: 1px solid var(--divider-color);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    border-radius: 30px;
    padding: 20px;
    /* margin-bottom: 60px; */
    overflow: hidden;
}

.tools-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    opacity: 40%;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.tools-box:last-child {
    margin-bottom: 0;
}

/* .tools-box .icon-box {
	margin-bottom: 20px;
}

.tools-box .icon-box img {
    max-width: 40px;
    transition: all 0.4s ease-in-out;
    filter: none;
    color: var(--primary-color);
}

.tools-box:hover .icon-box img {
	filter: brightness(0) invert(1);
	transform: rotateY(180deg);
} */

.tools-box-content h3 {
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.tools-box-content p {
    margin: 0;
}

.tools-images {
    position: relative;
    margin: 0 10px;
}

.tools-circle {
    position: relative;
    z-index: 1;
}

.tools-circle img {
    animation: infiniterotate 30s infinite linear;
}

@keyframes infiniterotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tools-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 365px;
    transform: translate(-50%, -50%);
}

.tools-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 650px) {

    .tools-box {
        margin-bottom: 15px;
    }

}

.about-agency {
    position: relative;
    padding: 160px 0 80px
}

.about-agency::before {
    content: "";
    display: block;
    position: absolute;
    left: -120px;
    top: 50%;
    background: url(../images/about-agency-bg.png) no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 50%;
    width: 386px;
    height: 400px;
    animation: circlerotate 20s infinite linear;
    z-index: -1
}

@keyframes circlerotate {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.about-agency-content {
    position: sticky;
    top: 100px;
    padding-right: 35px
}

.about-agency-list {
    border-left: 1px solid var(--divider-color);
    display: flex;
    flex-wrap: wrap;
    gap: 50px 30px;
    padding-left: 50px
}

.about-agency-item {
    width: 100%
}

.about-agency-item .icon-box {
    margin-bottom: 20px
}

.about-agency-item .icon-box img {
    max-width: 40px
}

.agency-item-content h3 {
    position: relative;
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 10px
}

.agency-item-content h3:after {
    content: "";
    position: absolute;
    top: 0;
    left: -60px;
    background: url(../images/dot-green-icon.svg) no-repeat;
    background-position: left center;
    background-size: cover;
    width: 20px;
    height: 20px
}

.agency-item-content p:last-child {
    margin: 0
}

.extended-details {
    position: relative;
    padding: 80px 0;
}

.extended-details-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px 60px;
}


.extended-details-image {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.extended-details-img {
    width: 49%;
}

/* .extended-details-img figure {
    display: block;
    border-radius: 20px;
} */

.extended-details-img img {
    width: 100%;
    aspect-ratio: 1 / 1.4;
    object-fit: cover;
    border: 6px solid var(--accent-color);
    border-radius: 20px;
}

.extended-details-list {
    width: 51%;
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 0 20px 20px 0;
}

.extended-details-list-item {
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.extended-details-list-item:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
}

.extended-details-list-item h3 {
    color: var(--text-color);
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.extended-details-list-item p {
    color: var(--text-color);
    margin: 0;
}

.extended-details-img figure {
    display: block;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.image-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
    padding: 20px;
    text-align: center;
}

.extended-details-img figure:hover .image-hover-content {
    opacity: 1;
}

.hover-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    opacity: 0;
}

.hover-subtitle {
    font-size: 18px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
    opacity: 0;
}

.extended-details-img figure:hover .hover-title,
.extended-details-img figure:hover .hover-subtitle {
    transform: translateY(0);
    opacity: 1;
}

.extended-details-img img {
    transition: transform 0.5s ease;
}

.extended-details-img figure:hover img {
    transform: scale(1.05);
}

@media (max-width: 650px) {
    .extended-details-box {
        flex-direction: column;
    }

    .extended-details-image {
        flex-direction: column;
        align-items: flex-start;
    }

    .extended-details-img img,
    .extended-details-img figure {
        border-radius: 20px 20px 0 0;
    }


    .extended-details-img,
    .extended-details-list {
        width: 100%;
    }

    .extended-details-list {
        border-radius: 0 0 20px 20px;
    }

    .extended-details-img img {
        aspect-ratio: auto;
    }
}


.business-impact {
    position: relative;
    padding: 80px 0;
}

.business-impact::before {
    content: '';
    display: block;
    position: absolute;
    right: -90px;
    top: 50%;
    background: url(../images/ai-business-impact-bg-shape.png) no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 50%;
    width: 310px;
    height: 325px;
    animation: circlezoomrotate 10s infinite linear;
    animation-direction: alternate;
    z-index: -1;
}

@keyframes circlezoomrotate {
    from {
        transform: rotate(0deg) scale(0.5);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

.case-study-features {
    position: relative;
    padding: 80px 0;
}

.case-study-features::before {
    content: '';
    display: block;
    position: absolute;
    right: -90px;
    top: 50%;
    background: url(../images/case-study-bg-shape.png) no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 50%;
    width: 300px;
    height: 285px;
    animation: squrerotate 5s infinite linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: -1;
}

.case-study-box {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.case-study-item.case-study-item-long {
    width: calc(60% - 30px);
}

.case-study-item.case-study-item-short {
    width: calc(40% - 30px);
}

.case-study-item {
    position: relative;
    padding: 60px;
    border: 1px solid var(--divider-color);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    border-radius: 30px;
    overflow: hidden;
}

.case-study-item::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--secondary-color);
    opacity: 40%;
    z-index: 0;
}

.case-study-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 40px;
    z-index: 1;
}

.case-study-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
    transition: all 0.4s ease-in-out;
}

.case-study-item.case-study-item-long .case-study-image img {
    aspect-ratio: 1 / 0.46;
}

.case-study-item.case-study-item-short .case-study-image img {
    aspect-ratio: 1 / 0.72;
}

.case-study-item:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    position: relative;
    z-index: 1;
}

.case-study-content h3 {
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.case-study-content p {
    margin: 0;
}


.business-benefits-content {
    margin-right: 30px;
}

.business-benefit-item {
    position: relative;
    border: 1px solid var(--divider-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 15px 20px;
}

.business-benefit-item:last-child {
    margin-bottom: 0;
}

.business-benefit-item::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    width: 0;
    height: 100%;
    transition: all 0.4s ease-in-out;
}

.business-benefit-item.active:before,
.business-benefit-item:hover:before {
    width: 100%;
}

.business-benefit-item h3 {
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.business-benefit-item p {
    margin: 0;
}

.business-impact-image figure {
    display: block;
    border-radius: 30px;
    overflow: hidden;
}

.business-impact-image img {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    object-fit: fill;
    border-radius: 30px;
}


/************************************/
/***     AI Applications End      ***/
/************************************/

/************************************/
/***  Responsive Styles  ***/
/************************************/

/* For tablets and smaller desktops (768px - 1024px) */
@media (max-width: 1024px) {
    .service-details {
        padding: 70px 0;
    }

    .details-list-item {
        padding: 25px 15px;
    }

    .detail-item-content h3 {
        font-size: 18px;
    }
}

/* For small tablets (650px - 768px) */
@media (max-width: 768px) {
    .service-details::before {
        width: 200px;
        height: 200px;
    }

    .our-details-list {
        gap: 20px;
    }

    .details-list-item {
        width: calc(50% - 10px);
        padding: 20px 15px;
    }
}

/* For mobile devices (below 650px) */
@media (max-width: 650px) {
    .service-details {
        padding: 60px 0;
    }

    .service-details::before {
        width: 150px;
        height: 150px;
        top: 40px;
    }

    .our-details-list {
        flex-direction: column;
        gap: 15px;
    }

    .details-list-item {
        width: 100%;
        padding: 25px 20px;
    }

    .detail-item-content h3 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .detail-item-content h3 span {
        font-size: 15px;
    }
}

/* For very small mobile devices (below 400px) */
@media (max-width: 400px) {
    .service-details {
        padding: 50px 0;
    }

    .details-list-item {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .detail-item-content h3 {
        font-size: 17px;
        padding-left: 22px;
    }

    .detail-item-content h3::before {
        width: 16px;
        height: 16px;
    }

    .detail-item-btn a img {
        max-width: 30px;
    }
}