.logo h3 {
    color: var(--zt-text-primary);
}

.logo a {
    text-decoration: none;
}

.hero-area .glide__track{
    z-index: 1;
    position: relative;
}

.hero-area [class*="icon-box"] {
    position: absolute;
}

.hero-area .glide__slides {
    transform: translate3d(0,0,0)!important;
}
.hero-area .glide__slide {
    position: absolute;
    top: 0;
    left: 0;
    order: 2;
    opacity: 0;
}

.hero-area .glide__slide.glide__slide--active {
    position: relative;
    order: 1;
    opacity: 1;
    z-index: 1;
}

.hero-area .glide__slide.glide__slide--active .hero-content h1{
    animation: slideFadeLeft 2s;
}

.hero-area .glide__slide.glide__slide--active .hero-content p{
    animation: slideFadeLeft 2s;
}

.hero-area .glide__slide.glide__slide--active .hero-content .hero-btn{
    animation: slideFadeLeft 2s;
}

.hero-area .glide__slide.glide__slide--active .hero-img{
    animation: slideFadeRight 2s;
}


@-webkit-keyframes slideFadeLeft {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes slideFadeRight {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.animation-icon .elementor-icon{
    width : 90px;
    height : 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animation-top-bottom{
    animation: animationTopBottom 20s infinite alternate;
}

.animation-left-right{
    animation: animationLeftRight 20s infinite alternate;
}

@-webkit-keyframes animationTopBottom {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }


    100% {
        -webkit-transform: translate3d(0, 65%, 0);
        transform: translate3d(0, 65%, 0);
    }
}

@-webkit-keyframes animationLeftRight {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }


    100% {
        -webkit-transform: translate3d(65%, 0, 0);
        transform: translate3d(65%, 0, 0);
    }
}

.icon-box-one {
    top: 130px;
    left: 156px;
    animation: jumpTwo 5s infinite alternate;
}

.icon-box-two {
    bottom: 50px;
    right: 113px;
    animation: jumpThree 5s infinite alternate;
    -webkit-animation: jumpThree 5s infinite alternate;
}

.icon-box-three {
    bottom: 60px;
    left: 170px;
    animation: jumpThree 5s infinite alternate;
}

.icon-box-four {
    bottom: 40px;
    left: 70px;
    animation: jumpTwo 5s infinite alternate;
}

.icon-box-five {
    bottom: 60px;
    left: 170px;
    animation: jumpThree 5s infinite alternate;
}

.icon-box-six {
    bottom: 160px;
    left: 70px;
    animation: jumpThree 5s infinite alternate;
}

@-webkit-keyframes jumpTwo {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40% {
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jumpTwo {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40% {
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes jumpThree {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jumpThree {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}


.header-area .sub-menu.sub-menu-3rd {
    top: 16px !important;
    left: 100%;
}

.header-area .sub-menu.sub-menu-3rd::before {
    display: none;
}

.menu-mobile .sub-menu li a:hover {
    padding-left: 0;
}

.appointment-form .zt-cat,
.contact-form .zt-cat{
    width : auto;
}

.appointment-form .zt-cat:focus,
.contact-form .zt-cat:focus{
    border: none;
}


.blog-details-area .post-thumbnail{
    width: fit-content;
}

.blog-details-area .post-wrap .post-navigation a {
    color: var(--zt-text-primary);
}

.blog-details-area .post-wrap .post-navigation a:hover {
    color: var(--zt-brand-secondary);
}

.sticky-label {
    position: absolute;
    background: var(--zt-brand);
    color: var(--zt-white);
    top: 0;
    right: 0;
    padding: 5px 10px;
}

.feature-link .post-content img {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    opacity: .35;
}

.blog-list-wrap .post-content {
    border: 1px solid #e7e7e7;
    padding: 30px;
}

.blog-list-wrap .zt-cat {
    padding: 13px 20px;
}

.page-content a:not(.zt-cat, .zt-cat-transparent,.team-wrap a) {
    color: var(--zt-brand-secondary);
}

.page-content a:not(.zt-cat):hover {
    color: var(--zt-heading);
}

.post-thumbnail img {
    height: auto;
    width: 100%;
}

.page-banner .page-title span {
    font-size: 56px;
    line-height: 62px;
    color: var(--zt-heading);
    font-weight: 700;
}

.error-area .form-control {
    padding: 20px;
}

.error-area .form-control:focus {
    box-shadow: none;
}

.post-details-meta .cat-title {
    margin-top: 3px;
}

.post-details-meta .share {
    margin-top: 4px;
}

.team-wrap .member-prof{
    text-transform: capitalize;
}

/* Portfolio Card Styles */
.portfolio-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.portfolio-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.portfolio-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #2563EB;
    color: #fff;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
    display: inline-block;
}

.portfolio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #1a1a1a;
}

.portfolio-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-title a:hover {
    color: #2563EB;
}

.portfolio-excerpt {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.2;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.portfolio-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-author,
.portfolio-date {
    font-size: 14px;
    color: #8c8c8c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.portfolio-author i,
.portfolio-date i {
    font-size: 14px;
    color: #8c8c8c;
}

.reading-time {
    background: #f5f6fa;
    color: #6c757d;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
}

.portfolio-footer {
    display: none; /* 隐藏原来的footer */
}

.portfolio-link {
    color: #5B6CFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.portfolio-link:hover {
    gap: 8px;
    color: #4956d2;
}

.portfolio-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.portfolio-link:hover i {
    transform: translateX(2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-card {
        margin-bottom: 20px;
    }
    
    .portfolio-content {
        padding: 16px;
    }
    
    .portfolio-title {
        font-size: 18px;
    }
    
    .portfolio-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .portfolio-meta-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Single Portfolio Page Styles */
.single-portfolio-area {
    padding-top: 80px;
    padding-bottom: 120px;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section with Left Content and Right Image */
.portfolio-hero-section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
    min-height: 500px;
}

.portfolio-hero-left {
    flex: 1;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.portfolio-hero-right {
    flex: 1;
    max-width: 650px;
    position: sticky;
    top: 100px;
}

/* Category Tags */
.portfolio-category-tags {
    margin-bottom: 24px;
}

.category-tag {
    display: inline-block;
    background: #2563EB;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 12px;
    margin-bottom: 8px;
}

/* Main Title */
.portfolio-main-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--zt-heading);
}

/* Intro Text */
.portfolio-intro {
    margin-bottom: 40px;
}

.portfolio-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--zt-text-primary);
    margin: 0;
}

/* Meta Information */
.portfolio-meta-info {
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.meta-item i {
    width: 24px;
    margin-right: 12px;
    color: #6c757d;
}

.meta-label {
    font-weight: 600;
    margin-right: 8px;
    color: var(--zt-heading);
}

.meta-value {
    color: var(--zt-text-primary);
}

/* Share Section */
.portfolio-share {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #e7e7e7;
}

.share-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
    color: var(--zt-heading);
}

.social-share {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.pinterest {
    background: #bd081c;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Featured Image */
.portfolio-featured-image {
    width: 100%;
    height: auto;
}

.featured-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.portfolio-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Hide original meta bar */
.portfolio-meta-bar {
    display: none;
}

/* Content Section */
.portfolio-content-section {
    margin-top: 80px;
}

.portfolio-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--zt-text-primary);
}

.portfolio-content-wrapper h1,
.portfolio-content-wrapper h2,
.portfolio-content-wrapper h3,
.portfolio-content-wrapper h4,
.portfolio-content-wrapper h5,
.portfolio-content-wrapper h6 {
    color: var(--zt-heading);
    margin-bottom: 20px;
    margin-top: 40px;
}

.portfolio-content-wrapper p {
    margin-bottom: 20px;
}

.portfolio-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-hero-section {
        gap: 40px;
    }
    
    .portfolio-main-title {
        font-size: 40px;
    }
    
    .portfolio-content-wrapper {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .portfolio-hero-section {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
    }
    
    .portfolio-hero-left {
        padding-right: 0;
        max-width: 100%;
    }
    
    .portfolio-hero-right {
        position: relative;
        top: auto;
        max-width: 100%;
    }
    
    .portfolio-main-title {
        font-size: 32px;
    }
    
    .portfolio-intro p {
        font-size: 16px;
    }
    
    .portfolio-content-wrapper {
        padding: 0 15px;
        font-size: 16px;
    }
}
