/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #763cbc;
    --primary-dark: #5d2f94;
    --secondary-color: #9d6dd4;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

[dir="ltr"] .nav-link.active::after {
    left: 0;
    right: auto;
}

[dir="ltr"] .service-points li,
[dir="ltr"] .solution-benefits li,
[dir="ltr"] .model-features li {
    padding-left: 1.5rem;
    padding-right: 0;
}

[dir="ltr"] .service-points li::before,
[dir="ltr"] .solution-benefits li::before,
[dir="ltr"] .model-features li::before {
    left: 0;
    right: auto;
}

[dir="ltr"] .saudi-benefit {
    border-left: 4px solid var(--primary-color);
    border-right: none;
}

[dir="ltr"] .module-card {
    border-right: 4px solid var(--primary-color);
    border-left: none;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    transition: var(--transition);
    position: relative;
    padding: 0.2rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    opacity: 0;
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: center;
}

.logo:hover .logo-text {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px);
}

.logo:hover .logo-text::after {
    opacity: 1;
    transform: scaleX(1);
}

[dir="ltr"] .logo-text {
    letter-spacing: 3px;
    text-transform: uppercase;
}

[dir="rtl"] .logo-text {
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--primary-color);
}

.header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.2rem;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #0099cc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.dashboard-mockup {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 70%;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    z-index: 2;
}

.mockup-screen {
    height: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.screen-header {
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    color: white;
}

.header-dots {
    display: flex;
    gap: 0.4rem;
}

.header-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.header-title {
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.action-icon {
    font-size: 0.85rem;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.action-icon:hover {
    opacity: 1;
}

.screen-content {
    padding: 1.25rem;
    height: calc(100% - 50px);
    background: #f8f9fa;
}

.chart-placeholder {
    height: 140px;
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 80px;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.chart-bars .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    min-width: 20px;
    animation: growBar 1s ease-out;
    animation-fill-mode: both;
}

.chart-bars .bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bars .bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bars .bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bars .bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bars .bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bars .bar:nth-child(6) { animation-delay: 0.6s; }

@keyframes growBar {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.chart-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.stat-card {
    height: 90px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(118, 60, 188, 0.1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(118, 60, 188, 0.15);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.mobile-mockup {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 350px;
    z-index: 3;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.app-header {
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: white;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-header-text {
    flex: 1;
}

.chat-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.chat-status {
    font-size: 0.7rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}

.app-content {
    height: calc(100% - 60px);
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    display: flex;
    animation: fadeInMessage 0.3s ease;
}

.message-user {
    justify-content: flex-end;
}

.message-bot {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-user .message-bubble {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-bot .message-bubble {
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message.typing .message-bubble {
    background: white;
    padding: 0.75rem 1rem;
}

.typing-dots {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-light);
    animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-input-area {
    background: white;
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-input-placeholder {
    flex: 1;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    border: none;
    outline: none;
}

.chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: -50px;
    right: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    top: 50%;
    right: -50px;
}

/* Trust Bar */
.trust-bar {
    background: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.trust-text span {
    color: var(--primary-color);
    font-weight: 600;
}

.partners-logos {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.service-card:hover .service-icon {
    color: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* AmbuCare Teaser */
.ambucare-teaser {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.teaser-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.teaser-text .section-title {
    color: white;
    text-align: right;
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.ambucare-dashboard {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.dashboard-preview {
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ambucare-logo-animated {
    text-align: center;
    z-index: 1;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-main {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 2s ease-in-out infinite alternate;
    position: relative;
}

.logo-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    filter: blur(20px);
    z-index: -1;
    animation: logoShine 3s ease-in-out infinite;
}

.logo-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    animation: subtitleFade 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes logoGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    100% {
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
}

@keyframes logoShine {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.6;
        transform: translateX(100%);
    }
}

@keyframes subtitleFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Background decorative elements */
.dashboard-preview::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -50px;
    left: -50px;
    animation: backgroundPulse 4s ease-in-out infinite;
}

.dashboard-preview::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -30px;
    right: -30px;
    animation: backgroundPulse 5s ease-in-out infinite reverse;
}

@keyframes backgroundPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Why Us */
.why-us {
    padding: 5rem 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.benefit-card:hover .benefit-icon {
    color: var(--primary-dark);
    transform: scale(1.1) rotate(-5deg);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Process */
.process {
    padding: 5rem 0;
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li {
    margin-bottom: 0.5rem;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        height: 300px;
    }

    .dashboard-mockup {
        max-width: 100%;
    }

    .screen-header {
        height: 45px;
        padding: 0 0.75rem;
    }

    .header-title {
        font-size: 0.8rem;
    }

    .screen-content {
        padding: 1rem;
    }

    .chart-placeholder {
        height: 120px;
        padding: 0.75rem;
    }

    .chart-bars {
        height: 60px;
    }

    .stats-grid {
        gap: 0.5rem;
    }

    .stat-card {
        height: 75px;
        padding: 0.5rem;
    }

    .stat-icon {
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 0.95rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .phone-frame {
        width: 100%;
        max-width: 180px;
    }

    .app-header {
        height: 55px;
        padding: 0 0.75rem;
    }

    .chat-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .chat-name {
        font-size: 0.8rem;
    }

    .chat-status {
        font-size: 0.65rem;
    }

    .chat-messages {
        padding: 0.75rem 0.5rem;
        gap: 0.6rem;
    }

    .message-bubble {
        max-width: 80%;
        padding: 0.5rem 0.7rem;
        font-size: 0.7rem;
    }

    .chat-input-area {
        padding: 0.6rem;
    }

    .chat-input-placeholder {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }

    .chat-send-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .teaser-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .logo-main {
        font-size: 3rem;
    }

    .logo-subtitle {
        font-size: 0.9rem;
    }

    .dashboard-preview {
        height: 250px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid,
    .benefits-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    /* Services Detail Mobile Improvements */
    .services-detail {
        padding: 2.5rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .services-detail .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .service-card-detail {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .service-card-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .service-card-points li {
        padding: 0.5rem 0;
        padding-right: 1.25rem;
        font-size: 0.9rem;
    }

    [dir="ltr"] .service-card-points li {
        padding-right: 0;
        padding-left: 1.25rem;
    }

    /* Legacy styles for backward compatibility */
    .service-detail-section {
        margin-bottom: 3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-detail-section:last-child {
        margin-bottom: 0;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-detail-section.reverse .service-detail-content {
        direction: ltr;
    }

    [dir="rtl"] .service-detail-section.reverse .service-detail-content {
        direction: rtl;
    }

    .service-detail-text {
        order: 1;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .service-detail-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-detail-section.reverse .service-detail-text {
        order: 1;
    }

    .service-detail-section.reverse .service-detail-visual {
        order: 2;
    }

    .service-detail-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        text-align: center;
        width: 100%;
        word-wrap: break-word;
    }

    .service-detail-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
        line-height: 1.7;
        width: 100%;
        word-wrap: break-word;
    }

    .service-points {
        text-align: right;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    [dir="ltr"] .service-points {
        text-align: left;
    }

    .service-points li {
        padding: 0.6rem 0;
        padding-right: 1.25rem;
        font-size: 0.95rem;
        line-height: 1.6;
        width: 100%;
        word-wrap: break-word;
        box-sizing: border-box;
    }

    [dir="ltr"] .service-points li {
        padding-right: 0;
        padding-left: 1.25rem;
    }

    .service-points li::before {
        font-size: 1.3rem;
    }

    .service-visual-placeholder {
        height: 250px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Additional Mobile Improvements for Small Screens */
@media (max-width: 480px) {
    .services-detail {
        padding: 2rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .services-detail .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .services-cards-grid {
        gap: 1.25rem;
        margin-top: 1rem;
    }

    .service-card-detail {
        padding: 1.5rem;
    }

    .service-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .logo-main {
        font-size: 2.5rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }

    .dashboard-preview {
        height: 200px;
    }

    .service-card-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .service-card-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-card-points li {
        padding: 0.45rem 0;
        padding-right: 1rem;
        font-size: 0.85rem;
    }

    [dir="ltr"] .service-card-points li {
        padding-right: 0;
        padding-left: 1rem;
    }

    /* Legacy styles */
    .service-detail-section {
        margin-bottom: 2.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-detail-content {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-detail-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        width: 100%;
        word-wrap: break-word;
        padding: 0;
    }

    .service-detail-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        padding: 0;
        width: 100%;
        word-wrap: break-word;
    }

    .service-detail-text {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .service-points {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-points li {
        padding: 0.5rem 0;
        padding-right: 1rem;
        font-size: 0.9rem;
        width: 100%;
        word-wrap: break-word;
        box-sizing: border-box;
    }

    [dir="ltr"] .service-points li {
        padding-right: 0;
        padding-left: 1rem;
    }

    .service-visual-placeholder {
        height: 200px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Solutions Page */
.solutions-filter {
    padding: 2rem 0;
    background: var(--bg-light);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.solutions-grid-section {
    padding: 4rem 0;
}

.solution-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solution-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.solution-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.solution-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.solution-for {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.solution-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-benefits li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.solution-benefits li::before {
    content: '✓';
    position: absolute;
    right: 0;
    font-weight: bold;
}

.solution-visual {
    height: 300px;
}

.solution-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 12px;
}

.ambucare-preview {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* AmbuCare Landing Page */
.ambucare-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 5rem 0;
}

.ambucare-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ambucare-logo-wrapper {
    margin-bottom: 1.5rem;
    text-align: center;
}

.ambucare-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.ambucare-logo:hover {
    transform: scale(1.05);
}

.ambucare-logo-wrapper-small {
    margin-bottom: 1.5rem;
    text-align: center;
}

.ambucare-logo-small {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.ambucare-logo-small:hover {
    transform: scale(1.05);
}

.ambucare-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.ambucare-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.ambucare-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.ambucare-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ambucare-dashboard-large {
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

/* Problem Solution */
.problem-solution {
    padding: 5rem 0;
    background: var(--bg-white);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.challenge-list,
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.challenge-item,
.solution-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.challenge-icon,
.solution-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.solution-icon {
    background: var(--primary-color);
}

.challenge-item h3,
.solution-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.challenge-item p,
.solution-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Key Features */
.key-features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Modules */
.modules-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.module-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.module-card:hover {
    background: white;
    box-shadow: var(--shadow);
}

.module-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.module-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Who For */
.who-for {
    padding: 5rem 0;
    background: var(--bg-light);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.who-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.who-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.who-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.who-card h3 {
    font-size: 1.2rem;
}

/* Compliance */
.compliance-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.compliance-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.compliance-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.compliance-item p {
    color: var(--text-light);
}

/* Demo Flow */
.demo-flow {
    padding: 5rem 0;
    background: var(--bg-light);
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.flow-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

/* AmbuCare CTA Form */
.ambucare-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.cta-form textarea {
    resize: vertical;
    margin-bottom: 1rem;
}

/* Services Detail - Card Layout */
.services-detail {
    padding: 4rem 0;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card-detail {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card-detail::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-card-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card-detail:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.service-card-detail:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.service-card-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card-points {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card-points li {
    padding: 0.6rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

[dir="ltr"] .service-card-points li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.service-card-points li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    background: rgba(118, 60, 188, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

[dir="ltr"] .service-card-points li::before {
    right: auto;
    left: 0;
}

.service-card-detail:hover .service-card-points li {
    color: var(--text-dark);
}

.service-card-detail:hover .service-card-points li::before {
    background: var(--primary-color);
    color: white;
}

/* Legacy styles for backward compatibility */
.service-detail-section {
    margin-bottom: 5rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-section.reverse .service-detail-content {
    direction: rtl;
}

.service-detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-detail-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-points {
    list-style: none;
}

.service-points li {
    padding: 0.75rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-points li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.service-visual-placeholder {
    height: 300px;
    border-radius: 12px;
}

.web-dev {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mobile-app {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.ai-solution {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* Engagement Models */
.engagement-models {
    padding: 5rem 0;
    background: var(--bg-light);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.model-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.model-card.featured {
    border: 2px solid var(--primary-color);
}

.model-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.model-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.model-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.model-features {
    list-style: none;
}

.model-features li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.model-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Page */
.story-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.team-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
}

.vmv-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vmv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.vmv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vmv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vmv-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.saudi-first-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.saudi-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.saudi-benefit {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-right: 4px solid var(--primary-color);
}

.saudi-benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.saudi-benefit p {
    color: var(--text-light);
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info-item p {
    color: var(--text-light);
}

.working-hours p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.map-placeholder {
    height: 300px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Portfolio Page */
.portfolio-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-visual {
    height: 250px;
    overflow: hidden;
}

.portfolio-image-placeholder {
    width: 100%;
    height: 100%;
}

.healthcare {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.government {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.field {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.ai {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-sector {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.portfolio-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-detail-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.portfolio-detail-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.portfolio-detail-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile Menu */
.nav {
    transition: var(--transition);
}

@media (max-width: 968px) {
    .header {
        position: relative;
        overflow: visible;
    }

    .header .container {
        position: relative;
        padding-left: 1rem;
        padding-right: 1rem;
        overflow: visible;
    }

    .header-content {
        position: relative;
        overflow: visible;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
        gap: 0;
        z-index: 999;
        box-sizing: border-box;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }

    .nav.mobile-open {
        display: flex;
    }

    [dir="ltr"] .nav {
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: right;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
        font-size: 1rem;
    }

    [dir="ltr"] .nav-link {
        text-align: left;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(118, 60, 188, 0.05);
        padding-right: 1rem;
        padding-left: 1rem;
        margin-right: -1rem;
        margin-left: -1rem;
    }

    [dir="ltr"] .nav-link:hover,
    [dir="ltr"] .nav-link.active {
        padding-right: 1rem;
        padding-left: 1rem;
        margin-right: -1rem;
        margin-left: -1rem;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .solution-card {
        grid-template-columns: 1fr;
    }

    .ambucare-hero-content,
    .problem-solution-grid,
    .story-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .ambucare-logo {
        max-width: 200px;
    }

    .ambucare-logo-small {
        max-width: 150px;
    }

    .ambucare-title {
        font-size: 2rem;
    }

    .ambucare-subtitle {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
