/* ==============================================================================
   AL CONNEXION COMPANY - ENTERPRISE DESIGN SYSTEM & MULTILINGUAL STYLESHEET
   ============================================================================== */

:root {
    --primary: #111828;         /* Corporate Deep Navy */
    --primary-light: #1f293d;   /* Lighter Navy for Cards & Overlays */
    --secondary: #2563eb;       /* Royal Blue */
    --secondary-hover: #1d4ed8; /* Darker Royal Blue */
    --accent-gold: #c29d59;     /* Vision 2030 Warm Gold */
    --accent-green: #10b981;    /* WhatsApp & Success Green */
    --text-primary: #1f2937;    /* Charcoal Text */
    --text-secondary: #4b5563;  /* Muted Slate Text */
    --text-light: #9ca3af;      /* Light Gray */
    --bg-light: #f8fafc;        /* Off-White Surface */
    --bg-white: #ffffff;        /* Pure White */
    --border-color: #e2e8f0;    /* Crisp Border */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.25s ease-in-out;
}

/* Reset & Global Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.65;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

/* Arabic RTL Specific Typography & Adjustments */
html[dir="rtl"], body.arabic-mode {
    font-family: 'Amiri', 'Inter', system-ui, serif;
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] .brand-name-en {
    font-family: 'Amiri', 'Montserrat', serif;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}
.btn-outline:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}
.btn-outline-secondary:hover {
    background-color: var(--secondary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-wa-direct {
    background-color: var(--accent-green);
    color: white;
    font-weight: 700;
}
.btn-wa-direct:hover {
    background-color: #059669;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Top Bar Strip */
.top-bar {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-info {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.84rem;
}
.top-bar-info a, .top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}
.top-bar-info a:hover {
    color: white;
}
.top-bar-info strong, .top-bar-info span strong {
    font-size: 0.84rem;
    font-weight: 600;
    color: white;
}
.top-bar-cr {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 500;
}
.cr-badge-top {
    /* Seamless inline styling without extra background layer */
    background: transparent;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 500;
}
.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher Button */
.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.lang-switcher-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* Main Navigation Header */
.main-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
}
.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-name-en {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.3px;
}
.brand-name-ar {
    font-family: 'Amiri', serif;
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    position: relative;
    padding: 0.3rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}
html[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.header-cta {
    background: var(--secondary);
    color: white !important;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.header-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 24, 40, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1002;
}
.mobile-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section (Optimized Spacing & Zero Overflow) */
.hero {
    background: linear-gradient(135deg, rgba(17, 24, 40, 0.90) 0%, rgba(17, 24, 40, 0.75) 100%), url('../hero_bg.png') center/cover no-repeat;
    background-attachment: fixed;
    padding: 3.8rem 0 3.2rem;
    color: white;
    position: relative;
    text-align: center;
}
.hero-content {
    max-width: 880px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    background: rgba(194, 157, 89, 0.25);
    color: #fde68a;
    border: 1px solid rgba(194, 157, 89, 0.5);
    padding: 0.35rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero h1 {
    color: white;
    font-size: 2.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 1.85rem;
    line-height: 1.65;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

/* Stats Bar */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    margin-top: 0.5rem;
}
.stat-card {
    text-align: center;
}
.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1;
    margin-bottom: 0.35rem;
    font-family: 'Montserrat', sans-serif;
}
.stat-label {
    font-size: 0.88rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Page Header (Inner Pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    position: relative;
}
.page-header h1 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
}
.page-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 1rem;
}
.breadcrumb a {
    color: #60a5fa;
}

/* General Sections */
.section {
    padding: 5rem 0;
}
.section-alt {
    background-color: var(--bg-light);
}
.section-title-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* About & Vision/Mission Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 440px;
    object-fit: cover;
}
.about-cr-pill {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
html[dir="rtl"] .about-cr-pill {
    right: auto;
    left: 20px;
    border-left: none;
    border-right: 4px solid var(--accent-gold);
}

.vm-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
}
.vm-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--secondary);
    transition: var(--transition);
}
.vm-card.gold-border {
    border-top-color: var(--accent-gold);
}
.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.vm-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}
.value-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}
.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.value-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}
.value-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #93c5fd;
}
.service-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 1rem;
    background-color: var(--primary);
}
.service-category-badge {
    background: rgba(17, 24, 40, 0.85);
    color: white;
    backdrop-filter: blur(6px);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.service-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-icon-box {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: -38px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
}
.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}
.service-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.service-features-list {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.service-features-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-features-list .check-icon {
    color: var(--secondary);
    font-weight: 800;
}
.service-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.service-wa-btn {
    width: 38px;
    height: 38px;
    background-color: #ecfdf5;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid #a7f3d0;
}
.service-wa-btn:hover {
    background-color: var(--accent-green);
    color: white;
    transform: scale(1.1);
}

/* Compliance Section & Cards */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}
.compliance-item-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
html[dir="rtl"] .compliance-item-card {
    border-left: none;
    border-right: 4px solid var(--secondary);
}
.compliance-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.compliance-item-title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}
.compliance-item-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* CR Certificate Document Box */
.cr-cert-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}
.cr-cert-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}
.cr-tag {
    background: #f8fafc;
    color: #334155;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.cr-tag strong {
    color: #0f172a;
    font-weight: 700;
}
.cr-download-btn-compact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #2563eb;
    color: #ffffff !important;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid #1d4ed8;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
}
.cr-download-btn-compact:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(37, 99, 235, 0.25);
}

/* Quote & RFP Form Section */
.quote-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group.full-width {
    grid-column: span 2;
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    color: var(--text-primary);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.form-feedback-box {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: none;
}
.feedback-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.feedback-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Contact Page Layout */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}
.contact-card-box {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}
.contact-info-row {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.contact-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Corporate Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 4.5rem 0 0;
    margin-top: auto;
    border-top: 4px solid var(--secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}
.footer-heading {
    color: white;
    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: 40px;
    height: 2px;
    background: var(--secondary);
}
html[dir="rtl"] .footer-heading::after {
    left: auto;
    right: 0;
}
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links-list a:hover {
    color: white;
    transform: translateX(4px);
}
html[dir="rtl"] .footer-links-list a:hover {
    transform: translateX(-4px);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #94a3b8;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Floating WhatsApp Widget (Circular Icon + Hover 'Need Help?' Tooltip) */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}
html[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 28px;
}
.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #2ae06d 0%, #0f7a6e 100%);
}
.whatsapp-svg-icon {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    flex-shrink: 0;
}
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0f172a;
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}
html[dir="rtl"] .whatsapp-tooltip {
    right: auto;
    left: calc(100% + 14px);
    transform: translateY(-50%) translateX(-10px);
    font-family: 'Amiri', serif;
    font-size: 0.98rem;
}
html[dir="rtl"] .whatsapp-tooltip::after {
    right: auto;
    left: -6px;
    border-width: 6px 6px 6px 0;
    border-color: transparent #0f172a transparent transparent;
}
.floating-whatsapp:hover .whatsapp-tooltip,
.floating-whatsapp:focus .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}
.whatsapp-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    animation: waPulse 2.2s infinite;
    z-index: -1;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* 404 & 500 Error Page Styles */
.error-page-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem;
}
.error-code {
    font-size: 7rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}
.error-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.error-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Optimizations (All Devices)
   ========================================================================== */

/* 1. Tablet & Mobile Navigation Header & Clean Dropdown Menu (<= 992px) */
@media (max-width: 992px) {
    /* Super Compact, Elegant Mobile Top Bar */
    .top-bar {
        background: #0b1528 !important;
        padding: 4px 0 !important;
        font-size: 0.72rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .top-bar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        padding: 0 1rem !important;
    }
    .top-bar-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        flex-wrap: nowrap !important;
    }
    .top-bar-info a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        text-decoration: none !important;
        line-height: 1.25 !important;
    }
    .top-bar-info a[href^="tel"] {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
    }
    .top-bar-info a[href^="mailto"] {
        font-size: 0.68rem !important;
        font-weight: 500 !important;
        color: #94a3b8 !important;
    }
    .top-bar-svg {
        width: 11px !important;
        height: 11px !important;
        min-width: 11px !important;
        color: #60a5fa !important;
    }
    .top-bar-cr, .top-bar-location {
        display: none !important;
    }

    /* Small, Sleek Language Switcher */
    .top-bar-actions {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
    }
    html[dir="rtl"] .top-bar-actions {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    .lang-switcher-btn {
        padding: 2px 7px !important;
        font-size: 0.70rem !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        gap: 3px !important;
        height: 22px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .lang-switcher-btn:hover {
        background: #2563eb !important;
        border-color: #2563eb !important;
    }

    /* Main Navigation Header (Clean Left Brand, Right Toggle) */
    .main-header {
        padding: 0.45rem 0 !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    }
    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        padding: 0 1rem !important;
    }
    .brand {
        display: flex !important;
        align-items: center !important;
        gap: 0.65rem !important;
        margin: 0 !important;
        text-decoration: none !important;
    }
    .brand-logo-img {
        height: 38px !important;
        width: auto !important;
    }
    .brand-name-en {
        font-size: 1.10rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
    .brand-name-ar {
        font-size: 0.82rem !important;
        line-height: 1 !important;
        margin-top: 2px !important;
    }

    /* Animated Hamburger Toggle */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        width: 38px !important;
        height: 38px !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        padding: 6px !important;
        transition: all 0.25s ease !important;
        z-index: 10002 !important;
        outline: none !important;
        margin-left: auto !important;
    }
    html[dir="rtl"] .mobile-toggle {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    .mobile-toggle:hover {
        background: #e2e8f0 !important;
    }
    .mobile-toggle .bar {
        width: 20px !important;
        height: 2.2px !important;
        background-color: var(--primary) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }
    .mobile-toggle.active {
        background: #fee2e2 !important;
        border-color: #fca5a5 !important;
    }
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(6.2px) rotate(45deg) !important;
        background-color: #dc2626 !important;
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-6.2px) rotate(-45deg) !important;
        background-color: #dc2626 !important;
    }

    /* ZERO OVERLAY - No darkening, No blur */
    .nav-overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Direct Header Dropdown Menu (Full Width Under Header Navbar, Left-aligned) */
    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 0 !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 1rem !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 3px solid #2563eb !important;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease, opacity 0.25s ease !important;
        gap: 0 !important;
        z-index: 10001 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        opacity: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .nav-menu.active { 
        max-height: 520px !important;
        padding: 0.75rem 1rem 1.25rem !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .mobile-drawer-header, .mobile-drawer-footer {
        display: none !important;
    }

    .nav-menu li {
        width: 100% !important;
        list-style: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        text-align: left !important;
    }
    html[dir="rtl"] .nav-menu li, body.arabic-mode .nav-menu li {
        text-align: right !important;
    }
    .nav-menu li:last-child {
        border-bottom: none !important;
    }
    
    .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 0.8rem 0.5rem !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        transition: all 0.2s ease !important;
        border: none !important;
        text-decoration: none !important;
        width: 100% !important;
    }
    html[dir="rtl"] .nav-link, body.arabic-mode .nav-link {
        text-align: right !important;
        justify-content: flex-start !important;
    }
    .nav-link:hover, .nav-link.active {
        color: #2563eb !important;
        background: transparent !important;
        font-weight: 700 !important;
        padding-left: 0.75rem !important;
    }
    html[dir="rtl"] .nav-link:hover, html[dir="rtl"] .nav-link.active {
        padding-left: 0.5rem !important;
        padding-right: 0.75rem !important;
    }
    
    .nav-menu .btn-primary {
        margin-top: 0.75rem !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        justify-content: center !important;
        display: flex !important;
        border-radius: 6px !important;
    }
}

/* 2. Mobile Smartphones Specific (<= 640px) */
@media (max-width: 640px) {
    /* Compact Hero Section Adjustments */
    .hero-slider-container {
        min-height: 330px !important;
        height: auto !important;
        padding: 1.25rem 0 2.25rem !important;
    }
    .hero-slide-badge {
        font-size: 0.68rem !important;
        padding: 0.20rem 0.55rem !important;
        margin-bottom: 0.45rem !important;
        border-radius: 20px !important;
    }
    .hero-slide-title {
        font-size: 1.35rem !important;
        line-height: 1.24 !important;
        margin-bottom: 0.45rem !important;
        letter-spacing: -0.2px !important;
    }
    .arabic-mode .hero-slide-title {
        font-size: 1.45rem !important;
        line-height: 1.32 !important;
    }
    .hero-slide-desc {
        font-size: 0.80rem !important;
        line-height: 1.42 !important;
        margin-bottom: 0.75rem !important;
        max-width: 100% !important;
    }
    .arabic-mode .hero-slide-desc {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }
    .hero-slide-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        align-items: center !important;
    }
    .btn-slider-primary, .btn-slider-glass {
        width: auto !important;
        flex: 1 1 auto !important;
        max-width: 165px !important;
        justify-content: center !important;
        padding: 0.48rem 0.85rem !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    
    /* Stats Bar */
    .hero-stats-bar {
        padding: 0.85rem 0;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .stat-item {
        padding: 0.35rem 0.5rem;
    }
    .stat-num-val {
        font-size: 1.45rem;
    }
    .stat-label-val {
        font-size: 0.75rem;
    }

    /* Single Banner Mode (Mode 2) */
    .hero-section {
        padding: 2.5rem 0 3rem;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Typography & Sections */
    .section-title {
        font-size: 1.6rem;
    }
    .arabic-mode .section-title {
        font-size: 1.75rem;
    }
    .about-grid h2.section-title {
        font-size: 1.5rem;
    }
    
    /* Services & Cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card-img {
        height: 180px;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .why-card {
        padding: 1.4rem 1.25rem;
    }
    
    /* Forms on Mobile */
    .form-grid-2, .vm-cards-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .form-control, input[type="text"], input[type="email"], input[type="tel"], select, textarea {
        font-size: 16px !important; /* Prevents iOS auto-zoom */
    }
    .quote-wrapper {
        padding: 1.35rem 1rem;
    }
    
    /* Floating WhatsApp Button on Phones */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    html[dir="rtl"] .floating-whatsapp {
        right: auto;
        left: 20px;
    }
    .whatsapp-svg-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Footer Bottom on Mobile */
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* 3. Small Screen Fine-Tuning (<= 400px) */
@media (max-width: 400px) {
    .brand-name-en {
        font-size: 1rem;
    }
    .brand-logo-img {
        height: 36px;
    }
    .hero-slide-title {
        font-size: 1.5rem;
    }
    .stats-strip, .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Why Choose Alconnexion - High-Impact Modern Corporate Grid (Balanced)
   ========================================================================== */
.why-choose-section {
    background-color: #f8fafc;
    position: relative;
    padding: 5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.why-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.85rem 1.65rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    border-color: #93c5fd;
    box-shadow: 0 16px 22px -5px rgba(37, 99, 235, 0.09), 0 6px 8px -4px rgba(37, 99, 235, 0.04);
}
.why-card:hover::before {
    opacity: 1;
}
.why-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}
.why-number-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
    letter-spacing: -0.5px;
}
.why-pill-badge {
    color: #059669;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}
.why-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
    line-height: 1.35;
    min-height: 2.7rem;
    display: flex;
    align-items: center;
}
.arabic-mode .why-card-title {
    font-family: 'Amiri', serif;
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    min-height: 2.7rem;
    display: flex;
    align-items: center;
}
.why-card-desc {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}
.arabic-mode .why-card-desc {
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ==========================================================================
   Dual Hero Mode Engine: Cinematic Slider & Classic Luxury Banner
   ========================================================================== */

/* Cinematic Hero Slider (Perfect Sweet-Spot Viewport Balance) */
.hero-slider-section {
    position: relative;
    background-color: #070e1c;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 485px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1.06);
    transition: transform 7s ease-out;
    z-index: 1;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(7, 14, 28, 0.94) 0%, 
        rgba(7, 14, 28, 0.82) 42%, 
        rgba(7, 14, 28, 0.45) 80%,
        rgba(7, 14, 28, 0.25) 100%
    );
    z-index: 2;
}
html[dir="rtl"] .hero-slide-overlay {
    background: linear-gradient(
        270deg, 
        rgba(7, 14, 28, 0.94) 0%, 
        rgba(7, 14, 28, 0.82) 42%, 
        rgba(7, 14, 28, 0.45) 80%,
        rgba(7, 14, 28, 0.25) 100%
    );
}
.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 0;
    color: #ffffff;
}
.hero-slide .hero-slide-badge,
.hero-slide .hero-slide-title,
.hero-slide .hero-slide-desc,
.hero-slide .hero-slide-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.active .hero-slide-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}
.hero-slide.active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
.hero-slide.active .hero-slide-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}
.hero-slide.active .hero-slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.38rem 1.05rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 1.1rem;
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}
.hero-slide-title {
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: #ffffff;
}
.arabic-mode .hero-slide-title {
    font-family: 'Amiri', serif;
    font-size: 3.2rem;
    line-height: 1.25;
    letter-spacing: normal;
}
.highlight-text {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero-slide-desc {
    font-size: 1.1rem;
    line-height: 1.62;
    color: #cbd5e1;
    margin-bottom: 1.85rem;
    max-width: 680px;
}
.arabic-mode .hero-slide-desc {
    font-size: 1.18rem;
    line-height: 1.72;
}
.hero-slide-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}
.btn-slider-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.96rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.btn-slider-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.55);
}
.btn-slider-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.96rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.btn-slider-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}
/* Side arrows removed for ultra-clean, unobstructed corporate luxury view */
.slider-arrow-btn {
    display: none !important;
}
.slider-indicators-wrap {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 34px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease;
}
.slider-dot.active {
    width: 52px;
    background: rgba(255, 255, 255, 0.35);
}
.slider-dot-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #38bdf8;
}
.slider-dot.active .slider-dot-progress {
    animation: progressBar 4.5s linear infinite;
}
@keyframes progressBar {
    0% { width: 0%; }
    100% { width: 100%; }
}
.hero-stats-bar {
    background: rgba(11, 21, 40, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.15rem 0;
    position: relative;
    z-index: 5;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0.85rem;
}
.stat-item:last-child {
    border-right: none;
}
html[dir="rtl"] .stat-item {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}
html[dir="rtl"] .stat-item:last-child {
    border-left: none;
}
.stat-num-val {
    font-size: 1.95rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #60a5fa;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-label-val {
    font-size: 0.84rem;
    color: #cbd5e1;
    font-weight: 600;
}
@media (max-width: 900px) {
    .hero-slide-title {
        font-size: 2.3rem;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .slider-arrow-btn {
        display: none;
    }
}

/* About & Vision/Mission Layout - Clean Balanced Typography */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.about-grid h2.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 1.25rem;
    color: #0f172a;
    letter-spacing: -0.3px;
}
.arabic-mode .about-grid h2.section-title {
    font-family: 'Amiri', serif;
    font-size: 1.95rem;
    line-height: 1.45;
}
.about-grid p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Sleek Minimal Footer Contact List with Compact Inline SVG Icons */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.90rem;
    color: #cbd5e1;
}
.footer-contact-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    background: transparent;
    border: none;
}
.footer-contact-icon svg {
    width: 15px;
    height: 15px;
    color: #60a5fa;
    stroke-width: 2.2;
    transition: transform 0.2s ease, color 0.2s ease;
}
.footer-contact-item:hover .footer-contact-icon svg {
    transform: scale(1.15);
    color: #93c5fd;
}
.footer-contact-icon.gold-icon svg {
    color: #fbbf24;
}
.footer-contact-item:hover .footer-contact-icon.gold-icon svg {
    color: #fde68a;
}
.footer-contact-text {
    flex: 1;
    line-height: 1.5;
}
.footer-contact-text strong {
    color: #ffffff;
    font-weight: 600;
    margin-right: 4px;
}
html[dir="rtl"] .footer-contact-text strong {
    margin-right: 0;
    margin-left: 4px;
}
.footer-contact-text a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contact-text a:hover {
    color: #93c5fd;
    text-decoration: underline;
}
.cr-badge-num {
    font-family: 'Inter', monospace;
    font-weight: 700;
    color: #ffd27d;
    letter-spacing: 0.5px;
}

/* Top Bar Sleek Vector SVG Micro-Icons */
.top-bar-svg {
    width: 13.5px;
    height: 13.5px;
    color: #60a5fa;
    vertical-align: -2px;
    margin-right: 5px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}
html[dir="rtl"] .top-bar-svg {
    margin-right: 0;
    margin-left: 5px;
}
.top-bar-svg.gold-svg {
    color: #fbbf24;
}
.top-bar-info a:hover .top-bar-svg {
    color: #ffffff;
    transform: scale(1.12);
}


/* ==========================================================================
   Corporate Overview & Profile Mobile Optimizations (Clean & Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.25rem !important;
    }
    .about-image-wrap {
        margin-top: 0.5rem !important;
    }
    .about-image-wrap img {
        height: 320px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 14px !important;
    }
    .about-cr-pill {
        bottom: -12px !important;
        right: 15px !important;
        padding: 0.75rem 1.15rem !important;
    }
    html[dir="rtl"] .about-cr-pill, body.arabic-mode .about-cr-pill {
        right: auto !important;
        left: 15px !important;
    }
}

@media (max-width: 640px) {
    .about-grid {
        gap: 1.5rem !important;
    }
    .about-grid .section-tag {
        font-size: 0.80rem !important;
        margin-bottom: 0.45rem !important;
    }
    .about-grid h2.section-title {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.95rem !important;
        letter-spacing: -0.2px !important;
    }
    .arabic-mode .about-grid h2.section-title {
        font-size: 1.50rem !important;
        line-height: 1.42 !important;
    }
    .about-grid p {
        font-size: 0.92rem !important;
        line-height: 1.62 !important;
        margin-bottom: 0.85rem !important;
    }
    .about-grid .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0.8rem 1.25rem !important;
    }
    .about-grid div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }
    .about-image-wrap {
        margin-top: 0.75rem !important;
    }
    .about-image-wrap img {
        height: 220px !important;
        border-radius: 12px !important;
    }
    .about-cr-pill {
        position: static !important;
        margin-top: 10px !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 0.65rem 1rem !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #e2e8f0 !important;
        border-left: 4px solid var(--accent-gold) !important;
    }
    html[dir="rtl"] .about-cr-pill, body.arabic-mode .about-cr-pill {
        border-left: 1px solid #e2e8f0 !important;
        border-right: 4px solid var(--accent-gold) !important;
    }
}


/* ==========================================================================
   Corporate Footer Mobile & Tablet Responsive Optimizations (All Devices)
   ========================================================================== */
@media (max-width: 992px) {
    .footer {
        padding: 3.5rem 0 0 !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.25rem !important;
        margin-bottom: 2.5rem !important;
    }
    .footer-grid > div:first-child {
        grid-column: span 2 !important;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2.75rem 0 0 !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 2rem !important;
    }
    .footer-grid > div:first-child {
        grid-column: span 1 !important;
    }
    .footer-heading {
        font-size: 1.05rem !important;
        margin-bottom: 1.15rem !important;
        padding-bottom: 0.4rem !important;
    }
    .footer-links-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.65rem 1rem !important;
    }
    .footer-links-list a {
        font-size: 0.88rem !important;
        padding: 4px 0 !important;
    }
    .footer-contact-list {
        gap: 0.85rem !important;
    }
    .footer-contact-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        font-size: 0.86rem !important;
    }
    .footer-contact-icon {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 2px !important;
    }
    .footer-contact-icon svg {
        width: 14px !important;
        height: 14px !important;
    }
    .footer-contact-text {
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
    }
    .footer-contact-text strong {
        display: block !important;
        font-size: 0.80rem !important;
        color: #94a3b8 !important;
        margin-bottom: 2px !important;
    }
    
    /* Footer Bottom Strip */
    .footer-bottom {
        padding: 1.25rem 0 !important;
    }
    .footer-bottom .container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.45rem !important;
    }
    .copyright-bar {
        font-size: 0.82rem !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
    .developer-credit {
        font-size: 0.80rem !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
}


/* ==========================================================================
   Contact Page Mobile & Tablet Responsive Optimizations (All Devices)
   ========================================================================== */
@media (max-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .contact-card-box {
        padding: 2rem 1.75rem !important;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 2.75rem 0 2.25rem !important;
    }
    .page-header h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    .page-header p {
        font-size: 0.90rem !important;
    }
    .contact-layout-grid {
        gap: 1.5rem !important;
    }
    .contact-card-box {
        padding: 1.5rem 1.25rem !important;
        border-radius: 12px !important;
    }
    .contact-card-box h2 {
        font-size: 1.4rem !important;
        line-height: 1.35 !important;
    }
    .contact-info-list {
        gap: 1.25rem !important;
        margin-top: 1.25rem !important;
    }
    .contact-info-row {
        gap: 0.85rem !important;
    }
    .contact-icon-circle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 1.15rem !important;
    }
}