/* Global Styles */
:root {
    /* Light Theme Variables (Default) - Purple Theme */
    --primary-color: #7c3aed;
    --secondary-color: #5b21b6;
    --accent-color: #8b5cf6;
    --text-color: #333;
    --light-text: #666;
    --very-light-text: #999;
    --bg-color: #fff;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --card-bg: #fff;
    --footer-bg: #1a1a1a;
    --footer-text: #f0f0f0;
    --footer-secondary: #ccc;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Theme Variables - Purple Theme */
html.dark {
    --primary-color: #8b5cf6;
    --secondary-color: #a78bfa;
    --accent-color: #7c3aed;
    --text-color: #e5e7eb;
    --light-text: #d1d5db;
    --very-light-text: #9ca3af;
    --bg-color: #111827;
    --light-bg: #1f2937;
    --border-color: #374151;
    --card-bg: #1f2937;
    --footer-bg: #0f172a;
    --footer-text: #f9fafb;
    --footer-secondary: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--light-text);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    border-color: var (--secondary-color);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

section {
    padding: 80px 0;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Theme Toggle Button */
.theme-toggle {
    margin-left: 20px;
}

#themeToggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-color);
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#themeToggle:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 170px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 25px;
    color: var(--light-text);
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.stat-text {
    font-size: 16px;
    color: var(--light-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
}

/* Services Tabs */
.services-tabs {
    margin-top: 40px;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--light-bg);
    color: var(--text-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.tab-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.tab-content-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.tab-image {
    width: 200px;
    height: 200px;
    background-color: var(--light-bg);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.tab-image i {
    font-size: 80px;
    color: var(--primary-color);
}

.tab-details {
    flex: 1;
}

.tab-details h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.tab-details p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.tab-features {
    list-style: none;
    margin-bottom: 25px;
}

.tab-features li {
    margin-bottom: 10px;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.tab-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Solutions Section */
.solutions {
    background-color: var(--light-bg);
}

.solutions-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.solution-icon i {
    font-size: 24px;
}

.solution-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.solution-text p {
    color: var(--light-text);
}

/* Portfolio Section */
.portfolio {
    background-color: var(--bg-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.portfolio-img {
    height: 200px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.portfolio-info p {
    color: var (--light-text);
    font-size: 14px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--light-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    margin-right: 15px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.author-info p {
    font-size: 14px;
    color: var(--very-light-text);
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-form {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.info-icon i {
    font-size: 20px;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-content p {
    color: var(--light-text);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* CAPTCHA Styles */
.captcha-container {
    margin-bottom: 25px;
}

.captcha-message {
    margin-top: 10px;
    color: red;
    font-size: 14px;
}

/* WhatsApp Chat Button */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-button i {
    font-size: 30px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Redesigned Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo-container {
    margin-bottom: 15px;
}

.footer-brand p {
    margin-bottom: 20px;
    color: var(--footer-secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-nav, .footer-services, .footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-nav h3, .footer-services h3, .footer-contact h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

.footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-links a {
    color: var(--footer-secondary);
    transition: var(--transition);
}

.footer-nav-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--footer-secondary);
}

.footer-contact-list li i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--footer-secondary);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-bg);
}

.workflow-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.workflow-step {
    display: flex;
    gap: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-content p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.step-list {
    margin-left: 20px;
    margin-bottom: 15px;
}

.step-list li {
    color: var(--light-text);
    list-style-type: disc;
    margin-bottom: 8px;
}

/* Data Insights Section */
.data-insights {
    background-color: var(--background-secondary);
}

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

.insights-dashboard, .insights-text {
    background-color: var(--background-panel);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.dashboard-container p, .insights-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s ease;
}

.pie-chart-wrapper:hover {
    transform: scale(1.05);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.legend-item:hover {
    background-color: var(--hover-color);
    transform: translateX(8px);
}

.legend-item span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.legend-item .legend-percent {
    font-weight: 600;
    margin-left: auto;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var (--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Data Insights Section - Enhanced Styles */
.data-insights .insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .data-insights .insights-content {
        flex-direction: row;
    }
}

.insights-dashboard, .insights-text {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.insights-dashboard:hover, .insights-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-container h3, .insights-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
}

.dashboard-chart-container {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    height: 300px;
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 300px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 300px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.color-dot.product-a { background-color: #7c3aed; }
.color-dot.product-b { background-color: #3b82f6; }
.color-dot.product-c { background-color: #10b981; }
.color-dot.product-d { background-color: #f59e0b; }
.color-dot.others { background-color: #6b7280; }

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.chart-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dashboard-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--light-text);
}

.feature-item:hover {
    background-color: var(--light-bg);
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
}

/* Raw data section */
.raw-data {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.raw-data.active {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin: 1rem 0;
}

.raw-data code {
    display: block;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--code-text);
    line-height: 1.5;
}

/* Animation effects for pie chart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chart-animation {
    animation: pulse 2s infinite ease-in-out;
}

@media (min-width: 768px) {
    .insights-content {
        flex-direction: row;
    }
    
    .insights-dashboard, .insights-text {
        flex: 1;
    }
    
    .dashboard-chart-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .dashboard-chart-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pie-chart-wrapper {
        margin-bottom: 1.5rem;
    }
}

/* Enhanced Chart.js integration for Data Insights section */
.dashboard-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pie-chart-wrapper {
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    position: relative;
}

.pie-chart-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.pie-chart-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot.product-a {
    background-color: #7c3aed;
}

.color-dot.product-b {
    background-color: #3b82f6;
}

.color-dot.product-c {
    background-color: #10b981;
}

.color-dot.product-d {
    background-color: #f59e0b;
}

.color-dot.others {
    background-color: #6b7280;
}

.legend-percent {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chart title and subtitle */
.chart-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--light-text);
}

/* Responsive adjustments for dashboard */
@media screen and (max-width: 768px) {
    .dashboard-chart-container {
        padding: 20px 15px;
    }
    
    .pie-chart-wrapper {
        max-width: 280px;
    }
    
    .chart-legend {
        max-width: 280px;
    }
    
    .legend-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsive Design for Data Insights Section */
@media (max-width: 992px) {
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .insights-content {
        flex-direction: column;
    }
    
    .insights-placeholder {
        height: 250px;
    }
    
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .tab-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .header-right {
        justify-content: flex-end;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .solutions-content,
    .portfolio-grid,
    .testimonials-slider,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-list {
        text-align: left;
    }
    
    .insights-text {
        text-align: center;
    }
    
    .raw-data {
        text-align: left;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-services, .footer-contact {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .whatsapp-chat {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stat-item,
    .service-card,
    .solution-item,
    .testimonial-item {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Copyright Section Styles */
.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

copyright-info, .company-info, .terms-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

copyright-year, .copyright-brand {
    font-weight: 600;
}

copyright-brand {
    color: var(--primary-color);
}

copyright-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

company-reg, .last-updated {
    font-size: 13px;
    color: var(--footer-secondary);
}

terms-links a {
    color: var(--footer-secondary);
    font-size: 14px;
    transition: var(--transition);
}

terms-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .copyright-container {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .copyright-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Data Insights Section - Enhanced Pie Chart Styles */
.data-insights-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pie-chart-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .chart-wrapper {
        flex-direction: row;
    }
}

.pie-chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
    max-height: 400px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
}

.pie-chart-wrapper.chart-animation canvas {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    background-color: var(--light-bg);
    transform: translateX(5px);
}

.legend-item.inactive {
    opacity: 0.5;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.legend-item:hover .color-dot {
    transform: scale(1.2);
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
}

.legend-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.chart-btn i {
    font-size: 14px;
}

.raw-data {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--code-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.raw-data.active {
    max-height: 200px;
    overflow-y: auto;
}

.raw-data code {
    font-family: monospace;
    color: var(--code-color);
    white-space: pre;
    font-size: 14px;
}

/* Dark mode adjustments */
.dark .pie-chart-container {
    background-color: var(--dark-card);
}

.dark .legend-item:hover {
    background-color: var(--dark-hover);
}

.dark .raw-data {
    background-color: var(--dark-code-bg);
}

.dark .raw-data code {
    color: var(--dark-code-color);
}

/* Pie Chart Styling for Data Insights Section */
.data-insights-section {
    padding: 2rem 0;
}

.insights-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.pie-chart-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.pie-chart-wrapper.chart-animation {
    animation: pulse 3s infinite alternate;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-color: var(--surface-color, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .legend-item {
    background-color: var(--surface-color-dark, #1f2937);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .legend-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legend-item.inactive {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-percent {
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
}

.dark .legend-percent {
    color: var(--primary-color-dark, #a78bfa);
}

.chart-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.animate-chart-btn,
.raw-data-btn {
    background-color: var(--primary-color, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dark .animate-chart-btn,
.dark .raw-data-btn {
    background-color: var(--primary-color-dark, #8b5cf6);
}

.animate-chart-btn:hover,
.raw-data-btn:hover {
    background-color: var(--primary-hover, #6d28d9);
    transform: translateY(-2px);
}

.dark .animate-chart-btn:hover,
.dark .raw-data-btn:hover {
    background-color: var(--primary-hover-dark, #7c3aed);
}

.raw-data {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    width: 100%;
}

.raw-data.active {
    max-height: 200px;
    margin-top: 1.5rem;
}

.raw-data pre {
    background-color: var(--surface-color, #f3f4f6);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.dark .raw-data pre {
    background-color: var(--surface-color-dark, #1f2937);
    color: #e5e7eb;
}

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