/* Global Styles */
:root {
    --primary: #0f1c3f;
    --secondary: #007bff;
    --accent: #00d4ff;
    --dark: #343a40;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.navbar-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--secondary);
}

/* CTA Button */
.cta-button {
    background: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.menu-toggle span:nth-child(1) {
    top: 6px;
}

.menu-toggle span:nth-child(2) {
    top: 14px;
}

.menu-toggle span:nth-child(3) {
    top: 22px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/shanghai.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f1c3f;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0;
}

#contact-hero {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/london.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f1c3f;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0;
}

#services-hero {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/warsaw.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f1c3f;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0;
}

#products-hero {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/finland.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f1c3f;
    background-repeat: no-repeat;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0;
}

.hero-content,
#contact-hero .container,
#services-hero .container,
#products-hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title,
#contact-hero h1,
#services-hero h1,
#products-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle,
#contact-hero .hero-subtitle,
#services-hero .hero-subtitle,
#products-hero .hero-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover, .btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 100px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary);
}

p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Section Subtitles */
p.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

span.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

/* Logo Wall Section */
.logo-wall-section,
#partners {
    background: var(--light);
    padding: 100px 0;
}

/* Certs Grid */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 32px;
    color: var(--accent);
}

.cert-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.cert-desc {
    font-size: 14px;
    color: #666;
}

/* Blue Background Sections */
.certifications-section,
.regulations-section {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/london.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f1c3f;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}

#services {
    background: white;
    color: #000;
    padding: 100px 0;
}

.regulations-section {
    background-image: url('https://robots.qf888.cn/static/upload/imgs/warsaw.jpg?w=1800&q=80&auto=format');
}


#contact {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/finland.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0f1c3f;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}

.certifications-section h2,
.regulations-section h2,
#contact h2 {
    color: white;
}

#services h2 {
    color: #333;
}

.certifications-section .section-subtitle,
.regulations-section .section-subtitle,
#contact .section-subtitle {
    color: rgba(255,255,255,0.9);
    text-align: center;
}

#services .section-subtitle {
    color: #666;
}

.certifications-section .section-description,
#contact .section-description {
    color: rgba(255,255,255,0.8);
}

.certifications-section .cert-item,
#contact .cert-item,
#regulations .service-card {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.certifications-section .cert-item:hover,
#contact .cert-item:hover,
#regulations .service-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.certifications-section .cert-icon,
#contact .cert-icon {
    border-color: var(--accent);
    color: var(--accent);
}

.certifications-section .cert-name,
#contact .cert-name {
    color: white;
}

.certifications-section .cert-desc,
#contact .cert-desc {
    color: rgba(255,255,255,0.8);
}

#regulations .service-card h3 {
    color: white !important;
}

#regulations .service-card p {
    color: white !important;
}

/* Logo Wall */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    opacity: 0.7;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.logo-placeholder {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
}

#partners h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
}

#partners .section-subtitle {
    margin-bottom: 70px;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent);
}

.stat-label {
    font-size: 16px;
}

/* About Section */
.about-columns {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.about-column {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.about-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.download-btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s;
}

.download-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.knowledge-btn-container {
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.knowledge-btn-container .download-btn:hover {
    background: var(--primary);
}

/* QR Code Hover Effects */
#knowledge-img, #consult-img {
    display: none;
    position: absolute;
    width: 200px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.contact-consult-btn:hover + #consult-img {
    display: block;
}

.contact-consult-btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-consult-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.service-card p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Partners Container */
.partners-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.partner-item {
    text-align: center;
    width: 200px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.partner-item img {
    width: 200px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Collaboration Section */
#collaboration {
    padding: 100px 0;
}

#collaboration h2 {
    color: var(--primary);
    text-align: center;
}

#collaboration .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--dark);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--accent);
    border: 4px solid var(--secondary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-item.left::after {
    right: -12px;
}

.timeline-content {
    padding: 20px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--dark);
    margin-bottom: 0;
    font-size: 16px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 8px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-info-item span {
    color: white;
    font-size: 16px;
}

.contact-image {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.contact-image:hover {
    background: rgba(255,255,255,0.2);
}

.contact-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    transition: all 0.3s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
}

.contact-image-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.7);
    padding: 5px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.contact-image:hover .contact-image-label {
    opacity: 1;
}

/* Footer */
.footer-section {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.footer-logo {
    margin-bottom: 20px;
    text-align: left;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    margin-top: -10px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: -10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    text-align: left;
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 18px;
    text-align: left;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
    display: block;
    text-align: left;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    text-align: left;
}

.contact-item i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0;
}

.footer-copyright a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: var(--accent);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    padding: 8px 12px;
    display: inline-block;
    line-height: 1.8;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        padding: 0 20px;
    }

    .hero-title,
    #services-hero h1 {
        font-size: 36px;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 80px;
        overflow-y: auto;
    }

    .navbar-nav.active {
        right: 0;
    }

    .navbar-nav li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .cta-button {
        display: none;
    }

    .about-columns {
        flex-direction: column;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 18px;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 18px;
    }

    .timeline-item.right {
        left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-image {
        margin-bottom: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .partners-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-item {
        flex-shrink: 1;
    }
}

@media (max-width: 480px) {
    .hero-title,
    #services-hero h1 {
        font-size: 28px;
    }

    .hero-subtitle,
    #services-hero .hero-subtitle {
        font-size: 18px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .logo-wall {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 16px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        text-align: center;
        align-items: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Products Section */
.products-section {
    background: var(--light);
    padding: 100px 0;
}

.products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.products-section .product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.products-section .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-section .product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
    border-color: rgba(0, 123, 255, 0.3);
}

.products-section .product-card:hover::before {
    transform: scaleX(1);
}

.products-section .product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.products-section .product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.products-section .product-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
    transition: color 0.3s;
}

.products-section .product-card:hover h3 {
    color: var(--secondary);
}

.products-section .product-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.products-section .btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: none;
}

.products-section .btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 28, 63, 0.3);
}

#components .btn-primary {
    border: none !important;
    box-shadow: none !important;
}

#components .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(15, 28, 63, 0.3);
}

#europe-services .btn-primary {
    border: none !important;
    box-shadow: none !important;
}

#europe-services .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(15, 28, 63, 0.3);
}

@media (max-width: 768px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-section .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, rgba(15, 28, 63, 0.85), rgba(0, 30, 60, 0.75)),
                url('https://robots.qf888.cn/static/upload/imgs/london.jpg?w=1800&q=80&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.banner-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-section p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .banner-section {
        padding: 60px 0;
    }

    .banner-section h2 {
        font-size: 28px;
    }

    .banner-section p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .banner-section h2 {
        font-size: 24px;
    }

    .banner-section p {
        font-size: 14px;
    }
}

/* Case Studies Section */
.case-studies-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.case-studies-section h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.case-studies-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.case-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    font-size: 28px;
    color: white;
}

.case-card h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 10px;
    text-align: center;
}

.case-category {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    display: block;
}

.case-description {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.case-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-results li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.case-results li i {
    color: var(--accent);
    font-size: 12px;
}

.case-results li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-studies-section {
        padding: 60px 0;
    }

    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .case-card {
        padding: 30px 20px;
    }

    .case-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .case-card h3 {
        font-size: 18px;
    }

    .case-description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        padding: 25px 18px;
    }
}


