/* CSS STYLES */
:root {
 --primary-color: #0066cc; /* Deep Blue */
 --secondary-color: #ff8c00; /* Bright Orange */
 --dark-bg: #0d1a26; /* Darker blue-black for tech feel */
 --light-text: #e0e0e0; 
 --dark-text-contrast: #212529; 
 --container-bg: #ffffff;
 --shadow-color: rgba(0, 0, 0, 0.15);
}

body {
 /* Modern Font Stack */
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 margin: 0;
 padding: 0;
 color: var(--light-text); 
 line-height: 1.6;
 
 /* ADVANCED NETWORK BACKGROUND THEME */
 background-color: var(--dark-bg); 
 background-image: 
  /* Data Flowing Lines (Enhanced) */
  linear-gradient(to right, rgba(0, 102, 204, 0.1) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(0, 102, 204, 0.1) 1px, transparent 1px),
  /* Subtle Glowing Dots/Nodes */
  radial-gradient(circle at 10% 50%, rgba(0, 102, 204, 0.2) 2px, transparent 0),
  radial-gradient(circle at 90% 50%, rgba(255, 140, 0, 0.2) 2px, transparent 0);
 background-size: 50px 50px, 50px 50px, 400px 400px, 400px 400px;
 animation: background-flow 30s linear infinite;
 
 /* Default text alignment for LTR languages */
 text-align: left; 
}

/* Subtle animation to suggest data flow */
@keyframes background-flow {
 from { background-position: 0 0, 0 0, 0 0, 0 0; }
 to { background-position: 50px 50px, 50px 50px, 400px 400px, 400px 400px; }
}

/* --- Header & Navigation --- */
header {
 background-color: var(--container-bg); 
 color: var(--dark-text-contrast); 
 padding: 15px 25px; 
 
 /* Grid: Logo | Central Content */
 display: grid;
 grid-template-columns: auto 1fr; 
 align-items: center;
 
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
 border-bottom: 1px solid #eee; 
 position: sticky;
 top: 0;
 z-index: 100;
}

.central-menu-container {
 display: flex;
 justify-content: center; 
 align-items: center;
 gap: 30px; 
 height: 60px; 
}

/* Logo Styling */
.logo-container {
 display: flex;
 align-items: center;
}

.site-logo {
 height: 60px; 
 width: auto;
 margin-right: 0; 
 transition: transform 0.3s ease;
 filter: none; 
}

.site-logo:hover {
 transform: scale(1.05);
}

/* Navigation Links Styling (Pill Design) */
#mainNav {
 display: flex; 
 align-items: center;
}

nav a {
 color: var(--dark-text-contrast); 
 text-decoration: none;
 font-weight: 600;
 padding: 8px 15px; 
 margin: 0 10px; 
 border-radius: 25px; 
 transition: color 0.3s ease, background-color 0.3s ease;
 border-bottom: none; 
}

nav a:hover, nav a.active {
 color: white; 
 background-color: var(--primary-color); 
 border-bottom: none;
}

/* Language Switcher Styling */
#language-switcher {
 background-color: var(--primary-color); 
 color: white;
 border: none;
 padding: 8px 12px;
 border-radius: 5px;
 cursor: pointer;
 font-weight: bold;
 transition: background-color 0.3s ease;
}
#language-switcher:hover {
 background-color: #004c99; 
}


/* --- RTL FORMATTING FIXES --- */
html[dir="rtl"] body {
 text-align: right;
}

html[dir="rtl"] .logo-container .site-logo {
 margin-right: 0;
 margin-left: 0; 
}

html[dir="rtl"] #about-section ul {
 padding-right: 20px; 
 padding-left: 0;
 list-style-position: inside; 
}

html[dir="rtl"] .service-list {
 flex-direction: row-reverse; 
}

html[dir="rtl"] .service-list li {
 border-left: none;
 border-right: 4px solid var(--primary-color); 
}

/* --- Remainder of Standard Styling --- */

main {
 padding: 20px 0 80px 0; 
 min-height: 70vh;
}

section {
 /* Sections on individual pages should all be visible, but we keep 
 the structure for consistency */
 display: block; 
 padding: 60px 20px;
 max-width: 1000px;
 margin: 40px auto;
 background-color: var(--container-bg);
 border-radius: 10px;
 box-shadow: 0 8px 20px var(--shadow-color);
 color: var(--dark-text-contrast);
 border-top: 5px solid var(--secondary-color); 
 animation: fadeIn 0.8s ease-out; 
}

@keyframes fadeIn {
 from { opacity: 0; transform: translateY(10px); }
 to { opacity: 1; transform: translateY(0); }
}

h2 {
 color: var(--primary-color);
 border-bottom: 2px solid var(--primary-color);
 padding-bottom: 10px;
 margin-bottom: 30px;
 font-size: 2.2em;
 font-weight: 600;
}

h3 {
 color: var(--dark-text-contrast);
}

#home-content {
 text-align: center;
 background-color: var(--container-bg);
 padding: 60px 20px;
 border-radius: 8px;
 border-top: none; 
 box-shadow: none;
}

#home-content h1 {
 color: var(--primary-color);
 font-size: 3.5em;
 margin-bottom: 15px;
 text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-button {
 display: inline-block;
 background-color: var(--secondary-color);
 color: white;
 padding: 12px 30px;
 text-decoration: none;
 border-radius: 50px; 
 font-weight: bold;
 margin-top: 30px;
 transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
 border: none;
}

.cta-button:hover {
 background-color: #e67e00; 
 transform: translateY(-2px);
 box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.service-list {
 list-style: none;
 padding: 0;
 display: flex;
 justify-content: center;
 gap: 30px;
 margin-top: 40px;
}

.service-list li {
 background-color: #f0f0f0;
 border-left: 4px solid var(--primary-color);
 padding: 20px;
 border-radius: 5px;
 width: 250px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
 font-weight: 600;
 color: var(--dark-text-contrast);
 transition: transform 0.3s ease;
}

.service-list li:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-form label {
 display: block;
 margin-top: 15px;
 margin-bottom: 5px;
 font-weight: 600;
 color: var(--primary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
 width: 100%;
 padding: 12px;
 margin-bottom: 20px;
 border: 1px solid #ccc;
 border-radius: 6px;
 box-sizing: border-box; 
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
 color: var(--dark-text-contrast);
}

.contact-form input:focus,
.contact-form textarea:focus {
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
 outline: none;
}

.contact-form textarea {
 resize: vertical;
 height: 150px;
}

.contact-form button {
 background-color: var(--secondary-color);
 color: white;
 padding: 12px 20px;
 border: none;
 border-radius: 6px;
 cursor: pointer;
 font-size: 1em;
 font-weight: 700;
 transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
 background-color: #cc7000;
 transform: translateY(-1px);
}

#form-message {
 margin-top: 20px;
 padding: 15px;
 border-radius: 6px;
 display: none; 
 font-weight: bold;
 background-color: #d4edda; 
 color: #155724; 
}

/* --- FOOTER STYLES WITH NEW CONTACT INFO --- */
footer {
 background-color: var(--primary-color);
 color: white;
 text-align: center;
 padding: 30px 20px; 
 margin-top: 20px;
 box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
 
 /* Flex container for content and new contact info */
 display: flex;
 flex-direction: column;
 align-items: center;
}

.contact-info {
 display: flex;
 gap: 20px;
 margin-bottom: 15px;
}

.contact-info a {
 color: var(--secondary-color);
 text-decoration: none;
 font-weight: 600;
 transition: color 0.3s ease;
}

.contact-info a:hover {
 color: white;
}

html[dir="rtl"] .contact-info {
 /* Optional: adjust display order for RTL if needed, but flex handles it well */
 flex-direction: row-reverse; 
}
/* ... existing styles above ... */

/* --- Remainder of Standard Styling --- */

/* ... existing styles for sections/contact-form ... */


#form-message {
 margin-top: 20px;
 padding: 15px;
 border-radius: 6px;
 display: none; 
 font-weight: bold;
 background-color: #d4edda; 
 color: #155724; 
}

/* --- NEW MAP STYLES --- */
#contact-section h3 {
 margin-top: 40px;
 border-bottom: 2px solid var(--secondary-color);
 padding-bottom: 10px;
}

.map-container {
 overflow: hidden;
 /* Ensures the map scales properly within the section */
 border-radius: 8px; 
 margin-top: 20px;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
 /* Ensure the iframe fills the container */
 width: 100%;
 height: 400px; /* Adjust height as needed */
 display: block;
}


