/*
Theme Name: Wight-Portfolio
 Theme URI: https://yourwebsite.com/
 Description: Child theme for Divi
 Author: Your Name
 Template: Divi
 Version: 1.0.0
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html,
body {
    height: 100%;
    overflow: visible;
}

[data-scroll-container] {
    overflow: hidden;
}

[data-scroll-section] {
    position: relative;
}

.portfolio-card-front,
.portfolio-card-back {
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
}

.portfolio-card-front {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-template-default #main-content {
    padding-top: 138px;
}

/***********************/

#main-content {
    background: #191919;
}

.post-type-archive #main-content {
    padding-top: 170px;
}

.post-type-archive #main-content .container {
    padding-top: 0 !important;
}

.post-type-archive #main-content .container h2.entry-title {
    margin-top: 40px;
    font-family: "Poppins";
    color: #fff;
    font-size: 25px;
}

.post-type-archive #main-content img {
    width: 100%;
    object-fit: cover;
    display: block;
    height: 450px;
    border-radius: 10px;
    border-top-left-radius: 0;
    box-sizing: border-box;
    transition: 0.5s;
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e;
}

.post-type-archive #main-content .post-meta {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    opacity: 0.9;
    font-weight: 400;
    color: #fff;
}

.post-type-archive #main-content .post-meta a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.post-type-archive #main-content .post-meta a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.post-type-archive #main-content .post-meta .author {
    font-weight: 600;
}

.post-meta .published {
    font-weight: 400;
}

.post-meta span,
.post-meta a {
    white-space: nowrap;
}

.post-type-archive #main-content #left-area article:first-child {
    margin-top: 0;
}

.post-type-archive #main-content article {
    margin-top: 55px;
}

.post-type-archive .footer-main .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
}

.post-type-archive ul li {
    padding: 0;
}

.post-type-archive ul li ul li a {
    width: auto !important;
}

body.post-type-archive ul li a::after {
    bottom: 15px !important;
}

.post-type-archive ul.sub-menu {
    padding: 0 !important;
}

.post-type-archive .et_pb_column_0_tb_footer {
    padding: 120px !important;
    margin: 0 !important;
    width: 50% !important;
}

.post-type-archive div#content-area {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

#main-content .container:before {
    background-color: #ffffff54;
    width: 2px;
    border-radius: 100px;
    display: none;
}

.pagination .alignleft a {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
}

.pagination {
    margin-top: 20px;
}

.portfolio-template-default #main-content img {
    width: 100%;
    object-fit: cover;
    display: block;
    height: 450px;
    border-radius: 10px;
    border-top-left-radius: 0;
    box-sizing: border-box;
    transition: 0.5s;
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e;
}

.downward-arrow a span span {
    background-image: linear-gradient(160deg, #19b2ff 35%, #ff3a58 65%);
    height: 40px;
    width: 40px;
    display: flex;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    padding-right: 5px;
    padding-bottom: 5px;
    transition: 0.5s;
}

.social-media-col::after {
    display: none;
}

.social-media-col {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.social-media-col .et_pb_column {
    margin: 0;
    width: 50%;
}

.social-media-col .et_pb_column ul.bde-basic-list {
    margin-top: 30px;
}

.social-media-col .et_pb_column ul.bde-basic-list li {
    margin-bottom: 14px;
    line-height: normal;
}

.social-media-col .et_pb_column ul.bde-basic-list li:last-child {
    margin: 0;
}

.social-media-col .et_pb_with_border {
    height: 100%;
}

.social-media-col span {
    height: 100%;
}

.social-media-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-media-col h4 {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(160deg, #19b2ff -5%, #ff3a58 45%);
}

.portfolio-same-col::after {
    display: none;
}

.business-grid-col .et_pb_column {
    margin: 0;
    width: 32%;
}

.business-grid-col {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.about-banner-sec .et_pb_row {
    max-width: 1300px;
}

.business-grid-col:after {
    display: none;
}

.about-us-sec .et_pb_row {
    max-width: 1220px;
    padding: 0 15px;
}

.downward-arrow {
    animation: bounce 1.2s infinite;
}

.downward-arrow a span span:hover {
    transform: translateY(15px);
    transition: 0.5s;
}

.clients-image-col .carousel_content {
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 4px 4px 3px 1px #ff3a584d;
    transition: all 0.3s ease;
    backdrop-filter: blur(0);
    box-sizing: border-box;
    background: transparent;
    border: 3px solid #571d2626;
    border-right: 0;
    border-bottom: 0;
    margin-right: 36px;
}

.clients-image-col .swiper-wrapper {
    padding: 30px 0;
}

.case-study-sec {
    position: relative;
}

.case-study-sec::after {
    content: "";
    position: absolute;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.5;
    pointer-events: none;
}

.search-portfolio-col form.et_pb_searchform {
    border-radius: 100px;
    position: relative;
}

.search-portfolio-col input.et_pb_searchsubmit {
    position: absolute;
    font-size: 0;
    width: 60px;
    background-image: url("https://wightproductions.isleofwightwebsites.com/wp-content/uploads/2025/11/search.png");
    background-position: center;
    background-size: 22px;
    background-repeat: no-repeat;
    background-color: transparent;
}

.case-animate-txt h1 {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #19b2ff 0%, #ff3a58 9%);
}

.featured-animate-txt h4 {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(160deg, #19b2ff 43%, #ff3a58 51%);
}

.all-case-study-txt h4 {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(160deg, #19b2ff 43%, #ff3a58 51%);
}

.search-portfolio-col .portfolio-column-inner {
    opacity: 1 !important;
}

.case-study-inner-sec .carousel-item a {
    pointer-events: none;
}

.case-study-inner-sec .carousel-item.active-slide a {
    pointer-events: all;
}

.case-study-inner-sec .view-project-btn:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 100px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    transition: 0.5s;
}

.case-study-inner-sec .view-project-btn:hover {
    background: transparent;
    transition: 0.5s;
    background: linear-gradient(90deg, #1db0fc7d, #f141627a);
}

/*****Error-page-css*****/

.error-404-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px 15px;
    position: relative;
}

/* Animated stars background */
.error-404-container .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.error-404-container .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Planets */
.error-404-container .planet {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.error-404-container .planet-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    right: 10%;
    animation: floatPlanet 20s infinite ease-in-out;
}

.error-404-container .planet-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 15%;
    left: 8%;
    animation: floatPlanet 15s infinite ease-in-out reverse;
    z-index: 1;
}

@keyframes floatPlanet {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.error-404-container .error-content {
    z-index: 1;
    animation: fadeInUp 1s ease;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-align: center;
    color: #fff;
    padding: 0px 20px;
    font-family: "Poppins", sans-serif;
    position: relative;
    overflow: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Astronaut Animation */
.error-404-container .astronaut-wrapper {
    position: absolute;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    margin-left: 0;
    left: 0;
    top: -100px;
}

.error-404-container .astronaut {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: floatAstronaut 6s ease-in-out infinite;
}

@keyframes floatAstronaut {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.error-404-container .astronaut-body {
    position: absolute;
    width: 120px;
    height: 140px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 60px 60px 40px 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.error-404-container .astronaut-helmet {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg,
            #667eea 20%,
            rgba(102, 126, 234, 0.7) 100%);
    border-radius: 50%;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid #f5f5f5;
    overflow: hidden;
}

.error-404-container .helmet-shine {
    position: absolute;
    width: 40px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 10px;
    left: 15px;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.error-404-container .astronaut-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error-404-container .eye {
    position: absolute;
    width: 8px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    top: 20px;
    animation: blink 4s infinite;
}

.error-404-container .eye-left {
    left: 15px;
}

.eye-right {
    right: 15px;
}

@keyframes blink {

    0%,
    48%,
    52%,
    100% {
        height: 12px;
    }

    50% {
        height: 2px;
    }
}

.error-404-container .mouth {
    position: absolute;
    width: 20px;
    height: 10px;
    border: 2px solid #333;
    border-top: none;
    border-radius: 0 0 20px 20px;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.error-404-container .astronaut-arm {
    position: absolute;
    width: 40px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 20px;
    top: 60px;
}

.error-404-container .arm-left {
    left: -15px;
    transform: rotate(-30deg);
    animation: waveArm 3s ease-in-out infinite;
}

.error-404-container .arm-right {
    right: -15px;
    transform: rotate(30deg);
}

@keyframes waveArm {

    0%,
    100% {
        transform: rotate(-30deg);
    }

    50% {
        transform: rotate(-50deg);
    }
}

.error-404-container .astronaut-leg {
    position: absolute;
    width: 35px;
    height: 70px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 20px;
    bottom: -35px;
}

.error-404-container .leg-left {
    left: 20px;
    transform: rotate(-10deg);
}

.error-404-container .leg-right {
    right: 20px;
    transform: rotate(10deg);
}

/* Cable/Rope */
.error-404-container .cable {
    position: absolute;
    width: 3px;
    height: 360px;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.5), transparent);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    animation: cableFloat 6s ease-in-out infinite;
}

@keyframes cableFloat {

    0%,
    100% {
        transform: translateX(-50%) rotate(0deg);
    }

    50% {
        transform: translateX(-50%) rotate(5deg);
    }
}

.error-404-container .error-number {
    line-height: 1;
    animation: glow 2s ease-in-out infinite;
    font-size: 120px;
    font-weight: 700;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.8));
    }
}

.error-404-container .home-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

.home-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.5);
}

.home-button:hover::before {
    left: 100%;
}

.home-button:active {
    transform: translateY(-1px) scale(1.02);
}

.search-form-404 form {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.search-form-404 form {
    border-color: rgb(0 0 0);
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e;
}

.search-form-404 input[type="search"]::placeholder {
    color: #6b7280;
}

.search-form-404 input[type="search"]:focus {
    outline: none;
}

.search-form-404 button {
    padding: 16px 32px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .search-container {
        min-height: 100% !important;
    }

    .search-hero h1 {
        font-size: 32px !important;
        letter-spacing: 1px !important;
    }

    .no-results h2 {
        font-size: 27px !important;
    }

    .no-results p {
        font-size: 14px !important;
    }

    .search-container {
        padding: 170px 20px !important;
        padding-bottom: 50px !important;
    }

    .astronaut-wrapper {
        width: 200px;
        height: 200px;
    }

    .error-number {
        font-size: 80px;
        letter-spacing: 5px;
    }

    .error-title {
        font-size: 28px;
    }

    .error-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .home-button {
        padding: 16px 35px;
        font-size: 16px;
    }

    .search-form-404 form {
        flex-direction: column;
        border-radius: 20px;
    }

    .search-form-404 button {
        width: 100%;
    }

    .planet-1,
    .planet-2 {
        width: 80px;
        height: 80px;
    }
}

.search-form-404 input[type="search"]:-webkit-autofill,
.search-form-404 input[type="search"]:-webkit-autofill:hover,
.search-form-404 input[type="search"]:-webkit-autofill:focus {
    -webkit-box-shadow: 61px 61px 60px 1000px #000000 inset !important;
    -webkit-text-fill-color: #000 !important;
    background-color: transparent !important;
    caret-color: #000;
}

.error-404-container .error-title {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
    font-family: "poppins";
}

/* Subtitle text */
.error-404-container .error-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #bcbcbc;
    line-height: 1.6;
    font-size: 18px;
}

/* Home button */
.error-404-container .home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.error-404-container .home-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Search form */
.search-form-404 {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    max-width: 600px;
    width: 100%;
}

.search-form-404 form {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.search-form-404 input[type="search"] {
    flex: 1;
    background-color: #000;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 65px;
    border-radius: 50px;
    font-size: 15px;
    padding-right: 30px;
}

.search-form-404 input::placeholder {
    color: #999;
}

/* Keep input black even when dropdown or autofill active */
.search-form-404 input[type="search"]:-webkit-autofill,
.search-form-404 input[type="search"]:-webkit-autofill:hover,
.search-form-404 input[type="search"]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
    -webkit-text-fill-color: #fff !important;
    background-color: #000 !important;
}

/* Search button */
.search-form-404 button {
    border: none;
    outline: none;
    padding: 0px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
    transition: all 0.4s ease;
    left: 0px;
    height: 100%;
    position: absolute;
    font-size: 0;
    width: auto;
    background-image: url(https://wightproductions.isleofwightwebsites.com/wp-content/uploads/2025/11/xsearch.png.pagespeed.ic.yTSvmx3iPc.webp);
    background-position: 65%;
    background-size: 25px;
    background-repeat: no-repeat;
    background-color: transparent;
}

.search-form-404 input::placeholder {
    color: #ffffffeb !important;
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 300;
}

.search-container {
    padding: 100px 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
    position: relative;
}

.search-wrapper {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.search-hero h1 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.search-hero p {
    font-size: 18px;
    color: #bcbcbc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.search-form-container form {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    border-color: rgb(0 0 0);
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e !important;
}

.search-form-container input[type="search"] {
    flex: 1;
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 60px;
    font-size: 16px;
    border-radius: 50px;
    padding-right: 0;
    width: 100%;
}

.search-form-container input::placeholder {
    color: #999;
}

.search-form-container input:-webkit-autofill,
.search-form-container input:-webkit-autofill:hover,
.search-form-container input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
    -webkit-text-fill-color: #fff !important;
}

.search-form-container button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    padding: 0px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
    transition: all 0.4s ease;
    left: 0px;
    height: 100%;
    position: absolute;
    font-size: 0;
    width: 60px;
    background-image: url(https://wightproductions.isleofwightwebsites.com/wp-content/uploads/2025/11/xsearch.png.pagespeed.ic.yTSvmx3iPc.webp);
    background-position: 65%;
    background-size: 25px;
    background-repeat: no-repeat;
    background-color: transparent;
}

.no-results {
    margin-top: 60px;
    text-align: center;
}

.no-results-icon {
    font-size: 60px;
    color: #667eea;
    margin-bottom: 40px;
    animation: bounce 2s infinite;
}

.no-results h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "Poppins";
    color: #fff;
}

.no-results p {
    font-size: 16px;
    color: #bcbcbc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-family: "Poppins";
}

.no-results strong {
    color: #f14162;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/*****Error-page-css/END*****/

/**********post-page-css**************/

.post-type-archive #sidebar {
    padding: 25px;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    color: #fff;
}

.post-type-archive #main-content {
    padding-bottom: 170px;
}

.post-type-archive #main-content .wp-block-latest-comments li article {
    margin-top: 0;
}

.post-type-archive #sidebar h2.wp-block-heading {
    font-size: 20px;
    margin-bottom: 13px;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.post-type-archive .foot-right ul li a {
    color: #fff !important;
}

#sidebar ul,
#sidebar ol {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

#sidebar ul li,
#sidebar ol li {
    margin-bottom: 12px;
}

#sidebar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#sidebar a:hover {
    color: #ffd700;
}

#sidebar .widget_block.widget_search {
    margin-bottom: 30px;
}

#sidebar .wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

#sidebar .wp-block-search__input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #333;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding-right: 95px;
}

#sidebar .wp-block-search__input::placeholder {
    color: #aaa;
}

#sidebar .wp-block-search__button {
    padding: 8px 15px;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid #ffffff45;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 1;
}

#sidebar .wp-block-search__button:hover {}

#sidebar .wp-block-latest-posts__post-title,
#sidebar .wp-block-latest-comments__comment-author,
#sidebar .wp-block-latest-comments__comment-link {
    display: inline-block;
    font-size: 14px;
}

#sidebar .wp-block-latest-comments__comment-meta {
    font-size: 13px;
    color: #ccc;
}

#sidebar .wp-block-latest-comments__comment-meta a {
    color: #fff;
    text-decoration: underline;
}

#sidebar .wp-block-latest-comments__comment-meta a:hover {
    color: #ffd700;
}

#sidebar ul li a.wp-block-latest-posts__post-title {
    text-decoration: underline;
}

.post-type-archive #left-area {
    width: 65%;
    border-right: 2px solid #ffffff5c;
    padding-right: 45px;
}

.post-type-archive div#sidebar {
    width: 35%;
    padding: 0;
    right: 0px;
    padding-left: 35px;
}

.wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.wp-block-search__input {
    color: #fff;
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 2px 2px 3px #f1466e;
    transition: all 0.3s ease;
    border-top-left-radius: 0 !important;
}

.wp-block-search__input::placeholder {
    color: #aaa;
}

.wp-block-search__input:focus {
    box-shadow: 2px 2px 6px #2e9ae0, 5px 5px 5px #f1466e, 2px 2px 6px #f1466e;
}

.wp-block-search__button {
    transition: all 0.3s ease;
}

.wp-block-search__button:hover {
    background-color: transparent;
    box-shadow: 2px 2px 6px #2e9ae0, 5px 5px 5px #f1466e, 2px 2px 6px #f1466e;
    border-color: #fff;
}

.post-type-archive .wp-block-search__button:hover {
    background-color: transparent;
    box-shadow: 2px 2px 6px #2e9ae0, 5px 5px 5px #f1466e, 2px 2px 6px #f1466e;
    border-color: #fff;
}

.post-type-archive .wp-block-search__input:-webkit-autofill,
.wp-block-search__input:-webkit-autofill:hover,
.wp-block-search__input:-webkit-autofill:focus,
.wp-block-search__input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #181818 inset !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: 10px;
    transition: background-color 5000s ease-in-out 0s;
}

.portfolio-template-default #main-content {
    padding-bottom: 100px;
}

.portfolio-template-default #left-area {
    width: 65%;
    border-right: 2px solid #ffffff5c;
    padding-right: 45px;
    padding-bottom: 0;
}

.portfolio-template-default #sidebar {
    width: 35%;
    padding: 0;
    right: 0;
    padding-left: 35px;
}

.portfolio-template-default #main-content .container h1.entry-title {
    font-family: "Poppins";
    color: #fff;
    font-size: 25px;
    text-transform: capitalize;
}

.portfolio-template-default #main-content .post-meta {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    opacity: 0.9;
    font-weight: 400;
    color: #fff;
}

.portfolio-template-default #main-content .post-meta a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.portfolio-template-default .entry-content p {
    color: #fff;
    font-size: 15px;
    line-height: 27px;
}

.portfolio-template-default #sidebar h2.wp-block-heading {
    font-size: 20px;
    margin-bottom: 13px;
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.team-slider-click-on-image .et_pb_column img {
    height: 160px;
    width: 160px;
    border-radius: 100px;
    cursor: pointer;
    transition: .5s;
    opacity: 0.5;
}

.member-hding h3 {
    text-transform: uppercase;
    margin-top: 25px;
    color: #ff3a58;
    margin-bottom: 30px;
}

.team-slider-click-on-image .et_pb_column {
    margin: 0 !important;
    width: auto !important;
}

.team-slider-click-on-image {
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 !important;
}

.team-slider-click-on-image::after {
    display: none;
}

.team-slider-click-on-image .et_pb_column img.active {
    box-shadow: 0 0 5px #2e9ae0, 0 0 7px #f1466e, 0 0 15px #f1466e;
    transition: .5s;
    opacity: 1;
}

body .header-main .et_pb_row {
    padding: 0 !important;
}

.header-main {
    padding-top: 6px !important;
}

body.error404 #main-content {
    padding: 100px 0;
    padding-top: 138px;
}

body.error404 #main-content h1.not-found-title {
    color: #fff;
    line-height: normal;
    font-family: "poppins";
}

body.error404 #main-content p {
    font-family: "poppins";
    width: auto;
    max-width: 600px;
    font-weight: 400;
    line-height: 25px;
    color: #fff;
}

body.error404 #main-content h2.wp-block-heading {
    font-size: 20px;
    margin-bottom: 13px;
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    text-transform: uppercase;
}

body.error404 #main-content #sidebar {
    width: 35%;
    padding: 0;
    right: 0;
    padding-left: 35px;
}

body.error404 #main-content #left-area {
    width: 65%;
    border-right: 2px solid #ffffff5c;
    padding-right: 45px;
    padding-bottom: 0;
}

/****body.search*****/

body.search #main-content {
    padding: 100px 0;
    padding-top: 138px;
}

body.search #main-content h1.not-found-title {
    color: #fff;
    line-height: normal;
    font-family: "poppins";
}

body.search #main-content p {
    font-family: "poppins";
    width: auto;
    max-width: 600px;
    font-weight: 400;
    line-height: 25px;
    color: #fff;
}

body.search #main-content h2.wp-block-heading {
    font-size: 20px;
    margin-bottom: 13px;
    color: #fff;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    text-transform: uppercase;
}

body.search #main-content #sidebar {
    width: 35%;
    padding: 0;
    right: 0;
    padding-left: 35px;
}

body.search #main-content #left-area {
    width: 65%;
    border-right: 2px solid #ffffff5c;
    padding-right: 45px;
    padding-bottom: 0;
}

/****body.search/END*****/

/**********post-page-css/end**************/

/*****04:11:2025****/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.portfolio-wrapper {
    width: 100%;
    border-radius: 5px;
    min-height: 100vh;
    overflow: hidden;
    padding: 20px;
    background: #101010;
}

.portfolio-grid {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.portfolio-column {
    flex: 1;
    height: 1300px;
    overflow: hidden;
    position: relative;
}

.portfolio-column-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

/* Animation for columns */

.portfolio-column[data-direction="up"] .portfolio-column-inner {
    animation: scrollUp 40s linear infinite;
}

.portfolio-column[data-direction="down"] .portfolio-column-inner {
    animation: scrollDown 40s linear infinite;
}

.portfolio-column:hover .portfolio-column-inner {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Portfolio Items */

.portfolio-item {
    width: 100%;
    aspect-ratio: 3/4;
    perspective: 1000px;
    flex-shrink: 0;
}

.portfolio-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-card {
    transform: rotateY(180deg);
}

.portfolio-card-front,
.portfolio-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

.portfolio-card-back {
    background: linear-gradient(135deg, #ff00ff1a, #00bfff1a);
    transform: rotateY(180deg);
    display: flex;
    border: 2px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    color: white;
    box-sizing: border-box;
}

.portfolio-wrapper .portfolio-card-back a.portfolio-full-link {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.portfolio-content {
    text-align: center;
    width: 100%;
}

.portfolio-logo {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-logo img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.portfolio-title {
    font-size: 20px;
    margin-bottom: 5px;
    line-height: 1.3;
    font-family: "poppins";
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.portfolio-client {
    font-size: 16px;
    margin-bottom: 8px;
    opacity: 0.9;
    font-family: "poppins";
    color: #fff;
    font-weight: 500;
}

.portfolio-category {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-year {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.portfolio-excerpt {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    color: #fff;
    font-family: "Montserrat", sans-serif;
}

.portfolio-link {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.featured-animation-sec .portfolio-card-back a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .portfolio-grid {
        gap: 15px;
    }

    .portfolio-title {
        font-size: 20px;
    }

    .portfolio-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-column {
        height: auto;
        overflow: visible;
    }

    .portfolio-column-inner {
        animation: none !important;
    }

    .portfolio-card-back {
        padding: 20px;
    }

    .portfolio-title {
        font-size: 18px;
    }

    .portfolio-excerpt {
        font-size: 13px;
    }
}

/* Custom scrollbar for debugging */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading state */

.portfolio-item.loading {
    opacity: 0.5;
}

.portfolio-item.loaded {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preloader overlay - covers entire screen */

/* Preloader - Divi Compatible */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Scoped to preloader only - won't affect Divi icons */

#preloader svg,
.preloader-container svg {
    width: 200px;
    height: 200px;
}

#preloader .blob {
    animation: blob-morph 4s ease-in-out infinite;
}

@keyframes blob-morph {

    0%,
    100% {
        d: path("M150,50 Q200,75 200,125 Q200,175 150,200 Q100,175 100,125 Q100,75 150,50"
            );
    }

    33% {
        d: path("M150,50 Q220,100 180,150 Q200,200 150,200 Q100,200 120,150 Q80,100 150,50"
            );
    }

    66% {
        d: path("M150,50 Q180,80 190,125 Q200,170 150,200 Q100,170 110,125 Q120,80 150,50"
            );
    }
}

#preloader .particle-orbit {
    animation: orbit-path 3s linear infinite;
    transform-origin: center;
}

@keyframes orbit-path {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 2px;
    animation: pulse-text 1.5s ease-in-out infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
}

@keyframes pulse-text {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/*Category Slider Style---------------------------------------*/
/*.category-slider-portfolio {*/
/*  position: relative;*/
/*  width: 100%;*/
/*  height: 100vh;*/
/*  overflow: hidden;*/
/*  background: linear-gradient(135deg, #1a1a2e, #16213e);*/
/*}*/

.case-study-inner-sec .category-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.case-study-inner-sec .category-btn {
    padding: 12px 28px;
    background: #191919;
    color: #fff;
    font-family: "Poppins", sans-serif;
    border: 0;
    position: relative;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-variant: proportional-nums;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.case-study-inner-sec .category-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

.case-study-inner-sec .category-btn:hover:before {
    left: 100%;
}

.case-study-inner-sec .category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.case-study-inner-sec .category-btn.active {
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 7px 8px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* Carousel Styles */
.case-study-inner-sec .carousel {
    position: relative;
    z-index: 1;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

.case-study-inner-sec .carousel-item {
    --items: 10;
    --width: clamp(250px, 25vw, 320px);
    --height: clamp(350px, 35vw, 450px);
    --x: calc(var(--active) * 600%);
    --y: calc(var(--active) * 150%);
    --rot: calc(var(--active) * 90deg);
    --opacity: calc(var(--zIndex) / var(--items) * 3 - 2);
    overflow: hidden;
    position: absolute;
    z-index: var(--zIndex);
    width: var(--width);
    height: var(--height);
    margin: calc(var(--height) * -0.5) 0 0 calc(var(--width) * -0.5);
    border-radius: 20px;
    top: 50%;
    left: 50%;
    user-select: none;
    transform-origin: 50% 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    background: #000;
    pointer-events: all;
    transform: translate(var(--x), var(--y)) rotate(var(--rot));
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 0.4s ease, border-radius 0.4s ease;
    cursor: pointer;
    border: 4px solid #000;
}

.case-study-inner-sec .carousel-item:hover {
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.6);
}

.case-study-inner-sec .carousel-item.active-slide {
    box-shadow: 0px 0px 50px rgb(255 58 88 / 70%);
    border-color: #ff3a58d9;
    transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(1.05);
}

.case-study-inner-sec .carousel-box {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: var(--opacity);
}

.case-study-inner-sec .carousel-box:before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0) 60%,
            rgba(0, 0, 0, 0.85) 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.carousel-item:hover .carousel-box:before,
.carousel-item.active-slide .carousel-box:before {
    opacity: 1;
}

.case-study-inner-sec .title {
    text-transform: capitalize;
    position: absolute;
    z-index: 3;
    color: #fff;
    bottom: 30px;
    text-align: center;
    left: 28px;
    right: 28px;
    font-size: clamp(20px, 2.5vw, 20px);
    font-weight: 600;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    font-family: "Montserrat", sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.case-study-inner-sec .num {
    position: absolute;
    z-index: 3;
    color: rgba(255, 255, 255, 0.12);
    top: 20px;
    left: 28px;
    font-size: clamp(60px, 15vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    pointer-events: none;
}

/*.category-badge {*/
/*  position: absolute;*/
/*  z-index: 3;*/
/*  color: #fff;*/
/*  top: 24px;*/
/*  right: 24px;*/
/*  font-size: 11px;*/
/*  font-weight: 700;*/
/*  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));*/
/*  padding: 8px 16px;*/
/*  border-radius: 20px;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: 1.2px;*/
/*  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);*/
/*  backdrop-filter: blur(10px);*/
/*}*/

.case-study-inner-sec .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.carousel-item:hover img,
.carousel-item.active-slide img {
    transform: scale(1.08);
}

.case-study-inner-sec .view-project-btn {
    text-align: center;
    font-family: "Poppins", sans-serif;
    line-height: normal;
    border-radius: 100px;
    position: absolute;
    z-index: 4;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    padding: 11px 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    width: auto;
    max-width: 180px;
    min-width: 180px;
    color: #fff;
}

.case-study-inner-sec .carousel-item.active-slide .view-project-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.case-study-inner-sec .view-project-btn:hover {
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.case-study-inner-sec .cursor {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.5);
    margin: -25px 0 0 -25px;
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease,
        border-color 0.3s ease;
    display: none;
    pointer-events: none;
    mix-blend-mode: difference;
}

.case-study-inner-sec .cursor2 {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: rgba(102, 126, 234, 0.8);
    border: none;
    transition: transform 0.1s ease-out;
}

.case-study-inner-sec .carousel-item:hover~.cursor {
    width: 70px;
    height: 70px;
    margin: -35px 0 0 -35px;
    border-color: rgba(102, 126, 234, 0.8);
}

@media (pointer: fine) {
    .cursor {
        display: block;
    }
}

.case-study-inner-sec .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
    font-family: "poppins";
}

.case-study-inner-sec .scroll-indicator.show {
    opacity: 1;
}

/*@keyframes scrollDown {*/
/*  0%,*/
/*  100% {*/
/*    transform: translateY(0);*/
/*    opacity: 0;*/
/*  }*/
/*  50% {*/
/*    transform: translateY(10px);*/
/*    opacity: 1;*/
/*  }*/
/*}*/

/***archieve/page***/

.archive-body-main {
    min-height: 100vh;
}

.archive-body-container h2 {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 21px;
    color: #ffffff !important;
    line-height: 28.8px;
    margin-bottom: 5px;
}

.archive-body-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.archive-body-header {
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    background: #101010;
    padding-top: 180px;
}

.archive-body-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #ffffff;
    line-height: 1.2;
}

.archive-body-description {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.archive-body-description p {
    margin: 0;
}

.archive-body-filters {
    background: #ffffff;
    padding: 0 0;
    padding-top: 80px;
    position: sticky;
    top: 0;
    z-index: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: #191919;
}

.archive-body-filter-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 25px;
    padding-top: 5px;
    justify-content: center;
}

.archive-body-filters a.archive-body-filter-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
    z-index: -1;
}

.case-study-inner-sec .category-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 100px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    transition: 0.5s;
}

.archive-body-filters a.archive-body-filter-item:hover::before {
    width: 100%;
    left: 100%;
    transition: 0.5s;
}

.archive-body-filter-item {
    padding: 12px 28px;
    border: 0 solid #e5e7eb;
    background: #191919;
    color: #fff;
    position: relative;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    font-family: "Poppins";
    overflow: hidden;
    border-radius: 100px;
}

.archive-body-filter-item:hover {
    transform: translateY(-2px);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(160deg, #19b2ff 30%, #ff3a58 70%);
}

.archive-body-filter-item.active {
    background: #1eb0fc;
    border-color: #1eb0fc;
    color: #fff;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    border-radius: 100px;
    box-shadow: 0 7px 8px rgba(102, 126, 234, 0.4);
}

.archive-body-content {
    padding: 20px 0 200px;
    background: #191919;
}

.archive-body-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.archive-body-item {
    background: #191919;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e;
}

.archive-body-item:hover {
    transform: translateY(-8px);
}

.archive-body-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-body-thumbnail {
    position: relative;
    padding-bottom: 70%;
    background: #f3f4f6;
    overflow: hidden;
}

.archive-body-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-body-item:hover .archive-body-thumbnail img {
    transform: scale(1.08);
}

.archive-body-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    background: #f9fafb;
}

.archive-body-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 0, 128, 0.8),
            rgba(0, 204, 255, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.archive-body-item:hover .archive-body-overlay {
    opacity: 1;
}

.archive-body-overlay-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archive-body-info {
    padding: 25px;
    background: #191919;
    color: #fff;
}

.archive-body-category {
    display: inline-block;
    color: #191919;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Poppins";
    margin-bottom: 12px;
    background: linear-gradient(90deg, #f14162, #1db0fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.archive-body-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.archive-body-excerpt {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    font-family: "poppins";
}

.archive-body-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0;
    margin-bottom: 0px;
}

.archive-body-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 7px;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-body-pagination .page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e;
    transform: translateY(-3px);
}

.archive-body-pagination .page-numbers.current {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
    border-color: #f1466e;
    box-shadow: 0px 0 0px #2e9ae0, 0px 0px 0px #f1466e, 0px 0px 7px #f1466e;
}

.archive-body-pagination .next,
.archive-body-pagination .prev {
    padding: 0 18px;
    width: auto;
    height: 44px;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(90deg, #2e9ae0, #f1466e);
    font-weight: 600;
    border: none;
    box-shadow: 1.5px 0 3px #2e9ae0, 4px 4px 4px #f1466e, 1px 1px 5px #f1466e;
    transition: all 0.3s ease;
}

ss .archive-body-pagination .next:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.archive-body-empty {
    text-align: center;
    padding: 100px 20px;
    color: #6b7280;
}

.archive-body-empty svg {
    margin-bottom: 24px;
    opacity: 0.4;
}

.archive-body-empty h2 {
    font-size: 28px;
    margin: 0 0 12px;
    color: #1f2937;
}

.archive-body-empty p {
    font-size: 16px;
    margin: 0;
}

@media (max-width: 1024px) {
    .archive-body-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .archive-body-container {
        padding: 0 20px;
    }

    .archive-body-title {
        font-size: 36px;
    }

    .archive-body-description {
        font-size: 16px;
    }

    .archive-body-filters {
        padding: 20px 0;
    }

    .archive-body-filter-list {
        gap: 10px;
        justify-content: left;
    }

    .archive-body-filter-item {
        padding: 10px 20px;
        font-size: 14px;
    }

    .archive-body-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .archive-body-content {
        padding: 40px 0 60px;
    }
}

@media (max-width: 480px) {
    .case-study-inner-sec .title {
        font-size: clamp(16px, 2.5vw, 20px);
        line-height: 25px;
    }

    .archive-body-title {
        font-size: 28px;
    }

    .archive-body-item-title {
        font-size: 20px;
    }
}

a.archive-body-filter-item::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 100px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    transition: 0.5s;
}

.archive-body-filter-item.active:hover {
    -webkit-text-fill-color: #fff;
}

.header-main ul.et-menu li a:hover {
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(160deg, #19b2ff 25%, #ff3a58 77%);
}

.header-main ul.et-menu li a {
    opacity: 1;
}

/* ================================
   Brand Banner Section
================================ */
.brand-banner-section {
    position: relative;
}

.main-banner-single {
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.main-banner-single::after {
    content: "";
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.main-banner-single h1 {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px;
    width: auto;
    max-width: 600px;
    margin: 0 auto;
    line-height: normal;
}

/* ================================
   Content Video Section
================================ */
.content-video-section {
    padding: 80px 20px;
    background: #101010;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

.flx-txt-box {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.flx-txt-box .left {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
}

.flx-txt-box .right {
    flex: 1;
}

.custom-video-player {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #000;
}

.content-video-section .container {
    width: 100%;
}

.accordion-same-col .et_pb_accordion_item {
    border: 1px solid #ffffff52;
}

/* ================================
   Gallery Section
================================ */
.gallery-section {
    padding: 80px 20px;
    background: #191919;
    color: #fff;
    text-align: center;
    padding-bottom: 200px;
}

.gallery-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
}

.main-gallery-single .portfolio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px;
}

.main-gallery-single .brand-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: block;
}

.main-gallery-single .brand-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.search-portfolio-col .portfolio-grid .portfolio-item {
    height: 400px;
}

.header-main ul.nav {
    margin-left: 0;
    margin-right: 0;
}

body.page-id-301 .search-portfolio-col {
    max-width: 1199px;
}

.logo-image-box .et_pb_column {
    float: unset;
}

.logo-image-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.ti-reviews-container {
    overflow: hidden;
}

body.page-id-295 #main-content h1.main_title {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 46px;
    color: #FFFFFF !important;
    line-height: 54px;
}

/* ================================
   Search Results Wrapper
================================ */
body.search-results .search-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 70px 0px;
    font-family: "Poppins", sans-serif;
    color: #fff;
}

/* ================================
   Filter Tabs
================================ */
body.search-results .filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

body.search-results .filter-tab {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

body.search-results .filter-tab:hover {
    color: #fff;
    border-color: #1db0fc;
}

body.search-results .filter-tab.active {
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
    border: none;
}

/* ================================
   Results Grid
================================ */
body.search-results .results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* ================================
   Result Card
================================ */
body.search-results .result-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    display: flex;
    flex-direction: column;
}

body.search-results .result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0px 10px rgb(222 74 111 / 52%);
}

/* ================================
   Result Image
================================ */
body.search-results .result-image {
    height: 220px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

body.search-results .result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

body.search-results .result-card:hover .result-image img {
    transform: scale(1.05);
}

body.search-results .result-image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.7;
}

body.search-results .result-type-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 1;
}

/* ================================
   Result Content
================================ */
body.search-results .result-content {
    padding: 20px 20px 20px;
    text-align: left;
}

body.search-results .result-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    padding-bottom: 20px;
}

body.search-results .result-title a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

body.search-results .result-title a:hover {
    color: #1db0fc;
}

body.search-results .result-excerpt {
    font-size: 15px;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: 'Poppins';
}

body.search-results .result-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 10px;
}

/* ================================
   Meta Info
================================ */
body.search-results .result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 13px;
    color: #aaa;
    align-items: center;
    margin-top: 10px;
}

body.search-results .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

body.search-results .meta-item svg {
    width: 14px;
    height: 14px;
    stroke: #1db0fc;
}

/* ================================
   Pagination
================================ */
body.search-results .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

body.search-results .pagination a,
body.search-results .pagination span {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

body.search-results .pagination a:hover {
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
}

body.search-results .pagination .current {
    background: linear-gradient(90deg, #1db0fc, #f14162);
    color: #fff;
}

/* ================================
   Hover Overlay
================================ */
body.search-results .result-card:hover .result-image::after {
    opacity: 0.7;
}

body.search-results .search-container .result-image::after {
    position: absolute;
    top: 0;
    z-index: 0;
    content: "";
    left: 0;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.8), rgba(0, 204, 255, 0.8));
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

body.search-results .result-card:hover {
    transform: translateY(-20px) !important;
}

body.search-results .search-form-container {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50px;
}


.main-gallery-single .gallery-item-inner {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.main-gallery-single .gallery-item-inner .gallery-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.gallery-item-inner:hover .gallery-overlay {
    opacity: 1;
    transition: 0.5s;
}

.gallery-item-inner::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(255, 0, 128, 0.8), rgba(0, 204, 255, 0.8));
    opacity: 0.7;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    width: 0%;
    height: 100%;
    border-radius: 7px;
    transform: translateY(-50%)
}

.gallery-item-inner:hover::after {
    width: 100%;
    transition: 0.5s;
    transform: translateY(-50%)
}

.main-gallery-single .gallery-item-inner svg {
    width: 40px;
    height: 40px;
    display: block;
    opacity: 0.9;
    color: #fff;
}

.fancybox__container .fancybox__content img.fancybox-image {
    border-radius: 12px;
    border-top-left-radius: 0;
    box-shadow: rgb(89 145 209) 4px 4px 10px, rgb(241 70 110) 4px 4px 4px;
}

.fancybox__container .fancybox__caption {
    font-size: 15px;
    line-height: normal;
    font-weight: 600;
    color: #fff;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(160deg, #19b2ffd1 19%, #ff3a58cf 77%) !important;
    padding: 10px 55px;
    border-radius: 10px;
    width: auto;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    text-transform: capitalize;
}

.fancybox__container .fancybox__slide::after {
    display: none;
}

.fancybox__container .fancybox__slide::before {
    display: none;
}

.fancybox__container .fancybox__slide {
    justify-content: center;
    width: 100%;
    height: 700px;
}

.fancybox__container .f-thumbs__track {
    background-color: #1a1a1a;
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
    gap: 10px;
}



.fancybox__container .f-thumbs__track::-webkit-scrollbar {
    height: 6px;
}

.fancybox__container .f-thumbs__track::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

.fancybox__container .f-thumbs__track::-webkit-scrollbar-track {
    background: transparent;
}

.fancybox__container .f-thumbs__slide {
    flex: 0 0 auto;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
}

.fancybox__container .f-thumbs__slide__button {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    border-radius: 8px;
    padding: 5px;
    border-top-left-radius: 0;
}

.fancybox__container .f-thumbs__slide__img {
    display: block;
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    filter: brightness(0.6);
    border-top-left-radius: 0;
}

.fancybox__container .f-thumbs__slide__img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    filter: brightness(1);
}

.fancybox__container .f-thumbs__slide.is-nav-selected .f-thumbs__slide__img {
    filter: brightness(1);
    box-shadow: #f1466e 2px 2px 3px;
}

.fancybox__container .fancybox__footer {
    margin-bottom: 50px;
}

.business-same-col img {
    object-fit: cover;
    display: block;
}

/***archieve/page/end***/




/***Border-radius/***/


.portfolio-gallery .gallery-item-inner {
    border-radius: 20px;
    overflow: hidden;
}

.portfolio-gallery .gallery-item:nth-child(3n + 1):nth-child(odd) .gallery-item-inner {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0;
}

.portfolio-gallery .gallery-item:nth-child(3n + 2):nth-child(odd) .gallery-item-inner {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.portfolio-gallery .gallery-item:nth-child(3n + 3):nth-child(odd) .gallery-item-inner {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}

.portfolio-gallery .gallery-item:nth-child(3n + 1):nth-child(even) .gallery-item-inner {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.portfolio-gallery .gallery-item:nth-child(3n + 2):nth-child(even) .gallery-item-inner {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.portfolio-gallery .gallery-item:nth-child(3n + 3):nth-child(even) .gallery-item-inner {
    border-radius: 0;
}

.portfolio-gallery .gallery-item:last-child .gallery-item-inner {
    border-bottom-right-radius: 20px !important;
    border-top-right-radius: 0px !important;
}

.portfolio-gallery>a.gallery-item:first-child .gallery-item-inner {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 20px !important;
}

/***Border-radius/end***/