@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;600;800&family=Lalezar&family=Inter:wght@400;500;700&display=swap');

:root {
  --bg-color: #09090b;
  --surface-color: rgba(24, 24, 27, 0.6);
  --surface-hover: rgba(39, 39, 42, 0.8);
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  
  --neon-green: #a3e635;
  --neon-green-dim: rgba(163, 230, 53, 0.2);
  --neon-blue: #0ea5e9;
  
  --border-radius-xl: 24px;
  --border-radius-lg: 16px;
  --border-radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Alexandria', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

main, footer {
  position: relative;
  z-index: 10;
}
main {
  padding-top: 100px;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-orb-blue {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -2;
  pointer-events: none;
}

.medical-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.med-icon {
    position: absolute;
    opacity: 0;
    animation: floatUp linear infinite;
    filter: drop-shadow(0 0 10px currentColor);
    transition: transform 0.2s ease-out;
}

@keyframes floatUp {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.category-card:hover {
    background: rgba(163, 230, 53, 0.05);
    border-color: rgba(163, 230, 53, 0.3);
    transform: translateY(-5px);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--neon-green);
    color: #000;
    transform: scale(1.1);
}

.category-title {
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.category-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Typography */
h1, h2, h3, .logo-ar {
  font-family: 'Lalezar', display;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
    color: var(--text-muted);
}
.text-sm {
    font-size: 0.875rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mt-12 {
    margin-top: 3rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.relative-container {
    position: relative;
}

.section {
    padding: 60px 0;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.bg-darker {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.logo-img {
    height: 70px;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.logo-ar {
    font-size: 1.8rem;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 2px;
}
.logo-en {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.nav-b2b {
    color: var(--neon-blue) !important;
    border: 1px solid var(--neon-blue);
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
}
.nav-b2b:hover {
    background: rgba(14, 165, 233, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--neon-green);
  color: #000;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.2);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(163, 230, 53, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

/* Hero Section */
.hero {
  padding: 60px 0;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.05) 0%, rgba(14, 165, 233, 0.05) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadge 6s ease-in-out infinite;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.floating-badge.float-right {
    top: 5%;
    right: 0%;
    animation-delay: 0s;
}
.floating-badge.float-left {
    bottom: 10%;
    left: 0%;
    animation-delay: -3s;
}
.fb-icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.fb-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.fb-text strong {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.2;
}
.fb-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@media (max-width: 1024px) {
    .floating-badge { display: none; }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(163, 230, 53, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(163, 230, 53, 0.2);
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 700px;
}

.hero-apps {
    background: rgba(255,255,255,0.03);
    padding: 24px 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    width: fit-content;
    margin: 0 auto;
}

.apps-title {
    font-size: 1rem !important;
    margin-bottom: 16px !important;
    color: var(--text-main) !important;
    font-weight: 600;
}

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

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 24px;
}

.bento-card {
  background: var(--surface-color);
  border-radius: var(--border-radius-xl);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.bento-card:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.col-span-2 { grid-column: span 2; }
.row-span-2 { grid-row: span 2; }

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .col-span-2 { grid-column: span 1; }
  .row-span-2 { grid-row: span 1; }
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  flex-grow: 1;
}

/* Contacts Panel */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.contact-panel {
    background: var(--surface-color);
    padding: 32px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255,255,255,0.05);
}
.contact-panel.gradient-border {
    position: relative;
}
.contact-panel.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--border-radius-xl) + 2px);
    background: linear-gradient(135deg, var(--neon-green), transparent);
    z-index: -1;
    opacity: 0.3;
}
.contact-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--neon-blue);
}
.contact-panel.gradient-border h3 {
    color: var(--neon-green);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}
.contact-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(-5px);
}
.whatsapp-btn {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.2);
}
.whatsapp-btn .ci-icon {
    color: #25D366;
}
.ci-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    color: var(--neon-blue);
}
.ci-details {
    display: flex;
    flex-direction: column;
}
.ci-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.ci-value {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.clickable-phone:hover {
    background: rgba(14, 165, 233, 0.2) !important;
    border-color: var(--neon-blue) !important;
    color: var(--neon-blue) !important;
    transform: translateY(-2px);
}

/* Social Icons */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--surface-color);
    border-radius: var(--border-radius-pill);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.social-icon:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    transform: translateY(-3px);
}
.social-icon.fb:hover { color: #1877F2; border-color: #1877F2; }
.social-icon.insta:hover { color: #E4405F; border-color: #E4405F; }
.social-icon.yt:hover { color: #FF0000; border-color: #FF0000; }
.social-icon.tiktok:hover { color: #ff0050; border-color: #ff0050; }
.social-icon.x:hover { color: #fff; border-color: #fff; }

/* B2B Section */
.b2b-section {
    position: relative;
}
.b2b-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}
.b2b-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.b2b-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.b2b-departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.dept-card {
    background: linear-gradient(180deg, var(--surface-color), transparent);
    padding: 32px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: var(--transition);
}
.dept-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
}
.dept-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.dept-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.dept-link {
    display: inline-block;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--border-radius-pill);
    transition: var(--transition);
}
.dept-link:hover {
    background: rgba(14, 165, 233, 0.2);
}

/* Smart Supplier Form */
.supplier-form-container {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.supplier-form-container h3 {
    margin-bottom: 32px;
    text-align: center;
}
.smart-form .form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .smart-form .form-row {
        flex-direction: column;
        gap: 24px;
    }
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    background: rgba(0,0,0,0.5);
}
.file-upload-group {
    align-items: flex-start;
}
.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-main) !important;
}
.file-upload-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--neon-blue);
}
.file-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.submit-btn {
    width: 100%;
    margin-top: 16px;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo {
    height: 40px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sticky WhatsApp */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.sticky-whatsapp svg {
    width: 32px;
    height: 32px;
}
.sticky-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .nav-links { 
        gap: 16px; 
        justify-content: center; 
        width: 100%;
        margin-top: 16px;
    }
    header .container {
        flex-direction: column;
    }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; }
}

/* Floating Socials Sidebar */
.floating-socials {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
    animation: floatSidebar 4s ease-in-out infinite;
}

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

[dir="ltr"] .floating-socials {
    right: auto;
    left: 20px;
    animation: floatSidebarLtr 4s ease-in-out infinite;
}

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

.f-social {
    width: 54px;
    height: 54px;
    background: rgba(24, 24, 27, 0.9);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.f-social svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}
.f-social.fb:hover { background: #1877F2; color: white; border-color: #1877F2; }
.f-social.insta:hover { background: #E4405F; color: white; border-color: #E4405F; }
.f-social.yt:hover { background: #FF0000; color: white; border-color: #FF0000; }
.f-social.tiktok:hover { background: #000000; color: #ff0050; border-color: #ff0050; }
.f-social.x:hover { background: #000; color: white; border-color: #fff; }

@media (max-width: 1024px) {
    .floating-socials {
        display: none;
    }
}

/* Language Toggle Button */
.btn-lang {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
}
.btn-lang:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

/* LTR Direction Overrides */
[dir="ltr"] body {
    font-family: 'Inter', sans-serif;
}
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] .logo-ar {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}
[dir="ltr"] .fb-text {
    text-align: left;
}
[dir="ltr"] .ci-details {
    text-align: left;
}
[dir="ltr"] .contact-item {
    flex-direction: row;
}
