/* CSS Variables - Color Scheme */
:root {
    /* Primary Colors */
    --color-primary: #1e3a5f;
    --color-primary-dark: #2a3d66;
    --color-primary-darker: #1a2d4a;
    
    /* Secondary Colors */
    --color-secondary: #2a3d66;
    --color-secondary-dark: #1e3a5f;
    
    /* Text Colors */
    --color-text-primary: #2a3d66;
    --color-text-secondary: #555;
    --color-text-light: #777;
    --color-text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-hero: linear-gradient(135deg, #e8f2ff 0%, #f0f7ff 50%, #ffffff 100%);
    --bg-section-light: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    --bg-section-blue: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    
    /* Accent Colors */
    --color-accent-light: #e8ebef;
    --color-accent-lighter: #d1d6dd;
    
    /* Border Colors */
    --color-border: #e0e0e0;
    --color-border-light: rgba(30, 58, 95, 0.1);
    --color-border-medium: rgba(30, 58, 95, 0.2);
    
    /* Shadow Colors */
    --shadow-primary: rgba(30, 58, 95, 0.3);
    --shadow-primary-light: rgba(30, 58, 95, 0.15);
    --shadow-primary-medium: rgba(30, 58, 95, 0.2);
    --shadow-primary-dark: rgba(30, 58, 95, 0.4);
    
    /* Footer */
    --color-footer-bg: linear-gradient(135deg, #2a3d66 0%, #1e3a5f 100%);
    --color-footer-text: rgba(255, 255, 255, 0.9);
    --color-footer-text-light: rgba(255, 255, 255, 0.7);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--bg-secondary);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-primary-dark);
}

.btn-primary:active {
    transform: translateY(-1px);
}

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

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

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

.btn-secondary:hover::after {
    width: 100%;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a3d66 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 0 1.5rem 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Rubik', 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #ffffff;
    white-space: nowrap;
    transition: transform 0.3s ease;
    grid-column: 2;
    padding: 0 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

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

.nav {
    display: flex;
}

.nav-left {
    grid-column: 1;
    justify-content: flex-end;
}

.nav-right {
    grid-column: 3;
    justify-content: flex-start;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 0;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

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

.nav-link.active {
    color: #ffffff;
}

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

/* Flag link styling */
.nav-link.flag-link {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 50px;
}

.nav-link.flag-link::before,
.nav-link.flag-link::after {
    display: none;
}

.nav-link.flag-link:hover {
    transform: translateY(-2px);
}

.nav-link.flag-link .flag-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.nav-link.flag-link:hover .flag-icon {
    transform: scale(1.1);
}

.nav-link.flag-link .flag-text {
    font-size: 0.7rem;
    line-height: 1;
    color: #ffffff;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.nav-list li:last-child {
    margin-left: 0;
    margin-right: 0.5rem;
}

.nav-cta {
    background: #ff6b35;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta::before {
    display: none;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
    padding: 4rem 0;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--shadow-primary-light) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInRight 1s ease-out;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    animation: fadeInRight 1s ease-out 0.2s both;
}

.trust-bullets {
    list-style: none;
    margin-bottom: 2rem;
}

.trust-bullets li {
    padding: 0.75rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    animation: fadeInRight 0.8s ease-out both;
}

.trust-bullets li:nth-child(1) { animation-delay: 0.2s; }
.trust-bullets li:nth-child(2) { animation-delay: 0.4s; }
.trust-bullets li:nth-child(3) { animation-delay: 0.6s; }

.trust-bullets li:hover {
    transform: translateX(-5px);
    color: var(--color-text-primary);
}

.trust-bullets li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent-lighter) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.trust-bullets li:hover::before {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-lead-form {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-primary-light);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.8s ease-out 0.2s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-lead-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-border-light) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.hero-lead-form:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px var(--shadow-primary-medium);
}

.hero-lead-form h3 {
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.lead-form .form-group {
    margin-bottom: 1.25rem;
}

.lead-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.lead-form .form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
    background: var(--bg-primary);
}

.lead-form .form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--shadow-primary-light);
}

.lead-form .form-group input::placeholder {
    color: var(--color-text-light);
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.lead-form .form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-radius: 8px;
    display: none;
    border: 1px solid rgba(21, 87, 36, 0.2);
    animation: fadeInUp 0.5s ease-out;
    text-align: center;
    font-size: 0.95rem;
}

.lead-form .form-success.show {
    display: block;
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* About */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.highlight-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(31, 122, 224, 0.12);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(31, 122, 224, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1f7ae0 0%, #2563eb 100%);
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 122, 224, 0.18);
}

.highlight-box h3 {
    color: #2a3d66;
    margin-bottom: 1rem;
    text-align: center;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    padding: 0.75rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: #555;
}

.highlight-box li::before {
    content: '→';
    position: absolute;
    right: 0;
    color: #1f7ae0;
    font-weight: bold;
}

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

.service-card {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px var(--shadow-primary-medium);
    border-color: var(--color-border-medium);
}

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

.service-card h3 {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    position: relative;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
    z-index: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        display: none;
    }
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px var(--shadow-primary);
    position: relative;
    transition: all 0.3s ease;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.timeline-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-primary-dark);
}

.timeline-step:hover .step-number::before {
    opacity: 0.5;
}

.timeline-step h3 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.timeline-step p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Who It's For */
.who-its-for {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.checklist {
    list-style: none;
}

.checklist li {
    padding: 1rem 0;
    padding-right: 2rem;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.3rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent-lighter) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px var(--shadow-primary-medium);
    transition: all 0.3s ease;
}

.checklist li:hover::before {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

/* Value */
.value {
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f7ff 100%);
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--color-border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--shadow-primary-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 40px var(--shadow-primary-medium);
    border-color: var(--shadow-primary);
}

.value-item:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
}

.value-item p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin: 0;
}

/* Recommendations */
.recommendations {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recommendation-card {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.recommendation-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px var(--shadow-primary-medium);
    border-color: var(--color-border-medium);
}

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

.recommendation-content {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.recommendation-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    padding-right: 1.5rem;
}

.recommendation-text::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.recommendation-author {
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.5rem;
}

.author-info {
    text-align: right;
}

.author-name {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Recommendations Responsive */
@media (max-width: 768px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px var(--shadow-primary-light);
    border-color: var(--color-border-light);
}

.faq-item.active {
    box-shadow: 0 8px 25px var(--shadow-primary-light);
    border-color: var(--color-border-medium);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    font-weight: 300;
    flex-shrink: 0;
    margin-right: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    color: var(--color-text-secondary);
    margin: 0;
    padding-top: 0.5rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-primary-light);
    border: 1px solid var(--color-border-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--shadow-primary-light), 0 4px 12px var(--shadow-primary-light);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-radius: 8px;
    display: none;
    border: 1px solid rgba(21, 87, 36, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.form-success.show {
    display: block;
}

/* Success Popup */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-popup-overlay.show {
    opacity: 1;
}

.success-popup {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 0;
    max-width: 90%;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.success-popup-overlay.show .success-popup {
    transform: scale(1) translateY(0);
}

.success-popup-content {
    padding: 3rem 2rem;
    text-align: center;
}

.success-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-popup-content h3 {
    color: var(--color-text-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.success-popup-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-popup-close {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.success-popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.success-popup-close:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .success-popup {
        max-width: 95%;
        margin: 1rem;
    }
    
    .success-popup-content {
        padding: 2rem 1.5rem;
    }
    
    .success-popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .success-popup-content h3 {
        font-size: 1.5rem;
    }
    
    .success-popup-content p {
        font-size: 1rem;
    }
}

.contact-details {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8f9ff 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-primary-light);
    border: 1px solid var(--color-border-light);
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.contact-details::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-border-light) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.contact-details h3 {
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.contact-details strong {
    color: var(--color-text-primary);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* Contact buttons container */
.contact-buttons-container {
    position: fixed;
    left: 20px;
    right: auto;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

/* Phone Button */
.phone-button {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow-primary-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-text-white);
    text-decoration: none;
    animation: pulse-phone 2s ease-in-out infinite;
}

.phone-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px var(--shadow-primary-dark);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.phone-button:active {
    transform: scale(0.95);
}

.phone-button svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 4px 20px var(--shadow-primary-dark);
    }
    50% {
        box-shadow: 0 4px 25px var(--shadow-primary-dark), 0 0 0 8px var(--shadow-primary-light);
    }
}

/* Gmail Button */
.gmail-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(234, 67, 53, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    text-decoration: none;
    animation: pulse-gmail 2s ease-in-out infinite;
}

.gmail-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(234, 67, 53, 0.6);
    background: linear-gradient(135deg, #C5221F 0%, #EA4335 100%);
}

.gmail-button:active {
    transform: scale(0.95);
}

.gmail-button svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-gmail {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(234, 67, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(234, 67, 53, 0.6), 0 0 0 8px rgba(234, 67, 53, 0.1);
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #20BA5A 0%, #25D366 100%);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
}

/* Footer */
.footer {
    background: var(--color-footer-bg);
    color: var(--color-text-white);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--shadow-primary-light) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

.footer p {
    margin-bottom: 0.5rem;
    color: var(--color-footer-text);
}

.footer-compliance {
    font-size: 0.875rem;
    color: var(--color-footer-text-light);
    max-width: 800px;
    margin: 1rem auto 0;
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a3d66 100%);
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 1rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-close:hover {
    color: #ff6b35;
    transform: scale(1.2) rotate(90deg);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu .nav {
    display: block !important;
    width: 100%;
    margin-top: 2rem;
}

.mobile-menu .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex !important;
}

.mobile-menu .nav-list li {
    width: 100%;
    display: block;
}

.mobile-menu .nav-link {
    font-size: 1.125rem;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    color: #ffffff;
    transition: all 0.3s ease;
    text-align: right;
}

.mobile-menu .nav-link:hover {
    color: #ffffff;
    padding-right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu .nav-cta {
    background: #ff6b35;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
    border-bottom: none !important;
}

.mobile-menu .nav-cta:hover {
    background: #ff8555;
    padding-right: 0.5rem;
}

.mobile-menu .nav-link::after {
    display: none;
}

/* Mobile menu flag link styling */
.mobile-menu .nav-link.flag-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    text-align: right;
}

.mobile-menu .nav-link.flag-link .flag-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.mobile-menu .nav-link.flag-link .flag-text {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.mobile-menu .header-cta {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .nav-list {
        gap: 1.5rem;
    }

    .logo {
        padding: 0 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .header-container {
        grid-template-columns: 1fr auto;
        gap: 1rem;
        padding: 1rem 20px;
        justify-content: space-between;
    }
    
    .contact-buttons-container {
        left: 12px;
        right: auto;
        bottom: 20px;
        gap: 12px;
    }
    
    .phone-button,
    .whatsapp-button {
        width: 56px;
        height: 56px;
    }
    
    .phone-button svg,
    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .logo {
        font-size: 1rem;
        padding: 0;
        grid-column: 1;
        justify-content: flex-start;
        text-align: right;
    }

    .menu-toggle {
        grid-column: 2;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-ctas {
        display: none;
    }

    .hero-lead-form {
        max-width: 100%;
        padding: 2rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

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

    .timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .who-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-container {
        padding: 0.75rem 15px;
    }

    .logo-image {
        height: 55px;
        max-width: 220px;
    }

    .menu-toggle {
        padding: 6px;
    }

    .menu-toggle span {
        width: 22px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem 2rem;
    }

    .mobile-menu-close {
        top: 0.75rem;
        left: 0.75rem;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

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

    .visual-card {
        padding: 1.5rem;
    }

    .contact-buttons-container {
        left: 12px;
        right: auto;
        bottom: 16px;
        gap: 10px;
    }
    
    .phone-button,
    .whatsapp-button {
        width: 52px;
        height: 52px;
    }
    
    .phone-button svg,
    .whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
}
