:root {
    --bg-deep: #1a1f26; /* Slightly lighter deep background */
    --bg-card: #22262e; /* Card background */
    --accent-primary: #00e5ff; /* Cyan */
    --text-main: #ffffff;
    --text-dim: #9ca3af;
    --border-color: #374151;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 90%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo-hex {
    width: 150px;
    height: 40px;
    background-image: url('logo.jpg');
    background-size: cover;
    background-position: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links span, .nav-links a, .dropdown-trigger {
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links span:hover, .nav-links a:hover, .nav-links a.active, .dropdown:hover .dropdown-trigger {
    color: var(--accent-primary);
}

/* --- DROPDOWN --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger i {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1000;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    overflow: visible; /* Changed to visible for arrow and bridge */
    left: 50%;
    transform: translateX(-50%);
    top: 100%; /* Position right below trigger */
}

/* Invisible bridge to prevent closing when moving mouse */
.dropdown-content::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.dropdown-content a {
    color: var(--text-dim);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-primary);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.consult-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    transition: 0.3s;
    border-radius: 4px;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dim);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    transition: 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

html[dir="rtl"] {
    direction: rtl;
    font-family: 'Inter', sans-serif; /* You might want to add a Hebrew font here */
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .dropdown-content {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .unique-perspective {
    border-left: none;
    border-right: 4px solid var(--accent-primary);
}

html[dir="rtl"] .strategy-benefits {
    direction: rtl;
}

.consult-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- HERO SECTION --- */
.hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(15, 18, 22, 0.6), rgba(15, 18, 22, 0.9)), 
      url('background.jpg');
    background-size: cover;
    background-position: center bottom;
    padding-top: 100px;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    max-width: 1000px;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero p {
    color: var(--text-dim);
    max-width: 800px;
    margin: 1.5rem 0 2.5rem 0;
    font-size: 1.2rem;
    font-weight: 400;
}


.main-cta {
    background: white;
    color: black;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    transition: 0.3s transform;
}

.main-cta:hover {
    transform: translateY(-2px);
}

/* --- AGILE SOLUTIONS PILLARS --- */
.pillars {
    padding: 5rem 5%;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4rem;
    font-weight: 900;
}

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

.pillar-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 0;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glowing Icons base using SVG stroke painting */
.glow-icon {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
}

.glow-icon-small {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    position: absolute;
}

/* Specific positioning for small aesthetic icons */
.center-spin {
    bottom: -5px;
    right: 5px;
    stroke: #ff0055;
    filter: drop-shadow(0 0 5px #ff0055);
}

.side-node {
    bottom: 5px;
    right: -10px;
    stroke: #a2ff00;
    filter: drop-shadow(0 0 5px #a2ff00);
}

.icon-wrapper .glow-icon-small:not(.center-spin):not(.side-node) {
    bottom: 0;
    right: 0;
    stroke: #ff9900;
    filter: drop-shadow(0 0 5px #ff9900);
}

/* Custom Gradients using filters (since standard stroke doesn't easily support gradient) 
   We use a bright base color and a heavy drop-shadow to simulate the neon glow */
.cyan-orange {
    stroke: #00f2ff;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.8)) drop-shadow(2px 2px 0px #ff5500);
}

.cyan-magenta {
    stroke: #00f2ff;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.8)) drop-shadow(2px 2px 0px #ff00aa);
}


.pillar-card h3 {
    font-size: 1.3rem;
    margin: 1rem 0;
    color: var(--text-main);
}

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

/* --- BOTTOM SECTION --- */
.bottom-section {
    padding: 2rem 5% 5rem 5%;
    text-align: center;
}

.bottom-content h2 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.bottom-content p {
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.map-placeholders {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.map-box {
    flex: 1;
    min-width: 300px;
}

footer {
            background: #000;
            padding: 2rem 2rem;
            border-top: 1px solid #1a1a1a;
            text-align: center;
        }

        .footer-tagline {
            color: #333;
            font-weight: 700;
            letter-spacing: 10px;
            font-size: 0.9rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
        }

        .copyright {
            color: #555;
            font-size: 0.8rem;
            letter-spacing: 1px;
        }


/* --- RESPONSIVE STYLES --- */

/* Tablets and smaller (Up to 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile and Medium Screens (Up to 768px) */
@media (max-width: 768px) {
    nav {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        width: 100% !important;
        padding: 2rem 0 !important;
        left: 0 !important;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo-hex {
        width: 150px;
        height: 40px;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        width: 100% !important;
        font-size: 0.8rem !important;
    }

    .consult-btn {
        width: 80% !important;
        max-width: 300px !important;
        text-align: center !important;
        padding: 0.8rem !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .hero {
        padding: 4rem 1.5rem !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 2rem !important;
    }

    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        margin: 1.5rem 0 !important;
    }

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

    .bottom-content h2 {
        font-size: 1.6rem;
    }
    
    .map-box {
        min-width: 100%;
    }

    footer {
            background: #000;
            padding: 2rem 2rem;
            border-top: 1px solid #1a1a1a;
            text-align: center;
        }

        .footer-tagline {
            color: #333;
            font-weight: 700;
            letter-spacing: 10px;
            font-size: 0.9rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
        }

        .copyright {
            color: #555;
            font-size: 0.8rem;
            letter-spacing: 1px;
        }
}

/* Small tablets / Large phones (Up to 600px) */
@media (max-width: 600px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ABOUT PAGE SPECIFICS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.about-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(26, 31, 38, 0.95), rgba(26, 31, 38, 0.7)), url('background.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-dim);
    max-width: 800px;
    line-height: 1.6;
}

.core-expertise {
    padding: 6rem 0;
    background: #1a1f26;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.expertise-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.expertise-content .lead {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 2rem;
}

.expertise-content p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.unique-perspective {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 229, 255, 0.05);
    border-left: 4px solid var(--accent-primary);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.unique-perspective i {
    color: var(--accent-primary);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.unique-perspective p {
    margin: 0;
    color: var(--text-main);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
}

.common-challenges {
    padding: 6rem 0;
    background: #11151a;
}

.challenges-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.global-footprint {
    padding: 8rem 0;
    background: #11151a;
    border-bottom: 1px solid var(--border-color);
}

.footprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.footprint-visual {
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, rgba(26, 31, 38, 0) 70%);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.map-accent {
    position: relative;
    width: 100px;
    height: 100px;
}

.map-bg-icon {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
    opacity: 0.4;
    stroke-width: 1.5;
}

.geo-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 2rem;
    color: #fff;
    font-weight: 900;
}

.stat-item span {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.challenges-cloud {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cloud-item {
    background: var(--bg-card);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
}

.cloud-item.highlight {
    border-color: var(--accent-primary);
    color: var(--text-main);
    font-weight: 700;
    background: rgba(0, 229, 255, 0.05);
    transform: scale(1.02);
}

.cloud-item:hover {
    border-color: var(--accent-primary);
    color: var(--text-main);
}

.client-types {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.client-card {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: 0.3s;
}

.client-card i {
    color: var(--accent-primary);
    width: 32px;
    height: 32px;
}

.client-card span {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.mission-strategy {
    padding: 6rem 0;
    background: #14181d;
}

.mission-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1rem 0 2rem;
    text-transform: uppercase;
}

.strategy-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

.benefit-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--accent-primary);
    opacity: 0;
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    color: var(--accent-primary);
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #fff;
}

.benefit-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

.turn-key-solutions {
    padding: 6rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.solutions-left h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.solutions-left p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sol-item {
    display: flex;
    gap: 1.5rem;
}

.sol-item i {
    color: var(--accent-primary);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 4px;
}

.sol-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.sol-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    background: linear-gradient(135deg, #22262e 0%, #1a1f26 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-item i {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.vendor-agnostic {
    padding: 6rem 0;
    background: #14181d;
}

.agnostic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.agnostic-card::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    filter: blur(150px);
    opacity: 0.05;
}

.agnostic-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.agnostic-list {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.agnostic-list li {
    color: var(--text-dim);
    line-height: 1.6;
}

.agnostic-list li strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.lasting-rel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.lasting-rel i {
    color: #ff3e60;
}

.lasting-rel span {
    font-weight: 700;
    font-size: 1.1rem;
}

.cta-section {
    padding: 10rem 0;
    background: linear-gradient(rgba(26, 31, 38, 0.8), rgba(26, 31, 38, 0.8)), url('background.jpg');
    background-size: cover;
    background-attachment: fixed;
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.max-width-700 { max-width: 700px; }
.service-tag {
    color: var(--accent-primary);
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 0.85rem;
}

/* Responsiveness for About Page */
@media (max-width: 992px) {
    .expertise-grid, .solutions-grid, .footprint-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .strategy-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    .agnostic-list {
        grid-template-columns: 1fr;
    }
    .footprint-visual {
        order: -1;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-title, .cta-section h2 { font-size: 2.5rem; }
    .strategy-benefits { grid-template-columns: 1fr; }
    .agnostic-card { padding: 2rem; }
    .about-hero { height: auto; padding: 12rem 0 6rem; }
    .geo-stats { gap: 1.5rem; justify-content: center; }
    .stat-item strong { font-size: 1.5rem; }
}