﻿/*
* ----------------------------------------------------------------------------------------
Author       : Hridoy
Template Name: Bentos - Personal Portfolio HTML Template
Version      : 1.0                                          
* ----------------------------------------------------------------------------------------
*/

/*
* ----------------------------------------------------------------------------------------
* 01.GLOBAL CSS STYLE
* 02.COMMON CSS STYLE
* 03.MENU CSS STYLE
* 04.HEADER CSS STYLE
* 05.ABOUT CSS STYLE
* 06.SERVICE CSS STYLE
* 07.SKILL CSS STYLE
* 08.RESUME CSS STYLE
* 09.PORTFOLIO CSS STYLE
* 10.TESTIMONIALS CSS STYLE
* 11.PRICING CSS STYLE
* 12.CLIENTS CSS STYLE
* 13.CONTACT CSS STYLE
* 14.FOOTER CSS STYLE
* 15.PRELOADER & BOUNCE CCS STYLE
* 16.BLOG CSS STYLE
* ----------------------------------------------------------------------------------------
*/


/*
* ----------------------------------------------------------------------------------------
* 01.GLOBAL STYLE
* ----------------------------------------------------------------------------------------
*/
:root {
    --main-color: #9f9f9f;
    --heading-color: #fff;
    --primary-color: #eb5d3a;
    --lighter-color: #ccc;
    --subtitle-color: #ccc;
    --black-color: #000;
    --border-color: rgba(119, 119, 125, .2);
    --button-border: rgba(119, 119, 125, .2);
    --body-background: #000;
    --grey-bg: #E6EAEE;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
}

body {
    color: var(--main-color);
    background: var(--body-background);
    font-weight: 400;
    line-height: 30px;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;

}




.heading,
input,
select,
textarea,
.nice-select,
.form-control,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.accordion-item .accordion-button {
    color: var(--heading-color);
    font-family: "Poppins", sans-serif;
}

h1,
.h1 {
    font-size: 58px;
}

h2,
.h2 {
    font-size: 22px;
}

h3,
.h3 {
    line-height: 1.3;
    font-size: 30px;
}

h4,
.h4 {
    line-height: 1.1;
    font-size: 24px;
}

h5,
.h5 {
    line-height: 1.4;
    font-size: 20px;
}

h6,
.h6 {
    font-size: 16px;
}


p {
    line-height: 28px;
}

ul,
li {
    margin: 0;
    padding: 0;
}

fieldset {
    border: 0 none;
    margin: 0 auto;
    padding: 0;
}

.no-padding {
    padding: 0
}

a {
    color: var(--main-color);
    cursor: pointer;
    outline: none;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

a:hover,
a:focus,
a:visited {
    text-decoration: none;
    outline: none;
}

a:hover {
    color: var(--primary-color);
}



ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: inline-block;
}

mark {
    color: var(--primary-color);
    background: transparent;
    text-decoration: underline;
}

header:after,
section:after,
footer:after {
    display: block;
    clear: both;
    content: "";
}

input,
select,
textarea,
.nice-select,
.form-control {
    width: 100%;
    height: auto;
    border: none;
    font-size: 20px;
    border-radius: 0;
    padding: 20px 0;
    background-color: #fff;
    border-bottom: 2px solid rgba(41, 41, 41, 0.1);
}

input::-webkit-input-placeholder,
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.nice-select::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input:-ms-input-placeholder,
select:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.nice-select:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input::-ms-input-placeholder,
select::-ms-input-placeholder,
textarea::-ms-input-placeholder,
.nice-select::-ms-input-placeholder,
.form-control::-ms-input-placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input::-webkit-input-placeholder,
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.nice-select::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input::-moz-placeholder,
select::-moz-placeholder,
textarea::-moz-placeholder,
.nice-select::-moz-placeholder,
.form-control::-moz-placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input:-ms-input-placeholder,
select:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.nice-select:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input::placeholder,
select::placeholder,
textarea::placeholder,
.nice-select::placeholder,
.form-control::placeholder {
    color: var(--heading-color);
    opacity: .4;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

input:focus,
select:focus,
textarea:focus,
.nice-select:focus,
.form-control:focus {
    border-bottom: 2px solid rgba(41, 41, 41, 0.1);
}

.nice-select {
    font-size: 20px;
    line-height: 1.3;
}

.nice-select:after {
    width: 8px;
    height: 8px;
    right: 8px;
    border-color: var(--heading-color);
}

.nice-select .current {
    font-weight: 500;
    color: var(--heading-color);
}

.nice-select .list {
    min-width: 100%;
    border-radius: 0;
}

textarea {
    display: inherit;
    padding-top: 20px;
}

label {
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--main-color);
}

.form-group {
    position: relative;
    margin-bottom: 15px;
}

input:focus,
button:focus,
.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #cfdbf1;
}

input[type=search]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type=search]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    display: none;
}

input[type=checkbox],
input[type=radio] {
    height: auto;
    width: auto;
}

html {
    scroll-behavior: unset !important;
}


/*
* ----------------------------------------------------------------------------------------
* 02.COMMON CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.no-gap {
    margin-left: 0;
    margin-right: 0;
}

.no-gap>div {
    padding-left: 0;
    padding-right: 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title .sub-title {
    font-weight: 500;
    display: block;
    color: rgba(255, 255, 255, 0.65);
}

.section-title h2 {
    margin-bottom: 15px;
    font-size: 50px;
}

.section-title p {
    font-size: 16px;
    padding: 0px 300px;
}

.section-title h2 span {
    color: var(--primary-color);
}


.section-title h6 {
    font-size: 18px;
}

.section-title h6 span {
    color: var(--primary-color);
}

.theme-btn {
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    border: 1px solid var(--button-border);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    overflow: visible;
    border-radius: 15px;
    padding: 12px 24px;
    text-align: center;
    text-transform: none;
    -webkit-transition: .3s;
    transition: .3s
}

.menu-btns a.theme-btn {
    background: transparent;
}

.menu-btns a.theme-btn:hover {
    background: var(--primary-color);
}

.theme-btn:focus {
    text-decoration: none;
    -webkit-transition: .3s;
    transition: .3s
}

.theme-btn i {
    margin-left: 4px;
}

.theme-btn:hover {
    border: 1px solid var(--button-border);
    text-decoration: none;
    color: #fff;
    -webkit-transition: .3s;
    transition: .3s;
    background: transparent;
}

.theme-btn:active {
    box-shadow: rgba(0, 0, 0, .125) 0 3px 5px inset;
    outline: 0;
}


.details-btn {
    width: 50px;
    height: 50px;
    background: #131313;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border: 1px solid var(--border-color);
}

.details-btn:hover {
    color: var(--black-color);
    background: var(--primary-color);
}

.read-more {
    color: white;
    font-size: 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-transform: capitalize;
}

.read-more i {
    float: right;
    margin-top: 2px;
    margin-left: 7px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more:hover i {
    margin-left: 10px;
}

.list-style-one li {
    color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 500;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.list-style-one li:not(:last-child) {
    margin-bottom: 10px;
}

.list-style-one.two-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 30px;
}

.list-style-one.two-column li {
    width: 48%;
    color: rgb(119, 119, 125);
    font-size: 16px;
}


.list-style-one.two-column li i {
    padding-right: 10px;
}

.list-style-two li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}



.list-style-two li:before {
    content: "\f00c";
    line-height: 1;
    font-size: 16px;
    margin-right: 20px;
    color: var(--lighter-color);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    font-family: "Font Awesome 5 Pro";
}

.list-style-two li:not(:last-child) {
    margin-bottom: 25px;
}

.social-style-one {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: -5px;
    margin-right: -5px;
}

.social-style-one a {
    color: #B0AFAF;
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px;
    width: 35px;
    height: 35px;
    background: #0C0B0B;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
}

.social-style-one a:hover {
    color: var(--black-color);
    background: var(--primary-color);
}

.social-style-two {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: -12px;
    margin-right: -12px;
}

.social-style-two a {
    color: rgba(255, 255, 255, 0.35);
    margin-left: 12px;
    margin-right: 12px;
}

.social-style-two a:hover {
    color: var(--primary-color);
}


.pagination {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    margin-left: -15px;
    margin-right: -15px;
}

.pagination li {
    margin: 10px 15px 0;
}

.pagination li a,
.pagination li .page-link {
    padding: 0;
    border: none;
    font-size: 24px;
    box-shadow: none;
    font-weight: 600;
    color: var(--main-color);
    background: transparent;
}

.pagination li.active .page-link,
.pagination li:hover:not(.disabled) .page-link {
    background: transparent;
    color: var(--primary-color);
}

.ratting {
    line-height: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: -5px;
    margin-right: -5px;
}

.ratting i {
    margin: 5px;
    color: #AB6034;
}

.slick-arrow {
    width: 40px;
    height: 40px;
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    line-height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 1px solid var(--button-border);
}

.slick-arrow:focus,
.slick-arrow:hover {
    color: #fff;
    background: transparent;
    border-color: var(--primary-color);
}

.slider-arrows button:first-child {
    margin-right: 5px;
}

.slider-arrows button:last-child {}

/*** Slick Dots ***/
.slick-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.slick-dots li {
    position: relative;
    cursor: pointer;
    margin: 8px;
    width: 6px;
    height: 6px;
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border-radius: 50%;
    background: #1D1B1A;
}

.slick-dots li button {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    height: 0;
}

.slick-dots li:before {
    content: '';
    width: 0;
    height: 0;
    left: 50%;
    top: 50%;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border-radius: 50%;
    position: absolute;
    border: 1px solid var(--primary-color);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.slick-dots li.slick-active {
    background: var(--primary-color);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.slick-dots li.slick-active:before {
    width: 21px;
    height: 21px;
}

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

.text-white *,
.text-white a,
.text-white .count-text,
.text-white .footer-newsletter-content .sub-title {
    color: white;
}

.text-white li li .dropdown-btn span {
    color: var(--heading-color);
}

.text-white .copyright-area p {
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.text-white .copyright-area a {
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.text-white .copyright-area a:hover {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.banner-inner h1 {
    font-size: 75px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.banner-inner h3 {
    margin-bottom: 20px;
}



.breadcrumb {
    padding: 0;
    margin: 0;
    font-size: 18px;
    background: transparent;
    text-transform: capitalize;
}



.breadcrumb .breadcrumb-item {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.breadcrumb .breadcrumb-item a {
    color: white;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb .breadcrumb-item+.breadcrumb-item:before {
    margin-left: 20px;
    margin-right: 20px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    content: "";
    width: 5px;
    height: 5px;
    padding-right: 0;
    border-radius: 50%;
    background: white;
}


.innerpage-area {
    padding-top: 150px;
    padding-bottom: 30px;
}


.innerpage-area h2 {
    font-size: 50px;
    text-align: center;
    text-transform: uppercase;
}

.innerpage-single-area {
    padding-top: 115px !important;
}

/*
* ----------------------------------------------------------------------------------------
* 03.MENU CSS STYLE
* ----------------------------------------------------------------------------------------
*/
#lightonoff {
    width: 30px;
    cursor: pointer;
}

.main-header {
    position: relative;
    left: 0px;
    top: 0px;
    z-index: 999;
    width: 100%;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.main-header .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
}

.fixed-header .header-inner {
    padding: 10px 0px;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    border-bottom: 1px solid rgba(119, 119, 125, .2);
}

.header-inner {
    padding: 30px 0px;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.main-header .header-upper {
    z-index: 5;
    width: 100%;
    position: fixed;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    background: var(--body-background);
}

.main-header .logo-outer {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}


.main-header .logo {
    z-index: 9;
    padding: 2px 0;
    position: relative;
}

.main-header .logo img {
    width: 120px;
}

.main-header .nice-select .current {
    color: white;
}

.main-header.menu-absolute .header-upper {
    position: absolute;
}

.main-header.fixed-header .header-upper {
    top: 0;
    left: 0;
    position: fixed;
    -webkit-animation: easeIn 1s;
    animation: easeIn 1s;
}


.fixed-header .main-menu .navbar-collapse li a:hover {
    color: var(--primary-color);
}


.menu-social a {
    margin-left: 18px;
    margin-right: 18px;
}




.nav-outer {
    margin-left: auto;
}

.main-menu .mobile-logo {
    margin-right: auto;
}

.main-menu .mobile-logo img {
    width: 75px;
}



.main-menu .navbar-collapse {
    padding: 0px;
}

.main-menu .navbar-collapse>ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}



.main-menu .navbar-collapse li {
    padding: 12px 5px 12px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}



.main-menu .navbar-collapse li.dropdown .dropdown-btn {
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
    color: var(--heading-color);
}


.main-menu .navbar-collapse li a {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    display: block;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    text-transform: capitalize;
    color: rgb(206 206 206);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}



.main-menu .navbar-collapse li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}




.main-menu .navbar-collapse li ul li {
    width: 100%;
    padding: 7px 20px;
}



.main-menu .navbar-collapse li ul li ul {
    left: 100%;
    top: 0%;
}


.main-menu .navbar-header {
    display: none;
}



.main-menu .navbar-header .navbar-toggle {
    float: right;
    padding: 4px 0;
    cursor: pointer;
    background: transparent;
}

.main-menu .navbar-header .navbar-toggle .icon-bar {
    background: var(--main-color);
    height: 3px;
    width: 26px;
    display: block;
    margin: 5px 0;
}





/*
* ----------------------------------------------------------------------------------------
* 04.HEADER CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.main-hero-area {
    padding-top: 115px;
}

.hero-content {
    padding: 100px 50px;
    position: relative;
}


.hero-content h2 {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: rgb(142, 142, 146);
    font-size: 20px;
}

.hero-content h1 {
    font-weight: 500;
    line-height: 68px;
    margin: 10px 0px;
    font-size: 80px;
    text-transform: uppercase;
}

.hero-content h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #000;
}

.hero-btns {
    margin-top: 30px;
}

.hero-content .hero-btns .read-more {
    margin-top: 15px;
    text-decoration: underline;
}

.author-image-part {
    z-index: 1;
    overflow: hidden;
    max-width: 575px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: center;
    border-radius: 0 0 580px 565px;
}

.author-image-part .bg-circle {
    z-index: -2;
    width: 425px;
    height: 425px;
    position: absolute;
    left: 5%;
    top: 4%;
    border-radius: 50%;
    background: var(--black-color);
}


.author-image-part .progress-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    text-align: center;
}

.hero-counter-area {
    margin-top: 60px;
    padding: 35px 40px;
    border-radius: 100px;
    background: var(--primary-color);
    width: 80%;
    margin: 0 auto;
}


.counter-item {
    text-align: center;
}

.counter-title {
    color: var(--black-color);
}

.hero-counter-area .count-text {
    line-height: 1;
    font-weight: 700;
    color: var(--black-color);
    text-align: center;
    font-size: 50px;

}

.hero-counter-area .count-text.plus:after {
    content: '+';
}

.hero-counter-area .count-text.k-plus:after {
    content: 'k+';
}

.hero-counter-area .count-text.percent:after {
    content: '%+';
}

.hero-counter-area .counter-title {
    display: block;
}





/*
* ----------------------------------------------------------------------------------------
* 05.ABOUT CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.about-area {
    padding-top: 115px;
    padding-bottom: 30px;
}

.about-single-area {
    padding-bottom: 15px;
}

.hero-content .job {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 15px 40px;
    margin-top: 10px;
}

.hero-content .job span {
    position: relative;
    display: inline-block;
    padding-right: 15px;
    margin-right: 10px;
}

.hero-content .job span:last-child {
    margin: 0px;
    padding: 0px;
}

.hero-content .job span:last-child:after {
    display: none;
}

.hero-content .job span::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    background-color: rgba(0, 0, 0, .15);
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
}

.container-inner {
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.025) 0px 0.362176px 0.651917px -1px inset, rgba(255, 255, 255, 0.036) 0px 3px 5.4px -2px inset;
    background-color: #121214;
}

.about-content-part {}

.about-image-part {
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.025) 0px 0.362176px 0.651917px -1px inset, rgba(255, 255, 255, 0.036) 0px 3px 5.4px -2px inset;
    background-color: #121214;
}

.about-content-part,
.about-content-part-bottom {
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.025) 0px 0.362176px 0.651917px -1px inset, rgba(255, 255, 255, 0.036) 0px 3px 5.4px -2px inset;
    background-color: #121214;
}

.about-content-part-bottom {
    margin-top: 30px;
}

.about-content-part-bottom h2 {
    margin-bottom: 35px;
}

.about-image-part img {
    width: 300px;
}

.about-image-part h2 {
    font-size: 40px;
}

.about-content-part h2 {
    
    margin-bottom: 20px;
}


.about-content-part h2 span {
    padding: 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.adress-field ul li {}

.adress-field ul li i {
    color: #00FF00;
    margin-right: 10px;
    font-size: 13px;
}


.about-social {
    margin-top: 20px;
}

.about-social ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: nowrap; /* 防止换行 */
}

.about-social ul li {
    margin: 0 10px !important; /* 使用!important确保优先级 */
}

.about-social ul li .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px; /* 方形带圆角 */
    border: 1px solid rgba(255, 255, 255, 0.2); /* 边框 */
    transition: all 0.3s ease;
    cursor: default;
}

/* 确保内联样式不会覆盖我们的边框 */
.about-social ul li .icon-container img {
    max-width: 24px;
    max-height: 24px;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .about-social ul li {
        margin: 0 8px !important;
    }
    
    .about-social ul li .icon-container {
        width: 36px;
        height: 36px;
    }
    
    .about-social ul li .icon-container img {
        max-width: 18px;
        max-height: 18px;
    }
}

/* 更小屏幕的适配 */
@media (max-width: 280px) {
    .about-social ul li {
        margin: 0 5px !important;
    }
    
    .about-social ul li .icon-container {
        width: 32px;
        height: 32px;
    }
    
    .about-social ul li .icon-container img {
        max-width: 16px;
        max-height: 16px;
    }
}

.about-image-part .dot-shape {
    position: absolute;
    left: -10%;
    top: 25%;
    -webkit-animation: rotated_circle linear 10s infinite;
    animation: rotated_circle linear 10s infinite;
}

.about-btn {
    display: inline-flex;
    color: #fff;
    border: 1px solid rgb(237, 237, 238);
    padding: 15px 20px 10px 20px;
    border-radius: 30px;
}

.about-btn img {
    border-radius: 50%;
    margin-right: 15px;
}

.about-btn h6 {
    font-weight: 400;
    color: rgb(119, 119, 125);
    margin-bottom: 0;
    margin-right: 15px;
    margin-top: -5px;

}


.about-btn i {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}




.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.scroller__inner img {
    margin-right: 30px;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg,
        transparent,
        white 20%,
        white 80%,
        transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}



.tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.tag-list li {
    padding: 1rem;
    background: var(--clr-primary-400);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem -0.25rem var(--clr-primary-900);
}

/* for testing purposed to ensure the animation lined up correctly */
.test {
    background: red !important;
}





/*
* ----------------------------------------------------------------------------------------
* 06.SERVICE CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.services-area {
    padding-top: 15px;
    padding-bottom: 15px;

}

.service-item {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    padding: 60px 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}


.service-item p {
    margin-bottom: 0;
    color: rgb(119, 119, 125);
}

.service-item h4 {
    color: var(--subtitle-color);
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.service-item i {
    font-size: 60px;
    color: #999;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.service-item:hover {
    border-color: var(--primary-color);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.service-item:hover.service-item i {
    color: var(--primary-color);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.service-item:hover .details-btn {
    color: var(--black-color);
    background: var(--primary-color);
}


/*
* ----------------------------------------------------------------------------------------
* 07.SKILL CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.skill-area {
    padding-top: 20px;
}

.skill-item {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 14px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.skill-item h5 {
    margin-top: 20px;
    color: var(--subtitle-color);
    font-size: 16px;
    line-height: 19px;
}

.skill-item .percent {
    padding: 10px;
    display: block;
    font-size: 20px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    color: var(--black-color);
}

.skill-item:hover {
    border-color: var(--primary-color);
}

.skill-item:hover .percent {
    color: var(--heading-color);
    background: var(--black-color);
}

.extra-skills {}

.extra-skills ul {
    margin-top: 30px;
}

ul.extra-skills li {
    border: 1px solid var(--border-color);
    display: inline-block;
    border-radius: 12px;
    padding: 3px 10px;
    margin-bottom: 10px;
    margin-right: 20px;
}

ul.extra-skills li i {
    padding-right: 10px;
}

/*
* ----------------------------------------------------------------------------------------
* 08.RESUME CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.resume-area {
    padding-top: 15px;
    padding-bottom: 15px;
}

.single-resume {
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.025) 0px 0.362176px 0.651917px -1px inset, rgba(255, 255, 255, 0.036) 0px 3px 5.4px -2px inset;
    background-color: #121214;
}

.experience-list {

    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.resume-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid rgba(119, 119, 125, .2);
    padding-bottom: 30px;
    padding-top: 30px;
}

.resume-item .icon {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: #F9F9F9;
    line-height: 50px;
    border-radius: 12px;
    text-align: center;
    color: var(--primary-color);
    font-size: 20px;
}

.resume-item .content .years {
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}

.resume-item .content h4 {
    margin: 12px 0px;
    color: var(--subtitle-color);
    font-size: 20px;

}

.resume-item .content .company {
    color: rgb(119, 119, 125);
    font-size: 16px;
}









/*
* ----------------------------------------------------------------------------------------
* 09.PORTFOLIO CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.projects-area {
    padding-top: 15px;
    padding-bottom: 15px;
}

.single-project-page-right,
.single-project-page-left {
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.025) 0px 0.362176px 0.651917px -1px inset, rgba(255, 255, 255, 0.036) 0px 3px 5.4px -2px inset;
    background-color: #121214;
}

.single-project-page-design {
    padding-top: 200px;
}

.single-project-image img {
    width: 100%;
}

.single-info h3 {
    font-size: 20px;
}
.single-image{
    margin-bottom: 30px;
}
.single-info {
    padding-bottom: 30px;
}
.single-info:last-child{
    padding-bottom: 0px;
}

.single-info p {
    margin-bottom: 0;
}

.project-image {
    margin-bottom: 45px;
}

.single-project-item {
    padding: 30px;
    border: 1px solid var(--border-color);
}

.project-image img {
    width: 100%;
}

.project-content {}

.project-content .sub-title {
    margin-bottom: 0;
    color: rgb(119, 119, 125);
}

.project-content h2 {
    margin-bottom: 30px;
    color: #fff;
}


.project-content .details-btn {
    margin-top: 25px;
}

.project-item.style-two {
    margin-bottom: 30px;

}

.project-item.style-two .project-image {
    margin-bottom: 18px;
    z-index: 1;
    position: relative;
}

.project-item.style-two .project-image:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    background-color: var(--black-color);
}

.project-item.style-two .project-image:before {
    z-index: 1;
    -webkit-transition: .3s;
    transition: .3s;
}

.project-item.style-two .project-image .details-btn {
    z-index: 2;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    line-height: 65px;
    border-radius: 50%;
    text-align: center;
}

.project-item.style-two .project-content {
    margin-bottom: 0;
    padding-left: 20px;
    padding-bottom: 20px;
}

.project-item.style-two .project-content h3 {
    color: var(--subtitle-color);
    font-size: 20px;
    display: block;
}

.project-item.style-two {
    border: 1px solid var(--border-color);
    border-radius: 16px;
}


.project-item.style-two:hover .project-image:before {
    opacity: .65;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
}

.project-item.style-two:hover .project-image .details-btn {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


.filter-btns-one {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}

.filter-btns-one li {
    line-height: 1;
    cursor: pointer;
    font-size: 14px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-weight: 500;
    position: relative;
    margin: 0 20px 20px;
    padding-bottom: 15px;
    color: rgb(119, 119, 125);
}

.filter-btns-one li:after {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 30px;
    height: 3px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    background: var(--primary-color);
}

.filter-btns-one li.current {
    color: var(--primary-color);
}

.filter-btns-one li.current:after {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


.project-item.style-three .project-content .project-btn {
    font-size: 22px;
    margin-bottom: 5px;
    display: inline-block;
    color: var(--lighter-color);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.project-item.style-three .project-content .sub-title {
    font-weight: 500;
    color: var(--lighter-color);
}

.project-item.style-three .project-content h4 {
    font-weight: 700;
    margin-bottom: 0;
}

.project-item.style-three .project-content h4 a {
    color: var(--lighter-color);
}

.project-item.style-three:hover:before {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.project-item.style-three:hover .project-content {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

/* Project Details */
.project-details-content h3 {
    margin-bottom: 35px;
}

.project-details-content .list-style-one {
    max-width: 600px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.project-details-content .list-style-one li {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
}

.project-details-content .list-style-one li:before {
    font-size: 24px;
    margin-right: 15px;
}

.project-details-info {
    padding: 40px 60px;
    border-radius: 15px;
    background-color: var(--primary-color);
}


.pd-info-item:not(:last-child) {
    margin-bottom: 35px;
}

.pd-info-item span {
    display: block;
    color: var(--lighter-color);
    font-family: "Poppins", sans-serif;
}

.pd-info-item h5 {
    color: var(--lighter-color);
    font-family: "Poppins", sans-serif;
    y: "Syne", sans-serif;
}


.tag-share {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 20px 40px 0;
    border-radius: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
}






/*
* ----------------------------------------------------------------------------------------
* 10.TESTIMONIALS CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.testimonials-area {
    padding-top: 15px;
    padding-bottom: 15px;
}

.testimonial-item {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    padding: 20px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}


.testimonial-item .author {
    margin-bottom: 25px;
    display: inline-block;
}

.testimonial-item .author img {
    display: inline-block;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}


.testimonial-item .text {
    margin-bottom: 30px;
}

.testimonial-item .testi-des h5 {
    margin-bottom: 0;
    color: var(--subtitle-color);
    font-size: 20px;
}


.testimonial-item .testi-des span {
    margin-bottom: 0;
    color: rgb(119, 119, 125);
    font-size: 14px;
    line-height: 22px;
}

.testimonial-item:hover {
    border: 1px solid var(--primary-color);
}

.testimonial-item:hover .author:before {
    color: var(--black-color);
    background: var(--primary-color);
}

.testimonials-wrap {
    margin-left: -15px;
    margin-right: -15px;
}

.testimonials-wrap .testimonial-item {
    margin-left: 15px;
    margin-right: 15px;
}






/*
* ----------------------------------------------------------------------------------------
* 11.PRICING CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.pricing-area {
    padding-top: 15px;
    padding-bottom: 15px;
}

.pricing-item {
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);

}

.pricing-item .pricing-header {
    padding: 20px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.pricing-header h4.title {
    margin: 12px 0px;
    color: var(--subtitle-color);
    font-size: 22px;
    line-height: 29px;
    padding-bottom: 20px;
}

.pricing-item .pricing-header .save-percent {
    margin-bottom: 20px;
    color: rgb(119, 119, 125);
    font-size: 20px;
    line-height: 27px;
}

.pricing-item .pricing-header .save-percent span {
    color: var(--primary-color);
}

.pricing-item .pricing-header .price {
    font-size: 38px;
    font-weight: 500;
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
}



.pricing-item .pricing-header .price:before {
    content: '$';
}

.pricing-item .pricing-header .price:after {
    font-size: 16px;
    font-weight: 400;
    color: var(--main-color);
    content: '/Hour';
}

.pricing-item .pricing-details {
    padding: 20px 20px;
}



.pricing-item .pricing-details p {
    margin-bottom: 35px;
}

.pricing-item .pricing-details ul {
    padding-bottom: 12px;
}

.pricing-item .pricing-details ul li {
    color: rgb(119, 119, 125);
    margin-bottom: 10px;
}

.pricing-item .pricing-details ul li i {
    padding-right: 10px;
}


.pricing-item .pricing-details ul li.unable {
    color: var(--main-color);
    opacity: 0.35;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=35)";
}

.pricing-item .pricing-details ul li.unable:before {
    color: white;
}






/*
* ----------------------------------------------------------------------------------------
* 12.CLIENTS CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.client-logo-area {
    padding-top: 20px;
}

.client-logo-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -30px;
    margin-right: -30px;
}



.client-logo-wrap .client-logo-item {
    width: calc(20% - 60px);
    margin: 0 30px 10px;
}


/*
* ----------------------------------------------------------------------------------------
* 13.CONTACT CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.contact-area {
    padding-top: 15px;
    padding-bottom: 15px;
}

.contact-form-area .form-group {
    margin-bottom: 32px;
}

.contact-form-area .form-group .for-icon {
    right: 26px;
    font-size: 16px;
    margin-bottom: 0;
    position: absolute;
    margin-top: -45px;
    color: #000;
}

.contact-form-area .form-group .form-control {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    line-height: 1.3;
    padding: 19px 20px 19px 20px;
    background: #F9F9F9;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.contact-form-area .form-group .form-control:focus {
    box-shadow: none;
    background: #F9F9F9;
    border-color: var(--border-color);
}


.contact-form-area .form-group label {
    font-size: 16px;
    color: var(--main-color);
    font-weight: 500;
    margin-bottom: 18px;
}

.contact-form-area .form-group .nice-select .current {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.2);
}

.contact-form-area .form-group .nice-select:focus .current {
    color: white;
}

.contact-form-area .form-group .nice-select:focus:after {
    border-color: white;
}

.contact-form-area .form-group .nice-select .list {
    background: var(--black-color);
}

.contact-form-area .form-group .nice-select .option.focus,
.contact-form-area .form-group .nice-select .option.selected.focus,
.contact-form-area .form-group .nice-select .option:hover {
    background-color: var(--heading-color);
}

.contact-form-area .form-group .nice-select:after {
    right: 26px;
    margin-top: -6px;
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    padding-bottom: 1px;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.single-contact {
    padding-bottom: 20px;
}

.contact-form-area {
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.single-contact h2 {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-transform: capitalize;
    font-weight: 500;
    -webkit-transition: .3s;
    transition: .3s;
    color: var(--subtitle-color);
}

.contact-content-part {
    padding: 50px 30px 20px 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-page-content h6 {
    font-size: 18px;
    margin-bottom: 22px;
}

.contact-page-content .social-style-one a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: var(--lighter-color);
}

.contact-page-content .social-style-one a:not(:hover) {
    background: white;
}

.contact-page-form {
    padding: 45px 50px 50px;
    border-radius: 14px;
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
}



.contact-page-form .form-group .nice-select,
.contact-page-form .form-group .form-control {
    background: rgba(255, 255, 255, 0.07);
}

.our-location iframe {
    height: 600px;
}



.has-error .help-block.with-errors {
    margin-top: 5px;
    color: red;
}

#msgSubmit.h4 {
    font-size: 20px;
    margin-bottom: 0;
    margin-top: 10px;
}




/*
* ----------------------------------------------------------------------------------------
* 14.FOOTER CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.call-to-action-part {
    padding: 80px 200px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.025) 0px 0.362176px 0.651917px -1px inset, rgba(255, 255, 255, 0.036) 0px 3px 5.4px -2px inset;
    background-color: #121214;
}
.call-to-action-area {
    padding-top: 15px;
    
}
.call-to-action-part  h2{
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 20px;
    font-weight: 400;
}
.footer-bottom {}

.footer-bottom .copyright-text {
    color: var(--main-color);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.footer-bottom .copyright-text a {
    color: var(--primary-color);
}

.extra-copyright p {
    text-align: right;
}

/*
* ----------------------------------------------------------------------------------------
* 15.PRELOADER & BOUNCE CCS STYLE
* ----------------------------------------------------------------------------------------
*/

body.loaded {
    overflow: hidden !important;
    height: 100% !important;
}

.preloader {
    position: fixed;
    z-index: 10;
    height: 100vh;
    width: 100%;
    left: 0;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: transparent;
    z-index: 99999999999999;
}

.preloader svg {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 110vh;
    fill: var(--tj-black-2);
}

.preloader .preloader-heading .load-text {
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 15px;
    text-transform: uppercase;
    z-index: 20;
}

.load-text span {
    -webkit-animation: loading 1s infinite alternate;
    animation: loading 1s infinite alternate;
}

.load-text span:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.load-text span:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.load-text span:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.load-text span:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.load-text span:nth-child(5) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.load-text span:nth-child(6) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.load-text span:nth-child(7) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

@-webkit-keyframes loading {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes loading {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.progress-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 44px;
    width: 44px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 100;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
    mix-blend-mode: difference;
}

.progress-wrap.active-progress {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.progress-wrap i {
    position: absolute;
    left: 10px;
    top: 8px;
    font-size: 25px;
    text-align: center;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #fff;
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}

.progress-wrap {
    right: 10px;
    bottom: 20px;
}


/*
* ----------------------------------------------------------------------------------------
* 16.BLOG CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.blog-area {
    padding-top: 50px;
    padding-bottom: 50px;
}

.blog-category {
    padding-bottom: 100px;
}

.blog-item {
    margin-bottom: 10px;
    border-radius: 16px;
    -webkit-transition: .4s;
    transition: .4s;
}

.blog-item .image {
    margin-bottom: 10px;
}



.blog-item .image img {
    width: 100%;
}

.blog-item .content {
    padding: 30px;
    background: var(--grey-bg);
    border-radius: 0px 0px 10px 10px;
}

.blog-item .content h5 {
    margin: 12px 0px;
    color: rgb(29, 29, 38);
    font-size: 20px;
}

.blog-item .content h5 a {
    color: var(--heading-color);
}

.blog-item .content h5 a:hover {
    color: var(--primary-color);
}



.single-blog-post {
    margin-bottom: 50px;
}

.single-blog-post h2 {
    font-size: 22px;
}

.single-blog-post a.read-more {
    background: #000;
    color: #fff;
    padding: 6px 20px;
    border: 1px solid #000;
}

.single-blog-post a.read-more:hover {
    background: transparent;
    color: #000;
    border: 1px solid #000;
}

.post-date {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.post-date span {
    margin-right: 20px;
    color: var(--heading-color);
}

.post-date span i {
    margin-right: 5px;
    color: #fff;
}

.single-blog-post p {
    font-size: 16px;
    margin-bottom: 20px;
}

.blog-carosel-control {
    position: absolute;
    top: 50%;
    color: #000;
    font-size: 30px;
    margin-top: -50px;
    background: #333;
    height: 100px;
    width: 25px;
    text-align: center;
    line-height: 99px;
}

.blog-carosel-control.right {
    right: 0px;
    left: auto;
}

.pagination {
    margin: 0;
}

ul.blog_pagination li a {
    border: 1px solid #e8e8e9;
    border-radius: 0 !important;
    color: #353535;
    font-size: 16px;
    height: 35px;
    line-height: 20px;
    margin: 5px;
    width: 35px;
}

.black-icon {
    background: #333 none repeat scroll 0 0 !important;
    color: #fff !important;
}

.black-icon:hover {
    background: #333 !important;
}

.black-icon i {
    font-size: 14px;
}

ul.blog_pagination li a:hover {
    color: #fff;
    background: #333;
    border: 1px solid #333;
}

.single-side-bar {
    margin-bottom: 40px;
    overflow: hidden;
}

.single-side-bar h2 {
    margin-bottom: 15px;
    font-size: 22px;
    margin-top: 0;
    text-transform: capitalize;
}

.single-side-bar input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #333;
    border-radius: 0;
    box-shadow: none;
    color: #e3e8f0;
    height: 50px;
    float: left;
    padding-left: 10px;
}

.single-side-bar input:hover,
.single-side-bar input:focus {
    border: 1px solid #333;
    box-shadow: none;
    outline: 0 none;
}

.single-side-bar button {
    background: #333 none repeat scroll 0 0;
    border: 1px solid #333;
    color: #fff;
    height: 42px;
    padding: 0 32px;
    -webkit-transition: .3s;
    transition: .3s;
}

.single-side-bar button:hover {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    -webkit-transition: .3s;
    transition: .3s;
}

.single-side-bar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-side-bar ul li a {
    color: #fff;
    display: block;
    font-size: 16px;
    padding: 5px 0;
    opacity: .7;
}

.single-side-bar ul li a span {
    float: right;
}

.single-side-bar ul li a:hover {
    color: #fff;
    opacity: 1;
}

.single-blog-social-icon {
    overflow: hidden;
    float: left;
    width: 177px;
    margin-bottom: 10px;
}

.single-blog-social-icon i {
    border: 1px solid #333;
    border-radius: 50px;
    float: left;
    font-size: 22px;
    height: 50px;
    line-height: 50px;
    margin-right: 15px;
    text-align: center;
    width: 50px;
}

.single-blog-social-icon .facebook {
    border: 1px solid #5d82d1;
    color: #5d82d1;
}

.single-blog-social-icon .twitter {
    border: 1px solid #00BFF3;
    color: #00BFF3;
}

.single-blog-social-icon .youtube {
    border: 1px solid #CB1D1F;
    color: #CB1D1F;
}

.single-blog-social-icon .youtube-play {
    border: 1px solid #CB1D1F;
    color: #CB1D1F;
}

.single-blog-social-icon .behance {
    border: 1px solid #0068FF;
    color: #0068FF;
}

.single-blog-social-icon .dribbble {
    border: 1px solid #EA4C8A;
    color: #EA4C8A;
}

.tag {
    overflow: hidden;
}

.tag a {
    color: #fff;
    float: left;
    font-size: 14px;
    font-weight: 300;
    margin: 5px 7px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    padding: 5px 8px;
    border: 1px solid #333;
}

.tag a:hover {
    color: #ccc;
    border: 1px solid #333;
    background: transparent;
}

.single-blog-post-details blockquote {
    font-size: 16px;
    line-height: 28px;
    padding-left: 40px;
    border-left: 1px solid #fff;
}

.single-blog-post-details img {
    width: 100%;
}

.single-blog-post-details h2 {
    padding: 20px 0px;
}

.next-previews-button-design {
    margin-top: 40px;
    overflow: hidden;
}

.next-previews-button-design a {
    color: #000;
}

.post-comments-area {
    overflow: hidden;
    margin-top: 50px;
}

.post-comments-area h2 {
    margin-bottom: 20px;
}

.single-comment {
    overflow: hidden;
    margin-bottom: 60px;
}

.single-comment img {
    float: left;
    margin-right: 50px;
    margin-bottom: 80px;
    width: 100px;
    border-radius: 50%;
}

.single-comment h5 {
    font-weight: 700;
}

.single-comment p {}

.single-comment a {
    color: #fff;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-comment a:hover {
    color: #333;
}

.single-comment a i {
    font-size: 10px;
    background: #767676 none repeat scroll 0 0;
    color: #fff;
    padding: 5px;
    margin-right: 5px;
    border-radius: 30px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-comment a:hover i {
    background: #333 none repeat scroll 0 0;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    padding: 5px;
}

.comment-form-area {
    margin-left: 150px;
}

.comment-form-area input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #e3e8f0;
    box-shadow: none;
    color: #fff;
    height: 50px;
    border-radius: 0;
    padding-left: 10px;
}


.comment-form-area input:hover,
.comment-form-area input:focus {
    border: 1px solid #333;
    box-shadow: none;
    outline: 0 none;
}

.comment-form-area textarea {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #e3e8f0;
    box-shadow: none;
    color: #333;
    height: 150px;
    border-radius: 0;
    padding-left: 10px;
}

.comment-form-area textarea:hover,
.comment-form-area textarea:focus {
    border: 1px solid #333;
    box-shadow: none;
    outline: 0 none;
}

.comment-form-area button {
    background: #000 none repeat scroll 0 0;
    border: 1px solid #333;
    color: #fff;
    font-size: 16px;
    padding: 7px 10px;
    display: inline-block;
}

.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 6px;
    height: 6px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #000;
}

.single-blog {
    margin-right: 30px;
}

.single-blog h5 {
    font-weight: 300;
    font-size: 12px;
}

.single-blog h3 {
    color: #aeaeae;
    padding: 10px 15px;
    font-size: 10px;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 3px;
}

.single-blog h2 {
    margin-top: 0;
}

.single-blog h2 a {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: capitalize;
    font-weight: 700;
    color: #000;
}

.single-blog p {
    padding-bottom: 30px;
}

.blog-description {
    padding: 20px 30px;
    border: 1px solid #f8f8f8;
    text-align: center;
}

.blog-area .owl-theme .owl-controls .owl-page span {
    display: block;
    width: 5px;
    height: 5px;
    margin: 5px 7px;
    border-radius: 20px;
    background: #000;
}

.single-blog-post-details,
.single-blog-sidebar-area,
.post-comments-area {
    background: #000;
    padding: 50px 30px;
}

.single-side-bar {}

.single-side-bar {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    margin-bottom: 30px;
    border-radius: 14px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

/*
* ----------------------------------------------------------------------------------------
* BRAND LIST STYLES
* ----------------------------------------------------------------------------------------
*/

.company-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
}

.company-list {
    width: 100%;
    overflow: hidden;
    
}

.company-list img {
    max-height: 40px;
    width: auto;
    margin: 0 20px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.8) contrast(0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.company-list img:hover {
    filter: grayscale(0) brightness(1) contrast(1);
    opacity: 1;
}

.scroller {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 100%, white 100%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 80%, white 80%, transparent);
}

.scroller[data-direction="right"] .scroller__inner {
    flex-direction: row-reverse;
}

.scroller__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 10px 0;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

.scroller:hover .scroller__inner {
    animation-play-state: paused;
}

/* 项目卡片样式 */
.project-card {
    background: var(--body-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    aspect-ratio: 3/4;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.project-preview {
    position: relative;
    overflow: hidden;
    height: 100%;
    background: #000;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-preview .view-btn {
    position: absolute;
    top: 34%; /* 原来是50%, 调整到45%让图标稍微往上移动一点 */
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

/* 磨砂背景层 */
.project-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -2;
}

/* 渐变层 */
.project-info::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(0, 0, 0, 0.3)
    );
    z-index: -1;
}

.project-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.project-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.project-tags {
    position: relative;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 悬停效果 */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-card:hover .view-btn {
    opacity: 1;
}

.project-card:hover .project-preview img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.project-card:hover .project-info::before {
    background: rgba(255, 255, 255, 0.2);
}

.project-card:hover .project-info::after {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15),
        rgba(0, 0, 0, 0.4)
    );
}

/* 浏览器兼容性处理 */
@supports not (backdrop-filter: blur(12px)) {
    .project-info::before {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .project-info::after {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.15),
            rgba(0, 0, 0, 0.5)
        );
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .project-card {
        aspect-ratio: 2/3;
    }
    
    .project-info {
        padding: 15px;
    }
    
    .project-info h3 {
        font-size: 16px;
    }
    
    .project-info p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .project-tags span {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* KV Showcase Styles */
.kv-showcase-section {
    width: 100%;
    padding: 0;
    background: #f9f9f9;
}

.kv-category-title {
    font-size: 18px;
    color: #666;
    margin: 15px 0 25px;
    font-weight: 500;
    padding-left: 15px;
    position: relative;
}

/* 直接设置 swiper 容器样式 */
.kv-swiper {
    width: 100%;
    aspect-ratio: 2/1; /* 使用现代的长宽比设置 */
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    color: #fff;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* 分页器样式 */
.swiper-pagination {
    bottom: 15px !important;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .kv-category-title {
        font-size: 16px;
        margin: 12px 0 20px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* KV Swiper Styles */
.kv-swiper {
    width: 100%;
    aspect-ratio: 2/1;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.kv-category-title {
    font-size: 18px;
    color: #666;
    margin: 0 0 30px;
    font-weight: 500;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 导航按钮 */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    color: #fff;
}

/* 分页器 */
.swiper-pagination {
    bottom: 15px !important;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .kv-swiper {
        aspect-ratio: 2/1;
    }
}

@media (max-width: 768px) {
    .kv-category-title {
        font-size: 16px;
        margin: 0 0 25px;
    }
}

/* KV横向卡片库样式 */
.kv-category-tags {
    margin-bottom: 30px;
}

.kv-filter-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kv-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
}


kv-filter-buttons li.active,
.kv-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
} */

.kv-cards-container {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    /* 滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #0a0a0a;
}

.kv-cards-container::-webkit-scrollbar {
    height: 6px;
}

.kv-cards-container::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 10px;
}

.kv-cards-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.kv-cards-wrapper {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
    min-width: max-content;
}

.kv-card {
    width: 400px; /* 根据需要调整宽度 */
    aspect-ratio: 2/1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.kv-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kv-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.kv-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.kv-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.kv-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.kv-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.kv-lightbox-close,
.kv-lightbox-prev,
.kv-lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: auto; /* 确保可以点击 */
}

.kv-lightbox-close:hover,
.kv-lightbox-prev:hover,
.kv-lightbox-next:hover {
    background: var(--primary-color);
}

.kv-lightbox-close {
    top: -20px;
    right: -20px;
}

.kv-lightbox-prev {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.kv-lightbox-next {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .kv-card {
        width: 280px;
    }
    
    .kv-filter-buttons li {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .kv-lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .kv-lightbox-prev,
    .kv-lightbox-next {
        width: 35px;
        height: 35px;
    }
    
    .kv-lightbox-prev {
        left: 10px;
    }
    
    .kv-lightbox-next {
        right: 10px;
    }
}

/* 确保KV画廊在项目区域内正确显示 */
#kv-gallery-container {
    margin-top: 0px;
    padding: 0 0px;
}

.kv-cards-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 20px;
}

/* KV网格画廊样式 */
.kv-grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kv-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    aspect-ratio: 2/1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kv-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kv-grid-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.kv-grid-item:hover img {
    transform: scale(1.05);
}


.kv-filter-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kv-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

.kv-filter-buttons li.active,
.kv-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
}

/* Lightbox样式 */
.kv-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.kv-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.kv-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.kv-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.kv-lightbox-close,
.kv-lightbox-prev,
.kv-lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: auto; /* 确保可以点击 */
}

.kv-lightbox-close:hover,
.kv-lightbox-prev:hover,
.kv-lightbox-next:hover {
    background: var(--primary-color);
}

.kv-lightbox-close {
    top: -20px;
    right: -20px;
}

.kv-lightbox-prev {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.kv-lightbox-next {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}


/* 加载指示器样式 */
.loading-indicator {
    margin: 20px 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .kv-grid-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .kv-grid-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .kv-filter-buttons li {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .kv-lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .kv-lightbox-prev,
    .kv-lightbox-next {
        width: 35px;
        height: 35px;
    }
    
    .kv-lightbox-prev {
        left: 10px;
    }
    
    .kv-lightbox-next {
        right: 10px;
    }
}

/* 确保lightbox内容可以正确接收点击事件 */
.kv-lightbox-content {
    position: relative;
    pointer-events: auto;
}

/* 过滤器按钮样式 - 修改为靠左对齐 */
.photography-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 从center改为flex-start实现靠左对齐 */
    margin-bottom: 30px;
    gap: 10px;
}

.photography-filter-buttons li {
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #38383f;
    color: #fff;
}


/* 响应式调整 */
@media (max-width: 992px) {
    .photography-grid-item {
        width: 47%;
    }
}

@media (max-width: 576px) {
    .about-social ul li {
        margin: 0 8px; /* 调整间距但保持更宽 */
    }

    .about-social ul li a {
        width: 36px; /* 稍微缩小但保持可见 */
        height: 36px;
    }
    
    .about-social ul li a img {
        width: 18px; /* 缩小图标尺寸 */
        height: 18px;
    }
}

/* 摄影标签样式 - 与KV设计标签保持一致 */
.photography-category-tags {
    margin-bottom: 30px;
}

.photography-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 保持靠左对齐 */
    margin: 0;
    padding: 0;
    list-style: none;
}

.photography-filter-buttons li {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 7px 20px;
    border-radius: 30px;
    background: #38383f;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* 摄影标签样式 - 与KV设计标签实际样式保持一致 */
.photography-category-tags {
    margin-bottom: 30px;
}

.photography-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 保持靠左对齐 */
    margin: 0;
    padding: 0;
    list-style: none;
}

.photography-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--main-color); /* 修改为与KV标签一致的颜色变量 */
}


.photography-filter-buttons li.active,
.photography-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
}

.photography-grid-gallery {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
    padding: 0;
}

.photography-grid-item {
    width: 100%;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0;
    box-sizing: border-box;
    break-inside: avoid;
}

.photography-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

.photography-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.photography-grid-item img:hover {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .photography-grid-gallery {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .photography-grid-gallery {
        column-count: 2;
    }
}



/* 使用CSS列布局创建紧凑瀑布流 */
.photography-grid-gallery {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
    padding: 0;
}

.photography-grid-item {
    width: 100%;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0;
    box-sizing: border-box;
    break-inside: avoid; /* 防止项目在列间断开 */
}

.photography-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

.photography-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.photography-grid-item img:hover {
    transform: scale(1.03);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .photography-grid-gallery {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .photography-grid-gallery {
        column-count: 1;
    }
}

/* 统一所有加载更多按钮样式 */
.load-more-btn,
[id^="load-more"] {  /* 选择所有id以"load-more"开头的元素 */
    padding: 10px 30px;
    border-radius: 30px;
    background: #38383f;
    color: white;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    margin: 20px auto;
}

.load-more-btn:hover,
[id^="load-more"]:hover {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.load-more-btn:disabled,
[id^="load-more"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 包装设计样式 - 与KV设计标签保持一致 */
.packaging-category-tags {
    margin-bottom: 30px;
}

.packaging-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.packaging-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--main-color);
}



.packaging-filter-buttons li.active,
.packaging-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
}

/* 包装设计网格样式 - 修改为从左到右，从上到下排列 */
.packaging-grid-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 0;
}

.packaging-grid-item {
    width: calc(33.333% - 14px); /* 三列布局，考虑间距 */
    margin-bottom: 0px;
}

.packaging-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.packaging-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.packaging-grid-item img:hover {
    transform: scale(1.03);
}


/* 响应式调整 */
@media (max-width: 992px) {
    .packaging-grid-item {
        width: calc(50% - 10px); /* 两列布局 */
    }
}

@media (max-width: 576px) {
    .packaging-grid-item {
        width: 100%; /* 单列布局 */
    }
}




/* 灯箱样式优化 - 统一宽度和按钮位置 */
.kv-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kv-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.kv-lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto; /* 确保水平居中 */
    padding: 0 15px; /* 添加左右内边距 */
}

/* 统一图片宽度 */
.kv-lightbox img {
    max-width: 800px; /* 设置统一的最大宽度 */
    width: auto;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
    margin: 0 auto;
}

/* 长图模式特殊处理 */
.kv-lightbox.long-image-mode .kv-lightbox-content {
    overflow-y: auto;
    max-height: 90vh;
    align-items: flex-start;
    width: 500px; /* 固定宽度 */
    padding: 20px;
}

.kv-lightbox.long-image-mode img.long-image {
    max-height: none;
    width: 100%; /* 使用100%宽度，但受父容器限制 */
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* 统一按钮位置 */
.kv-lightbox .kv-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 10000;
}

.kv-lightbox .kv-lightbox-prev,
.kv-lightbox .kv-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 10000;
}

.kv-lightbox .kv-lightbox-prev {
    left: 20px;
}

.kv-lightbox .kv-lightbox-next {
    right: 20px;
}

/* 悬停效果 */
.kv-lightbox .kv-lightbox-close:hover,
.kv-lightbox .kv-lightbox-prev:hover,
.kv-lightbox .kv-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .kv-lightbox.long-image-mode .kv-lightbox-content {
        width: 90%; /* 在小屏幕上使用百分比宽度 */
        max-width: 500px; /* 设置最大宽度 */
    }
}

@media (max-width: 576px) {
    .kv-lightbox.long-image-mode .kv-lightbox-content {
        width: 95%;
        max-width: 400px;
    }
}

/* 在手机端缩小整个EINDESIGN区域 */
@media (max-width: 768px) {
    .preloader-heading .load-text {
        transform: scale(0.9); 
        transform-origin: center center;
        white-space: nowrap; /* 防止文本换行 */
        display: inline-flex; /* 使用inline-flex确保内容不会换行 */
    }
}

@media (max-width: 480px) {
    .preloader-heading .load-text {
        transform: scale(0.8); 
        transform-origin: center center;
        white-space: nowrap; /* 防止文本换行 */
        display: inline-flex; /* 使用inline-flex确保内容不会换行 */
    }
}

/* 灯箱样式优化 - 针对手机端 */
@media (max-width: 768px) {
    .kv-lightbox-content {
        max-width: 90%; /* 略微减小宽度以增加边距 */
        max-height: 80vh;
        padding: 0 10px; /* 手机端稍微减小内边距 */
        margin: 0 auto 20px; /* 底部增加边距，避免与控制按钮重叠 */
    }
    
    .kv-lightbox img {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
        margin: 0 auto; /* 确保图片居中 */
    }
}

@media (max-width: 480px) {
    .kv-lightbox-content {
        max-width: 85%; /* 进一步减小宽度以增加边距 */
        padding: 0 8px; /* 更小的内边距 */
    }
}

/* 活动运营分类样式 - 修改为与包装设计保持一致 */
.campaign-category-tags {
    margin-bottom: 30px;
}

.campaign-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.campaign-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--main-color);
}



.campaign-filter-buttons li.active,
.campaign-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
}
/* 悬停效果，目前kv设计和其他都不一样，保留待检查
.campaign-filter-buttons li:hover {
    background-color: rgba(235, 93, 58, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    
}

/* 网格布局样式保持不变 */
.campaign-grid-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 0;
    margin: 0; /* 添加默认边距为0 */
}



/* 确保从海报布局切换后正确重置 */
.campaign-grid-gallery:not(.poster-layout) {
    margin: 0;
    display: flex !important;
}



/* 活动运营长图文展示样式修改 */
.campaign-grid-item {
    width: calc(25% - 15px); /* 四列布局，考虑间距 */
    margin-bottom: 5px;
}


.campaign-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.campaign-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.campaign-grid-item img:hover {
    transform: scale(1.03);
}

.campaign-grid-item img.campaign-long-image {
    aspect-ratio: 9/16; /* 长图文的长宽比 */
    object-fit: cover;
}

/* 响应式布局调整 */
@media (max-width: 1200px) {
    .campaign-grid-item {
        width: calc(33.333% - 14px); /* 平板上三列 */
    }
}

@media (max-width: 992px) {
    .campaign-grid-item {
        width: calc(50% - 10px); /* 小平板上两列 */
    }
}

@media (max-width: 576px) {
    .campaign-grid-item {
        width: calc(50% - 10px); 
    }
}


/* 设置长图文容器样式 - 明确指定活动运营的长图文 */
.campaign-grid-item.longcontent-item {
    height: 600px; /* 修改为固定高度而非aspect-ratio */
    padding-bottom: 0; /* 删除之前的大量内边距 */
    position: relative;
    overflow: hidden; /* 添加溢出隐藏 */
}

/* 长图文容器内的图片适应容器 */
.campaign-grid-item.longcontent-item .campaign-grid-item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 长图文图片填充样式 */
.campaign-grid-item.longcontent-item img {
    width: 100%;
    height: 100%; /* 修改为100%高度 */
    object-fit: cover; /* 保持覆盖填充 */
    object-position: top; /* 保持从顶部开始显示 */
}

/* 为lightbox中的长图文设置特殊样式 */
.kv-lightbox.longcontent-mode .kv-lightbox-content {
    overflow-y: auto;
    max-height: 90vh;
    align-items: flex-start;
    width: 45% !important; /* 修改为45%与UI设计模式一致 */
    max-width: 600px !important; /* 修改为600px与UI设计模式一致 */
    padding: 10px;
    background-color: transparent;
    position: relative;
    margin: 0 auto;
}

.kv-lightbox.longcontent-mode img.long-image {
    max-height: none;
    width: 100% !important;
    height: auto !important;
    max-width: 100%; /* 修改为100%确保不溢出 */
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .kv-lightbox.longcontent-mode .kv-lightbox-content {
        width: 55% !important; /* 与UI设计模式一致 */
        max-width: 550px !important;
    }
}

@media (max-width: 992px) {
    .kv-lightbox.longcontent-mode .kv-lightbox-content {
        width: 65% !important; /* 与UI设计模式一致 */
        max-width: 500px !important;
    }
}

@media (max-width: 576px) {
    .kv-lightbox.longcontent-mode .kv-lightbox-content {
        width: 85% !important; /* 与UI设计模式一致 */
        max-width: none !important;
    }
}

/* 确保关闭按钮始终可见 */
.kv-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100; /* 确保在最上层 */
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}
/* 活动运营-海报瀑布流布局 - 修复版 */
.campaign-grid-gallery.poster-layout {
    display: block !important; /* 强制使用块级显示，防止与其他样式冲突 */
    width: 100%;
    margin: 0 -10px;
}

.campaign-grid-gallery.poster-layout .campaign-grid-item {
    float: left; /* 使用浮动布局配合Masonry */
    width: 33.333%; /* 三列布局 */
    padding: 0 10px 20px; /* 使用padding替代margin，更适合Masonry */
    box-sizing: border-box; /* 确保宽度计算包含padding */
}

.campaign-grid-gallery.poster-layout .campaign-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
}

.campaign-grid-gallery.poster-layout .campaign-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* 清除浮动，确保容器高度正确 */
.campaign-grid-gallery.poster-layout:after {
    content: "";
    display: table;
    clear: both;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .campaign-grid-gallery.poster-layout .campaign-grid-item {
        width: 50%; /* 平板上两列 */
    }
}

@media (max-width: 576px) {
    .campaign-grid-gallery.poster-layout .campaign-grid-item {
        width: 100%; /* 手机上单列 */
    }
}

/* 为包装设计的食品包装分类隐藏导航按钮 */
.kv-lightbox.packaging-food .kv-lightbox-prev,
.kv-lightbox.packaging-food .kv-lightbox-next {
    display: none !important;
}

/* 为包装设计的日用品包装分类隐藏导航按钮 */
.kv-lightbox.packaging-daily .kv-lightbox-prev,
.kv-lightbox.packaging-daily .kv-lightbox-next {
    display: none !important;
}

/* 解决火狐浏览器项目卡片排列问题 */
@-moz-document url-prefix() {
    .project-masonry-active .item {
        width: 33.3333% !important;
        max-width: 33.3333% !important;
        flex: 0 0 33.3333% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    @media (max-width: 991px) {
        .project-masonry-active .item {
            width: 50% !important;
            max-width: 50% !important;
            flex: 0 0 50% !important;
        }
    }
    
    @media (max-width: 767px) {
        .project-masonry-active .item {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important;
        }
    }
}


/* UI设计样式 */
.ui-design-category-tags {
    margin-bottom: 30px;
}

.ui-design-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ui-design-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--main-color);
}

.ui-design-filter-buttons li.active,
.ui-design-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
}

/* UI设计网格样式 - 修改为与活动运营长图文一致 */
.ui-design-grid-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 0;
}

.ui-design-grid-item {
    width: calc(25% - 15px); /* 四列布局，考虑间距 */
    margin-bottom: 5px;
    height: 600px; /* 设置固定高度 */
    position: relative;
    overflow: hidden;
}

.ui-design-grid-item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.ui-design-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* 从顶部开始显示 */
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
    aspect-ratio: 9/16; /* 长图文的长宽比 */
}

.ui-design-grid-item img:hover {
    transform: scale(1.03);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .ui-design-grid-item {
        width: calc(33.333% - 14px); /* 平板上三列 */
    }
}

@media (max-width: 992px) {
    .ui-design-grid-item {
        width: calc(50% - 10px); /* 小平板上两列 */
    }
}

@media (max-width: 576px) {
    .ui-design-grid-item {
        width: calc(50% - 10px);
    }
    
    .ui-design-filter-buttons li {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* UI设计长图文灯箱模式 */
.kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
    overflow-y: scroll; /* 强制使用滚动 */
    max-height: 90vh;
    align-items: flex-start;
    width: 60%; /* 设置合适的宽度比例 */
    max-width: 800px; /* 最大宽度限制 */
    padding: 10px;
    margin: 0 auto;
    background-color: transparent;
}

.kv-lightbox.ui-longcontent-mode img.long-image {
    max-height: 80%;
    width: 100%; /* 使图片宽度填满容器 */
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
        width: 70%;
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
        width: 80%;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
        width: 90%;
        max-width: 95%;
    }
}

/* UI设计长图显示模式 */
.kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
    max-height: 90vh !important;
    width: 45% !important; /* 将宽度从60%缩小到45% */
    max-width: 600px !important; /* 将最大宽度从800px减小到600px */
    overflow-y: scroll !important; /* 强制启用垂直滚动 */
    margin: 0 auto;
    background-color: transparent;
    position: relative;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.kv-lightbox.ui-longcontent-mode img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    display: block;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
        width: 55% !important; /* 由70%改为55% */
        max-width: 550px !important;
    }
}

@media (max-width: 992px) {
    .kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
        width: 65% !important; /* 由80%改为65% */
        max-width: 500px !important;
    }
}

@media (max-width: 576px) {
    .kv-lightbox.ui-longcontent-mode .kv-lightbox-content {
        width: 85% !important; /* 由90%改为85% */
        max-width: none;
    }
}

/* IP设计样式 */
.ip-design-grid-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 0;
}

.ip-design-grid-item {
    width: calc(33.333% - 14px); /* 三列布局，考虑间距 */
    margin-bottom: 0px;
}

.ip-design-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.ip-design-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.ip-design-grid-item img:hover {
    transform: scale(1.03);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .ip-design-grid-item {
        width: calc(50% - 10px); /* 两列布局 */
    }
}

@media (max-width: 576px) {
    .ip-design-grid-item {
        width: 100%; /* 单列布局 */
    }
}

/* 字体设计样式 */
.font-design-grid-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 0;
}

.font-design-grid-item {
    width: calc(33.333% - 14px); /* 三列布局，考虑间距 */
    margin-bottom: 0px;
}

.font-design-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.font-design-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
}

.font-design-grid-item img:hover {
    transform: scale(1.03);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .font-design-grid-item {
        width: calc(50% - 10px); /* 两列布局 */
    }
}

@media (max-width: 576px) {
    .font-design-grid-item {
        width: 100%; /* 单列布局 */
    }
}

/* 智能设计相关样式 */
.intelligent-category-tags {
    margin-bottom: 30px;
}

.intelligent-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 保持靠左对齐 */
    margin: 0;
    padding: 0;
    list-style: none;
}

.intelligent-filter-buttons li {
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    background: #131313;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--main-color); /* 修改为与KV标签一致的颜色变量 */
}

.intelligent-filter-buttons li.active,
.intelligent-filter-buttons li:hover {
    background: var(--primary-color);
    color: white;
}

/* 从Grid布局改为适合Masonry的布局 */
.intelligent-grid-gallery {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.intelligent-grid-item {
    width: calc(33.333% - 14px); /* 三列布局，考虑间距 */
    margin-bottom: 20px; /* 设置底部间距 */
    position: relative;
    overflow: hidden;
}

.intelligent-grid-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.intelligent-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    cursor: pointer;
    object-fit: cover;
}

.intelligent-grid-item:hover .intelligent-grid-item-content {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.intelligent-grid-item:hover img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .intelligent-grid-item {
        width: calc(50% - 10px); /* 两列布局 */
    }
}

@media (max-width: 576px) {
    .intelligent-grid-item {
        width: 100%; /* 单列布局 */
    }
    
    .intelligent-filter-buttons li {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* 确保 intelligent-gallery-container 正确显示 */
#intelligent-gallery-container {
    transition: all 0.3s ease;
    width: 100%;
    padding: 0px;
    margin: 0 auto;
    max-width: 1200px;
}

#intelligent-gallery-container .row {
    margin-left: -15px;
    margin-right: -15px;
    width: 100%;
}

#intelligent-gallery-container.d-none {
    display: none !important;
}

/* 针对不同设备的优化 */
@media (max-width: 1200px) {
    #intelligent-gallery-container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    #intelligent-gallery-container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    #intelligent-gallery-container {
        max-width: 540px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    #intelligent-gallery-container {
        max-width: 100%;
        padding: 5px;
    }
}


