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

/* Hidden honeypot field for Netlify Forms spam protection */
.hidden {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
}

:root {
    --primary-color: #0a437c;
    --primary-dark: #1C224C;
    --secondary-color: #ffffff;
    --accent-color: #4A90E2;
    --text-color: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f5f7fa;
    --border-color: #d0d0d0;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

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

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

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

html[dir="rtl"] .nav-actions {
    flex-direction: row !important;
    direction: rtl;
}

[dir="rtl"] .nav-menu li {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-menu a {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .hero-buttons,
[dir="rtl"] .services-hero-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-row {
    direction: rtl;
}

[dir="rtl"] .contact-details-grid,
[dir="rtl"] .services-grid,
[dir="rtl"] .services-cards-grid {
    direction: rtl;
}

/* Only flip left-aligned elements to right, keep centered elements centered */
[dir="rtl"] .services-hero-content {
    text-align: right;
    padding-right: 0;
    padding-left: 2rem;
}

[dir="rtl"] .newsletter-content {
    text-align: right;
}

[dir="rtl"] .newsletter-content .section-title,
[dir="rtl"] .newsletter-content .section-subtitle {
    text-align: right;
}

/* Keep centered elements centered */
[dir="rtl"] .services-intro {
    text-align: center;
}

[dir="rtl"] .services-intro .section-title,
[dir="rtl"] .services-intro .section-subtitle {
    text-align: center;
}

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

/* Header Navigation */
.header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-btn {
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.lang-switcher:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('assets/skyline.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 67, 124, 0.85) 0%, rgba(28, 34, 76, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.btn-primary {
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.875rem 2rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.hero .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.hero .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.hero .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.services-hero .btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.services-hero .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.services-hero .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.services-hero .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}


.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
    border: 2px dashed var(--border-color);
}

/* About Section */
.about {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--secondary-color);
}

/* Trusted By Section */
.trusted-by {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--bg-light);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 0.75rem;
    transition: background-color 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.service-icon img {
    width: 100%;
    height: 100%;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.2);
    transition: filter 0.3s;
}

.service-card:hover .service-icon img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1);
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.services .btn-secondary {
    display: inline-block;
}

.services > .container {
    text-align: center;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-content {
    text-align: left;
}

.newsletter-content .section-title,
.newsletter-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-image {
    width: 100%;
}

.newsletter-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: var(--success-color);
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid #f5c6cb;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.contact .section-title,
.contact .section-subtitle {
    text-align: center;
}

.contact .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.contact-wrapper {
    max-width: 800px;
    margin: 3rem auto 4rem;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

.contact-details {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2.5rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-details > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    line-height: 1.8;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Footer Newsletter */
.footer-newsletter {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-newsletter .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-newsletter .email-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    transition: border-color 0.3s, background-color 0.3s;
}

.footer-newsletter .email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter .email-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-newsletter .btn-primary {
    padding: 0.875rem 2rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
}

.footer-newsletter .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.footer-newsletter .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    display: none;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter .form-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.2);
    color: #90ee90;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.footer-newsletter .form-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Services Page Styles */
.services-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.services-hero-content {
    text-align: left;
    padding-right: 2rem;
    padding-left: 0;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.services-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.services-hero-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.services-hero-links a {
    flex-shrink: 0;
    flex-grow: 0;
}

.services-hero-images {
    display: flex;
    gap: 0.75rem;
    height: 380px;
    align-items: stretch;
}

.services-hero-img {
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.services-hero-img:hover {
    transform: translateY(-5px);
}

.services-hero-img-left {
    width: 100px;
    height: 100%;
    object-position: center;
}

.services-hero-img-middle {
    flex: 1;
    height: 100%;
}

.services-hero-img-right {
    width: 100px;
    height: 100%;
    object-position: center;
}

/* Contact Page Hero Styles */
.contact-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.services-content {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.services-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.services-tabs-container {
    margin-bottom: 3rem;
}

.services-select {
    display: none;
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230a437c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.services-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 67, 124, 0.1);
}

.services-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.service-tab {
    padding: 0.75rem 0.875rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
    margin-bottom: -1px;
    white-space: normal;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-align: center;
    word-break: break-word;
    min-width: 0;
}

.service-tab:hover {
    color: var(--primary-color);
}

.service-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

[dir="rtl"] .service-tab {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
    padding: 0.75rem 1rem;
}

.services-panels {
    min-height: 400px;
}

.service-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.service-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.services-cards-grid .service-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.services-cards-grid .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.services-cards-grid .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 0.75rem;
    transition: background-color 0.3s, transform 0.3s;
}

.services-cards-grid .service-card:hover .service-icon {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.services-cards-grid .service-icon img {
    width: 100%;
    height: 100%;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.2);
    transition: filter 0.3s;
}

.services-cards-grid .service-card:hover .service-icon img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1);
}

.services-cards-grid .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.services-cards-grid .service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-detail-item {
    text-align: center;
}

.contact-detail-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-detail-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-detail-item a,
.contact-detail-item address {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
    transition: color 0.3s;
}

.contact-detail-item a:hover {
    color: var(--accent-color);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background-color: var(--secondary-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    font-style: normal;
    transition: color 0.3s;
    display: inline-block;
}

.contact-card a.contact-link:hover,
.contact-card address.contact-link:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        height: 40px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        flex-direction: column !important;
        padding: 1rem 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    html[dir="rtl"] .nav-menu {
        text-align: right;
        direction: rtl;
        left: 0;
        right: 0;
        flex-direction: column-reverse !important;
        align-items: stretch;
    }

    [dir="rtl"] .nav-menu li {
        text-align: right;
        direction: rtl;
    }

    [dir="rtl"] .nav-menu a {
        text-align: right;
        direction: rtl;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-actions {
        gap: 0.75rem;
    }

    .lang-switcher {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        min-height: 70vh;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .newsletter-content {
        text-align: center;
    }

    .newsletter-content .section-title,
    .newsletter-content .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .email-input {
        width: 100%;
    }

    .contact-hero {
        padding: 4rem 0;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
    }

    .services-hero {
        padding: 3rem 0 2.5rem;
    }

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

    .services-hero-content {
        text-align: center;
        padding-right: 0;
        padding-left: 0;
    }
    
    [dir="rtl"] .services-hero-content {
        text-align: center;
        padding-right: 0;
        padding-left: 0;
    }

    .services-hero-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }

    .services-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .services-hero-images {
        height: 280px;
        order: -1;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .services-hero-img-left,
    .services-hero-img-right {
        display: none;
    }

    .services-hero-img-middle {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

    .services-hero-links {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .services-hero-links a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    [dir="rtl"] .services-hero-links {
        flex-direction: column;
    }

    .services-tabs-container {
        margin-bottom: 2.5rem;
    }

    .services-select {
        display: block;
        margin-bottom: 2rem;
    }

    .services-tabs {
        display: none;
    }

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

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

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

    .contact-form,
    .contact-details {
        padding: 1.5rem;
    }

    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .partner-logo {
        max-width: 120px;
        max-height: 60px;
    }

    .footer-newsletter {
        padding: 2rem 0;
    }

    .footer-newsletter h3 {
        font-size: 1.25rem;
    }

    .footer-newsletter p {
        font-size: 0.9rem;
    }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-newsletter .email-input {
        width: 100%;
        min-width: auto;
    }

    .footer-newsletter .btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 36px;
    }

    .footer-logo {
        height: 40px;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .services-hero {
        padding: 2rem 0 1.5rem;
    }

    .services-hero-wrapper {
        gap: 1.5rem;
    }

    .services-hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .services-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }

    .services-hero-images {
        height: 220px;
    }

    .services-hero-links a {
        max-width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .services-select {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
        padding-right: 2.5rem;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

