/* Global Variables & Reset */
:root {
    --primary-color: #0f172a;
    /* Slate 900 - Dark */
    --secondary-color: #334155;
    /* Slate 700 */
    --accent-color: #f59e0b;
    /* Amber 500 - Gold */
    --text-light: #f8fafc;
    /* Slate 50 */
    --text-dark: #1e293b;
    /* Slate 800 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --bg-light: #ffffff;
    --bg-off-white: #f8fafc;
    /* Slate 50 */
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-hebrew: 'Heebo', sans-serif;
}

[dir="rtl"] {
    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Heebo', sans-serif;
    direction: rtl;
    text-align: right;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 70px;
    width: auto;
    display: block;
}

.logo img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1));
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
    font-family: var(--font-body);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

[dir="rtl"] .btn-secondary {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .service-card::before {
    left: auto;
    right: 0;
    transform-origin: right;
}

[dir="rtl"] .contact-wrapper {
    grid-template-columns: 1.5fr 1fr;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:not(.btn):hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: var(--header-height);
    min-height: 100vh;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.abstract-shape {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.85;
    filter: blur(50px);
    position: relative;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2rem;
    background-color: var(--bg-off-white);
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-muted);
}

/* Services Section */
.services {
    background-color: var(--bg-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    padding: 3rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.text-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: auto;
}

.text-link::after {
    content: '→';
}

[dir="rtl"] .text-link::after {
    content: '←';
}

.text-link:hover {
    color: var(--accent-color);
    gap: 0.8rem;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-desc {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.contact-details svg {
    color: var(--accent-color);
}

.phone-number {
    unicode-bidi: plaintext;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #cbd5e1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #020617;
    color: #94a3b8;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
@media (max-width: 992px) {
    [dir="rtl"] .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
}

