/**
* Hero 1
*/
.code-wrapp.hero1 .background-img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #333;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.code-wrapp.hero1 .blog-outer-wrapp {
    height: 480px;
    float: left;
    position: relative;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-3 .blog-inner-wrapp {
    height: 230px;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-3 .blog-inner-wrapp:last-child {
    top: 245px;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-1 {
    width: 50%;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-3,
.code-wrapp.hero1 .blog-outer-wrapp.section-2 {
    width: 25%;
}

.code-wrapp.hero1 .blog-inner-wrapp {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.code-wrapp.hero1 .post-content:before {
    content: '';
    position: absolute;
    top: -100%;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: -webkit-linear-gradient(-270deg, black 0%, rgba(0, 0, 0, 0.917) 5.3%, rgba(0, 0, 0, 0.834) 10.6%, rgba(0, 0, 0, 0.753) 15.9%, rgba(0, 0, 0, 0.672) 21.3%, rgba(0, 0, 0, 0.591) 26.8%, rgba(0, 0, 0, 0.511) 32.5%, rgba(0, 0, 0, 0.433) 38.4%, rgba(0, 0, 0, 0.357) 44.5%, rgba(0, 0, 0, 0.283) 50.9%, rgba(0, 0, 0, 0.213) 57.7%, rgba(0, 0, 0, 0.147) 65%, rgba(0, 0, 0, 0.089) 72.9%, rgba(0, 0, 0, 0.042) 81.4%, rgba(0, 0, 0, 0.011) 90.6%, transparent 100%);
    background-image: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0.917) 5.3%, rgba(0, 0, 0, 0.834) 10.6%, rgba(0, 0, 0, 0.753) 15.9%, rgba(0, 0, 0, 0.672) 21.3%, rgba(0, 0, 0, 0.591) 26.8%, rgba(0, 0, 0, 0.511) 32.5%, rgba(0, 0, 0, 0.433) 38.4%, rgba(0, 0, 0, 0.357) 44.5%, rgba(0, 0, 0, 0.283) 50.9%, rgba(0, 0, 0, 0.213) 57.7%, rgba(0, 0, 0, 0.147) 65%, rgba(0, 0, 0, 0.089) 72.9%, rgba(0, 0, 0, 0.042) 81.4%, rgba(0, 0, 0, 0.011) 90.6%, transparent 100%);
}

.code-wrapp.hero1 .post-content {
    position: relative;
    width: 100%;
}

.code-wrapp.hero1 .post-content-inner {
    padding: 20px;
    position: relative;
    color: #fff;
}

.code-wrapp.hero1 span.cat-links.layout4 a,
.code-wrapp.hero1 h2.entry-title a,
.code-wrapp.hero1 .entry-meta a {
    color: #fff;
}

.code-wrapp.hero1 .post-content-outer {
    position: absolute;
    width: 100%;
    bottom: 0;
}


/**
* Hero 2
*/
.code-wrapp.hero1.hero2 .blog-outer-wrapp.section-3 .blog-inner-wrapp {
    height: auto;
}

.code-wrapp.hero1.hero2 .blog-outer-wrapp.section-3 .blog-inner-wrapp:last-child {
    top: 5px;
}

.code-wrapp.hero1.hero2 .blog-inner-wrapp {
    width: 100%;
}

.code-wrapp.hero1.hero2 .blog-inner-wrapp {
    box-shadow: none;
}

.code-wrapp.hero2 .blog-outer-wrapp {
    overflow: hidden;
}


/**
* Section titles
*/
.newzz-elements-wrapp .title-wrapp h3 {
    margin: 0;
    padding: 0;
}

.newzz-elements-wrapp .title-wrapp.layout-1,
.newzz-elements-wrapp .title-wrapp.layout-2,
.newzz-elements-wrapp .title-wrapp.layout-3 {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 30px;
    border-bottom: 2px solid #eee;
    position: relative;
    margin-bottom: 25px;
    justify-content: space-between;
}

.newzz-elements-wrapp .title-wrapp {
    border-color: #eee;
}

.newzz-elements-wrapp .title-wrapp.layout-1:after,
.newzz-elements-wrapp .title-wrapp.layout-2:after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--theme-color);
    display: block;
    position: absolute;
    bottom: -2px;
}

.newzz-elements-wrapp .title-wrapp.layout-2:after {
    height: 6px;
}


/***
* Module 1
*/
.code-wrapp.module1 .blog-outer-wrapp.col-3 {
    width: 32.33%;
}

.code-wrapp.module1 .blog-outer-wrapp.col-2 {
    width: 49%;
}

.code-wrapp.module1 .blog-outer-wrapp.col-4 {
    width: 24%;
}

.code-wrapp.module1.layout-1 .post-content {
    margin-top: 15px;
}

.code-wrapp.module1 .blog-outer-wrapp {
    margin-bottom: 20px;
}

.code-wrapp.module1 .blog-outer-wrapp.col-1 {
    width: 100%;
}

.code-wrapp.module1.layout-2 .post-content {
    border: 1px solid #d6d6d6;
    padding: 20px 15px;
}

.post-loader.module1-pl {
    text-align: center;
}

/***
* Module 2
*/
.code-wrapp.module2 .blog-inner-wrapp {
    display: flex;
}

.code-wrapp.module2 .img-wrapp {
    /* max-width: 180px;
    flex: 0 0 180px; */
    margin-right: 15px;
}

.code-wrapp.module2 .blog-outer-wrapp {
    position: relative;
}

.code-wrapp.module2 .post-counter {
    position: absolute;
    top: 0;
    z-index: 9;
    font-weight: 700;
    background: #fff;
    width: 25px;
    height: 25px;
    line-height: 24px;
    border-radius: 50%;
    background: var(--theme-color);
    text-align: center;
    font-size: 12px;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 1px 1px #ddd;
}

.code-wrapp.module2 .blog-outer-wrapp.col-3 {
    width: 32.33%;
}

.code-wrapp.module2 .blog-outer-wrapp.col-2 {
    width: 49%;
}

.code-wrapp.module2 .blog-outer-wrapp.col-4 {
    width: 24%;
}

.code-wrapp.module2 .blog-outer-wrapp.col-1 {
    width: 100%;
}

.code-wrapp.module2 .blog-outer-wrapp {
    margin-bottom: 15px;
}

.code-wrapp.module2 .post-content p {
    margin: 10px 0;
}

.code-wrapp.module2.layout-2 .post-content {
    padding: 15px 15px 15px 0;
}

.code-wrapp.module2.layout-2 .blog-outer-wrapp {
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 7%);
}

.code-wrapp.module2.layout-1 .blog-outer-wrapp.col-1:not(:last-child) {
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 0;
}


/***
* Module 3
*/
.code-wrapp.module3 .blog-outer-wrapp.section-1,.code-wrapp.module3 .blog-outer-wrapp.section-3 {
    width: 23%;
    margin-top: -45px;
}

.code-wrapp.module3 .blog-outer-wrapp.section-2 {
    width: 50%;
}
.code-wrapp.module3 .post-content {
    margin-top: 15px;
}

.code-wrapp.module3 .blog-outer-wrapp {
    margin-bottom: 20px;
}

.post-loader.module3-pl {
    text-align: center;
}


/***
* Module 4
*/
.code-wrapp.module4 .blog-inner-wrapp {
    display: block;
}

.code-wrapp.module4 ul.category-widget li {
    width: 12%;
    display: inline-block;
    padding: 0 0;
    margin: 0 0;
}

.code-wrapp.module4 ul.category-widget li img {
    height: 120px;
    width: 120px;
    object-fit: cover;
}

.code-wrapp.module4 ul.category-widget li img.layout-1 {
    border-radius: 50%;
}

.code-wrapp.module4 ul.category-widget li img.layout-2 {
    border-radius: 0%;
}

.code-wrapp.module4 ul.category-widget {
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: space-between;
    flex-wrap: wrap;
}

.code-wrapp.module4 ul.category-widget li .content-wrapp {
    text-align: center;
    margin-top: 10px;
    display: flex;
}

.code-wrapp.module4 ul.category-widget li .content-wrapp a {
    color: #333;
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 18px;
}
.code-wrapp.module4 ul.category-widget li a {
    display: block;
    width: fit-content; /* or a specific width */
    margin: 0 auto;
}

.code-wrapp.module4 .category-widget {
    width: 90%;
}

.code-wrapp.module4 .blog-outer-wrapp {
    margin-bottom: 15px;
}

.title-wraps {
    padding: 1px 0;
}

.title-wraps.pos-2 {
    text-align: center;
}

.title-wraps.pos-1 {
    text-align: left;
}

.title-wraps.pos-3 {
    text-align: right;
}


/**
* Slider 1
*
*/
.code-wrapp.slider1 .slider-main-wrapper {
    display: none;
}

.code-wrapp.slider1 a.btn.read-more {
    color: #fff;
    background: var(--theme-color);
    padding: 8px 15px;
    border-radius: 3px;
}

.code-wrapp.slider1 .slider-main-wrapper.slick-initialized {
    display: block;
}

.code-wrapp.slider1 .blog-inner-wrapp {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    z-index: 1;
    min-height: 720px;
}

.code-wrapp.slider1 .blog-inner-wrapp::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .5) 59%, rgba(0, 0, 0, .8) 100%);
    z-index: -1;
}

.code-wrapp.slider1 .blog-inner-wrapp .img-wrapp {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform-origin: top center;
    z-index: -1;
}

.code-wrapp.slider1 .post-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    translate: 0 -50%;
    width: 100%;
    padding: 0 155px 0 60px;

}

.code-wrapp.slider1 .post-content h2.entry-title a,
.code-wrapp.slider1 .post-content .entry-meta a,
.code-wrapp.slider1 .post-content p,
.code-wrapp.slider1 span.posted-on:before,
.code-wrapp.slider1 span.comment-count:before,
.code-wrapp.slider1 span.byline a:before,
.code-wrapp.slider1 span.post-views:before,
.code-wrapp.slider1 span.cat-links.layout4 a,
.code-wrapp.slider1 span.posted-on a,
.code-wrapp.slider1 span.author-by {
    color: #fff;
}


.code-wrapp.slider1 .slick-dots {
    bottom: -45px;
}

.code-wrapp ul.category-widget li span.counter {
    background: var(--theme-color);
    border-radius: 50%;
    height: 25px;
    width: 25px;
    line-height: 25px;
    display: inline-block;
    font-size: 14px;
    color: #fff;
}

/**
* slick slider hack
*/
.slick-dots li button {
    height: auto;
    width: auto;
    padding: 2px 10px;
    margin-top: 5px;
    border: 1px solid #858585;
    margin-right: 27px;
    display: block;
    transition: all 0.3s ease-in;
}

.slick-initialized .slick-dots li button {
    height: auto;
    width: auto;
    padding: 2px 10px;
    margin-top: 5px;
    border: 1px solid #858585;
    margin-right: 27px;
    display: block;
    transition: all 0.3s ease-in;
}

.slick-initialized li.slick-active button {
    background: var(--theme-color);
}

.slick-initialized .slick-dots li.slick-active button:before {
    font-size: 0;
}

.slick-initialized .slick-dots li button:hover:before,
.slick-initialized .slick-dots li button:focus:before {
    color: var(--theme-color);
}

.slick-initialized .slick-dots li button:before {
    font-size: 0;
}

.slick-initialized li.slick-active button {
    border-color: var(--theme-color);
}

li.slick-active button {
    background: var(--theme-color);
}

.slick-dots li.slick-active button:before {
    font-size: 0;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    color: var(--theme-color);
}

.slick-dots li button:before {
    font-size: 0;
}

li.slick-active button {
    border-color: var(--theme-color);
}

/* slider arrows */
.code-wrapp button.slick-arrow {
    background: #fff;
    height: 40px;
    width: 40px;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
}

.code-wrapp:hover button.slick-arrow {
    opacity: 1;
    visibility: visible;
}

.code-wrapp .slick-prev:before,
.code-wrapp .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    color: #333;
    opacity: 1;
    font-size: 16px;
}

.code-wrapp .slick-next {
    right: 0;
}

.code-wrapp .slick-prev {
    left: 0;
    z-index: 99;
}

.code-wrapp .slick-prev:before {
    content: '\f053';
    font-weight: 600;
}

.code-wrapp .slick-next:before {
    content: '\f054';
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .code-wrapp.module2 .blog-outer-wrapp.col-4 {
        width: 50%;
    }

    .code-wrapp.module1 .blog-outer-wrapp.col-3 {
        width: 49%;
    }
}

@media only screen and (max-width: 430px) {
    .code-wrapp.module2 .blog-outer-wrapp.col-4 {
        width: 100%;
    }

    .code-wrapp.hero1 .blog-outer-wrapp.section-1 {
        width: 100%;
    }

    .code-wrapp.hero1 .blog-outer-wrapp.section-3,
    .code-wrapp.hero1 .blog-outer-wrapp.section-2 {
        width: 100%;
    }

    .code-wrapp.hero1 .blog-outer-wrapp {
        float: none;
    }

    .code-wrapp.module1 .blog-outer-wrapp.col-3 {
        width: 100%;
    }

    .code-wrapp.module2 .blog-inner-wrapp {
        display: block;
    }

    .code-wrapp.module2 .blog-outer-wrapp.col-4 a.post-thumbnail img,
    .code-wrapp.module2 .blog-outer-wrapp.col-1 a.post-thumbnail img {
        width: 100%;
    }
}

/**
*
*/
.aea-animated-banner {
    position: relative;
}

.aea-animated-banner img {
    position: relative;
    z-index: 1;
}
.aea-animated-banner.two .animated-banner-image {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 4 / 5;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 8px solid white;
  transform: rotate(3deg);
  transition: transform 700ms ease-out;
}

/* Desktop sizing */
@media (min-width: 1024px) {
  .aea-animated-banner.two .animated-banner-image {
    max-width: 32rem;
  }
}

.aea-animated-banner.two .animated-banner-image:hover {
  transform: rotate(0deg);
}
.aea-animated-banner.two img {
    position: relative;
    z-index: 1;
    object-fit: cover;
    height: 100%;
}
.aea-animated-banner.two .animated-svg-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aea-animated-banner.two .floating-stat-card {
  position: absolute;
  bottom: 2rem; 
  left: 2rem; 
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: float-bounce 3s infinite;
}
.aea-animated-banner.two .content-wrapp {
    display: flex;
    align-items: center;
    gap: 5px;
}
.aea-animated-banner.two .content-wrapp p{
    margin: 0;
}
.aea-animated-banner.two .icon-wrapp {
    background: #ceffcb;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aea-animated-banner.two .icon-wrapp svg {
    stroke: #30961b;
}
.aea-animated-banner.two .overlay-layer-first {
        position: absolute;
        top: -2.5rem;
        right: -2.5rem;
        width: 6rem; 
        height: 6rem;
        background-color: #facc15;
        border-radius: 9999px;
        filter: blur(40px); 
        opacity: 0.6;
        z-index: 0;
}

.aea-animated-banner.two .overlay-layer-second {
    position: absolute;
    bottom: -2.5rem; 
    left: -2.5rem;  
    width: 8rem;     
    height: 8rem;   
    background-color: #a855f7; 
    border-radius: 9999px;
    filter: blur(64px);
    opacity: 0.4;
    z-index: 0;
}
@keyframes float-bounce {
  0%, 100% {
    transform: translateY(-25%); /* Moves up */
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);    /* Moves down */
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}


/**
* Portfolio Lists Style
*/

.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 90px;
    margin-bottom: 90px;
}
.cww-portfolio-lists .pfolio-cat-wrapp {
    display: flex;
    gap: 20px;
    align-items: baseline; /* Aligns text by their baseline so numbers and text sit perfectly */
    margin-top: 25px;

}
.cww-portfolio-lists ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.cww-portfolio-lists ul li:first-child{
    margin-left: 0;
}
.cww-portfolio-lists ul li{
    display: inline-block;
}
.cww-portfolio-lists ul li a{
    text-transform: uppercase;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.cww-portfolio-lists ul li a:hover{
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio .content-wrappp{
    position: relative;
    width: 40%;
}
.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio .img-wrapp {
    width: 60%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    position: relative;
    overflow: hidden;
}
.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio .pfolio-counting {
  position: absolute;
  top: -5rem;
  left: -1.5rem;
  font-size: 120px;
  font-weight: 700;
  color: #f1f5f9;
  user-select: none;
  z-index: 0;
  line-height: 1;
  transition-property: color;
  transition-duration: 300ms;
}
.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio .inner-content {
    position: relative;
    z-index: 10;
}
.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio.reverse-card {
    flex-direction: row-reverse;
}
.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio:hover .pfolio-counting {
  color: rgb(253 242 248 / 0.8);
}
.cww-portfolio-lists span.sep {
   height: 1px;
  width: 3rem;
  background-color: #cbd5e1; 
}

.cww-portfolio-lists .counter {
   color: #0f172a;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.cww-portfolio-lists .pfolio-cat {
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.cww-portfolio-lists h4.pfolio-title {
    font-size: 1.5rem;
    margin: 16px 0;
}
.cww-portfolio-lists p {
    margin: 10px 0 15px;
}
.cww-portfolio-lists h4.pfolio-title a {
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cww-portfolio-lists h4.pfolio-title a:hover {
    color: var(--theme-color);
}

.cww-portfolio-lists .pfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a; 
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.25rem; 

  transition-property: all;
  transition-duration: 300ms;
  text-decoration: none;
}

.cww-portfolio-lists .pfolio-link:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

/* The Arrow Icon Animation */
.cww-portfolio-lists .pfolio-link svg {
  width: 1.25rem; 
  height: 1.25rem;
  transition-property: transform;
  transition-duration: 300ms;
}

/* Move arrow up and right on hover */
.cww-portfolio-lists .pfolio-link:hover svg {
  transform: translate(0.25rem, -0.25rem); /* translate-x-1 -translate-y-1 */
}

.cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio{
    position: sticky;
    top: 2rem;
    background: #fff;
    padding: 80px;
}
[data-theme="dark"] .cww-portfolio-lists .inner-wrapp.inner-wrap-pfolio{
    background: var(--theme-darkmode-bg-color);
}