
:root {
    --primary-color: #4361ee;         
    --secondary-color: #3a0ca3;       
    --accent-color: #f72585;          
    --gradient-start: #4cc9f0;        
    --gradient-end: #4361ee;          
    --text-color: #2b2d42;            
    --light-bg: #f8f9fa;
    --card-hover-shadow: 0 10px 25px rgba(67, 97, 238, 0.15);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.hero-banner {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 120px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 80%);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IGlkPSJwYXR0ZXJuLWJhY2tncm91bmQiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDMpIj48L3JlY3Q+PHBhdGggZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA3KSIgZD0iTTAgMGgyMHYyMEgweiI+PC9wYXRoPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSI+PC9yZWN0Pjwvc3ZnPg==');
    opacity: 0.4;
    z-index: 0;
}

.section-title {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.product-card .card-body {
    padding: 25px;
}

.product-card .card-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-card .price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.feature-box {
    padding: 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-box:hover {
    border-top: 4px solid var(--accent-color);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 100px 0;
    margin: 70px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
    position: relative;
    z-index: 5;
    cursor: pointer;
    pointer-events: auto;
}

.contact-btn:hover {
    background: #e5116c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.4);
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card .rating {
    color: #ffca38;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card .testimonial-author {
    font-weight: 700;
    margin-top: 20px;
    color: var(--secondary-color);
}

.faq-item {
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.faq-question {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.comparison-table th, .comparison-table td {
    padding: 15px 20px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--primary-color);
    font-weight: 600;
    color: white;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(67, 97, 238, 0.05);
}

.comparison-table tr:hover {
    background-color: rgba(67, 97, 238, 0.1);
}

footer {
    background: #2b2d42;
    color: white;
    padding: 70px 0 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.hot-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
}

.buy-now-btn {
    background: linear-gradient(to right, #25d366, #128C7E);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.buy-now-btn:hover {
    background: linear-gradient(to right, #1fb855, #0e7060);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.pie-chart {
    background: conic-gradient(
        #4cc9f0 0% 25%,
        #f72585 25% 50%,
        #7209b7 50% 75%,
        #4361ee 75% 100%
    );
}

.pie-chart-legend-color {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    border-radius: 4px;
}

.progress {
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.progress-bar {
    transition: width 1.5s ease;
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card-header {
    padding: 15px 20px;
    font-weight: 600;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 37, 133, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0);
    }
}

.contact-btn {
    animation: pulse 2s infinite;
}


.pie-chart-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #4cc9f0 0% 25%,
        #f72585 25% 50%,
        #7209b7 50% 75%,
        #4361ee 75% 100%
    );
}

.pie-chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pie-chart-legend {
    margin-top: 20px;
}

.pie-chart-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}


.quick-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 5px;
    display: none; 
}


@media (min-width: 992px) {
    .quick-nav {
        display: block;
    }
}

.quick-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav li {
    margin: 15px 0;
    text-align: center;
}

.quick-nav a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.quick-nav a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}


#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}


.font-size-tools {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 5px;
}

.font-size-tools button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: none;
    color: var(--primary-color);
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.font-size-tools button:hover {
    background: var(--primary-color);
    color: white;
}


.navbar-brand img {
    max-height: 60px;
    width: auto;
}


#back-to-top.visible {
    display: flex;
}


.contact-btn {
    cursor: pointer;
}


.hero-banner .container {
    position: relative;
    z-index: 2;
}


.contact-btn {
    position: relative;
    z-index: 5;
    cursor: pointer;
    pointer-events: auto;
}


.hero-banner .row {
    pointer-events: auto;
}


.stats-box {
    background: var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.stats-box .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px;
    display: inline-block;
}

.stats-box .text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}


.manufacturing-process {
    margin: 70px auto;
    padding: 0 15px;
}

.manufacturing-process .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.manufacturing-process .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}


.process-feature {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}


section.container {
    padding: 0 15px;
    margin: 70px auto;
}


.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.process-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
}

.process-feature .process-content {
    flex: 1;
}

.process-feature h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
}

.process-feature p {
    margin-bottom: 0;
    color: var(--text-color);
}

.process-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.process-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.process-image:hover img {
    transform: scale(1.03);
}


.certificate-box img {
    width: 600px;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.certificate-box img:hover {
    transform: scale(1.03);
}


.partner-logo {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

.partner-logo p {
    margin-bottom: 5px;
}

.partner-logo p:first-child {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.cooperating-partners {
    background-color: var(--light-bg);
    padding: 70px 0;
    border-radius: 15px;
    margin: 70px auto;
}

.cooperating-partners .section-title {
    margin-bottom: 50px;
}


footer a {
    color: #a4c5f4; 
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
}

.footer-bottom a {
    margin-left: 15px;
}


.hero-banner img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    background: white;
    padding: 10px;
    animation: float 6s ease-in-out infinite;
}

.hero-banner img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IGlkPSJwYXR0ZXJuLWJhY2tncm91bmQiIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDMpIj48L3JlY3Q+PHBhdGggZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA3KSIgZD0iTTAgMGgyMHYyMEgweiI+PC9wYXRoPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSI+PC9yZWN0Pjwvc3ZnPg==');
    opacity: 0.4;
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-banner img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.navbar {
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}

.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 15px;
    margin-top: 10px;
}

.navbar-nav .dropdown-item {
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.user-satisfaction-rate {
    margin-top: 20px;
}

.user-satisfaction-rate h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.progress {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.progress-bar {
    transition: width 1.5s ease;
}

.repeat-customer-rate {
    margin-top: 20px;
}

.repeat-customer-rate h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.progress {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.progress-bar {
    transition: width 1.5s ease;
}
