/* ===== MARLN CORPORATION BRANDING ===== */
/* Updated CSS to reflect AI consulting and digital transformation focus */

/* ===== MARLN BRAND COLORS ===== */
:root {
    /* Primary Brand Colors */
    --marln-primary: #10b981;        /* Emerald Green - AI/Tech */
    --marln-primary-dark: #059669;   /* Darker Emerald */
    --marln-primary-light: #34d399;  /* Light Emerald */
    
    /* Secondary Colors */
    --marln-accent: #3b82f6;         /* Blue - Technology */
    --marln-accent-dark: #2563eb;    /* Dark Blue */
    --marln-accent-light: #60a5fa;   /* Light Blue */
    
    /* Tertiary Colors */
    --marln-purple: #8b5cf6;         /* Purple - Innovation */
    --marln-orange: #f59e0b;         /* Orange - Energy */
    
    /* Gradient Combinations */
    --marln-gradient-primary: linear-gradient(135deg, var(--marln-primary) 0%, var(--marln-accent) 100%);
    --marln-gradient-secondary: linear-gradient(135deg, var(--marln-purple) 0%, var(--marln-primary) 100%);
    --marln-gradient-hero: linear-gradient(135deg, var(--marln-primary) 0%, var(--marln-accent) 50%, var(--marln-purple) 100%);
}

/* ===== MARLN BRAND-SPECIFIC STYLES ===== */

/* Logo and Branding */
.marln-logo {
    font-family: "Syne", "Inter", sans-serif;
    font-weight: 800;
    color: var(--marln-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.marln-logo:hover {
    color: var(--marln-primary-dark);
    transform: scale(1.05);
}

/* AI-Focused Hero Section */
.marln-hero {
    background: var(--marln-gradient-hero);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.marln-hero::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;
}

.marln-hero-content {
    position: relative;
    z-index: 2;
}

/* AI Consulting Badge */
.marln-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.marln-ai-badge::before {
    content: '🤖';
    font-size: 1.2em;
}

/* Vision 2030 Alignment Badge */
.marln-vision-2030 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--marln-gradient-primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1rem 0;
}

.marln-vision-2030::before {
    content: '🇸🇦';
    font-size: 1.2em;
}

/* Service Cards with AI Theme */
.marln-service-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.marln-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--marln-gradient-primary);
}

.marln-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--marln-primary);
}

[data-theme="dark"] .marln-service-card {
    background: #1a1a1a;
    border-color: #4a4a4a;
}

/* AI Icon Styling */
.marln-ai-icon {
    width: 60px;
    height: 60px;
    background: var(--marln-gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
}

.marln-ai-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--marln-gradient-primary);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marln-service-card:hover .marln-ai-icon::after {
    opacity: 0.3;
}

/* Statistics Section */
.marln-stats {
    background: var(--marln-gradient-primary);
    color: #ffffff;
    padding: 4rem 0;
    position: relative;
}

.marln-stats::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.marln-stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.marln-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-family: "Syne", "Inter", sans-serif;
}

.marln-stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 500;
}

/* CTA Buttons */
.marln-cta-primary {
    background: var(--marln-gradient-primary);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.marln-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.marln-cta-secondary {
    background: transparent;
    color: var(--marln-primary);
    padding: 1rem 2rem;
    border: 2px solid var(--marln-primary);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.marln-cta-secondary:hover {
    background: var(--marln-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Utility Classes */
.marln-text-gradient {
    background: var(--marln-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.marln-bg-gradient {
    background: var(--marln-gradient-primary);
}

/* Arabic RTL Support */
[lang="ar"] .marln-logo {
    font-family: "Noto Sans Arabic", "Tahoma", "Arial Unicode MS", sans-serif;
}

[lang="ar"] .marln-hero {
    direction: rtl;
}

[lang="ar"] .marln-service-card {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .marln-hero {
        padding: 3rem 0;
    }
    
    .marln-service-card {
        padding: 1.5rem;
    }
    
    .marln-stats {
        padding: 3rem 0;
    }
    
    .marln-stat-number {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .marln-cta-primary,
    .marln-cta-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .marln-ai-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

