* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --orange-500: #f97316;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--gray-900);
    background: #ffffff;
}

body[dir="rtl"] {
    direction: rtl;
}

body[dir="ltr"] {
    direction: ltr;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

body[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

.logo img {
    height: 4rem;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

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

.nav-link:hover {
    color: var(--blue-900);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, var(--orange-500), var(--blue-900));
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.lang-btn:hover {
    opacity: 0.9;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
}

body[dir="rtl"] .mobile-nav {
    align-items: flex-end;
}

body[dir="ltr"] .mobile-nav {
    align-items: flex-start;
}

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

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.hero {
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    margin-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--blue-100);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-text p {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

body[dir="rtl"] .hero-buttons {
    flex-direction: column;
}

@media (min-width: 640px) {
    body[dir="rtl"] .hero-buttons {
        flex-direction: row-reverse;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--blue-900);
}

.btn-primary:hover {
    background: var(--blue-50);
}

.btn-primary svg {
    margin-left: 0.5rem;
}

body[dir="rtl"] .btn-primary svg {
    margin-left: 0;
    margin-right: 0.5rem;
    transform: rotate(180deg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--blue-900);
}

.btn-white {
    background: white;
    color: var(--blue-900);
}

.btn-white:hover {
    background: var(--blue-50);
}

.hero-features {
    display: none;
}

@media (min-width: 768px) {
    .hero-features {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 0.5rem;
    }
}

.feature-card {
    display: flex;
    gap: 1rem;
}

body[dir="rtl"] .feature-card {
    flex-direction: row-reverse;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.75rem;
    flex-shrink: 0;
}

.feature-icon::after {
    content: '';
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border-radius: 9999px;
}

.feature-card h3 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.feature-card p {
    color: var(--blue-100);
    font-size: 0.875rem;
}

section {
    padding: 5rem 0;
}

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

.section-header h2,
.section-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2,
    .section-header h3 {
        font-size: 2.25rem;
    }
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background: var(--blue-900);
    margin: 0 auto 1.5rem;
}

.divider.orange {
    background: var(--orange-500);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    gap: 2rem;
}

.three-cols {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .three-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

.two-cols {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .two-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card-icon {
    background: var(--blue-100);
    border-radius: 9999px;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    color: var(--blue-900);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.card p {
    color: var(--gray-600);
    line-height: 1.75;
}

.about {
    background: var(--gray-50);
}

.commitment-box {
    background: var(--blue-900);
    border-radius: 0.5rem;
    padding: 2rem;
    color: white;
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .commitment-box {
        grid-template-columns: 1fr 1fr;
        padding: 3rem;
    }
}

.commitment-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .commitment-text h3 {
        font-size: 1.875rem;
    }
}

.commitment-text p {
    color: var(--blue-100);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.commitment-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.badge.full-width {
    grid-column: span 2;
}

.badge-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.badge-subtitle {
    color: var(--blue-100);
    font-size: 0.875rem;
}

.services {
    background: white;
}

.service-card {
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service-icon {
    background: var(--blue-100);
    border-radius: 0.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: var(--blue-900);
}

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

.service-card > p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

body[dir="rtl"] .service-card li {
    text-align: right;
}

.bullet {
    width: 0.375rem;
    height: 0.375rem;
    background: var(--blue-900);
    border-radius: 9999px;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

body[dir="ltr"] .bullet {
    margin-right: 0.75rem;
}

body[dir="rtl"] .bullet {
    margin-left: 0.75rem;
}

.field-work {
    margin-top: 4rem;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .field-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .field-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.field-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.field-item:hover {
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

.field-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s;
}

.field-item:hover img {
    transform: scale(1.1);
}

.field-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.field-item:hover .field-overlay {
    opacity: 1;
}

.field-overlay h4 {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.field-overlay p {
    color: var(--blue-100);
    font-size: 0.875rem;
}

.scope-section {
    margin-top: 4rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .scope-section {
        padding: 3rem;
    }
}

.scope-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .scope-section h3 {
        font-size: 1.875rem;
    }
}

.scope-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .scope-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.scope-category h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.scope-category ul {
    list-style: none;
}

.scope-category li {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.scope-category li::before {
    content: '• ';
    color: var(--blue-900);
    font-weight: bold;
}

body[dir="rtl"] .scope-category li::before {
    content: ' •';
}

.industries {
    background: var(--gray-50);
}

.industries-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.industry-card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.industry-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-0.25rem);
}

.industry-icon {
    background: var(--blue-900);
    color: white;
    border-radius: 0.5rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.industry-card p {
    color: var(--gray-600);
    line-height: 1.75;
}

.cta-box {
    margin-top: 4rem;
    background: var(--blue-900);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    color: white;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 3rem;
    }
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-box h3 {
        font-size: 1.875rem;
    }
}

.cta-box p {
    color: var(--blue-100);
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.certificates {
    background: white;
}

.cert-cards {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cert-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-card {
    background: var(--gray-50);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.cert-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.cert-icon {
    background: var(--blue-100);
    border-radius: 9999px;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cert-icon svg {
    color: var(--blue-900);
}

.cert-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cert-subtitle {
    color: var(--blue-900);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cert-card > p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.cert-details {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cert-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cert-detail-card {
    border-radius: 0.5rem;
    padding: 2rem;
    color: white;
}

.cert-detail-card.blue {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.cert-detail-card.gray {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
}

.cert-detail-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cert-detail-card > p {
    line-height: 1.75;
    margin-bottom: 1rem;
}

.cert-detail-card.blue p {
    color: var(--blue-100);
}

.cert-detail-card.gray p {
    color: var(--gray-300);
}

.cert-detail-card ul {
    list-style: none;
}

.cert-detail-card li {
    margin-bottom: 0.5rem;
}

.cert-detail-card.blue li {
    color: var(--blue-100);
}

.cert-detail-card.gray li {
    color: var(--gray-300);
}

.cert-detail-card li::before {
    content: '• ';
}

body[dir="rtl"] .cert-detail-card li::before {
    content: ' •';
}

.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    background: var(--blue-100);
    border-radius: 9999px;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon svg {
    color: var(--blue-900);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.contact-card a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.125rem;
    font-weight: 500;
    word-break: break-all;
}

.contact-card a:hover {
    color: var(--blue-900);
}

.contact-card .btn {
    margin-top: 1rem;
}

.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    height: 4rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-badges div {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.875rem;
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .section-header h3 {
        font-size: 1.5rem;
    }

    .commitment-text h3 {
        font-size: 1.25rem;
    }

    .cta-box h3 {
        font-size: 1.25rem;
    }
}
