/* ============================================
   Al-Hassan Company - Premium Medical Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
:root {
    --primary: #0a3360;
    --primary-dark: #072343;
    --primary-light: #0f5699;
    --accent: #00b4a0;
    --accent-light: #4fd1c5;
    --accent-dark: #009b8a;
    --teal: #14b8a6;
    --gold: #f59e0b;
    --bg: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Plus Jakarta Sans', 'Cairo', system-ui, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
    font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}


/* ==================== PRELOADER ==================== */

#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
    position: relative;
    width: 90px;
    height: 90px;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

.loader-ring:nth-child(2) {
    inset: 12px;
    border-right-color: var(--accent-light);
    animation: spin 1.5s linear infinite reverse;
}

.loader-ring:nth-child(3) {
    inset: 24px;
    border-bottom-color: var(--white);
    animation: spin 2s linear infinite;
}

.loader-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}


/* ==================== NAVBAR ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    height: 76px;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(10, 51, 96, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(10, 51, 96, 0.15));
}

.logo-text {
    line-height: 1.15;
}

.logo-text span {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    display: block;
}

.logo-text small {
    display: block;
    font-size: 0.68rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.nav-link.active,
.nav-link:hover::after {
    transform: scaleX(1);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 14px rgba(10, 51, 96, 0.25);
    transition: var(--transition);
    margin-left: 4px;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 51, 96, 0.35);
}

.lang-flag {
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
}

.nav-toggle:hover {
    background: var(--gray-100);
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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


/* ==================== HERO ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #071e3d 0%, #13747d 40%, #12747b 70%, #0a3360 100%);
    padding: 120px 32px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 180, 160, 0.18) 0%, transparent 60%), radial-gradient(ellipse 60% 80% at 80% 60%, rgba(15, 86, 153, 0.25) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 60% 20%, rgba(0, 180, 160, 0.12) 0%, transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 32px;
    animation: fadeInDown 0.7s ease both;
}

.hero-badge i {
    font-size: 0.95rem;
}

.hero-badge .badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.hero-title {
    font-size: clamp(2.1rem, 5.2vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #083050, #082c4d, #073052);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.85;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.7s ease 0.3s both;
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 700;
    margin-top: 4px;
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    align-self: stretch;
    border-radius: 1px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 8px 28px rgba(0, 180, 160, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 180, 160, 0.45);
}

.btn-white {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2.5s infinite;
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}


/* ==================== PAGE HEADER ==================== */

.page-header {
    background: linear-gradient(135deg, #12737c, #13727c 50%, #13727b);
    padding: 120px 32px 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(0, 180, 160, 0.18) 0%, transparent 60%);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 70%);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-header::before {
    z-index: 0;
}

.page-header h1,
.page-header p {
    z-index: 1;
}


/* ==================== SECTIONS ==================== */

.section {
    padding: 96px 0;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    border-radius: 50px;
    background: rgba(0, 180, 160, 0.08);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.section-title {
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 14px auto 0;
    line-height: 1.8;
}


/* ==================== CARDS GRID ==================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

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


/* ==================== ABOUT / VALUE CARDS ==================== */

.about-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 3px 3px;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--white), var(--gray-50));
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.35rem;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: linear-gradient(135deg, var(--accent), var(--teal));
    color: var(--white);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 180, 160, 0.3);
}

.about-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.75;
}


/* ==================== INFO BAR ==================== */

.info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.info-item {
    background: var(--white);
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gray-200);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    font-weight: 700;
    margin-top: 3px;
}


/* ==================== PRODUCT CARDS ==================== */

.product-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 180, 160, 0.25);
}

.product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.product-card>p {
    font-size: 0.87rem;
    color: var(--gray-500);
    margin-bottom: 18px;
    line-height: 1.75;
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brands-list li {
    padding: 5px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
}

.brands-list li:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}


/* ==================== BRANDS GRID ==================== */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 22px 14px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-card span {
    position: relative;
    z-index: 1;
}

.brand-card:hover {
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.brand-card:hover::before {
    opacity: 1;
}


/* ==================== CLIENTS ==================== */

.clients-group {
    margin-bottom: 36px;
}

.clients-group-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.clients-group-title i {
    color: var(--accent);
    font-size: 1.1rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.client-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: var(--shadow-xs);
}

.client-card i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 160, 0.1);
    border-radius: 10px;
}

.client-card:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: transparent;
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.client-card:hover i {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-light);
}


/* ==================== MANAGEMENT ==================== */

.manager-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.manager-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.manager-avatar {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(10, 51, 96, 0.2);
}

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

.manager-title {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.manager-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-style: italic;
}


/* ==================== CONTACT ==================== */

.contact-card {
    background: var(--white);
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gray-200);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.15rem;
    box-shadow: 0 6px 16px rgba(0, 180, 160, 0.25);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition);
    resize: vertical;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 180, 160, 0.08);
}

.form-group textarea {
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: 12px;
}


/* ==================== FOOTER ==================== */

.footer {
    background: linear-gradient(180deg, var(--gray-900), var(--gray-900));
    color: var(--gray-400);
    padding: 64px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 44px;
    padding-bottom: 48px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

[dir="rtl"] .footer h4::after {
    left: auto;
    right: 0;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '→';
    color: var(--accent);
    font-size: 0.8rem;
    transition: var(--transition);
}

[dir="rtl"] .footer-links a::before {
    content: '←';
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-4px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.87rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-bottom i {
    color: var(--accent);
    font-size: 0.7rem;
}


/* ==================== BACK TO TOP ==================== */

.back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 180, 160, 0.35);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 180, 160, 0.45);
}

[dir="rtl"] .back-top {
    right: auto;
    left: 28px;
}


/* ==================== LANGUAGE DISPLAY ==================== */


/* Hide opposite language */

body[dir="ltr"] [data-ar],
body[dir="rtl"] [data-en] {
    display: none !important;
}


/* Show active language (revert to natural display) */

body[dir="ltr"] [data-en],
body[dir="rtl"] [data-ar] {
    display: revert;
}


/* Inline elements */

body[dir="ltr"] [data-en].inline,
body[dir="rtl"] [data-ar].inline {
    display: inline;
}


/* Flex containers */

body[dir="ltr"] [data-en].flex,
body[dir="rtl"] [data-ar].flex {
    display: flex;
}


/* Block elements */

body[dir="ltr"] [data-en].block,
body[dir="rtl"] [data-ar].block {
    display: block;
}


/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-stats {
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 2px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateY(0);
    }
    .nav-link {
        width: 100%;
        padding: 14px;
        border-radius: 10px;
        text-align: center;
    }
    .nav-link:hover,
    .nav-link.active {
        background: var(--gray-50);
    }
    .nav-link::after {
        display: none;
    }
    .hero {
        padding: 100px 20px 80px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .hero-stats .stat-divider {
        display: none;
    }
    .info-bar {
        grid-template-columns: 1fr 1fr;
    }
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .info-bar {
        grid-template-columns: 1fr;
    }
    .footer h4::after {
        left: 0;
    }
    [dir="rtl"] .footer h4::after {
        right: 0;
    }
}


/* ==================== SCROLLBAR ==================== */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

::selection {
    background: var(--accent);
    color: var(--white);
}