/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #ffffff;
    background-color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #005b9f;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 91, 159, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #005b9f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0077cc;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 91, 159, 0.4);
}

/* Services Section */
.services {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 80px 0;
}

.services h2, .solutions h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #005b9f;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #e0e0e0;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: rgba(0, 91, 159, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 91, 159, 0.3);
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.solution-card p {
    color: #e0e0e0;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: #ffffff;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.info-item p {
    color: #e0e0e0;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-links h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #005b9f;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #005b9f;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lang-btn.active {
    background-color: rgba(0, 91, 159, 0.8);
}

/* Language Content Control */
[data-lang-ar], [data-lang-he] {
    display: none;
}

html[lang="ar"] [data-lang-ar] {
    display: block;
}

html[lang="he"] [data-lang-he] {
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    nav ul {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services h2, .solutions h2, .about h2, .contact h2 {
        font-size: 2rem;
    }
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] nav ul li {
    margin-right: 30px;
    margin-left: 0;
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .service-card, .solution-card, .about-content, .contact-content {
    animation: fadeIn 1s ease-out;
}
