:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #C3D8F7;
    --background-color: #f6f7fb;
    --section-bg-color: #f6f7fb;
    --text-color: #333333;
    --light-text-color: #ffffff;
    --navbar-height: 70px;
}

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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.navbar.visible {
    transform: translateY(0);
    opacity: 1;
}

.navbar-container {
    max-width: 1600px;
    margin: 0;
    padding: 0 20px 0 10px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

.navbar-logo img {
    height: 50px;
    width: auto;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu li a:hover {
    color: var(--accent-color);
}

.hero {
    height: 100vh;
    background: url('home-background.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--light-text-color);
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-logo img {
    max-width: 50%;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.3s both;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--light-text-color);
    border-bottom: 3px solid var(--light-text-color);
    transform: rotate(45deg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

.introduction,
.services,
.portfolio,
.contact {
    padding: calc(var(--navbar-height) + 80px) 20px 80px;
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.introduction {
    background: var(--background-color);
    color: var(--light-text-color);
}

.services {
    background: var(--secondary-color);
    color: var(--text-color);
}

.portfolio {
    background: var(--section-bg-color);
    color: var(--light-text-color);
}



.section-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.section-container h2 {
    font-size: 5rem;
    text-align: left;
    margin-bottom: 60px;
    color: var(--text-color);
}

.introduction-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.introduction-text {
    flex: 1;
    line-height: 2;
    font-size: 1.4rem;
    color: var(--text-color);
}

.introduction-text p {
    margin-bottom: 30px;
}

.introduction-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.introduction-logo img {
    max-width: 350px;
    height: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
    width: 100%;
}

.service-card {
    background: rgba(0, 0, 0, 0.05);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.service-card p {
    color: #666;
    line-height: 2;
    font-size: 1.5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
    width: 100%;
}

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

.portfolio-image {
    height: 450px;
    background: linear-gradient(135deg, var(--accent-color), #ff8e53);
    border-radius: 20px;
    margin-bottom: 35px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.03);
}

.portfolio-item h3 {
    font-size: 2.5rem;
}

footer {
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-contact {
    text-align: right;
}

.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 1.2rem;
    line-height: 2.5;
    opacity: 0.9;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    opacity: 0.9;
}

.footer-contact a:hover {
    opacity: 1;
}

.qq-group-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-trigger {
    font-size: 1.2rem;
    line-height: 2.5;
    opacity: 0.9;
    /*text-decoration: underline;*/
    text-decoration-style: dashed;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    color: var(--primary-color);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
}

.qq-group-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-content img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.tooltip-content p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    opacity: 0.7;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .service-card {
        padding: 50px 30px;
        min-height: 350px;
    }
    
    .service-card h3 {
        font-size: 2.2rem;
    }
    
    .service-card p {
        font-size: 1.2rem;
    }
    
    .portfolio-image {
        height: 350px;
    }
    
    .portfolio-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-menu {
        gap: 15px;
    }
    
    .navbar-menu li a {
        font-size: 0.9rem;
    }
    
    .section-container h2 {
        font-size: 2.5rem;
    }
    
    .introduction,
    .services,
    .portfolio {
        padding: calc(var(--navbar-height) + 50px) 20px 50px;
        height: auto;
        min-height: 100vh;
    }
    
    .introduction-row {
        flex-direction: column;
        gap: 50px;
    }
    
    .introduction-text {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .introduction-logo img {
        max-width: 250px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 50px 30px;
        min-height: 300px;
    }
    
    .service-card h3 {
        font-size: 2rem;
    }
    
    .service-card p {
        font-size: 1.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-image {
        height: 280px;
    }
    
    .portfolio-item h3 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}