/* ==========================================================================
   ENTER TELECOM - PREMIUM GLOBAL DESIGN SYSTEM (2026)
   ========================================================================== */

/* 1. Imports & Core Setup */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette */
    --primary: #0a2540;
    --primary-rgb: 10, 37, 64;
    --primary-light: #163e65;
    --primary-dark: #051424;
    --accent: #ffd700;          /* Premium Gold */
    --accent-rgb: 255, 215, 0;
    --secondary: #00d2ff;       /* Electric Cyan */
    --secondary-rgb: 0, 210, 255;
    
    /* Neutral Colors */
    --bg-white: #ffffff;
    --bg-light: #f6f9fc;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    /* Utilities */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(10, 37, 64, 0.08), 0 4px 6px -2px rgba(10, 37, 64, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(10, 37, 64, 0.12), 0 10px 10px -5px rgba(10, 37, 64, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* ألوان مستخرجة من شعار الشركة */
    --brand-gold: #c09c60;      /* ذهبي الشعار */
    --brand-gold-dark: #9c6c00;
    --brand-indigo: #242478;    /* كحلي الشعار */
    --brand-taupe: #6c6048;

    /* ارتفاع الشريط العلوي: صفّان على سطح المكتب، صف واحد على الجوال */
    --nav-h: 119px;   /* 68 صف علوي + 3 حدّ ذهبي + 48 شريط القائمة */
}

/* 2. Global Resets & Scrollbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cairo', 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* 3. Base Elements */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* 4. Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 4px 18px -10px rgba(10, 37, 64, 0.35);
}

/* الصف الأول: الشعار والإجراءات على خلفية فاتحة كي يبقى الشعار مقروءاً */
.nav-top { background: var(--bg-white); }
.nav-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 68px;
}

.logo { display: flex; align-items: center; }
.logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--brand-taupe);
    padding: 8px 12px;
    border-radius: 10px;
    direction: ltr;
}
.nav-phone i { color: var(--brand-gold); }
.nav-phone:hover { color: var(--brand-indigo); background: rgba(192, 156, 96, 0.1); }

/* الصف الثاني: شريط ملوّن يحدّد عناصر القائمة، بتدرّج كحلي الصفحة إلى كحلي الشعار */
.nav-band {
    background: linear-gradient(90deg, var(--primary) 0%, var(--brand-indigo) 100%);
    border-top: 3px solid var(--brand-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    min-height: 48px;
}

.nav-menu li { position: relative; display: flex; align-items: stretch; }

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    position: relative;
    transition: color 0.2s, background 0.2s;
}

/* مؤشّر ذهبي أسفل العنصر النشط */
.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand-gold);
    transform: scaleX(0);
    transition: transform 0.25s;
}
.nav-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-menu li a:hover::after,
.nav-menu li a.active::after { transform: scaleX(1); }
.nav-menu li a.active { color: var(--brand-gold); background: rgba(0, 0, 0, 0.16); }

/* Dropdown Menu styling */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background: var(--bg-white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(10, 37, 64, 0.05);
    list-style: none;
    padding: 8px;
    z-index: 100;
    animation: slideUp 0.3s ease;
    /* المنسدلة تنفصل عن الشريط الملوّن فلا ترث تنسيقه */
    flex-direction: column;
}
.dropdown-menu li { display: block; }

html[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

html[dir="ltr"] .dropdown-menu {
    left: 0;
    right: auto;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: none;
    white-space: normal;
}
/* لا مؤشّر ذهبي داخل المنسدلة */
.dropdown-menu li a::after { display: none; }

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: rgba(192, 156, 96, 0.14);
    color: var(--brand-indigo);
}

.dropdown-arrow {
    font-size: 0.75rem;
    margin-right: 4px;
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Language switch button */
.lang-btn {
    background: linear-gradient(135deg, var(--brand-indigo), var(--primary));
    color: var(--bg-white) !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.lang-btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 210, 255, 0.3);
}

.nav-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--primary);
}

/* 5. Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(5, 20, 36, 0.88) 0%, rgba(10, 37, 64, 0.82) 100%), url('../images/hero.jpg') center/cover no-repeat;
    margin-top: var(--nav-h);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--bg-white);
}

/* Decorative background tech grid/lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0, 210, 255, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(255, 215, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
    animation: fadeIn 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #e6c200);
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #e6c200, var(--accent));
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

/* 6. Stats Section */
.stats {
    background: var(--bg-white);
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    background: var(--bg-white);
    padding: 35px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(10, 37, 64, 0.03);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 7. General Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 12px auto 0;
    border-radius: 5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 8. About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.9;
}

/* Premium Image Wrap and Effects */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.about-image:hover .image-wrapper img {
    transform: scale(1.05);
}

/* Abstract design vectors behind images */
.about-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    top: 20px;
    z-index: -1;
    transition: var(--transition-normal);
}

html[dir="rtl"] .about-image::after {
    right: 20px;
    left: auto;
}

html[dir="ltr"] .about-image::after {
    left: 20px;
    right: auto;
}

.about-image:hover::after {
    transform: translate(-10px, -10px);
}

/* Placeholder replacements with vector feel */
.image-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, transparent 60%);
    top: -50%;
    left: -50%;
}

.image-placeholder i {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
}

.image-placeholder span {
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* 9. Services Grid */
.services-section {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid rgba(10, 37, 64, 0.04);
    padding: 45px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    background: var(--bg-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 16px rgba(10, 37, 64, 0.15);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    transform: rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.3);
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9rem;
}

.service-card:hover .service-link {
    color: var(--secondary);
}

.service-link i {
    transition: var(--transition-fast);
}

html[dir="rtl"] .service-card:hover .service-link i {
    transform: translateX(-6px);
}

html[dir="ltr"] .service-card:hover .service-link i {
    transform: translateX(6px);
}

/* 10. Clients & Partners Section */
.clients-section {
    background-color: var(--bg-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.client-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    overflow: hidden;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-logo-box {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.15rem;
    border: 1px solid rgba(10, 37, 64, 0.05);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    padding: 16px;
    text-align: center;
    transition: var(--transition-normal);
}

.client-item:hover .client-logo-box {
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.15);
}

.client-logo-img,
.partner-logo-img {
    max-height: 80px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.client-item:hover .client-logo-img,
.client-item:hover .partner-logo-img {
    transform: scale(1.06);
}

/* Service Card Image Header */
.service-card-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

/* 11. Page Banner */
.page-banner {
    background: linear-gradient(135deg, rgba(5, 20, 36, 0.9) 0%, rgba(10, 37, 64, 0.85) 100%), url('../images/hero.jpg') center/cover no-repeat;
    padding: calc(var(--nav-h) + 60px) 0 80px;
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 210, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.page-banner p {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.page-content {
    background-color: var(--bg-white);
}

/* 12. Contact Form & Info */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    width: 52px;
    height: 52px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.15);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.3);
}

/* Interactive Form controls */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(10, 37, 64, 0.04);
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: 12px;
    font-family: 'Cairo', 'Outfit', sans-serif;
    font-size: 0.95rem;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
    outline: none;
}

/* 13. Footer Design */
.footer {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding-top: 80px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h3.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 36px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

html[dir="rtl"] .footer-col h3.footer-title::after {
    right: 0;
}
html[dir="ltr"] .footer-col h3.footer-title::after {
    left: 0;
}

.footer-col p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

html[dir="rtl"] .footer-links li a:hover {
    padding-right: 6px;
}
html[dir="ltr"] .footer-links li a:hover {
    padding-left: 6px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 0.95rem;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* 14. Floating Utilities (WhatsApp & Scroll Top) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

html[dir="rtl"] .whatsapp-float {
    left: 30px;
}
html[dir="ltr"] .whatsapp-float {
    right: 30px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .scroll-top {
    right: 30px;
}
html[dir="ltr"] .scroll-top {
    left: 30px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-light);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2);
}

/* 15. Keyframes Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* 16. Responsiveness */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 3px solid var(--brand-gold);
        gap: 4px;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }

    /* اللوحة بيضاء، فتعود الروابط للّون الداكن بدل أبيض الشريط */
    .nav-menu li { display: block; }
    .nav-menu li a {
        display: block;
        color: var(--text-dark);
        border-radius: 10px;
        padding: 12px 14px;
        font-size: 0.95rem;
        white-space: normal;
    }
    .nav-menu li a::after { display: none; }
    .nav-menu li a:hover { background: rgba(192, 156, 96, 0.12); color: var(--brand-indigo); }
    .nav-menu li a.active {
        background: rgba(192, 156, 96, 0.18);
        color: var(--brand-indigo);
        box-shadow: inset 3px 0 0 var(--brand-gold);
    }
    html[dir="ltr"] .nav-menu li a.active { box-shadow: inset -3px 0 0 var(--brand-gold); }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 12px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-right: 20px;
        padding-left: 20px;
        background: var(--bg-light);
        margin-top: 8px;
    }
    
    .hero-content h1 { font-size: 2.2rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* الجوال: الشعار والإجراءات فقط، والقائمة تنسدل من الزرّ */
    :root { --nav-h: 64px; }
    .nav-top-inner { height: 64px; }
    .logo-img { height: 44px; }
    /* الشريط يفقد خلفيته ويصبح حاوية للقائمة المنسدلة فقط */
    .nav-band { background: none; border-top: none; }
    .nav-band .container { padding: 0; }
    .nav-phone { display: none; }
    
    .whatsapp-float {
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
    
    html[dir="rtl"] .whatsapp-float { left: 20px; }
    html[dir="ltr"] .whatsapp-float { right: 20px; }
    
    .scroll-top {
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    html[dir="rtl"] .scroll-top { right: 20px; }
    html[dir="ltr"] .scroll-top { left: 20px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
}

/* 17. Live Status Pill & Pulse Indicator */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.5);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* 18. Interactive Solution Cost Calculator Widget */
.calculator-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 210, 255, 0.2);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-group label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.calc-group input,
.calc-group select {
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-light);
}

.calc-group input:focus,
.calc-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
    outline: none;
}

/* 19. Interactive FAQ Accordion */
.faq-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(10, 37, 64, 0.06);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    padding: 22px 28px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 28px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

/* =============================================
   QUOTE PAGE STYLES
   ============================================= */

/* Nav Quote Button */
.nav-quote-btn {
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark)) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: var(--transition-fast) !important;
    box-shadow: 0 4px 14px rgba(192, 156, 96, 0.45) !important;
}
.nav-quote-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(192, 156, 96, 0.6) !important;
    color: #fff !important;
}
.nav-quote-btn.active {
    background: linear-gradient(135deg, var(--accent), #e6a000) !important;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4) !important;
}

/* Quote Banner */
.quote-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 100px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.quote-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,210,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.quote-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.quote-banner h1 { color: #fff; font-size: 2.5rem; margin-bottom: 12px; }
.quote-banner p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; }

/* Quote Layout */
.quote-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}

/* Quote Sidebar */
.quote-sidebar-inner {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: sticky;
    top: 100px;
    color: #fff;
}
.quote-sidebar-inner h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
}
.quote-why-list {
    list-style: none;
    margin-bottom: 30px;
}
.quote-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    line-height: 1.6;
}
.quote-why-list li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }

/* Quick Contact */
.quote-contact-quick { margin-bottom: 28px; }
.quote-contact-quick h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}
.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 10px;
    text-decoration: none;
    color: #fff;
    transition: var(--transition-fast);
}
.quick-contact-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(-4px);
    color: #fff;
}
.quick-contact-item.whatsapp { border-color: rgba(37,211,102,0.4); }
.quick-contact-item.whatsapp:hover { background: rgba(37,211,102,0.15); }
.quick-contact-item i { font-size: 1.2rem; color: var(--secondary); width: 22px; text-align: center; }
.quick-contact-item.whatsapp i { color: #25d366; }
.quick-contact-item span { font-size: 0.75rem; color: rgba(255,255,255,0.55); display: block; }
.quick-contact-item strong { font-size: 0.9rem; }

/* Services Pills */
.quote-services-covered h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}
.services-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.spill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition-fast);
}
.spill:hover { background: rgba(0,210,255,0.2); border-color: var(--secondary); }
.spill i { color: var(--secondary); font-size: 0.72rem; }

/* Quote Form Wrapper */
.quote-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid rgba(10, 37, 64, 0.06);
}

/* Form Section Title */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.form-section-title span {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
}
.form-step-badge {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--secondary), #0099cc);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    border: 1.5px solid rgba(10, 37, 64, 0.12);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12);
}
.form-group input.is-invalid,
.form-group select.is-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}
.req { color: #e53e3e; font-size: 0.8rem; margin-right: 2px; }
.opt { color: var(--text-muted); font-weight: 400; font-size: 0.82rem; }
.field-error { font-size: 0.8rem; color: #e53e3e; font-weight: 600; min-height: 18px; }

/* File Upload Zone */
.file-upload-zone {
    border: 2px dashed rgba(10, 37, 64, 0.18);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    background: var(--bg-light);
    transition: var(--transition-fast);
    cursor: pointer;
}
.file-upload-zone:hover, .file-upload-zone.drag-over {
    border-color: var(--secondary);
    background: rgba(0, 210, 255, 0.04);
}
.file-upload-zone > i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 12px;
    display: block;
}
.file-upload-zone p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 4px; }
.file-hint { font-size: 0.78rem !important; color: var(--text-light) !important; }
.file-upload-label {
    color: var(--secondary);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* File List */
.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary);
}
.file-item i { color: var(--secondary); }
.file-item .file-remove {
    margin-right: auto;
    color: #e53e3e;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 0.85rem;
    padding: 0;
}

/* Consent */
.consent-group { margin-top: 8px; }
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Submit Button */
.quote-submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius-md);
}
.quote-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Quote Success */
.quote-success-msg {
    text-align: center;
    padding: 60px 30px;
}
.success-icon {
    font-size: 5rem;
    color: #48bb78;
    margin-bottom: 20px;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes successPop {
    from { transform: scale(0.3); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.quote-success-msg h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; }
.quote-success-msg p  { color: var(--text-muted); font-size: 1rem; }

/* Quote CTA Banner (on contact page) */
.quote-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    margin-bottom: 48px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: var(--shadow-md);
}
.quote-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.quote-cta-content > i {
    font-size: 2.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}
.quote-cta-content h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.quote-cta-content p  { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* Responsive Quote */
@media (max-width: 900px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }
    .quote-sidebar-inner {
        position: static;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .quote-cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .quote-cta-content { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .quote-form-wrapper { padding: 24px 18px; }
    .quote-banner h1 { font-size: 1.8rem; }
    .nav-quote-btn { font-size: 0.8rem !important; padding: 7px 14px !important; }
}



/* ===== BlackStone Products Catalog ===== */
.bs-products-section { padding: 80px 0; background: #f6f8fb; }
.bs-cat { margin-bottom: 48px; }
.bs-cat-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    padding-inline-start: 14px;
    border-inline-start: 5px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.bs-cat-title i { color: var(--secondary); }
.bs-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.bs-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bs-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(10,37,64,0.15); }
.bs-product-img {
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bs-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}
.bs-product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bs-product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.5;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bs-part {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    background: #eef7ff;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: monospace;
}
.bs-product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}
.bs-detail {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 4px;
}
.bs-detail:hover { color: var(--primary); }

/* شريط البحث والتصفية لكتالوج بلاكستون */
.bs-toolbar {
    position: sticky;
    top: calc(var(--nav-h) + 4px);
    z-index: 20;
    background: rgba(246, 248, 251, 0.94);
    backdrop-filter: blur(8px);
    padding: 16px 0 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}
.bs-search-box {
    position: relative;
    max-width: 560px;
    margin: 0 auto 14px;
}
.bs-search-box i {
    position: absolute;
    top: 50%;
    inset-inline-start: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.bs-search-box input {
    width: 100%;
    padding: 13px 46px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--primary);
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 30px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bs-search-box input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}
.bs-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.bs-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}
.bs-chip:hover { border-color: var(--secondary); color: var(--secondary); }
.bs-chip span {
    background: #eef2f7;
    color: var(--text-muted);
    font-size: 0.72rem;
    padding: 1px 8px;
    border-radius: 20px;
}
.bs-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.bs-chip.active span { background: rgba(255, 255, 255, 0.2); color: #fff; }
.bs-result-count {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 14px 0 26px;
}
.bs-empty {
    text-align: center;
    color: var(--text-muted);
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 40px 20px;
    margin-bottom: 40px;
}
.bs-cat-count {
    background: #eef2f7;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}
.bs-sub {
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
}
.bs-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
}
.bs-card-actions .bs-detail { margin-top: 0; }
.bs-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: var(--primary);
    background: #eef2f7;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.bs-quote:hover { background: var(--secondary); color: #fff; }
.bs-product-img img { cursor: zoom-in; }

@media (max-width: 600px) {
    .bs-product-img { height: 170px; }
    .bs-product-grid { grid-template-columns: 1fr; }
    .bs-toolbar { position: static; }
    .bs-chip { font-size: 0.78rem; padding: 7px 12px; }
}

/* ===== شعارات العملاء والشركاء الحقيقية ===== */
/* الشبكة الافتراضية 3 أعمدة صُمّمت لـ6 عناصر؛ مع 18 عميلاً نحتاج توزيعاً مرناً */
.clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.client-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
}
.client-name {
    display: block;
    padding: 0 12px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary);
    text-align: center;
}
/* شعارات العلامات التجارية أعرض من شعارات الجهات، فتُعرض بمساحة أوسع */
.partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.partners-grid .client-logo-box { height: 110px; }
.partner-logo-img { max-height: 62px; }

/* ===== معرض صور المشاريع المنفّذة ===== */
.projects-section { padding: 80px 0; background: #f6f8fb; }
.project-group { margin-bottom: 48px; }
.project-group-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    padding-inline-start: 14px;
    border-inline-start: 5px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.project-group-title i { color: var(--secondary); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.project-card {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #e8edf3;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(10, 37, 64, 0.28);
}
.project-card:hover img { transform: scale(1.06); }

@media (max-width: 600px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .client-name { font-size: 0.75rem; }
}

/* الشعار الحقيقي نسبته 4:3 وفيه نص عربي دقيق، فيحتاج ارتفاعاً أكبر من الأيقونة السابقة */
.logo-img { height: 62px; }
@media (max-width: 768px) {
    .logo-img { height: 52px; }
}

/* ===== صفحة الأوراق والشهادات الرسمية ===== */
.docs-section { padding: 20px 0 80px; background: #f6f8fb; }

/* شريط تنقّل بين الفئات */
.doc-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}
.doc-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 30px;
    transition: all 0.2s;
}
.doc-chip i { color: var(--secondary); }
.doc-chip:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(0, 210, 255, 0.4);
}
.doc-chip span {
    background: #eef2f7;
    color: var(--text-muted);
    font-size: 0.72rem;
    padding: 1px 8px;
    border-radius: 20px;
}

.doc-group { margin-bottom: 56px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.doc-group-head {
    padding-inline-start: 16px;
    border-inline-start: 5px solid var(--secondary);
    margin-bottom: 24px;
}
.doc-group-head h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}
.doc-group-head h3 i { color: var(--secondary); }
.doc-group-head p {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 760px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.doc-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px -12px rgba(10, 37, 64, 0.25);
}
/* المستندات ورقية النسبة، فنعرضها كاملة داخل إطار فاتح بدل قصّها */
.doc-thumb {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #eef2f7;
    border-bottom: 1px solid #e2e8f0;
}
.doc-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    cursor: zoom-in;
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.12);
}
.doc-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.doc-issuer {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--secondary);
    text-transform: uppercase;
}
.doc-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.5;
}
.doc-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex: 1;
}
.doc-num {
    width: fit-content;
    font-family: monospace;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0369a1;
    background: #eef7ff;
    padding: 4px 10px;
    border-radius: 20px;
}

/* بطاقة تحميل الملف التعريفي */
.doc-profile {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 28px 30px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 18px;
    color: #fff;
}
.doc-profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    font-size: 1.7rem;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}
.doc-profile-text { flex: 1; min-width: 220px; }
.doc-profile-text h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.doc-profile-text p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }

.docs-note {
    margin-top: 26px;
    padding: 16px 20px;
    font-size: 0.86rem;
    color: var(--text-muted);
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    text-align: center;
}
.docs-note i { color: var(--secondary); margin-inline-end: 6px; }

@media (max-width: 600px) {
    .docs-grid { grid-template-columns: 1fr; }
    .doc-chip { font-size: 0.8rem; padding: 8px 13px; }
    .doc-profile { padding: 22px; }
}

/* ===== الهيكل التنظيمي ===== */
.org-section { padding: 80px 0; background: #f6f8fb; }
.org-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.org-stats span {
    padding: 8px 18px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 30px;
}
.org-stats strong { color: var(--primary); font-size: 1.05rem; margin-inline-end: 5px; }

.org-chart { position: relative; }
.org-top { display: flex; justify-content: center; }
.org-top-box {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 16px 38px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    box-shadow: 0 12px 26px -10px rgba(10, 37, 64, 0.5);
}
.org-top-box i { color: var(--accent); }

/* الجذع النازل من المدير العام إلى صف الإدارات */
.org-top::after {
    content: '';
    position: absolute;
    top: 100%;
    width: 2px;
    height: 28px;
    background: #cbd5e1;
}
.org-branches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.org-branch { position: relative; }
/* الخط الأفقي الواصل بين الإدارات، مقصوص عند الطرفين */
.org-branch::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 2px;
    background: #cbd5e1;
}
.org-branch:first-child::before { left: 50%; }
.org-branch:last-child::before { right: 50%; }
/* الوصلة الرأسية من الخط الأفقي إلى صندوق الإدارة */
.org-branch::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    width: 2px;
    height: 14px;
    background: #cbd5e1;
}
.org-unit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 12px;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary), #0ea5c9);
    border-radius: 12px;
    box-shadow: 0 8px 18px -8px rgba(0, 210, 255, 0.55);
}
.org-unit i { font-size: 1rem; }
.org-depts { list-style: none; margin-top: 16px; }
.org-dept {
    position: relative;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary);
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    transition: all 0.2s;
}
/* وصلة رأسية بين كل قسم والذي يسبقه */
.org-dept::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #cbd5e1;
}
.org-dept:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -8px rgba(0, 210, 255, 0.4);
}

/* عند التفاف الإدارات على أكثر من صف تصبح خطوط الربط الأفقية مضلِّلة
   وتترك أعقاباً معلّقة، فتُخفى ويكفي الترتيب البصري لبيان التبعية */
@media (max-width: 900px) {
    .org-branches { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .org-top::after,
    .org-branch::before,
    .org-branch::after { display: none; }
    .org-branches { margin-top: 20px; }
}
@media (max-width: 560px) {
    .org-branches { grid-template-columns: 1fr; row-gap: 30px; }
}

/* ===== أزرار الإجراء داخل بطاقة الخدمة ===== */
/* البطاقة لم تعد قابلة للنقر ككل، فالعنوان والرابط هما مدخلا الصفحة */
.service-card { cursor: default; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--secondary); }

.service-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 37, 64, 0.07);
}
.svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1 1 auto;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s;
}
.svc-btn i { font-size: 0.85rem; }
.svc-btn-primary {
    color: var(--primary-dark);
    background: var(--accent);
    box-shadow: 0 4px 12px -4px rgba(255, 215, 0, 0.6);
}
.svc-btn-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.svc-btn-ghost {
    color: var(--primary);
    background: transparent;
    border: 1px solid #cbd5e1;
}
.svc-btn-ghost:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* ===== شريط الإجراء أسفل صفحات الخدمات ===== */
.svc-cta-band {
    padding: 0 0 80px;
    background: var(--bg-light);
}
.svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    padding: 38px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 40px -20px rgba(10, 37, 64, 0.55);
}
.svc-cta-text { flex: 1 1 320px; }
.svc-cta-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.svc-cta-text p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.svc-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 6px 16px -6px rgba(255, 215, 0, 0.7);
}
.btn-accent:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .service-cta { flex-direction: column; }
    .svc-btn { width: 100%; }
    .svc-cta-inner { padding: 28px 22px; }
    .svc-cta-actions .btn { width: 100%; }
}

/* ===== الوكالة الحصرية وشبكة الموردين ===== */
.agency-feature {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 30px 34px;
    margin-bottom: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 40px -22px rgba(10, 37, 64, 0.6);
}
.agency-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 96px;
    padding: 12px;
    background: #fff;
    border-radius: 14px;
}
.agency-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.agency-text { flex: 1 1 320px; }
.agency-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--primary-dark);
    background: var(--accent);
    padding: 5px 13px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.agency-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; color: #fff; }
.agency-text p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); line-height: 1.8; }

.suppliers-head {
    padding-inline-start: 16px;
    border-inline-start: 5px solid var(--secondary);
    margin-bottom: 24px;
}
.suppliers-head h3 { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.suppliers-head p { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* شعارات الموردين مقصوصة من الملف التعريفي بهوامش موحّدة */
.partners-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.partners-grid .client-logo-box { height: 96px; padding: 14px; }
.partners-grid .partner-logo-img { max-height: 56px; }

/* ===============================================================
   هوية BlackStone و InfraStone وشبكة الاعتمادات الدولية
   =============================================================== */
.bs-hero-joint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.bs-hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}
.bs-brand-hero-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 45px -20px rgba(10, 37, 64, 0.15);
    margin-bottom: 50px;
    border: 1px solid #e2e8f0;
}
.bs-brand-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.bs-brand-hero-logo {
    text-align: center;
    background: linear-gradient(135deg, #0a2540, #001830);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.bs-brand-hero-logo img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* بطاقات المعايير الهندسية */
.bs-specs-section { margin-bottom: 60px; }
.bs-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.bs-spec-item {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bs-spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px -12px rgba(10, 37, 64, 0.15);
}
.bs-spec-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(217, 4, 41, 0.08);
    color: #d90429;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.bs-spec-item h3 { font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.bs-spec-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* شبكة شهادات واعتمادات بلاكستون و انفراستون */
.bs-trust-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
    border-radius: 24px;
    margin-bottom: 60px;
    border: 1px solid #e2e8f0;
}
.bs-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    margin-top: 36px;
}
.bs-trust-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: 0 12px 30px -15px rgba(10, 37, 64, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bs-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(10, 37, 64, 0.2);
}
.bs-trust-thumb {
    height: 240px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}
.bs-trust-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 12px;
}
.bs-trust-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bs-trust-issuer {
    font-size: 0.78rem;
    font-weight: 700;
    color: #d90429;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}
.bs-trust-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.bs-trust-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.bs-trust-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.bs-trust-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.bs-trust-btn-primary {
    background: var(--primary);
    color: #ffffff;
    flex: 1;
}
.bs-trust-btn-primary:hover {
    background: var(--primary-light);
}
.bs-trust-btn-outline {
    background: #f1f5f9;
    color: var(--primary);
    border: 1px solid #cbd5e1;
}
.bs-trust-btn-outline:hover {
    background: #e2e8f0;
}

/* ترقية شارة الوكالة الحصرية */
.agency-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.agency-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.agency-tag-gold { background: #ffd700; color: #0a2540; }
.agency-tag-usa { background: rgba(255, 255, 255, 0.2); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.4); }
.agency-tag-sgs { background: #ff5500; color: #ffffff; }

@media (max-width: 900px) {
    .bs-brand-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .agency-feature { padding: 22px; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .bs-brand-hero-card { padding: 24px; }
    .bs-trust-thumb { height: 200px; }
}
