/* Original Brown/Beige Color Palette */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', Arial, sans-serif;
    line-height: 1.7;
    color: #3a3a3a;
    background: #f5f1ed;
}

/* Header */
header {
    background: #f0e9df;
    padding: 1.2rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

nav .nav-links {
    margin-left: auto;
    margin-right: 2rem;
}

[dir="rtl"] nav .nav-links {
    margin-left: 2rem;
    margin-right: auto;
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    color: #8b7355;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(90deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #6b5d52;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #a0826d;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a57b;
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: #8b7355;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-button {
    background: transparent;
    border: 2px solid #c9a57b;
    color: #6b5d52;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.language-button:hover {
    background: #c9a57b;
    color: #faf8f6;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #faf8f6;
    border: 2px solid #c9a57b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.2);
    min-width: 150px;
    z-index: 1000;
}

.language-dropdown.active {
    display: block;
}

.language-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.9rem;
    color: #6b5d52;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-option:hover {
    background: #f5e9da;
}

.language-option:first-child {
    border-radius: 6px 6px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 6px 6px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-card {
    background: #fdfcfb;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8dfd5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 115, 85, 0.2);
    border-color: #c9a57b;
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #8b7355 0%, #a0826d 100%);
}

.portfolio-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: #faf8f6;
}

.portfolio-header-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.portfolio-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8b7355;
    white-space: nowrap;
}

.portfolio-content {
    padding: 2.5rem;
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #faf8f6;
    letter-spacing: -0.5px;
}

.portfolio-description {
    font-size: 1rem;
    color: #5a4d42;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.portfolio-features {
    list-style: none;
    margin-bottom: 2rem;
}

.portfolio-features li {
    padding: 0.5rem 0;
    color: #5a4d42;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-features li:before {
    content: '✓';
    color: #8b7355;
    font-weight: 700;
    font-size: 1.1rem;
}

.portfolio-link {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #a0826d;
    color: #faf8f6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.portfolio-link:hover {
    background: #8b7355;
    transform: translateX(5px);
}

/* Portfolio Chat Section - Full Width Expansion */
.portfolio-chat-section {
    display: none;
    background: #f0e9df;
    padding: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease, padding 0.5s ease;
}

.portfolio-chat-section.active {
    display: block;
    opacity: 1;
    max-height: 2000px;
    padding: 5rem 5%;
}

.chat-section-content {
    max-width: 1400px;
    margin: 0 auto;
}

.chat-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.chat-demo-container {
    width: 100%;
}

.chat-main {
    background: #fdfcfb;
    border-radius: 16px;
    border: 1px solid #e8dfd5;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #8b7355 0%, #a0826d 100%);
    color: #faf8f6;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #faf8f6;
    letter-spacing: -0.5px;
}

.status-online {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #f5e9da;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #7bed9f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-messages {
    padding: 2rem;
    max-height: 600px;
    overflow-y: auto;
    background: #faf8f6;
}

.message-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.message-wrapper.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: #8b7355;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.message-bubble {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    max-width: 75%;
    border: 1px solid #e8dfd5;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.08);
}

.message-wrapper.user .message-bubble {
    background: #8b7355;
    color: #faf8f6;
    border-color: #8b7355;
}

.message-bubble strong {
    color: #2d2520;
    font-weight: 700;
}

.message-wrapper.user .message-bubble strong {
    color: #f5e9da;
}

.message-bubble ul {
    margin-top: 0.75rem;
    margin-left: 1.25rem;
}

.message-bubble li {
    margin-bottom: 0.5rem;
}

.chat-input-area {
    padding: 1.5rem 2rem;
    background: #fdfcfb;
    border-top: 1px solid #e8dfd5;
}

.chat-input-wrapper {
    display: flex;
    gap: 1rem;
}

.chat-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e8dfd5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: #2d2520;
    background: #fffbf7;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #c9a57b;
    box-shadow: 0 0 0 3px rgba(201, 165, 123, 0.15);
}

.chat-send-btn {
    padding: 1rem 2rem;
    background: #8b7355;
    color: #faf8f6;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: #6b5d52;
    transform: translateY(-2px);
}

.expanded-header {
    background: linear-gradient(135deg, #8b7355 0%, #a0826d 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.expanded-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.expanded-header p {
    font-size: 1rem;
    color: #f5e9da;
}

.capabilities-sidebar {
    background: #fdfcfb;
    border-radius: 16px;
    border: 1px solid #e8dfd5;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
    position: sticky;
    top: 2rem;
}

.capabilities-sidebar h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #8b7355;
    letter-spacing: -0.3px;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #f0e9df;
    font-size: 0.9rem;
    color: #5a4d42;
    line-height: 1.6;
}

.capability-item:last-child {
    border-bottom: none;
}

.capability-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.capability-item span {
    flex: 1;
}

/* Chat Demo Interface */
.chat-demo-container {
    width: 100%;
    margin: 0 -2rem;
    padding: 0 2rem;
}

.chat-demo-main {
    background: #fdfcfb;
    border-radius: 16px;
    border: 1px solid #e8dfd5;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
    overflow: hidden;
}

.chat-demo-header {
    background: linear-gradient(135deg, #8b7355 0%, #a0826d 100%);
    color: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #faf8f6;
    letter-spacing: -0.5px;
}

.status-online {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #f5e9da;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #7bed9f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-demo-messages {
    padding: 2rem;
    max-height: 500px;
    overflow-y: auto;
    background: #fdfcfb;
}

.message-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.message-wrapper.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: #8b7355;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.message-bubble {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    max-width: 75%;
    border: 1px solid #e8dfd5;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.08);
}

.message-wrapper.user .message-bubble {
    background: #8b7355;
    color: #ffffff;
    border-color: #8b7355;
}

.message-bubble strong {
    color: #2d2520;
    font-weight: 700;
}

.message-wrapper.user .message-bubble strong {
    color: #f5e9da;
}

.message-bubble ul {
    margin-top: 0.75rem;
    margin-left: 1.25rem;
}

.message-bubble li {
    margin-bottom: 0.5rem;
}

.message-bubble p {
    margin-bottom: 0.75rem;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.chat-demo-input {
    padding: 1.5rem 2rem;
    background: #fdfcfb;
    border-top: 1px solid #e8dfd5;
    display: flex;
    gap: 1rem;
}

.chat-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e8dfd5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: #2d2520;
    background: #ffffff;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #c9a57b;
    box-shadow: 0 0 0 3px rgba(201, 165, 123, 0.15);
}

.chat-input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.chat-send-btn {
    padding: 1rem 2rem;
    background: #8b7355;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover:not(:disabled) {
    background: #a0826d;
    transform: translateY(-2px);
}

.chat-send-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.demo-disclaimer {
    text-align: center;
    padding: 0 2rem 1.5rem;
    font-size: 0.85rem;
    color: #6b5d52;
}

.demo-disclaimer a {
    color: #8b7355;
    font-weight: 600;
    text-decoration: none;
}

.demo-disclaimer a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 4rem 5% 5rem;
    background: #f0e9df;
    text-align: center;
    position: relative;
}

.hero-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-slides {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 250px;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

.hero-content {
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: #8b7355;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #5a4d42;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.hero-cta-primary,
.hero-cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta-primary {
    background: #8b7355;
    color: #faf8f6;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.hero-cta-primary:hover {
    background: #6b5d52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 115, 85, 0.4);
}

.hero-cta-secondary {
    background: transparent;
    color: #8b7355;
    border: 2px solid #8b7355;
}

.hero-cta-secondary:hover {
    background: #8b7355;
    color: #faf8f6;
    transform: translateY(-2px);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    align-self: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 115, 85, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(139, 115, 85, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: #8b7355;
    height: 32px;
    border-radius: 6px;
}

.location-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f5e9da;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #8b7355;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e8d5bc;
}

/* Content Sections */
.section {
    padding: 5rem 5%;
    background: #faf8f6;
}

.section-alt {
    background: #f0e9df;
}

.section-alt2 {
    background: #f5f1ed;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #8b7355;
    letter-spacing: -1px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title-centered {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    font-size: 1.15rem;
    color: #5a4d42;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
    line-height: 1.8;
    text-align: center;
}

.section-title-centered + .section-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #fdfcfb;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e8dfd5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
    border-color: #c9a57b;
    background: #fffbf7;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    opacity: 0.9;
    color: #8b7355;
}

.hero-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.section-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.section-alt .service-card {
    background: #fdfcfb;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #8b7355;
    font-weight: 700;
    letter-spacing: -0.3px;
    flex: 1;
}

.service-card p {
    color: #5a4d42;
    line-height: 1.75;
    font-size: 1rem;
}

/* Technology Framework */
.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.tech-item {
    padding: 2.5rem;
    background: #fdfcfb;
    border: 1px solid #e8dfd5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.08);
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.tech-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.tech-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    opacity: 0.9;
    color: #8b7355;
}

.tech-item:hover {
    background: #fffbf7;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
    border-color: #c9a57b;
}

.tech-item h4 {
    font-size: 1.35rem;
    margin: 0;
    color: #8b7355;
    font-weight: 700;
    letter-spacing: -0.3px;
    flex: 1;
}

.tech-item p {
    color: #5a4d42;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.industry-card {
    padding: 3rem 2.5rem;
    background: #fdfcfb;
    border: 1px solid #e8dfd5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.08);
    transition: all 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b7355 0%, #c9a57b 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.industry-card:hover {
    background: #fffbf7;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
    border-color: #c9a57b;
}

.industry-card h4 {
    font-size: 1.25rem;
    margin: 0;
    color: #8b7355;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

/* Why Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    padding: 3rem 2.5rem;
    background: #fdfcfb;
    border: 1px solid #e8dfd5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.08);
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #8b7355 0%, #c9a57b 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-card:hover {
    background: #fffbf7;
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(139, 115, 85, 0.15);
    border-color: #c9a57b;
}

.benefit-card h4 {
    font-size: 1.35rem;
    margin: 0;
    color: #8b7355;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* Vision Section */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision-quote {
    font-size: 1.8rem;
    line-height: 1.5;
    color: #8b7355;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.vision-text {
    font-size: 1.1rem;
    color: #5a4d42;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #8b7355 0%, #6b5d52 100%);
    color: #faf8f6;
    text-align: center;
    padding: 6rem 5%;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #8b7355;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #f5e9da;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #faf8f6;
    color: #5a4d42;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #fffbf7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background: #fdfcfb;
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.15);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d2520;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e8dfd5;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #2d2520;
    background: #fffbf7;
    transition: all 0.3s ease;
    text-align: left;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a57b;
    box-shadow: 0 0 0 3px rgba(201, 165, 123, 0.15);
    background: #ffffff;
}

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

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: #a0826d;
    color: #faf8f6;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.submit-button:hover {
    background: #8b7355;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 115, 85, 0.4);
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: #faf8f6;
}

.contact-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #f5e9da;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #f5e9da;
}

/* Footer */
footer {
    background: #faf8f6;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #e8dfd5;
}

.footer-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8b7355;
}

.footer-brand p {
    color: #5a4d42;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #8b7355;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #5a4d42;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #a0826d;
}

.footer-bottom {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8dfd5;
    text-align: center;
    color: #8b7f75;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        gap: 1rem;
    }

    .logo {
        flex: 1;
    }

    .hamburger-menu {
        display: flex;
        order: 1;
    }

    .language-selector {
        order: 2;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #faf8f6;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 12px rgba(139, 115, 85, 0.2);
        z-index: 1000;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-carousel {
        gap: 1.5rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-slides {
        min-height: 380px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
    }

    .carousel-indicators {
        gap: 0.5rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        height: 24px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-title-centered {
        font-size: 2rem;
    }

    .services-grid,
    .tech-list,
    .industries-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .vision-quote {
        font-size: 1.4rem;
    }

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

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-with-sidebar {
        grid-template-columns: 1fr;
    }

    .capabilities-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .message-bubble {
        max-width: 85%;
    }

    .chat-section {
        padding: 3rem 3%;
    }

    .chat-demo-container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .chat-header {
        padding: 1.25rem 1rem;
    }

    .chat-info h3 {
        font-size: 1.2rem;
    }

    .chat-messages {
        padding: 1.5rem 1rem;
        max-height: 400px;
    }

    .chat-input-area {
        padding: 1rem;
    }

    .chat-input-wrapper {
        gap: 0.5rem;
    }

    .chat-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        min-width: 0;
    }

    .chat-send-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .capabilities-sidebar {
        padding: 1.5rem 1rem;
    }

    .capability-item {
        font-size: 0.85rem;
        padding: 0.75rem 0;
    }

    .benefit-card {
        text-align: center;
        align-items: center;
    }

    .benefit-card::before {
        width: 100%;
        height: 4px;
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        transform: scaleX(0);
    }

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

    .benefit-card:hover {
        transform: translateY(-5px);
    }
}
