/* Global Variables & Design Tokens */
:root {
    --primary-color: #0054a5;
    --primary-rgb: 0, 84, 165;
    --secondary-color: #231f20;
    --accent-gold: #d97706;
    --accent-green: #10b981;
    --bg-light: #f8fafc;
    --bg-dark: #12151c;
    --border-color: #e2e8f0;
    
    /* Font Families */
    --font-header-en: 'Outfit', sans-serif;
    --font-body-en: 'Inter', sans-serif;
    --font-global-ar: 'Cairo', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s ease;
}

/* Base Reset & Layout Directionalities */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body-en);
    background-color: #ffffff;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

body.dir-rtl {
    font-family: var(--font-global-ar);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header-en);
    color: #0f172a;
    font-weight: 700;
}

body.dir-rtl h1, body.dir-rtl h2, body.dir-rtl h3, body.dir-rtl h4, body.dir-rtl h5, body.dir-rtl h6 {
    font-family: var(--font-global-ar);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Glassmorphism Sticky Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: block;
}

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

.nav-menu {
    display: flex;
}

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

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #334155;
    cursor: pointer;
}

.lang-switch-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #334155;
}

/* Mobile Drawer Elements */
.mobile-drawer {
    position: fixed;
    top: 0;
    inset-inline-end: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1100;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    inset-inline-end: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.drawer-logo {
    height: 36px;
}

.drawer-close-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #475569;
}

.drawer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.drawer-nav-item {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    color: #334155;
    padding: 0.5rem 0;
}

.drawer-nav-item.active {
    color: var(--primary-color);
}

.drawer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 0;
}

.drawer-lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Page Spacing Layout */
.page-content {
    margin-top: 80px; /* Offset sticky header */
}

/* Typography & Visual Accents */
.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.25rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    line-height: 1.25;
}

.section-desc {
    max-width: 700px;
    margin-bottom: 3rem;
    color: #64748b;
    font-size: 1.1rem;
}

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

.text-center .section-desc {
    margin-inline-start: auto;
    margin-inline-end: auto;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #003e7a;
    transform: translateY(-2px);
}

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

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

.btn-gold {
    background-color: var(--accent-gold);
    color: #ffffff;
}

.btn-gold:hover {
    background-color: #b45309;
    transform: translateY(-2px);
}

/* Cards Micro-Animations */
.hover-card {
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Footer Section */
.main-footer {
    background-color: var(--secondary-color);
    color: #94a3b8;
    padding: 4rem 2rem 2rem;
    border-top: 4px solid var(--primary-color);
}

.footer-top-section {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 52px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-pitch {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
}

.cert-badge {
    border: 1px solid #475569;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

body.dir-rtl .footer-heading::after {
    left: auto;
    right: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-inline-start: 6px;
}

.branch-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-sum-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.branch-sum-item span {
    font-size: 0.9rem;
}

.footer-bottom-section {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid #2e3238;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .footer-top-section {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .footer-top-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-bottom-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Base Container & Grid System */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

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

/* Home Hero Section */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background: radial-gradient(circle, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.85) 100%), url('../images/global.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-content {
    max-width: 750px;
    animation: fade-in-up 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Home Stats/Key Numbers Section */
.stats-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-header-en);
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: #f1f5f9;
}

/* Sectors Grid Cards */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.sector-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sector-header {
    margin-bottom: 1.5rem;
}

.sector-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sector-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.sector-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.sector-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.sector-link:hover {
    color: var(--accent-gold);
}

/* Sector Detail Capabilities List */
.capabilities-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.capability-item {
    background: var(--bg-light);
    border-inline-start: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    font-size: 1rem;
    color: #334155;
    font-weight: 500;
}

body.dir-rtl .capability-item {
    border-radius: 6px 0 0 6px;
}

/* Projects Showcase Portfolio */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.project-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img-wrapper {
    position: relative;
    height: 240px;
    background-color: var(--bg-dark);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.project-badge.completed {
    background-color: var(--accent-green);
    color: #ffffff;
}

.project-badge.in-progress {
    background-color: var(--accent-gold);
    color: #ffffff;
}

.project-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-sector {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-meta-list {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Equipment Fleet Inventory */
.equipment-category-section {
    margin-bottom: 4rem;
}

.equipment-category-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #0f172a;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.equipment-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.equipment-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.equipment-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(var(--primary-rgb), 0.06);
    color: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-name {
    font-weight: 600;
    color: #1e293b;
}

.equipment-count {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    min-width: 42px;
    height: 42px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

/* Contact Us Grid & Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.branch-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.branch-name {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
}

.branch-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 0.9rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: #334155;
    background-color: var(--bg-light);
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent-green);
    color: #065f46;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* About Us Layout elements */
.ceo-quote-box {
    background-color: var(--bg-light);
    border-inline-start: 6px solid var(--accent-gold);
    padding: 2.5rem;
    border-radius: 4px;
    margin-bottom: 4rem;
}

.ceo-quote-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .ceo-quote-wrapper {
        grid-template-columns: 180px 1fr;
    }
}

.ceo-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ceo-sig {
    font-weight: 700;
    color: var(--primary-color);
}

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

.value-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Responsive Inner Pages and About Us grid classes */
.inner-page-hero-title, .about-hero-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
}
@media (min-width: 768px) {
    .inner-page-hero-title, .about-hero-title {
        font-size: 3rem;
    }
}

.sector-row-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 4rem;
}
@media (min-width: 992px) {
    .sector-row-grid {
        grid-template-columns: 1fr 2fr;
        gap: 4.5rem;
    }
}

.project-detail-title {
    font-size: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 800;
}
@media (min-width: 768px) {
    .project-detail-title {
        font-size: 2.5rem;
    }
}

.project-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    display: block;
}
@media (min-width: 768px) {
    .project-main-image {
        height: 500px;
    }
}

.about-two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}
@media (min-width: 992px) {
    .about-two-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 5rem;
    }
}

.about-vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}
@media (min-width: 992px) {
    .about-vision-mission-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 5rem;
    }
}

.about-qms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 992px) {
    .about-qms-grid {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
        align-items: start;
    }
}

.about-hse-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 992px) {
    .about-hse-grid {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
        align-items: start;
    }
}

.iso-cert-image {
    max-width: 260px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}
.iso-cert-image-sidebar {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2), 0 0 10px rgba(0,0,0,0.05);
    border: 2px solid #f1f5f9;
}
@media (max-width: 768px) {
    .iso-cert-image, .iso-cert-image-sidebar {
        max-width: 100%;
    }
}
.desktop-only { display: none; }
@media (min-width: 992px) {
    .desktop-only { display: block; }
    .mobile-only { display: none; }
}

.quality-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.quality-tier-card {
    background: #ffffff;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 4px;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
}

.legal-table th, .legal-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-table th {
    background-color: var(--bg-light);
    font-weight: 700;
    color: #1e293b;
}

.legal-table tr:hover {
    background-color: rgba(var(--primary-rgb), 0.02);
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness overrides for detailed grids */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .quality-tier-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Breadcrumbs Styling */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: #475569;
    transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs-separator {
    color: #94a3b8;
    user-select: none;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.breadcrumbs-active {
    color: var(--primary-color);
    font-weight: 600;
}

.inner-page-hero.has-bg .breadcrumbs a { color: #cbd5e1; }
.inner-page-hero.has-bg .breadcrumbs-active { color: #ffffff; }
.inner-page-hero.has-bg .breadcrumbs-separator { color: #cbd5e1; }
.inner-page-hero.has-bg .section-tag { color: var(--accent-gold); border-color: var(--accent-gold); }

/* Infinite Logo Slider */
.clients-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.clients-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
}

.logo-slider-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Keep moving track always LTR so animation works identically on English & Arabic */
    direction: ltr !important; 
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.logo-track {
    display: flex;
    gap: 3rem;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

/* Pause moving bar on hover for high-quality interactivity */
.logo-slider-container:hover .logo-track {
    animation-play-state: paused;
}

.client-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    height: 100px;
    width: 100px;
    min-width: 100px;
    font-family: var(--font-header-en);
    font-weight: 800;
    font-size: 0.85rem;
    color: #475569;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    user-select: none;
    transition: var(--transition-smooth);
}

.client-logo-item:hover {
    color: var(--primary-color);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Admin Area Layout & Dashboard Styles */
.admin-body {
    background-color: #f1f5f9;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background-color: var(--secondary-color);
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    border-inline-end: 1px solid rgba(255,255,255,0.05);
}

.admin-sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-sidebar-logo {
    height: 38px;
    filter: brightness(0) invert(1);
}

.admin-nav {
    padding: 2rem 1.5rem;
    flex-grow: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.admin-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.admin-logout-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.admin-logout-btn:hover {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-header {
    background: #ffffff;
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.admin-content {
    padding: 2.5rem;
    flex-grow: 1;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-stat-icon.gold {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--accent-gold);
}

.admin-stat-icon.green {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent-green);
}

.admin-stat-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.admin-stat-lbl {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.admin-table-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    overflow: hidden;
}

.admin-table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
}

.admin-table th, .admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
    color: #334155;
}

.admin-table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #475569;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.action-buttons {
    display: inline-flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    border-radius: 4px;
}

.btn-danger {
    background-color: #ef4444;
    color: #ffffff;
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}

/* Login Page Centered Style */
.admin-login-body {
    background: radial-gradient(circle, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.95) 100%), url('../images/global.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.login-logo {
    height: 48px;
    margin: 0 auto 2rem;
    display: block;
}

@media (max-width: 1024px) {
    .admin-grid-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    .admin-grid-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    #careers-split-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}


