/* Font Imports */
@font-face {
    font-family: 'Tomorrow';
    src: url('Tomorrow-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary-color: #008080;
    --primary-hover: #006666;
    --primary-light: #e6f5f5;
    --primary-dark: #006666;
    --secondary-accent: #D58E00;
    --secondary-accent-light: #fff5e6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --accent-color: #10b981;
    --gradient-light: linear-gradient(135deg, var(--primary-light), var(--secondary-accent-light));
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--secondary-accent));
}

html {
    scroll-behavior: smooth;
}

html[dir="rtl"] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Arabic', sans-serif;
}

/* Language Switcher */
.lang-switcher {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
}

.lang-switcher:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.lang-icon {
    font-size: 18px;
}

.lang-text {
    color: var(--text-dark);
}

/* RTL Support - Only for text direction, no layout changes */
body[dir="rtl"] {
    direction: rtl;
}

/* Hide slogan on pages other than index.html */
body.page-page .nav-slogan,
body.blog-page .nav-slogan {
    display: none !important;
}

/* Show slogan only on index.html */
body.index-page .nav-slogan {
    display: flex !important;
}

/* Force LTR on all layout elements to prevent position changes */
body[dir="rtl"] .navbar,
body[dir="rtl"] .nav-container,
body[dir="rtl"] .nav-wrapper,
body[dir="rtl"] .nav-menu,
body[dir="rtl"] .lang-switcher,
body[dir="rtl"] .hero,
body[dir="rtl"] .container,
body[dir="rtl"] section,
body[dir="rtl"] .section-header,
body[dir="rtl"] .browser-window,
body[dir="rtl"] .browser-header,
body[dir="rtl"] .browser-content,
body[dir="rtl"] .desktop-grid,
body[dir="rtl"] .transformation-graphic,
body[dir="rtl"] .paper-side,
body[dir="rtl"] .digital-side,
body[dir="rtl"] .transformation-flow,
body[dir="rtl"] .solutions-grid,
body[dir="rtl"] .solution-card,
body[dir="rtl"] .automation-visual,
body[dir="rtl"] .automation-system,
body[dir="rtl"] .gear-container,
body[dir="rtl"] .automation-flow,
body[dir="rtl"] .flow-module,
body[dir="rtl"] .automation-tagline,
body[dir="rtl"] .chatbot-container,
body[dir="rtl"] .chatbot-visual,
body[dir="rtl"] .chatbot-flow,
body[dir="rtl"] .conversation-flow,
body[dir="rtl"] .dashboard-intro,
body[dir="rtl"] .dashboard-mockup,
body[dir="rtl"] .dashboard-types,
body[dir="rtl"] .types-grid,
body[dir="rtl"] .type-card,
body[dir="rtl"] .dashboard-process,
body[dir="rtl"] .process-flow,
body[dir="rtl"] .contact-container,
body[dir="rtl"] .contact-info,
body[dir="rtl"] .contact-item,
body[dir="rtl"] .footer {
    direction: ltr !important;
}

/* Only allow pricing grid to be RTL */
body[dir="rtl"] .pricing-grid {
    direction: rtl;
}

/* Only allow text content to be RTL */
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] p,
body[dir="rtl"] span,
body[dir="rtl"] .text,
body[dir="rtl"] .desc-text,
body[dir="rtl"] .nav-link,
body[dir="rtl"] .btn,
body[dir="rtl"] .contact-link {
    direction: rtl;
    /* Keep original alignment - no text-align changes */
}

/* Make benefit items RTL for Arabic while keeping icons on the left */
body[dir="rtl"] .benefit-item {
    direction: rtl;
    justify-content: flex-start;
}

body[dir="rtl"] .benefit-item i {
    order: 1;
    margin-left: 0;
    margin-right: 15px;
}

body[dir="rtl"] .benefit-item > div {
    order: 2;
    text-align: right;
}

/* Keep app names LTR and left-aligned */
body[dir="rtl"] .solution-card h3,
body[dir="rtl"] .monitor-app {
    direction: ltr !important;
    text-align: left !important;
}

body[dir="rtl"] .lang-text {
    direction: ltr;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Tomorrow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-logo .logo-greater-than {
    color: var(--secondary-accent);
}

.nav-logo .cursor {
    color: rgba(0, 128, 128, 0.4);
    font-weight: 300;
    animation: blink 1.5s infinite;
    display: inline-block;
}

@keyframes blink {
    0%, 45% { opacity: 1; }
    50%, 55% { opacity: 0.3; }
    60%, 100% { opacity: 1; }
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-logo:hover::after {
    width: 100%;
}

/* Navigation Slogan */
.nav-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    font-family: 'Tomorrow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 0.7s ease;
}

.slogan-text {
    color: var(--primary-color);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 128, 128, 0.1);
}

.slogan-dot {
    color: var(--secondary-accent);
    font-size: clamp(36px, 9vw, 54px);
    font-weight: 800;
    margin: 0 4px;
    animation: pulse-dot 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(213, 142, 0, 0.2);
}

.slogan-dot:nth-child(2) {
    animation-delay: 0.6s;
}

.slogan-dot:nth-child(4) {
    animation-delay: 1.2s;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Hide regular menu on all screen sizes - use slide-in menu */
.nav-menu {
    position: fixed;
    right: -350px;
    top: 70px;
    flex-direction: column;
    background: var(--bg-white);
    width: 350px;
    height: calc(100vh - 70px);
    text-align: left;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    gap: 5px;
    overflow-y: auto;
    z-index: 999;
    list-style: none;
}

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

/* Style nav links for slide-in menu */
.nav-menu .nav-link {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    font-size: 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu .nav-link:hover {
    background: var(--primary-light);
    padding-left: 30px;
    color: var(--primary-color);
}

/* Blog and Contact links in secondary accent */
.nav-menu .nav-link[href="blog.html"],
.nav-menu .nav-link[href="#contact"],
.nav-menu .nav-link[href*="contact"] {
    color: var(--secondary-accent);
}

.nav-menu .nav-link[href="blog.html"]:hover,
.nav-menu .nav-link[href="#contact"]:hover,
.nav-menu .nav-link[href*="contact"]:hover {
    background: rgba(213, 142, 0, 0.1);
}

/* Add overlay background when menu is open */
.nav-wrapper::before {
    content: '';
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.nav-wrapper.active::before {
    opacity: 1;
    visibility: visible;
}

/* Show hamburger menu on all screen sizes */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    order: 2;
    margin-right: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

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

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

.btn-full {
    width: 100%;
    text-align: center;
    margin-top: auto;
}


/* Hero Section */
.hero {
    padding: 60px 20px 80px; /* Reduced top padding from 120px to 60px */
    background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Browser Window */
.browser-window {
    max-width: 700px;
    margin: 40px auto 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.browser-header {
    background: #f5f5f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-close {
    background: #ff5f56;
}

.control-minimize {
    background: #ffbd2e;
}

.control-maximize {
    background: #27c93f;
}

.browser-address {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.browser-address i {
    color: var(--secondary-accent);
    font-size: 12px;
}

.browser-content {
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 320px;
}

.desktop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background-color 0.2s ease;
}

.icon-wrapper.secondary {
    background: var(--secondary-accent);
}

.icon-wrapper i {
    font-size: 28px;
    color: white;
}

.desktop-icon span {
    text-align: center;
    line-height: 1.3;
}

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

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

/* Animated Particles */
.path-svg circle {
    filter: drop-shadow(0 0 10px rgba(0, 128, 128, 0.5));
}

/* Hero Content */
.hero-content {
    text-align: center;
    padding: 40px 40px 0;
}

.hero-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* RTL Support */
[dir="rtl"] .transformation-container {
    direction: ltr;
}

[dir="rtl"] .steps-container {
    direction: rtl;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .transformation-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .before-state,
    .after-state {
        order: 2;
    }

    .transformation-path {
        order: 1;
        margin: 0;
        height: 400px;
        width: 100%;
    }

    .steps-container {
        flex-direction: column;
        gap: 35px;
        padding: 0;
    }

    .business-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .state-desc {
        font-size: 28px;
    }
}


@media (max-width: 640px) {
    .hero {
        padding: 40px 20px 60px; /* Further reduced top padding to 40px */
    }

    .browser-window {
        margin-top: 30px;
    }

    .browser-content {
        padding: 30px 20px;
        min-height: 280px;
    }

    .desktop-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .icon-wrapper {
        width: 56px;
        height: 56px;
    }

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

    .desktop-icon span {
        font-size: 12px;
    }

    .browser-address {
        font-size: 13px;
        padding: 5px 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

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

/* Section Divider */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        var(--border-color) 20%,
        var(--border-color) 80%,
        transparent 100%
    );
    margin: 20px 0;
}

/* Pricing Toggle */
.pricing-toggle-container {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.1);
}

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

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

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

/* Pricing Grid Animation */
.pricing-grid {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.pricing-grid:not([style*="display: none"]) {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

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

.section-header h2 {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-accent);
    border-radius: 2px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 30px auto 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px 30px;
    position: relative;
    transition: all 0.4s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, var(--primary-light), var(--bg-white));
}

.pricing-card.popular {
    border: 3px solid var(--primary-color);
    background: var(--bg-white);
    transform: scale(1.02);
    position: relative;
    overflow: hidden;
}


.popular-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
}

.popular-corner svg {
    position: absolute;
    top: 0;
    right: 0;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-dark);
}

.price {
    text-align: center;
    margin-bottom: 30px;
}

.currency {
    font-size: 20px;
    color: var(--text-light);
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 30px;
    color: var(--text-dark);
    transition: color 0.3s;
}

.features li:hover {
    color: var(--primary-color);
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Addons */
.addons {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, var(--bg-white), var(--primary-light));
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
}

.addons h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.addon-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.addon-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.15);
}

.addon-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.addon-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.addon-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px;
}

.addon-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 18px;
}

/* Transformation Graphic */
.transformation-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    padding: 40px 0;
    flex-wrap: wrap;
}

/* Paper Side */
.paper-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paper-stack {
    position: relative;
    width: 120px;
    height: 140px;
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.paper:nth-child(1) {
    transform: rotate(-5deg) translate(-5px, -5px);
    z-index: 3;
}

.paper:nth-child(2) {
    transform: rotate(2deg) translate(5px, 2px);
    z-index: 2;
}

.paper:nth-child(3) {
    transform: rotate(-2deg) translate(-2px, 5px);
    z-index: 1;
}

.paper-lines {
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: #e0e0e0;
    box-shadow:
        0 8px 0 #e0e0e0,
        0 16px 0 #e0e0e0,
        0 24px 0 #e0e0e0,
        0 32px 0 #e0e0e0,
        0 40px 0 #e0e0e0,
        0 48px 0 #e0e0e0,
        0 56px 0 #e0e0e0,
        0 64px 0 #e0e0e0;
}

.paper-text {
    position: absolute;
    top: 22px;
    left: 15px;
    right: 15px;
    height: 66px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paper-text::before,
.paper-text::after {
    content: '';
    height: 2px;
    background: #bbb;
    border-radius: 2px;
}

.paper-text::before {
    width: 60%;
}

.paper-text::after {
    width: 40%;
}

.chaos-dots {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
}

.chaos-dots span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.chaos-dots span:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.chaos-dots span:nth-child(2) {
    top: 10px;
    left: 15px;
    animation-delay: 0.5s;
}

.chaos-dots span:nth-child(3) {
    top: 5px;
    left: 30px;
    animation-delay: 1s;
}

.chaos-dots span:nth-child(4) {
    top: 20px;
    left: 8px;
    animation-delay: 1.5s;
}

/* Transformation Flow */
.transformation-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 200px;
    height: 50px;
}

.flow-line {
    position: absolute;
    width: 100%;
    height: 100%;
}

.flow-circle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 128, 128, 0.3);
}

.circle-1 {
    animation: moveCircle1 3s ease-in-out infinite;
}

.circle-2 {
    animation: moveCircle2 3s ease-in-out infinite;
    animation-delay: 1s;
}

.circle-3 {
    animation: moveCircle3 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes moveCircle1 {
    0% {
        left: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 12px);
        opacity: 0;
    }
}

@keyframes moveCircle2 {
    0% {
        left: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 12px);
        opacity: 0;
    }
}

@keyframes moveCircle3 {
    0% {
        left: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 12px);
        opacity: 0;
    }
}

/* Digital Side */
.digital-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.monitor {
    position: relative;
}

.monitor-screen {
    width: 280px;
    height: 180px;
    background: #f5f5f5;
    border: 8px solid #008080;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.monitor-header {
    background: white;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.monitor-dots {
    display: flex;
    gap: 5px;
}

.monitor-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.monitor-dots span:nth-child(1) {
    background: #ff5f57;
}

.monitor-dots span:nth-child(2) {
    background: #ffbd2e;
}

.monitor-dots span:nth-child(3) {
    background: #28ca42;
}

.monitor-title {
    font-size: 11px;
    color: #666;
    flex: 1;
    text-align: center;
}

.monitor-content {
    padding: 12px;
    height: calc(100% - 28px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.monitor-apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.monitor-app {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: white;
    border-radius: 6px;
    font-size: 11px;
    color: #666;
    border: 1px solid #e0e0e0;
}

.app-icon-small {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.monitor-app.kanboard .app-icon-small {
    background: #0079bf;
}

.monitor-app.manager .app-icon-small {
    background: #4a90e2;
}

.monitor-app.akaunting .app-icon-small {
    background: #52c41a;
}

.monitor-app.erp .app-icon-small {
    background: #722ed1;
}

.organize-lines {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
}

.organize-lines .line {
    width: 2px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 1px;
}

.monitor-stand {
    width: 60px;
    height: 30px;
    background: #008080;
    margin: 0 auto;
    clip-path: polygon(20% 0%, 80% 0%, 70% 100%, 30% 100%);
}

.monitor-base {
    width: 100px;
    height: 8px;
    background: #008080;
    margin: 0 auto;
    border-radius: 2px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive for Transformation */
@media (max-width: 768px) {
    .transformation-graphic {
        flex-direction: column;
        gap: 30px;
    }

    .transformation-flow {
        transform: rotate(90deg);
        width: 100px;
        height: 200px;
    }

    .monitor-screen {
        width: 240px;
        height: 160px;
    }
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Solutions Grid Container for Dynamic Apps */
.solutions-grid-container {
    margin-bottom: 60px;
}

.apps-iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: transparent;
}

/* Card link wrapper for dynamic apps */
.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Show More Button Container */
.show-more-container {
    text-align: center;
    margin-top: 0;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.1);
}

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

.show-more-btn i {
    font-size: 18px;
}

.solution-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 420px; /* Increased height for better content alignment */
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.15);
}

/* Solution Header with Logo */
.solution-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.solution-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.solution-logo:hover {
    transform: scale(1.05);
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
    text-align: center;
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to grow and fill available space */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
}

/* Learn More Button */
.learn-more-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--secondary-accent);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    min-height: 44px; /* iOS recommended minimum touch target */
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--secondary-accent);
    color: white;
    transform: translateY(-1px);
}

.learn-more-btn:active {
    transform: translateY(0);
    background: var(--secondary-accent);
    color: white;
}

.custom-solution {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-white));
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    margin-bottom: 40px;
}

.custom-solution h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.custom-solution p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.info-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
    text-decoration: none;
    color: inherit;
}

.info-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.info-item:hover h4 {
    color: var(--primary-hover);
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.info-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/* Automation Section */
.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.automation-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.automation-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.15);
}

.automation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
}

.automation-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.automation-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Automation Visual */
.automation-visual {
    margin-bottom: 60px;
}

.automation-system {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.automation-system::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 128, 128, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

/* Animated Gears */
.gear-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
}

.gear {
    position: absolute;
    fill: var(--primary-color);
    opacity: 0.1;
}

.gear.large {
    width: 100px;
    height: 100px;
    top: 0;
    right: 0;
    animation: rotate 20s linear infinite;
}

.gear.medium {
    width: 70px;
    height: 70px;
    top: 40px;
    right: 60px;
    animation: rotate-reverse 15s linear infinite;
    fill: var(--primary-hover);
}

.gear.small {
    width: 50px;
    height: 50px;
    top: 80px;
    right: 20px;
    animation: rotate 10s linear infinite;
    fill: var(--secondary-accent);
    opacity: 0.15;
}

/* Automation Flow */
.automation-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.flow-module {
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flow-module:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.module-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
}

.module-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

/* Processing Dots */
.process-module::after {
    content: '● ● ●';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 12px;
    letter-spacing: 8px;
    animation: processing-text 1.4s ease-in-out infinite;
}

/* Processing dots animation */
@keyframes processing-text {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* Success Check */
.success-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
}

.success-check::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: var(--secondary-accent);
    animation: scale-check 2s ease-in-out infinite;
}

/* Flow Connectors */
.flow-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    position: relative;
    margin: 0 10px;
}

.data-particles {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-evenly;
}

.data-particles span {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: move-particle 1.5s ease-in-out infinite;
}

.data-particles span:nth-child(2) {
    animation-delay: 0.3s;
}

.data-particles span:nth-child(3) {
    animation-delay: 0.6s;
    background: var(--secondary-accent);
}

.data-particles span:nth-child(4) {
    animation-delay: 0.9s;
}

/* Automation Tagline */
.automation-tagline {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.automation-tagline span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.metric-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.metric-card:hover {
    transform: translateY(-3px);
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.metric-bar {
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--secondary-accent);
    border-radius: 2px;
    transition: width 2s ease-out;
}

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

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes move-particle {
    0% {
        transform: translateY(-50%) translateX(-10px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) translateX(calc(100% + 10px));
        opacity: 0;
    }
}

@keyframes processing-dot {
    0%, 60%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes scale-check {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.automation-process {
    margin-bottom: 60px;
}

.automation-process h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.process-step {
    text-align: center;
    position: relative;
}

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

.process-step h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-accent);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.5;
}

.automation-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.automation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
}

.cta-feature i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.automation-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.automation-cta .btn-primary:hover {
    background: var(--bg-light);
}

/* Chatbots Section */
.chatbot-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.chatbot-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.chatbot-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.chatbot-benefits {
    background: var(--bg-white);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.benefits-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.benefits-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.benefits-header h3 {
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-stat {
    text-align: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.benefit-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.1);
    border-color: var(--primary-color);
}

.benefit-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-accent);
    margin-bottom: 8px;
}

.benefit-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.benefit-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.benefit-item:hover {
    background: var(--secondary-accent-light);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 20px;
    color: var(--secondary-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Chatbot Flow Visualization */
.chatbot-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.chatbot-flow {
    background: var(--bg-white);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flow-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flow-dots {
    display: flex;
    gap: 6px;
}

.flow-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.flow-dots span:first-child {
    background: #ff5f56;
}

.flow-dots span:nth-child(2) {
    background: #ffbd2e;
}

.flow-dots span:nth-child(3) {
    background: #27c93f;
}

.flow-title {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.flow-content {
    padding: 25px;
}

.conversation-flow {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.flow-node {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    position: relative;
}

.flow-node:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.1);
}

.user-node {
    border-left: 4px solid #3b82f6;
}

.ai-node {
    border-left: 4px solid var(--primary-color);
}

.intent-node {
    border-left: 4px solid #8b5cf6;
}

.response-node {
    border-left: 4px solid var(--accent-color);
}

.action-node {
    border-left: 4px solid #f59e0b;
}

.node-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.user-node .node-icon {
    background: #3b82f6;
}

.ai-node .node-icon {
    background: var(--primary-color);
}

.intent-node .node-icon {
    background: #8b5cf6;
}

.response-node .node-icon {
    background: var(--accent-color);
}

.action-node .node-icon {
    background: #f59e0b;
}

.node-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.node-example {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 2px;
}

.node-processing {
    display: flex;
    gap: 3px;
    margin-left: auto;
}

.node-processing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 1.4s infinite;
}

.node-processing span:nth-child(2) {
    animation-delay: 0.2s;
}

.node-processing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

.node-tags {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.flow-arrow {
    text-align: center;
    color: var(--text-light);
    font-size: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

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

.flow-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.feature-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--secondary-accent);
    transform: translateY(-3px);
}

.feature-item .feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.chatbot-cta {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    margin-top: 30px;
}

.chatbot-cta h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/* Dashboard Section */
.dashboard-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.dashboard-mockup {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.1);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-dots span:nth-child(1) {
    background: #ff5f57;
}

.mockup-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mockup-dots span:nth-child(3) {
    background: #28ca42;
}

.mockup-title {
    color: white;
    font-weight: 600;
}

.mockup-content {
    padding: 30px;
}

.mockup-metric {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    font-weight: 600;
    color: var(--text-light);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-change {
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.mockup-chart {
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 128, 128, 0.1));
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.mockup-chart::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(0, 128, 128, 0.2);
}

.mockup-chart::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 80"><path d="M 0 60 Q 40 20 80 40 T 160 30 L 160 70 L 0 70 Z" fill="rgba(0,128,128,0.2)"/><path d="M 0 60 Q 40 20 80 40 T 160 30" stroke="%23008080" stroke-width="3" fill="none"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

.dashboard-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.dashboard-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.dashboard-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point-item {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.point-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.point-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.point-item strong {
    font-size: 18px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.point-item p {
    color: var(--text-light);
    margin: 0;
}

.dashboard-types {
    margin-bottom: 60px;
}

.dashboard-types h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.type-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.15);
}

.type-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.type-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.type-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.dashboard-process {
    margin-bottom: 60px;
}

.dashboard-process h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    max-width: 200px;
}

.flow-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
}

.flow-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.flow-step p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 24px;
}

.dashboard-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-white));
    border-radius: 16px;
    border: 2px solid var(--primary-color);
}

.dashboard-cta h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/* Consulting Section - Professional Research & Documents Graphic */
.consulting-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
    padding: 40px 20px;
}

.consulting-mockup {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.1);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.consulting-workspace {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    padding: 40px;
    display: flex;
    gap: 30px;
}

/* Left Side - Documents Stack */
.documents-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.document {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.document:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15);
    border-color: var(--primary-color);
}

.document-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.document-content {
    flex: 1;
}

.document-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.document-status {
    font-size: 13px;
    color: var(--text-light);
}

.document-status.completed {
    color: var(--accent-color);
    font-weight: 500;
}

/* Right Side - Analysis Board */
.analysis-board {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.board-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.board-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-accent), #e67e00);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.board-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 18px;
}

.board-metrics {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-label {
    flex: 1;
    font-size: 14px;
    color: var(--text-light);
}

.metric-bar-container {
    flex: 2;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.metric-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease-out;
    width: 0;
}

/* Trigger animation when graphic is visible */
.consulting-graphic:visible .metric-bar {
    width: var(--bar-width, 0%);
}

.metric-bar.research {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    width: 90%;
}

.metric-bar.strategy {
    background: linear-gradient(90deg, var(--secondary-accent), #e67e00);
    width: 85%;
}

.metric-bar.compliance {
    background: linear-gradient(90deg, var(--accent-color), #0ea5e9);
    width: 95%;
}

.metric-bar.optimization {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    width: 80%;
}

.metric-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    min-width: 35px;
    text-align: right;
}

/* Floating Elements */
.consulting-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 8px 16px;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.floating-badge.top-right {
    top: 20px;
    right: 20px;
    color: var(--secondary-accent);
    border-color: var(--secondary-accent);
}

.floating-badge.bottom-left {
    bottom: 20px;
    left: 20px;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.badge-icon {
    font-size: 14px;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.consulting-card {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.consulting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.consulting-card:hover::before {
    transform: scaleX(1);
}

.consulting-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.15);
}

.consulting-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3);
    transition: all 0.3s;
}

.consulting-card:hover .consulting-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 128, 128, 0.4);
}

.consulting-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.3;
}

.consulting-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.consulting-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.consulting-tags .tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.consulting-card:hover .tag {
    background: var(--primary-color);
    color: white;
}

.consulting-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 128, 128, 0.05));
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
}

.consulting-cta h4 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.consulting-cta p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive for Consulting Section */
@media (max-width: 768px) {
    .consulting-graphic {
        margin: 40px 0;
        padding: 30px 15px;
    }

    .consulting-mockup {
        height: auto;
        max-height: 500px;
        max-width: 100%;
    }

    .consulting-workspace {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .documents-stack {
        gap: 12px;
    }

    .document {
        padding: 15px;
        min-height: 70px;
    }

    .document-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .document-title {
        font-size: 15px;
    }

    .document-status {
        font-size: 12px;
    }

    .analysis-board {
        padding: 20px;
    }

    .board-title {
        font-size: 16px;
    }

    .metric-row {
        gap: 10px;
    }

    .metric-label {
        font-size: 13px;
    }

    .metric-value {
        font-size: 13px;
        min-width: 30px;
    }

    .floating-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .consulting-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .consulting-card {
        padding: 30px 25px;
    }

    .consulting-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .consulting-cta {
        padding: 35px 25px;
    }

    .consulting-cta h4 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .consulting-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .consulting-graphic {
        margin: 30px 0;
        padding: 20px 10px;
    }

    .consulting-mockup {
        height: auto;
        max-height: 450px;
    }

    .consulting-workspace {
        padding: 20px 15px;
        gap: 15px;
    }

    .document {
        padding: 12px;
        min-height: 60px;
    }

    .document-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .document-title {
        font-size: 14px;
    }

    .document-status {
        font-size: 11px;
    }

    .analysis-board {
        padding: 15px;
    }

    .board-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .board-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .board-title {
        font-size: 15px;
    }

    .board-metrics {
        gap: 12px;
    }

    .metric-row {
        gap: 8px;
    }

    .metric-label {
        font-size: 12px;
    }

    .metric-bar-container {
        height: 6px;
    }

    .metric-value {
        font-size: 12px;
        min-width: 25px;
    }

    .floating-badge {
        padding: 5px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .floating-badge.top-right {
        top: 15px;
        right: 15px;
    }

    .floating-badge.bottom-left {
        bottom: 15px;
        left: 15px;
    }

    .consulting-card {
        padding: 25px 20px;
    }

    .consulting-card h3 {
        font-size: 20px;
    }

    .consulting-cta {
        padding: 30px 20px;
    }

    .consulting-cta h4 {
        font-size: 22px;
    }
}

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

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.contact-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    width: fit-content;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0;
}

.contact-link i {
    font-size: 24px;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link:hover {
    color: var(--secondary-accent);
}

.contact-link:hover i {
    transform: scale(1.1);
    transition: transform 0.3s;
}

.contact-form {
    background: var(--bg-white);
    padding: 0;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
}

.contact-form iframe {
    width: 100% !important;
    height: 850px !important;
    min-height: 850px !important;
    max-height: none !important;
    border: none !important;
    overflow: visible !important;
    display: block !important;
    position: relative !important;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px;
}

.success-message h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #111827);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 5px;
}

/* Dynamic Page Styles */
.page-container {
    max-width: 900px; /* 25% reduction from 1200px */
    margin: 0 auto;
    padding: 0 20px;
}

/* Page content width for better readability */
.page-content {
    max-width: 950px; /* 20% reduction from 1200px for better readability */
    margin: 0 auto;
    padding: 0 20px;
}

.page-body {
    max-width: 850px; /* 20% reduction for rich text content */
    margin: 0 auto;
    line-height: 1.7;
    font-size: 18px;
}

/* Rich text content styling from PocketBase */
.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    margin-top: 2.5em;
    margin-bottom: 1.2em;
    line-height: 1.3;
}

.page-body h1 { font-size: 2.2em; }
.page-body h2 { font-size: 1.9em; }
.page-body h3 { font-size: 1.6em; }
.page-body h4 { font-size: 1.4em; }
.page-body h5 { font-size: 1.2em; }
.page-body h6 { font-size: 1em; }

.page-body p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.page-body li {
    margin-bottom: 0.8em;
}

.page-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 2em 0;
    font-style: italic;
    background: var(--bg-light);
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
}

.back-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-content {
    animation: fadeInUp 0.5s ease;
}

.page-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    display: block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-accent);
    border-radius: 2px;
}

.page-body {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.page-body h1 { font-size: 2em; }
.page-body h2 { font-size: 1.8em; }
.page-body h3 { font-size: 1.6em; }
.page-body h4 { font-size: 1.4em; }
.page-body h5 { font-size: 1.2em; }
.page-body h6 { font-size: 1em; }

.page-body p {
    margin-bottom: 1.5em;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.page-body li {
    margin-bottom: 0.5em;
}

.page-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
}

.page-body code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.page-body pre {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
}

.page-body pre code {
    background: none;
    padding: 0;
}

.page-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.page-body a:hover {
    border-bottom-color: var(--primary-color);
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.page-body th,
.page-body td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.page-body th {
    background: var(--bg-light);
    font-weight: 600;
}

.page-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.page-image:hover img {
    transform: scale(1.05);
}

.page-error {
    text-align: center;
    padding: 80px 20px;
}

.error-icon {
    font-size: 64px;
    color: var(--secondary-accent);
    margin-bottom: 20px;
}

.page-error h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-error p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* Page.html Responsive - Keep mobile unchanged */
@media (max-width: 768px) {
    .page-container {
        max-width: 100%; /* Revert to full width for mobile */
        padding: 0 20px;
    }

    .page-content {
        max-width: 100%; /* Full width on mobile */
        padding: 0 20px;
    }

    .page-body {
        max-width: 100%; /* Full width on mobile */
        font-size: 16px; /* Slightly smaller font for mobile */
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-logo {
        white-space: nowrap; /* Prevent logo text wrapping on tablets */
    }

    .nav-wrapper {
        gap: 20px; /* Reduce gap for tablets to prevent logo wrapping */
    }

    /* Show slogan on smaller screens with appropriate sizing */
    .nav-slogan {
        display: flex;
        margin-bottom: 20px;
    }

    .slogan-text {
        font-size: clamp(24px, 6vw, 32px) !important;
    }

    .slogan-dot {
        font-size: clamp(28px, 7vw, 36px) !important;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-visual {
        height: 400px;
        order: 1;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .stage {
        width: 90px;
        padding: 10px;
    }

    .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stage-label {
        font-size: 11px;
    }

    .stage-desc {
        font-size: 9px;
    }

    .value-marker {
        padding: 5px 10px;
    }

    .value-marker span {
        font-size: 14px;
    }

    .value-marker small {
        font-size: 8px;
    }

    .section {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .addon-list {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .services-info {
        grid-template-columns: 1fr;
    }

    .automation-grid {
        grid-template-columns: 1fr;
    }

    .automation-flow {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .flow-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .data-particles {
        flex-direction: column;
        height: 100%;
        justify-content: space-evenly;
    }

    .gear-container {
        width: 150px;
        height: 150px;
    }

    .automation-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .chatbot-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chatbot-features {
        grid-template-columns: 1fr;
    }

    .dashboard-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dashboard-points {
        gap: 15px;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .contact-info {
        flex-wrap: wrap;
        gap: 15px;
    }

    .contact-form {
        padding: 20px;
        max-width: 100%;
    }

    .chatbot-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chatbot-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chatbot-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .chat-metrics,
    .flow-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    /* Add top padding to main content only for mobile */
    main {
        padding-top: 25px; /* 50% reduction from 50px to 25px */
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
        height: 80px;
    }

    .nav-logo {
        font-size: 20px;
        white-space: nowrap; /* Prevent text wrapping */
    }

    .nav-wrapper {
        gap: 30px; /* Adjust gap for mobile */
    }

    /* Ensure slogan is visible on mobile with smaller sizes */
    .nav-slogan {
        display: flex !important;
        margin-bottom: 15px;
    }

    .slogan-text {
        font-size: clamp(20px, 5vw, 28px) !important;
    }

    .slogan-dot {
        font-size: clamp(24px, 6vw, 32px) !important;
    }

    .lang-switcher {
        padding: 6px 12px; /* Make button smaller */
        font-size: 13px; /* Smaller text */
        margin-left: 10px; /* Move it to the right */
    }

    .lang-icon {
        font-size: 16px; /* Smaller icon */
    }

    .nav-menu {
        top: 80px;
        width: 280px; /* Smaller width for small mobile */
        right: -280px;
    }

    /* Update overlay top position for smaller header */
    .nav-wrapper::before {
        top: 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero {
        padding: 30px 20px 60px; /* Minimal top padding for small mobile */
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .amount {
        font-size: 36px;
    }

    .addons {
        padding: 30px 20px;
    }

    .automation-card,
    .type-card {
        padding: 25px 20px;
    }

    .dashboard-cta {
        padding: 30px 20px;
    }

    .cta-content {
        padding: 40px 20px;
    }

    .cta-features {
        gap: 20px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mockup-chart::after {
        background-size: 100% 100%;
    }
}

/* Contact CTA Section */
.contact-cta {
    text-align: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 8px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-cta h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-cta p {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.contact-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    font-size: 14px;
}

.contact-cta .btn-primary:hover {
    background: var(--bg-light);
}

/* Website Graphic */
.website-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
    padding: 40px 20px;
    position: relative;
    min-height: 550px;
}

.website-mockup {
    position: relative;
    width: 100%;
    max-width: 1020px;
    height: 552px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

/* Removed hover effect - website mockup is now completely still */

/* Browser Header */
.website-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.website-controls {
    display: flex;
    gap: 12px;
}

.website-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.website-dot:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.website-dot:nth-child(1) {
    background: #ff5f57;
}

.website-dot:nth-child(1):hover {
    background: #ff4136;
}

.website-dot:nth-child(2) {
    background: #ffbd2e;
}

.website-dot:nth-child(2):hover {
    background: #ffaa00;
}

.website-dot:nth-child(3) {
    background: #28ca42;
}

.website-dot:nth-child(3):hover {
    background: #20b832;
}

.website-address-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 12px 25px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.website-address-bar i {
    color: var(--secondary-accent);
    font-size: 18px;
}

.website-address-bar span {
    letter-spacing: 0.5px;
}

/* Website Content */
.website-content {
    padding: 0;
    height: calc(100% - 85px);
    background: linear-gradient(135deg, #f8fafb 0%, #e9ecef 100%);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Hide scrollbar for cleaner look */
.website-content::-webkit-scrollbar {
    width: 8px;
}

.website-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.website-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.website-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Navigation */
.website-nav {
    background: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.website-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.website-logo i {
    font-size: 32px;
}

.website-nav-links {
    display: flex;
    gap: 40px;
}

.website-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.website-nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.website-nav-link:hover {
    color: var(--primary-color);
}

.website-nav-link:hover::after {
    width: 100%;
}

.website-cta-button {
    background: var(--secondary-accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(213, 142, 0, 0.4);
}

.website-cta-button:hover {
    background: var(--primary-color);
}

/* Hero Section */
.website-hero {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.08) 0%, rgba(213, 142, 0, 0.08) 100%);
}

.website-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    line-height: 1.2;
}

.website-hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    line-height: 1.6;
}

.website-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.website-hero-button {
    padding: 16px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.website-hero-button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 128, 128, 0.4);
}

.website-hero-button.primary:hover {
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.5);
}

.website-hero-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.website-hero-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Feature Section */
.website-features {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: white;
}

.website-feature {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.website-feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.2);
}

.website-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

.website-feature h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.website-feature p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Templates Banner */
.templates-banner {
    margin: 40px auto;
    padding: 0;
    max-width: 900px;
}

.templates-content {
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 128, 128, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.templates-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 128, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.templates-content:hover::before {
    left: 100%;
}

.templates-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15);
    border-color: var(--primary-hover);
}

.templates-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.templates-text {
    flex: 1;
}

.templates-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.templates-text p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.templates-link {
    background: var(--secondary-accent);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(213, 142, 0, 0.3);
}

.templates-link:hover {
    background: var(--primary-color);
}

/* Responsive for Templates Banner */
@media (max-width: 768px) {
    .templates-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }

    .templates-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .templates-text h4 {
        font-size: 18px;
    }

    .templates-text p {
        font-size: 14px;
    }

    .templates-link {
        width: 200px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Responsive for Website Graphic */
@media (max-width: 768px) {
    .website-graphic {
        margin: 40px 0;
        padding: 30px 15px;
        min-height: 500px;
    }

    .website-mockup {
        height: 450px;
        transform: none;
        max-width: 100%;
    }

    /* Mobile hover effect removed - website mockup is now completely still */

    .website-header {
        padding: 12px 20px;
    }

    .website-controls {
        gap: 8px;
    }

    .website-dot {
        width: 14px;
        height: 14px;
    }

    .website-address-bar {
        padding: 8px 15px;
        font-size: 14px;
    }

    .website-nav {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .website-logo {
        font-size: 22px;
        order: 1;
    }

    .website-nav-links {
        display: none;
    }

    .website-cta-button {
        order: 2;
        padding: 8px 20px;
        font-size: 14px;
    }

    .website-hero {
        padding: 25px 20px;
    }

    .website-hero-title {
        font-size: 28px;
    }

    .website-hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .website-hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .website-hero-button {
        width: 200px;
        padding: 12px 25px;
        font-size: 16px;
    }

    .website-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 20px;
    }

    .website-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .website-feature h4 {
        font-size: 18px;
    }

    .website-feature p {
        font-size: 14px;
    }
}

/* Blog Section Styles */
.blog-loading {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-loading .loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

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

.blog-error {
    text-align: center;
    padding: 80px 20px;
}

.blog-error .error-icon {
    font-size: 64px;
    color: var(--secondary-accent);
    margin-bottom: 20px;
}

.blog-error h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.blog-error p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Blog Card Styles */
.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 128, 128, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 128, 128, 0.15);
    border-color: var(--primary-color);
}

/* Blog Card Image */
.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 128, 128, 0.05));
    color: var(--primary-color);
    font-size: 48px;
}

/* Blog Card Category Badge */
.blog-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-category {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.blog-card-category i {
    font-size: 12px;
}

/* Blog Card Content */
.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Blog Card Meta */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card-meta time,
.blog-card-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Blog Card Title */
.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.blog-card-title a:hover {
    color: var(--primary-hover);
}

/* Blog Card Excerpt */
.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Blog Card Footer */
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

/* Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 20px;
}

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

.read-more-btn i {
    font-size: 12px;
}

/* RTL Support for Blog */
body[dir="rtl"] .blog-card-category {
    left: auto;
    right: 20px;
}

body[dir="rtl"] .blog-card-meta {
    flex-direction: row-reverse;
    gap: 15px;
}

body[dir="rtl"] .read-more-btn {
    flex-direction: row-reverse;
}

body[dir="rtl"] .read-more-btn i {
    transform: rotate(180deg);
}

body[dir="rtl"] .read-more-btn:hover i {
    transform: rotate(180deg) translateX(3px);
}

/* Blog Animation Delays */
.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }
.blog-card:nth-child(8) { animation-delay: 0.8s; }
.blog-card:nth-child(9) { animation-delay: 0.9s; }

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-card {
        border-radius: 12px;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-card-content {
        padding: 25px;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .blog-card-meta {
        font-size: 13px;
        gap: 15px;
    }

    .blog-placeholder-image {
        font-size: 40px;
    }

    .blog-card-category {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }

    body[dir="rtl"] .blog-card-category {
        left: auto;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        gap: 20px;
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .blog-card-excerpt {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
    }

    body[dir="rtl"] .blog-card-meta {
        align-items: flex-end;
    }

    .read-more-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .blog-placeholder-image {
        font-size: 36px;
    }
}