/*
 Theme Name:   Apptechies Theme
 Theme URI:    https://apptechies.com
 Description:  A child theme for Twenty Twenty-Five
 Author:       Apptechies
 Author URI:   https://apptechies.com
 Template:     twentytwentyfive
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  apptechies-theme
*/

/* Add your custom styles below this line */

/* Critical layout stability - prevent main content shift */
#main-content {
    min-height: 100vh;
    contain: layout style;
}



/* Self-hosted Google Fonts - No external requests! */
/* Hero fonts preloaded for LCP optimization */
@font-face {
    font-family: 'Mulish';
    src: url('./assets/fonts/mulish.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('./assets/fonts/poppins.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* Deferred fonts for forms/footer */
@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/roboto.woff2') format('woff2');
    font-weight: 400 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karantina';
    src: url('./assets/fonts/Karantina-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Karantina';
    src: url('./assets/fonts/Karantina-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Karantina';
    src: url('./assets/fonts/Karantina-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mulish', sans-serif;
}

:focus-visible {
    outline: 0;
}

/* Isolate carousel layout to reduce reflow impact */
.owl-carousel {
    content-visibility: auto;
    contain: layout paint style;
}
.owl-carousel .owl-stage {
    will-change: transform;
}

/* Hero layout stability - prevent CLS from background image */
.hero-section {
    min-height: 640px;
    position: relative;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 375px 640px;
}
@media (min-width:768px){
    .hero-section{
        min-height: 720px;
        contain-intrinsic-size: 768px 720px;
    }
}
@media (min-width:1024px){
    .hero-section{
        min-height: 84vh;
        contain-intrinsic-size: 1024px 700px;
    }
}

.hero-bg-wrapper { 
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: #0a0a0a;
    pointer-events: none;
    contain: strict;
    content-visibility: auto;
}
.hero-bg-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-grid {
    min-height: 480px;
}
@media (min-width:768px){
    .hero-grid{
        min-height: 560px;
    }
}
@media (min-width:1024px){
    .hero-grid{
        min-height: clamp(500px, 60vh, 700px);
    }
}

.hero-illustration {
    width: 100%;
    max-width: 24rem;
    aspect-ratio: 492 / 461;
    margin: 0 auto;
    contain: size layout;
    min-height: 296px;
}
@media (min-width:768px){
    .hero-illustration{
        max-width: 28rem;
        min-height: 346px;
    }
}
@media (min-width:1024px){
    .hero-illustration{
        max-width: 30rem;
        min-height: 369px;
    }
}
@media (min-width:1280px){
    .hero-illustration{
        min-height: 461px;
    }
}

/* Reserve nav space to reduce font swap shift */
header.sticky {min-height:96px;}
header.sticky nav ul {min-height:36px;}
header nav {
    min-height: 60px;
}
header nav ul {
    min-height: 40px;
}
header nav ul li {
    min-height: 40px;
}

.apptechies-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.composite-transition {
    transition-property: transform, opacity, box-shadow;
    transition-duration: 220ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.composite-transition:focus-visible {
    outline: 2px solid var(--primary, #c2e521);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .composite-transition {
        transition-duration: 0ms;
    }
}


p {
    font-family: 'poppins', sans-serif;
    line-height: 1.8em !important;
}

.app-btn{
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    /* border-radius: 50px; */
}

.app-arrow {
    animation: smoothMove 1.8s ease-in-out infinite;
}

@keyframes smoothMove {
    0% {
    transform: translateX(0);
    }
    50% {
    transform: translateX(10px);
    }
    100% {
    transform: translateX(0);
    }
}

.widget-title:after {
    position: absolute;
    content: "";
    height: 4px;
    width: 58px;
    left: 0;
    bottom: -15px;
    background: var(--primary);
    border-radius: 6px;
}



.industries-item {
    border-radius: 30px !important;
    border: 0 !important;
    background-image: image-set(
        url(./assets/images/industries-bg-item.webp) type('image/webp'),
        url(./assets/images/industries-bg-item.png) type('image/png')
    );
    background-size: cover;
    background-repeat: round;
    padding: 38px !important;
    margin: 0 9px;
}

.list-industry li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url('./assets/images/righttick.png');
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
}
/* Roadmap-style */

.step-radio {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
}

.roadmap-steps-label {
    cursor: pointer;
    width: 90px;
    min-height: 480px;
    background: linear-gradient(to bottom, #292C23 1%, #191919 99%);
    border-radius: 50px;
    position: relative;
    text-align: start;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.outter-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 20px;
    font-family: "Mulish", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #aaa;
    margin: 0;
}

.roadmap-steps-container .outer-circle {
    /* width: 80px;
    height: 80px; */
    background-image: linear-gradient(#292C23, #292C23),
        linear-gradient(90deg, #BBDD20, #FFFFFF, #BBDD20);
    background-origin: border-box;
    background-clip: content-box, border-box;
    border: 1px solid transparent;
    /* color: #fff;
    font-size: 30px;
    display: flex;
    font-weight: 700;
    line-height: 80px; */
    border-radius: 50%;
    /* align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 6px;
    left: 5px; */
} 

.roadmap-steps-content {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

/* .roadmap-steps-content p {
    color: #B7B7B7;
    font-size: 18px;
    font-weight: 300 !important;
    line-height: 30px;
    font-family: "Poppins", sans-serif;
    padding-bottom: 30px;
    margin: 0 !important;
} */

.about-more {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.inner-heading {
    font-size: 22px;
    font-weight: 700 !important;
    color: #BBDD20;
    padding: 10px 0px;
    margin: 0 !important;
    white-space: nowrap;
}

.about-roadmap {
    padding: 25px 0px;
}

.about-roadmap img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

input[name="step"]:checked+.roadmap-steps-label {
    width: 650px;
    padding: 35px;
    display: block;
    border-radius: 30px;
    position: relative;
}

input[name="step"]:checked+.roadmap-steps-label::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid transparent;
    background-image: linear-gradient(#2A2929, #2A2929), linear-gradient(to top left, #C2E521, #201E1E, #C2E521);
    background-origin: border-box;
    background-clip: content-box, border-box;
    border-radius: 28px;
    z-index: 1;
}

input[name="step"]:checked+.roadmap-steps-label .roadmap-steps-content {
    position: relative;
    z-index: 2;
    display: flex;
}

input[name="step"]:checked+.roadmap-steps-label .inner-circle {
    width: 85px;
    height: 85px;
    background-image:
        linear-gradient(  #343131, #322f2f),
        linear-gradient(to left , #201E1E, #777777);
    background-origin: border-box;
    background-clip: content-box, border-box;
    border: 2px solid transparent;
    color: #fff;
    font-size: 30px;
    display: flex;
    font-weight: 700;
    line-height: 80px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
}

input[name="step"]:checked+.roadmap-steps-label .outter-title {
    display: none;
}

.roadmap-steps-label:focus-visible {
    outline: 2px solid rgba(187, 221, 32, 0.8);
    outline-offset: 2px;
}
@media(max-width:1600px){
    
    input[name="step"]:checked+.roadmap-steps-label {
    width: 400px;
}
.roadmap-steps-label {
    width: 75px;
    min-height: 473px;
}
.roadmap-steps-container .outer-circle {
    width: 65px;
    height: 65px;
    font-size: 24px;
}
.about-roadmap {
    padding: 10px 0px;
}
.inner-heading {
    font-size: 18px;
}
.about-roadmap img {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
}
.roadmap-steps-content p {
    padding-bottom: 15px;
}
input[name="step"]:checked+.roadmap-steps-label .inner-circle {
    width: 60px;
    height: 60px;
    font-size: 22px;
    margin-bottom: 10px;
    margin-left: -10px;
}
    .outter-title {
    writing-mode: vertical-rl;
    font-size: 18px;
    font-weight: 800;
}
}
@media (max-width: 1400px){
    .roadmap-steps-container {
    gap: 15px;
}
} 


@media (max-width: 1200px) {
    .digital-container {
        width: 95%;
    }

    .roadmap-steps-container {
        width: 100%;
        padding: 30px 10px;
        align-items: center;
    }

    .roadmap-steps-label {
        width: 100%;
        min-height: 88px;
        padding: 20px;
        border-radius: 50px;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .roadmap-steps-container .outer-circle {
        top: 10px;
        left: 7px;
        margin-bottom: 10px;
    }

    .outter-title {
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        font-size: 18px !important;
        font-weight: 800 !important;
    }

    input[name="step"]:checked+.roadmap-steps-label {
        width: 100%;
        padding: 25px;
        border-radius: 20px;
    }

    input[name="step"]:checked+.roadmap-steps-label::before {
        border-radius: 18px;
    }

    input[name="step"]:checked+.roadmap-steps-label .roadmap-steps-content {
        display: flex !important;
        align-items: flex-start;
        margin-top: 10px;
    }

    .inner-circle {
        margin-bottom: 10px;
    }

    .inner-heading {
        white-space: normal;
    }
}

@media (max-width: 650px) {
    .digital-container {
        width: 100%;
    }
    .roadmap-steps-container .outer-circle {
        width: 70px;
        height: 70px;
        top: 10px;
        left: 9px;
        margin-bottom: 0px;
    }

    .outter-title {
        font-size: 18px !important;
    }

    .roadmap-steps-label {
        padding: 20px 10px 20px 85px;
    }
}

@media (max-width: 400px) {
    .outter-title {
        font-size: 16px !important;
        font-weight: 400 !important;
    }
}

/* Header dropdown menu button styles */
header nav button[aria-haspopup="true"] {
    color: inherit;
    font: inherit;
    padding: 0;
}

header nav button[aria-haspopup="true"]:hover {
    color: #d1d5db;
}

/* education css */
.custom-transition {
  transition:
    background 0.3s,
    border 0.3s,
    border-radius 0.3s,
    box-shadow 1.7s;
}

/* testimonial style */
.testimonial-image-wrapper {
    position: relative;
    z-index: 1;
}

/* .testimonial-image-wrapper::after {
    content: "";
    position: absolute;
    display: inline-block;
    background-image: url('./assets/images/testimonials_icon_Left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    height: 160px;
    margin: auto;
    bottom: -100px;
    z-index: -1;
    opacity: 1;
    transform: translate(-50%, 50%);
} */

.testimonial-image-wrapper::before {
    position: absolute;
    width: 108%;
    height: 54%;
    content: "";
    left: -4px;
    bottom: -3px;
    z-index: -1;
    background-color: #C2E521;
    transition: .5s;
}

.testimonial-item:hover .testimonial-image-wrapper::before {
    height: 107%;
    transform: scaleY(1);
}

.testimonial-item {
    position: relative;
    overflow: visible;
}

.testimonial-item::after {
    content: "";
    width: 30%;
    height: 4px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    opacity: .3;
    transition: all 1s ease;
    background: #C2E521;
    z-index: 1;
}

.testimonial-item:hover::after {
    width: 100%;
    opacity: 1;
    /* NOT 0 */
    background: #C2E521;
}

.build-slider .owl-stage {
  margin-top: 44px;
}

/* grocery-slider */
.patient-sec {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: auto;
}

.patients-wrapper {
    display: flex;
    gap: 50px;
    height: 100%;
    width: 100%;
}

.swiper-container {
    width: 800px;
    height: 800px;
    overflow: hidden;
}

.patients-slider-item img {
    max-width: 100%;
    height: auto;
    object-position: center;
    overflow: hidden;
    object-fit: cover;
}

.patients-slider-banner .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}


.patients-slider-banner img {
    max-height: 90%;
}

.itms-detail {
    font-size: 45px;
    font-weight: 900;
    color: #FFFFFF33;
    display: flex;
    text-align: center;
    padding: 10px 30px 10px 10px;
    white-space: nowrap;
    transition: background 0.5s, color 0.3s;
}

.patients-slider-left {
    width: 200px;
}

.patients-slider-center .itms-detail.active {
    color: #C2E521;
    text-align: start;
    
}

.patients-slider-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    gap: 20px;
}

.patients-slider-center {
    --thumb-top: 0px;
    --thumb-height: 40px;
    position: relative;
}

.patients-slider-center::before {
    content: '';
    position: absolute;
    top: 150px;
    right: -45px;
    width: 3px;
    height: 500px;
    background: #fff;
    border-radius: 3px;
    z-index: 1;
}

.patients-slider-center::after {
    content: '';
    position: absolute;
    right: -45px;
    width: 3px;
    top: var(--thumb-top);
    height: 110px;
    background: #C2E521;
    border-radius: 10px;
    transition: top 0.4s;
    z-index: 2;
}
    .swiper-container::-webkit-scrollbar {
    display: none;
}

.swiper-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: hidden;
}


.patients-slider-left .swiper-wrapper {
    display: inline-block !important;
}

@media(max-width:1620px) {
    .itms-detail {
        font-size: 40px;
        padding: 10px 45px 10px 10px;
    }

    .patients-slider-center {
        gap: 30px;
    }
        .swiper-container {
    height: 500px;
}
    .patients-slider-center::before {
    height: 400px;
    top: 95px;
}

.patients-slider-center::after {
    height: 100px;
}
.patients-slider-item img {
    object-fit: contain;
}
}

@media(max-width:1400px) {
    .patients-slider-left .swiper-container {
        width: 200px;
        height: 400px;
    }

    .patients-slider-banner img {
        max-height: 100%;
        object-fit: cover;
        width: 100%;
    }
}

@media(max-width:1200px) {
    .patients-slider-left .swiper-container {
        width: 100px;
        height: 500px;
    }
}

@media(max-width:1100px) {
    .swiper-container {
        width: 400px;
        height: 400px;
    }

    .patients-slider-left {
        display: none;
    }

    .itms-detail {
        font-size: 30px;
        padding: 15px;
    }

    .patients-slider-item img {
        margin-top: 0px;
    }

    .patients-slider-center {
        gap: 1px;
    }

    .patients-slider-center::before {

        top: 10px;
        height: 372px;
    }
}

@media (max-width: 800px) {
    .patients-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .patients-slider-left,
    .patients-slider-right,
    .patients-slider-center {
        width: 100%;
    }

    .patients-slider-center {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        order: 1;
    }

    .itms-detail {
        flex: 1 1 45%;
        margin: 5px;
        font-size: 14px;
    }

    .patients-slider-right {
        order: 2;
    }
    .itms-detail {
        padding: 10px;
    }

    .patients-slider-center::before {
        display: none;
    }

    .patients-slider-center::after {
        display: none;
    }
}

/* taxi app development */
.choose-slider .owl-stage {
  margin-top: 30px;
}




    /* scrolerbar-portfolio page */
    #tabList::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    border-radius: 5px;
    }
    #tabList::-webkit-scrollbar-thumb {
    background: #84cc16; /* your primary color */
    border-radius: 15px;
    }
    #tabList::-webkit-scrollbar-track {
    background: transparent;
    }
    #tabList::-webkit-scrollbar-button {
    display: block;
    }

    /* portfolio-img-slider */
    .portfolio-slider-wrapper {
    -webkit-mask-image:
        linear-gradient(to right, transparent, black 20%, black 80%, transparent),
        linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    }

    /* Create automatic duplicate copy without HTML */
    .port-track::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%; /* places the clone right after original */
    height: 100%;
    width: 100%;
    background: inherit; /* copies items visually */
    background-size: contain;
    }

/* Roadmap icon - inline data URI to eliminate 7 duplicate HTTP requests */
.roadmap-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAABECAMAAADgDwi+AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAACRQTFRFR3BMv98gweMgv+QgwuMgwuIgwuUgweQgwuUgwuYhwuUgwuUhTgzzXwAAAAt0Uk5TABAfMEBQZICavN3J+pEJAAABUklEQVR42u3X4WrFIAxA4Wi9GnPe/3037uBmaqHEwmDQ868tfNgIlcofV6r27/SVZLtqfNIsW+XOUJWNXvxkZvyku0gv74EcaltMBrDi1wrQJJYBNgy0ARSJVD+Ip0CXsdT6Sc2XwiFTtiym4q27eZyOsgB6jUDxxy9ZAky8ZAC2luVdB5Is6Xj75cM7rYPJWgPyeHlIWKlAmdA95QgpyMVcrpUGlAv8WilAk7kM9ICSONtqBWpAkQboyQJNIkpieadsQA0pUmemGKASU0QBrA4fKSwHFGew3mrTDjgTUaQxpuaMK8GjpEp2ZlCuKmoAWK9JxJlZuS6XnOSdM3HFc+aW4swtxRlXbjGu3GJcucMkV/YZlU0lJ2dUdpVizsi+gjN3FGduKdRHeZRHeZRH+edKBVSiKVDmf25tsTpMx1pnrya/S8ZOKlMt7liVtRxs3tQvQAwn8wBEA2kAAAAASUVORK5CYII=');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Match responsive sizing from .about-roadmap img */
@media (max-width: 767px) {
  .roadmap-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
  }
}

/* Height reservations to prevent CLS from below-fold sections */
/* Reserve space for key sections to stabilize layout during load */
section {
  min-height: 100px; /* Base minimum for all sections */
}

/* Hero section already has proper min-height in critical CSS */
.hero-section {
  /* Already defined in critical CSS: 640px mobile, 720px tablet, 84vh desktop */
}

/* Blogs section - reserve height for card grid */
.blogs-section {
  min-height: 400px; /* Mobile */
}

@media (min-width: 768px) {
  .blogs-section {
    min-height: 500px; /* Tablet */
  }
}

@media (min-width: 1024px) {
  .blogs-section {
    min-height: 600px; /* Desktop */
  }
}

/* for testimonial page(testimonial-slider) */
.slider-nav .slick-current img {
    transform: scale(1.2); 
    opacity: 1;
  }

/* ai */
.thinknext-heading {
    position: relative;
    display: inline-block;
    z-index: 3;
    border: 2px solid transparent;
    background-image: linear-gradient(#201e1e,#201e1e) , linear-gradient(to top left,#777,#201e1e,#777);
    background-origin: border-box;
    background-clip: content-box , border-box;
}

.ai-nextlevel {
  display: flex;
  align-items: stretch;
  overflow-x: hidden;
  gap: 20px;
  margin: auto;
  justify-content: center;
  background-size: 100% 100%;
  padding: 150px 30px;
  min-height: 700px;
  height: auto;
}

.read-btnai,
.read-more {
  text-decoration: none;
  display: inline-block;
}

.ai-nextlevel .tab:focus-within {
  background-color: #333;
  flex: 0 0 335px;
  writing-mode: horizontal-tb;
  position: relative;
  text-align: center;
  backdrop-filter: blur(77px);
}

.ai-nextlevel .tab .title {
  color: #fff;
  text-align: center;
  font-family: Mulish, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  transform: rotate(180deg);
}

.ai-nextlevel .tab .content {
  display: none;
  font-weight: 400;
}

.heading-ai img {
  display: none;
  margin: auto;
}

.ai-nextlevel .tab.active .content,
.ai-nextlevel .tab:focus-within .content {
  display: block;
  opacity: 1;
  visibility: visible;
}

.read-more {
  margin-top: 20px;
  padding: 6px 12px;
  color: #fff;
  border: 1px solid #c6ff00;
  font-size: 13px;
}

.read-more:hover {
  background-color: #c6ff00;
  color: #000;
}

.ai-nextlevel .tab button {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.ai-nextlevel .tab:focus-within .tab-next-level {
  padding: 20px;
}

.btn-ainextlevel {
  position: relative;
  padding: 10px 30px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border: 1px solid #fff;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  box-shadow: inset 0 0 0 1px #fff;
}

.btn-ainextlevel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  box-sizing: border-box;
}

.btn-ainextlevel:hover::before {
  opacity: 1;
  animation: 1s linear forwards shine;
}

@keyframes shine {
  0%,
  100% {
    box-shadow: 0 0 0 #fff;
  }
  50% {
    box-shadow: 0 0 6px #fff;
  }
}

.read-btnai {
  color: #fff;
  padding: 10px 25px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  border-image: linear-gradient(
    to bottom,
    #fff 0%,
    #353434 20%,
    #353434 80%,
    #fff 100%
  );
  border-image-slice: 1;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.read-btnai::after {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s;
  z-index: 1;
}

.read-btnai:hover {
  border: 2px solid #fff;
}

.read-btnai:hover::after {
  left: 120%;
}

.ai-nextlevel .tab {
  flex: 0 0 70px;
  min-height: auto;
  height: auto;
  max-height: none;
  background-color: #222;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  outline: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid transparent;
  background-image: linear-gradient(#353434, #353434),
    linear-gradient(to top left, #777, #201e1e, #777);
  background-origin: border-box;
  background-clip: content-box, border-box;
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
}

.ai-nextlevel input[type="radio"]:checked + .tab,
.ai-nextlevel .tab:focus-within {
  flex: 0 0 280px;
  writing-mode: horizontal-tb;
  display: block;
  border: 3px solid transparent;
  background-image: linear-gradient(#353434, #353434),
    linear-gradient(to top left, #c2e521, #201e1e, #c2e521);
  background-origin: border-box;
  background-clip: content-box, border-box;
  backdrop-filter: blur(77px);
}

.ai-nextlevel input[type="radio"]:checked + .tab .content,
.ai-nextlevel .tab:focus-within .content {
  display: block;
  opacity: 1;
  visibility: visible;
  position: relative;
  top: 0;
}

.tab-next-level {
  padding: 20px;
  position: relative;
}

.ai-nextlevel .tab .content {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
  color: #b7b7b7;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
  margin: 15px 0px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.ai-nextlevel .tab .content p {
  margin: 20px 0 30px;
  font-size: 14px;
  padding: 20px 0px;
  text-align: center;
}

.text-less-ai {
  max-height: 170px;
  overflow: hidden;
}

.text-less-ai.expanded {
  max-height: 1000px;
}

.linear-tabs {
    position: relative
}

.ai-nextlevel input[type="radio"]:checked + .tab .title {
   display: none;
}

.inner-title {
  color: #C2E521;
  margin-top: -40px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-family: Mulish, sans-serif;
}

.heading-ai img {
  display: none;
  margin: auto;
}

.ai-nextlevel .tab:focus-within .heading-ai img,
.ai-nextlevel input[type="radio"]:checked + .tab .heading-ai img {
  display: block;
}

.ai-nextlevel .tab:focus-within .title {
    display: none;
}
 
.next-heading {
    color: #C2E521;
    position: relative;
    display: inline-block;
    padding : 0 20px;
    z-index: 3;
}

.next-heading::before{
    content: "";
    position: absolute;
    border: 3px solid transparent;
    background: linear-gradient(#201E1E, #201E1E)padding-box, linear-gradient(to top left , #777777, #201E1E, #777777)border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    max-height: 65px;
    z-index: -1;
}

.tech-heading{
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    background-image: linear-gradient(#353434,#353434),linear-gradient(to top left,#777,#201e1e,#777);
    background-origin: border-box;
    background-clip: content-box,border-box;
    backdrop-filter: blur(10px);
    min-height: 80px;
}

@media (max-width: 1700px){
    .next-suc::after, .next-suc::before{
        display: none;
    }
}

@media (max-width: 1400px) {
  
  .linear-tabs::before, .linear-tabs::after{
      display: none;
  }
}

@media(max-width:1200px){
    .linear-tabs {
      background-image: 
      linear-gradient(#201E1E, #201E1E), 
      linear-gradient(to bottom left, #C9FA49 , #201E1E ) !important;
    background-origin: border-box !important;
    background-clip: content-box, border-box !important;
    border: 3px solid transparent !important;
    border-radius: 30px;
  }
    
    .ai-nextlevel .tab .title {
    font-size: 20px;
    line-height: 27px;
    margin: 0;
    transform: rotate(0deg) !important;
    }
  
   .ai-nextlevel {
    flex-direction: column;
    padding: 20px !important;
    gap: 20px;
    align-items: stretch;
    background-image:unset !important;
  }

  .ai-nextlevel .tab {
    flex: 1 1 auto;
    text-orientation: initial;
    height: auto;
    min-height: auto;
    max-height: none;
     writing-mode: unset !important;
  }
  .ai-nextlevel .tab-next-level {
    display: block;
    padding: 20px
  }
  .text-less-ai {
     max-height: unset; 
    overflow: unset;
}
  .read-btnai{
      display:none !important;
  }
}

@media(max-width:991px){
  .ai-nextlevel .tab .title {
    font-size: 14px !important;
}
 .linear-tabs{
     background-image: unset !important;
 }
  
}

@media(max-width:767px){
    .ai-nextlevel input[type="radio"]:checked + .tab, .ai-nextlevel .tab:focus-within{
        height: auto;
    }
    .text-less-ai {
        overflow-y: auto !important;
        scrollbar-width: none;
        height: 170px;
    }
    .ai-nextlevel .tab .content p {
    margin: 34px 0 30px !important;
    font-size: 14px !important;
    padding: 0px 0px !important; 
    }
}
@media(max-width:567px){
    .ai-nextlevel .tab-next-level {
    padding: 15px;
}
}

@media(max-width:360px){
    .text-less-ai {
    max-height: unset !important;
    overflow: unset !important; 
}
.ai-nextlevel .tab .title {
    font-size: 12px !important;
}
.ai-nextlevel .tab .content {
   margin:  0 !important; 
    font-size: 13px;
}
.ai-nextlevel input[type="radio"]:checked + .tab, .ai-nextlevel .tab:focus-within {
    overflow-y: auto;
    height: auto;
    min-height: 601px;
    scrollbar-width: thin;
}
}

.mobile-slider-wrapper {
      width: 100%;
      overflow: hidden;
      position: relative;
      height: 370px;
      margin: -100px auto 0px auto;
      -webkit-mask-image: 
    linear-gradient(to right, transparent, black 20%, black 80%, transparent),
    linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
-webkit-mask-composite: destination-in; 
mask-image:
    linear-gradient(to right, transparent, black 20%, black 80%, transparent),
    linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
mask-composite: intersect; 
 }


 /* grid ai */
.ai-grid-container {
    display: grid;
   grid-template-columns: minmax(280px, 350px) minmax(380px, 650px) minmax(280px, 350px);
    gap: 10px;
    justify-content: center;
     height: auto;
     padding: 0px 10px;
}

.ai-card {
  padding: 20px;
}

.ai-card p {
    color: #b7b7b7;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin: 45px 0px;
    overflow: hidden;
}
.ai-card p.expanded {
    height: auto;
}
.center-eye.expanded{
  padding: 30px 20px 0px 20px;  
}

.ai-contant {
  color: #fff;
  display: flex;
  text-align: center;
  border: 3px solid transparent;
  background-image: linear-gradient(#353434, #353434),
    linear-gradient(to top left, #777, #201e1e, #777);
  background-origin: border-box;
  background-clip: content-box, border-box;
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.ai-card button {
  border: 2px solid transparent;
  background: none;
  color: white;
  padding: 5px 25px;
  font-weight: 400;
  font-size: 14px;
  border-image: linear-gradient(
    to bottom,
    #fff 0%,
    #353434 60%,
    #353434 40%,
    #fff 100%
  );
  border-image-slice: 1;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.ai-card button:hover {
  background: white;
  color: black;
}

.ai-contant-center {
  width: 100%;
  height: 100%;
  display: flex;
  text-align: center;
  border: 3px solid transparent;
  background-image: linear-gradient(#353434, #353434),
    linear-gradient(to top left, #777, #201e1e, #777);
  background-origin: border-box;
  background-clip: content-box, border-box;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  margin: auto;
}

.center-eye {
    padding: 20px 20px 0px 20px;
    width: 100%;
    position: relative;
}

.ai-grid-container .connect-btn {
  display: inline-block;
  margin-top: 20px;
  background: #c2e521;
  color: black;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.connect-btn:hover {
  background: #b5d81d;
}

.ai-card-img,
.center-video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 8px;
}
.inner-grid{
  display: grid;
  gap: 20px;
}
.ai-eye-element{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}
.ai-conect-btn {
    position: absolute;
    bottom: 30px;
    left: 140px;
}
.ai-conect-btn  .animated-btn {
    width: 230px;
    height: 50px;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    border: none;
    color: #000;
    display: block;
}
.ai-conect-btn .arrow {
    position: absolute;
    right: 10px;
    top: -2px;
    width: 50px;
    max-width: 50px;
    height: 50px;
    min-height: 30px;
}
.custam-grid{
    position: relative;
}
@media (max-width: 1599px){
    .ai-conect-btn {
    left: 135px;
} }

@media (max-width: 1420px){
   /* .ai-conect-btn {
    left: 110px;
}  */

.custam-grid::before, .custam-grid::after{
    display: none;
}
}

@media (max-width: 1380px){
    /* .ai-conect-btn {
    left: 90px;
}  */
}

@media (max-width: 1330px){
    .ai-conect-btn {
    left: 90px;
} 
}

@media (max-width: 1280px){
    .ai-conect-btn {
    left: 65px;
} 
}

@media (max-width: 1199px){
.ai-conect-btn {
   left: 11px;
}
.ai-conect-btn  .animated-btn {
    width: 200px;
    text-transform: capitalize;
}
.ai-eye-element{
position: relative;
margin-top: 60px;
}
.ai-card p {
    margin: 25px 0px;
}
.ai-contant-center {
  height: auto;
}
}

@media (max-width: 1024px) {
    .ai-grid-container{
         grid-template-columns: minmax(280px, 550px);
      text-align: center;
    }
    .ai-conect-btn {
    left: 77px;
    right: 0;
    margin: auto;
}
.ai-contant-center h2 { 
    margin-top: 0px !important;
}
.ai-card p {
    margin: 40px 50px;
}
}

@media(max-width:992px){
  .ai-conect-btn .arrow {
    top: -2px !important;
    right: 7px !important;
}
.ai-conect-btn {
    left:69px;
}
}

@media (max-width: 767px){
   .ai-contant-center h2 {
    font-size: 22px;
} 
.ai-card p {
    margin: 20px 15px;
}
.ai-conect-btn {
    left: 70px;
}
}

@media (max-width: 567px){
    .ai-conect-btn .btn-content {
    padding: 0 10px 0 10px;
}
.ai-conect-btn {
    left:55px;
}
.ai-conect-btn .arrow {
     width: 34px;
    max-width: 34px;
    top: -8px !important;
    right: 12px !important;
}
.ai-conect-btn  .animated-btn {
    max-width: 169px;
    height:40px;
    text-transform: capitalize;
}
}

@media (max-width: 515px){
.ai-conect-btn {
    left:40px; }
}

@media (max-width: 450px){
.ai-conect-btn {
    left:25px; }
}

@media (max-width: 400px){
.ai-conect-btn {
    left:10px; }
    .ai-conect-btn  .animated-btn {
    max-width: 157px;
}
}

@media (max-width: 350px){
.ai-conect-btn {
    left: 6px;
    bottom: 13px;
}
.ai-conect-btn  .animated-btn {
    max-width: 145px;
}
.ai-conect-btn .btn-content {
    font-size: 12px;
}
}
@media (max-width: 300px){
.ai-conect-btn {
    left: 8px;
    bottom: 13px;}
}
@media (max-width: 380px){
.ai-conect-btn .arrow {
    width: 29px;
    max-width: 29px;
    top: -6px !important;
    right: 12px !important;
}
}

.glow-slider .owl-nav {
   position: absolute;
   bottom: 10%;
   right: 40%;
   z-index: 200;
}

.glow-slider .owl-nav button {
   background: none !important;
   border: none !important;
}

.tab:not(:focus-within)::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        #c2e521,
        rgba(173, 255, 47, 0.20),
        transparent 70%
    );
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease-out;
    filter: blur(25px);
    left: var(--glow-x);
    top: var(--glow-y);
}


.checked-tab [checked] + .tab::after {
    display: none !important;
    opacity: 0 !important;
}

.tab:hover::after {
    opacity: 1;
}

.transform-slider .owl-nav {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
}

.active-arrow {
    background-color: #c2e521 !important; 
    transition: 0.3s ease;
}

