* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Noto Sans SC',sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa
}

header {
    background-color: transparent;
    transition: background-color 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1000
}

header.scrolled {
    background-color: rgb(55 55 55 / 50%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1)
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007bff
}

nav ul {
    display: flex;
    list-style: none
}

nav ul li {
    margin-left: 2rem
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease
}

nav ul li a:hover {
    color: #007bff
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff
}

header.scrolled .menu-toggle {
    color: #ffffff
}

@media (max-width: 768px) {
    nav {
        display:flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 5%
    }

    .logo {
        order: 1
    }

    .menu-toggle {
        display: block;
        order: 3;
        margin-left: auto
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        order: 2
    }

    nav ul.show {
        display: flex
    }

    nav ul li {
        margin: 0;
        text-align: center
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        color: #333
    }

    .logo-image {
        max-height: 30px
    }
}

main {
    padding-top: 0
}

section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto
}

section.hero {
    padding: 0;
    height: 100vh;
    max-width: none
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden
}

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

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    z-index: 2
}

.slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5)
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5)
}

@media (max-width: 768px) {
    .hero {
        height:70vh
    }

    .slide-content {
        width: 95%;
        padding: 15px
    }

    .slide-title {
        font-size: 2rem;
        margin-bottom: 0.8rem
    }

    .slide-description {
        font-size: 1rem;
        margin-bottom: 1.5rem
    }
}

@media (max-width: 480px) {
    .hero {
        height:60vh
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem
    }

    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 1rem
    }
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4)
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5)
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5)
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease
}

.cta-button:hover {
    background-color: #0056b3
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.7
}

.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px
}

.about-image {
    flex: 1;
    max-width: 45%;
    margin-right: 5%
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1)
}

.about-text {
    flex: 1;
    max-width: 50%
}

.about-text p {
    text-indent: 2em;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555
}

@media (max-width: 768px) {
    .about-content {
        flex-direction:column
    }

    .about-image,.about-text {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease,box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden
}

.service-icon {
    font-size: 3.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2
}

.service-item:hover .service-icon {
    transform: scale(1.1)
}

.service-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2
}

.service-item p {
    color: #666;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2
}

.service-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(0,123,255,0.1);
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease
}

.service-item:hover .service-decoration {
    transform: scale(1.2)
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,rgba(0,123,255,0.1) 0%,rgba(255,255,255,0) 70%);
    transition: transform 0.3s ease;
    transform: scale(0);
    z-index: 1
}

.service-item:hover::before {
    transform: scale(1)
}

.service-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease
}

.service-link:hover {
    color: #0056b3
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease
}

.service-link:hover i {
    transform: translateX(5px)
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem
}

@media (max-width: 768px) {
    nav ul {
        margin-top:1rem
    }

    nav ul li {
        margin-left: 0;
        margin-right: 1rem
    }

    .hero h1 {
        font-size: 2.5rem
    }

    .hero p {
        font-size: 1.2rem
    }

    .about-content {
        flex-direction: column;
        padding: 2rem
    }

    .about-image {
        max-width: 100%
    }

    section {
        padding: 4rem 5%
    }

    .service-grid {
        grid-template-columns: 1fr
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto
}

.team-member {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease,box-shadow 0.3s ease
}

.member-image {
    height: 250px
}

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

.team-member:hover .team-member-img {
    transform: scale(1.1)
}

.member-info {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column
}

.member-info h3 {
    margin: 0.5rem 0;
    color: #007bff;
    font-size: 1.8rem
}

.position {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem
}

.bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto
}

.social-icon {
    color: #007bff;
    font-size: 1.5rem;
    transition: transform 0.3s ease,color 0.3s ease
}

.social-icon:hover {
    transform: scale(1.2);
    color: #0056b3
}

.member-number {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 5rem;
    font-weight: bold;
    color: rgba(0,123,255,0.1);
    line-height: 1;
    z-index: 0
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns:repeat(auto-fit,minmax(250px,1fr))
    }

    .member-image {
        height: 250px
    }

    .member-info {
        padding: 1.5rem
    }

    .member-number {
        font-size: 4rem
    }

    .member-info h3 {
        font-size: 1.5rem
    }

    .position {
        font-size: 1rem
    }

    .bio {
        font-size: 0.9rem
    }

    .social-icon {
        font-size: 1.3rem
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto
}

.portfolio-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover
}

.portfolio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: #007bff;
    font-size: 1.2rem
}

.portfolio-info p {
    flex: 1;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem
}

.portfolio-buttons {
    margin-top: auto;
    display: flex;
    gap: 10px;
    justify-content: flex-start
}

.portfolio-buttons .btn {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem
}

.portfolio-buttons .btn:hover {
    background-color: #0056b3
}

@media (max-width: 768px) {
    .portfolio-grid {
        display:block;
        padding: 0;
        position: relative
    }

    .portfolio-item {
        display: none;
        width: 100%;
        margin: 0 auto;
        max-width: 350px;
        min-height: 450px;
        height: auto
    }

    .portfolio-item.active {
        display: flex;
        flex-direction: column;
        animation: fadeIn 0.5s ease
    }

    .portfolio-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        position: relative;
        padding: 0 50px
    }

    .portfolio-dots {
        display: flex;
        gap: 8px;
        justify-content: center;
        align-items: center
    }

    .portfolio-dot {
        width: 25px;
        height: 4px;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 2px
    }

    .portfolio-dot.active {
        background: #007bff;
        width: 35px
    }

    .portfolio-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        z-index: 2;
        transition: all 0.3s ease
    }

    .portfolio-arrow:hover {
        background: rgba(0,0,0,0.7);
        transform: translateY(-50%) scale(1.1)
    }

    .portfolio-prev {
        left: 0
    }

    .portfolio-next {
        right: 0
    }

    @media (max-width: 768px) {
        .portfolio-controls {
            padding:0 40px;
            margin-top: 15px
        }

        .portfolio-dot {
            width: 20px;
            height: 3px
        }

        .portfolio-dot.active {
            width: 30px
        }

        .portfolio-arrow {
            width: 30px;
            height: 30px;
            font-size: 0.9rem
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(20px)
        }

        to {
            opacity: 1;
            transform: translateX(0)
        }
    }
}

#portfolio {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px
}

@media (max-width: 768px) {
    #portfolio {
        padding-left:10px;
        padding-right: 10px
    }

    .portfolio-grid {
        gap: 1.5rem
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 20px 0
}

.section-header h2 {
    font-size: 2.5rem;
    color: #007bff;
    margin: 0;
    position: relative;
    z-index: 2
}

.section-subtitle {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 3rem;
    font-weight: bold;
    color: rgba(0,0,0,0.05);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1
}

#about,#services,#team,#portfolio {
    padding: 6rem 0
}

.about-content,.service-grid,.team-grid,.portfolio-grid {
    margin-top: 3rem
}

@media (max-width: 768px) {
    body {
        overflow-x:hidden
    }

    main {
        padding-left: 0;
        padding-right: 0
    }

    section {
        padding-left: 15px;
        padding-right: 15px
    }

    .about-content,.service-grid,.team-grid,.portfolio-grid {
        padding-left: 15px;
        padding-right: 15px
    }

    .hero,.fullscreen-swiper,.swiper-slide {
        width: 100vw;
        max-width: none
    }

    .section-subtitle {
        font-size: 2rem;
        top: 25%
    }
}

#about,#services,#team,#portfolio {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 5%;
    padding-right: 5%
}

@media (max-width: 768px) {
    nav {
        padding:1rem 15px
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center
    }

    nav ul li {
        margin: 0.5rem
    }
}

.portfolio-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2)
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    100% {
        transform: scale(1)
    }
}

.portfolio-tag {
    animation: pulse 2s infinite
}

@media (max-width: 768px) {
    .portfolio-tag {
        font-size:0.7rem;
        padding: 3px 8px
    }
}

#team-query {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center
}

.team-query-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem
}

.custom-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease
}

.btn-primary.custom-btn {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff
}

.btn-primary.custom-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1)
}

.btn-secondary.custom-btn {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff
}

.btn-secondary.custom-btn:hover {
    background-color: #545b62;
    border-color: #545b62;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1)
}

@media (max-width: 768px) {
    .team-query-content {
        flex-direction:column;
        align-items: center
    }

    .custom-btn {
        width: 80%;
        margin-bottom: 1rem
    }
}

#about,#services,#team,#portfolio,#team-query {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 5%;
    padding-right: 5%
}

@media (max-width: 768px) {
    nav {
        padding:1rem 15px
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center
    }

    nav ul li {
        margin: 0.5rem
    }
}

.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem)
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width:500px;
        margin: 1.75rem auto
    }
}

.modal-content {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto
}

.modal-footer {
    justify-content: center !important;
    padding: 1rem
}

.modal-footer .btn {
    min-width: 100px;
    margin: 0 10px
}

.modal-body {
    padding: 20px
}

.modal-body form {
    margin-bottom: 0
}

.modal-body .form-label {
    font-weight: bold
}

.modal-body .form-control {
    margin-bottom: 15px
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    padding: 1rem
}

.modal-title {
    font-weight: bold;
    color: #007bff
}

.modal-header .btn-close {
    margin: -0.5rem -0.5rem -0.5rem auto
}

@media (max-width: 576px) {
    .modal-footer .btn {
        width:100%;
        margin: 5px 0
    }
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width:500px;
        margin: 1.75rem auto
    }
}

#studio-culture {
    background-color: #ffffff;
    padding: 4rem 5%
}

.culture-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem
}

.culture-item {
    flex-basis: calc(33.333% - 2rem);
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease
}

.culture-item:hover {
    transform: translateY(-5px)
}

.culture-item h3 {
    color: #007bff;
    margin-bottom: 1rem
}

.culture-item p {
    color: #333;
    line-height: 1.6
}

@media (max-width: 768px) {
    .culture-item {
        flex-basis:100%
    }
}

#studio-environment {
    background-color: #ffffff;
    padding: 4rem 5%
}

.environment-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem
}

.environment-item {
    flex-basis: calc(50% - 1rem);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease
}

.environment-item:hover {
    transform: translateY(-5px)
}

.environment-item img {
    width: 100%;
    height: 250px;
    object-fit: cover
}

.environment-info {
    padding: 1.5rem
}

.environment-info h3 {
    color: #007bff;
    margin-bottom: 0.5rem
}

.environment-info p {
    color: #333;
    line-height: 1.6
}

@media (max-width: 768px) {
    .environment-item {
        flex-basis:100%
    }
}

.logo-image {
    max-height: 50px;
    width: auto
}

@media (max-width: 768px) {
    .logo-image {
        max-height:40px
    }
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px
}

.project-item {
    flex: 0 1 calc(33.333% - 20px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.project-title {
    margin-top: 10px;
    margin-bottom: 5px
}

.project-description {
    flex-grow: 1
}

@media (max-width: 992px) {
    .project-item {
        flex:0 1 calc(50% - 20px)
    }
}

@media (max-width: 576px) {
    .project-item {
        flex:0 1 100%
    }
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease
}

.project-item:hover {
    transform: translateY(-5px)
}

.project-tag {
    position: absolute;
    top: 10px;
    right: -35px;
    background: #007bff;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8em;
    z-index: 1
}

.project-tag.new {
    background: #28a745
}

.project-tag.original {
    background: #dc3545
}

.project-tag.modified {
    background: #ffc107;
    color: #000
}

.project-image {
    overflow: hidden
}

.project-image img {
    transition: transform 0.3s ease
}

.project-item:hover .project-image img {
    transform: scale(1.05)
}

.project-info {
    padding: 15px;
    background: #fff
}

.project-title {
    margin-top: 0;
    font-size: 1.2em;
    color: #333
}

.project-description {
    font-size: 0.9em;
    color: #666
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px
}

::-webkit-scrollbar-thumb:hover {
    background: #555
}

* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1
}

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #007bff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1)
}

.back-to-top i {
    font-size: 18px;
    color: #fff;
    line-height: 0
}

.back-to-top:hover {
    background: #0056b3;
    color: #fff;
    transform: scale(1.1)
}

.back-to-top.active {
    visibility: visible;
    opacity: 1
}

.section-header {
    text-align: center;
    margin-bottom: 40px
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 15px auto
}

.section-description {
    font-size: 16px;
    color: #666;
    margin-top: 5px
}

.site-footer {
    background: #0f0f0f;
    padding: 60px 0 30px 0;
    color: #fff;
    font-size: 14px
}

.site-footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff
}

.site-footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    padding: 5px 0;
    display: block
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block
}

.footer-links a:hover {
    color: #007bff;
    padding-left: 5px
}

.social-links a {
    font-size: 18px;
    display: inline-block;
    background: #292929;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s
}

.social-links a:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0
}

.copyright {
    text-align: center;
    padding-top: 30px
}

.credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #fff
}

.credits a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s
}

.credits a:hover {
    color: #007bff;
    text-decoration: none
}

.credits img {
    height: 20px;
    width: auto
}

.about-text p,.service-description,.project-description,.team-member-bio,.culture-description {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555
}

.site-footer {
    background: #0f0f0f;
    padding: 60px 0 30px 0;
    color: #fff;
    font-size: 14px
}

@media (max-width: 768px) {
    .footer-links,.footer-links + .footer-links {
        display:none
    }

    .site-footer .col-lg-4,.site-footer .col-lg-3 {
        width: 100%;
        margin-bottom: 30px
    }
}

.project-card {
    position: relative;
    overflow: hidden
}

.project-tag {
    position: absolute;
    top: 10px;
    right: -30px;
    background: #007bff;
    color: white;
    transform: rotate(45deg);
    font-size: 0.8em;
    z-index: 1
}

.project-image {
    height: 200px;
    overflow: hidden
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem
}

.project-description {
    font-size: 0.9rem;
    color: #6c757d
}

.portfolio-item {
    transition: transform 0.3s ease,box-shadow 0.3s ease
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1)
}

.portfolio-info {
    transition: background-color 0.3s ease
}

.portfolio-item:hover .portfolio-info {
    background-color: rgba(255,255,255,0.9)
}

.card {
    position relative position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 1rem
}

.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2)
}

.project-image {
    height: 200px;
    overflow: hidden
}

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

.project-card:hover .project-image img {
    transform: scale(1.1)
}

.card-body {
    background: linear-gradient(to bottom,#ffffff,#f8f9fa);
    padding: 1.5rem
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333
}

.project-description {
    font-size: 0.9rem;
    color: #666
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15)
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d
}

#about {
    background-color: #fff;
    position: relative;
    overflow: hidden
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative
}

.section-header h2 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right,#007bff,#00c6ff);
    margin: 1rem auto;
    border-radius: 3px
}

.section-subtitle {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem
}

.about-image {
    flex: 1;
    position: relative
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease
}

.about-img:hover {
    transform: translateY(-10px)
}

.about-text {
    flex: 1;
    padding: 2rem
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    text-indent: 2em
}

@media (max-width: 992px) {
    .about-content {
        gap:2rem
    }

    .about-text p {
        font-size: 1rem
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom:2rem
    }

    .section-header h2 {
        font-size: 2rem
    }

    .section-subtitle {
        font-size: 1rem
    }

    .section-description {
        font-size: 0.9rem;
        padding: 0 1rem
    }

    .about-content {
        flex-direction: column;
        gap: 2rem
    }

    .about-image,.about-text {
        flex: none;
        width: 100%
    }

    .about-text {
        padding: 1rem 0
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem
    }
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #007bff;
    border-radius: 20px;
    top: 20px;
    left: 20px;
    z-index: -1
}

.about-img {
    animation: float 6s ease-in-out infinite
}

@keyframes float {
    0% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-10px)
    }

    100% {
        transform: translateY(0px)
    }
}

.wechat-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    text-align: center;
    max-width: 300px;
    width: 90%
}

.wechat-popup img {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    border-radius: 5px
}

.wechat-popup .wechat-id {
    color: #333;
    font-size: 1rem;
    margin: 10px 0;
    padding: 5px;
    background: #f5f5f5;
    border-radius: 5px
}

.wechat-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: color 0.3s ease
}

.wechat-popup .close-popup:hover {
    color: #333
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.wechat-popup.active,.popup-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease
}

@media (max-width: 768px) {
    .wechat-popup {
        width:85%
    }

    .wechat-popup img {
        width: 180px;
        height: 180px
    }
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none
}

.social-links .weixin {
    background: #2BAD13
}

.social-links .qq {
    background: #12B7F5
}

.social-links .weibo {
    background: #E6162D
}

.social-links .github {
    background: #333
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none
}

.wechat-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    text-align: center;
    max-width: 320px;
    width: 90%
}

.wechat-popup .member-name {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600
}

.wechat-popup .qr-container {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px
}

.wechat-popup img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    object-fit: cover
}

.wechat-popup .wechat-id {
    background: #f0f9ff;
    color: #0056b3;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px dashed #007bff;
    margin-top: 15px;
    user-select: all
}

.wechat-popup .close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease
}

.wechat-popup .close-popup:hover {
    background: #e0e0e0;
    transform: rotate(90deg)
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 999
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%,-60%) scale(0.9)
    }

    to {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }
}

.wechat-popup.active {
    display: block;
    animation: popIn 0.3s ease forwards
}

.popup-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease
}

@media (max-width: 768px) {
    .wechat-popup {
        width:85%;
        padding: 20px
    }

    .wechat-popup img {
        width: 180px;
        height: 180px
    }

    .wechat-popup .member-name {
        font-size: 1.1rem
    }

    .wechat-popup .wechat-id {
        font-size: 1rem;
        padding: 8px 12px
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px
    }
}

.copy-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease
}

.copy-tooltip.show {
    opacity: 1
}

@keyframes popOut {
    from {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }

    to {
        opacity: 0;
        transform: translate(-50%,-60%) scale(0.9)
    }
}

@keyframes fadeOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

.wechat-id {
    position: relative;
    cursor: pointer
}

.wechat-id::after {
    content: '点击复制';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap
}

.wechat-id:hover::after {
    opacity: 1
}

.copy-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40,167,69,0.9);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px
}

.copy-tooltip i {
    font-size: 16px
}

.copy-tooltip.show {
    opacity: 1;
    transform: translate(-50%,-10px)
}

@keyframes copyFeedback {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(0.95)
    }

    100% {
        transform: scale(1)
    }
}

.wechat-id.copying {
    animation: copyFeedback 0.3s ease
}

@keyframes popUpIn {
    from {
        opacity: 0;
        transform: translate(-50%,20%) scale(0.9)
    }

    to {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }
}

@keyframes popUpOut {
    from {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }

    to {
        opacity: 0;
        transform: translate(-50%,20%) scale(0.9)
    }
}

function closeWechatPopup() {
    const popup = document.querySelector('.wechat-popup');const overlay = document.querySelector('.popup-overlay'); popup.style.animation = 'popUpOut 0.3s ease forwards';overlay.style.animation = 'fadeOut 0.3s ease forwards';setTimeout(() => {
        popup.classList.remove('active');overlay.classList.remove('active');popup.style.animation = '';overlay.style.animation = ''}

    ,300)}

.social-links a.weixin {
    position: relative;
    overflow: visible
}

.social-links a.weixin::before {
    content: '点击查看二维码';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 5px
}

.social-links a.weixin:hover::before {
    opacity: 1;
    visibility: visible
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease,box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 15px
    }

    .service-item {
        padding: 1rem;
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center
    }

    .service-item h3 {
        font-size: 1rem;
        margin: 0.5rem 0
    }

    .service-item p {
        font-size: 0.875rem;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem
    }
}

@media (min-width: 769px) and (max-width:1024px) {
    .services-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 20px
    }
}

@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns:repeat(3,1fr);
        gap: 30px;
        padding: 20px
    }
}

@media (max-width: 1024px) {
    .services-grid {
        padding:20px;
        margin: 0 15px
    }
}

.portfolio-buttons {
    display: flex;
    gap: 10px;
    justify-content: center
}

.timeline {
    position: relative;
    padding: 20px 0
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #4e73df
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #4e73df;
    z-index: 1
}

.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px
}

.timeline-date {
    font-size: 0.9em;
    color: #666;
    background: #f8f9fa;
    padding: 2px 10px;
    border-radius: 15px;
    margin-right: 10px
}

.timeline-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0
}

.timeline-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05)
}

.app-type-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #fff;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1)
}

.app-badge {
    background: rgba(52,191,163,0.9);
    border: 1px solid rgba(52,191,163,0.2)
}

.web-badge {
    background: rgba(246,194,62,0.9);
    border: 1px solid rgba(246,194,62,0.2)
}

.project-card {
    position: relative;
    overflow: hidden
}

.project-status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #fff
}

.status-original {
    background: rgba(78,115,223,0.9)
}

.status-modified {
    background: rgba(231,74,59,0.9)
}

.program-type-label {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #fff;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1)
}

.label-app {
    background: rgba(52,191,163,0.95);
    border: 1px solid rgba(52,191,163,0.2)
}

.label-web {
    background: rgba(246,194,62,0.95);
    border: 1px solid rgba(246,194,62,0.2)
}

.program-type-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2
}

.program-type-label {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #fff;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1)
}

.label-app {
    background: rgba(52,191,163,0.95);
    border: 1px solid rgba(52,191,163,0.2)
}

.label-web {
    background: rgba(246,194,62,0.95);
    border: 1px solid rgba(246,194,62,0.2)
}

.project-card {
    position: relative;
    overflow: hidden
}

.timeline-preview {
    max-height: initial;
    overflow: visible
}

.timeline-more {
    text-align: center;
    padding: 10px 0;
    position: relative
}

.timeline-more::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #4e73df
}

.timeline-more .btn-link {
    color: #4e73df;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative
}

.timeline-more .btn-link:hover {
    background: #f8f9fa
}

.timeline-hidden {
    transition: all 0.3s ease
}

.timeline-hidden .timeline-item:last-child::before {
    height: 14px
}

.credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.credits a {
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center
}

@media (max-width: 768px) {
    .container > div {
        flex-direction:column;
        text-align: center;
        gap: 0.5rem
    }

    .credits {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem
    }

    .credits span {
        display: none
    }

    .copyright {
        width: 100%;
        text-align: center
    }
}

.floating-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999
}

.floating-button .btn {
    width: 60px;
    height: 60px;
    font-size: 24px
}

.floating-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    width: 120px
}

.floating-menu .btn {
    width: 100%;
    margin-bottom: 10px;
    text-align: center
}

.back-to-top {
    bottom: 20px;
    z-index: 998
}
