/* ============================================
   خليل العنين — تصميم احترافي متطور
   Khalil Al-Anin Import - Pharmaceutical & Medical Supplies
   ============================================ */

/* Google Font - Tajawal Arabic */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
    /* Premium Color Palette - Blue (from Logo) */
    --pharma-primary: #3b82f6;
    --pharma-primary-light: #60a5fa;
    --pharma-primary-dark: #2563eb;
    --pharma-primary-darker: #1d4ed8;
    --pharma-primary-darkest: #1e40af;

    /* Accent Colors - Red (from Capsule in Logo) */
    --pharma-accent: #ef4444;
    --pharma-accent-light: #f87171;
    --pharma-accent-dark: #dc2626;
    --pharma-accent-glow: rgba(239, 68, 68, 0.35);

    /* Secondary Accent - Lighter Blue */
    --pharma-secondary: #60a5fa;
    --pharma-secondary-light: #93c5fd;
    --pharma-secondary-dark: #3b82f6;

    /* Neutral Palette */
    --pharma-bg: #fafbfc;
    --pharma-bg-alt: #f1f5f9;
    --pharma-bg-dark: #0f172a;
    --pharma-bg-darker: #020617;
    --pharma-text: #1e293b;
    --pharma-text-light: #334155;
    --pharma-text-muted: #64748b;
    --pharma-white: #ffffff;
    --pharma-border: #e2e8f0;
    --pharma-border-light: #f1f5f9;

    /* Gradients - Blue & Red Theme */
    --pharma-gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 80%, #3b82f6 100%);
    --pharma-gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --pharma-gradient-primary: linear-gradient(135deg, var(--pharma-primary), var(--pharma-primary-dark));
    --pharma-gradient-accent: linear-gradient(135deg, var(--pharma-accent), var(--pharma-accent-dark));
    --pharma-gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --pharma-gradient-shine: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);

    /* Spacing System */
    --pharma-radius-full: 9999px;
    --pharma-radius-2xl: 24px;
    --pharma-radius-xl: 20px;
    --pharma-radius: 16px;
    --pharma-radius-md: 12px;
    --pharma-radius-sm: 8px;
    --pharma-radius-xs: 6px;
    --header-height: 80px;

    /* Shadows - Refined */
    --pharma-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --pharma-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --pharma-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --pharma-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --pharma-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --pharma-shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12);
    --pharma-shadow-glow: 0 0 60px rgba(59, 130, 246, 0.2);
    --pharma-shadow-accent-glow: 0 8px 40px var(--pharma-accent-glow);
    --pharma-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    --pharma-shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.1);

    /* Transitions - Smooth */
    --pharma-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --pharma-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --pharma-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --pharma-transition-fast: 0.15s var(--pharma-ease);
    --pharma-transition: 0.3s var(--pharma-ease);
    --pharma-transition-slow: 0.5s var(--pharma-ease);
    --pharma-transition-spring: 0.5s var(--pharma-ease-spring);
}

/* ===== Base Styles ===== */
[dir="rtl"] {
    font-family: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
}

body,
html {
    font-family: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 32px);
}

body {
    background: var(--pharma-bg);
    color: var(--pharma-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: rgba(59, 130, 246, 0.15);
    color: var(--pharma-primary-darker);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Keyframe Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes borderGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    }
}

@keyframes textReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes bounceSubtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ===== Header - Floating Over Hero ===== */
.pharma-header {
    min-height: var(--header-height);
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all var(--pharma-transition);
    animation: fadeInDown 0.8s var(--pharma-ease) forwards;
    padding: 1rem 0;
}

.pharma-header.scrolled {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.pharma-header .navbar {
    padding: 0;
    height: 100%;
}

.pharma-header .navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: var(--pharma-primary-darker) !important;
    transition: all var(--pharma-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pharma-header .navbar-brand:hover {
    color: var(--pharma-primary) !important;
    transform: scale(1.02);
}

.pharma-header .nav-link {
    color: var(--pharma-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem !important;
    border-radius: var(--pharma-radius-sm);
    transition: all var(--pharma-transition);
    position: relative;
}

.pharma-header .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--pharma-gradient-primary);
    transition: all var(--pharma-transition);
    border-radius: 1px;
}

.pharma-header .nav-link:hover {
    color: var(--pharma-primary) !important;
    background: rgba(59, 130, 246, 0.06);
}

.pharma-header .nav-link:hover::before {
    width: 50%;
    right: 25%;
}

.pharma-header .nav-link.active {
    color: var(--pharma-primary) !important;
    background: rgba(59, 130, 246, 0.08);
}

.pharma-header .btn-cta {
    background: var(--pharma-gradient-accent);
    color: white !important;
    border-radius: var(--pharma-radius-full);
    padding: 0.65rem 1.75rem !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 20px var(--pharma-accent-glow);
    transition: all var(--pharma-transition-spring);
    position: relative;
    overflow: hidden;
}

.pharma-header .btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pharma-gradient-shine);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--pharma-transition);
}

.pharma-header .btn-cta:hover {
    color: white !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--pharma-accent-glow);
}

.pharma-header .btn-cta:hover::before {
    opacity: 1;
    animation: shimmer 1.5s linear infinite;
}

.pharma-header .navbar-toggler {
    padding: 0.5rem;
    border-radius: var(--pharma-radius-sm);
    border: 2px solid rgba(59, 130, 246, 0.15);
    transition: all var(--pharma-transition);
}

.pharma-header .navbar-toggler:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--pharma-primary);
}

.pharma-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* ===== Vezor-Style Navbar (pill container, blur, responsive) ===== */
.pharma-header .vezor-navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pharma-header .vezor-nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--pharma-radius-full);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: background var(--pharma-transition), box-shadow var(--pharma-transition);
    position: relative;
    z-index: 10;
}

.pharma-header.scrolled .vezor-nav-container {
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.pharma-header .vezor-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    text-decoration: none;
    transition: color var(--pharma-transition), transform var(--pharma-transition);
}

.pharma-header .vezor-nav-brand:hover {
    color: #1e293b;
    transform: scale(1.02);
}

.pharma-header .vezor-brand-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.pharma-header .vezor-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.pharma-header .vezor-menu-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e40af;
    text-decoration: none;
    border-radius: var(--pharma-radius-full);
    transition: all var(--pharma-transition);
    position: relative;
}

.pharma-header .vezor-menu-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.pharma-header .vezor-menu-link:hover::after,
.pharma-header .vezor-menu-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.pharma-header .vezor-menu-link:hover,
.pharma-header .vezor-menu-link.active {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.08);
}

.pharma-header .vezor-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: var(--pharma-radius-full);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    transition: all var(--pharma-transition-spring);
}

.pharma-header .vezor-primary-btn:hover {
    color: white;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Desktop: show links, hide mobile button */
.vezor-desktop-only {
    display: flex !important;
}

.vezor-mobile-only {
    display: none !important;
}

/* Mobile menu button (hamburger) */
.pharma-header .vezor-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--pharma-radius-md);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    transition: background var(--pharma-transition), border-color var(--pharma-transition);
}

.pharma-header .vezor-menu-button:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: var(--pharma-primary);
}

.pharma-header .vezor-menu-button[aria-expanded="true"] .vezor-toggler-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.pharma-header .vezor-menu-button[aria-expanded="true"] .vezor-toggler-bar:nth-child(2) {
    opacity: 0;
}

.pharma-header .vezor-menu-button[aria-expanded="true"] .vezor-toggler-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.pharma-header .vezor-toggler-bar {
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 1px;
    transition: transform var(--pharma-transition), opacity var(--pharma-transition);
}

/* Mobile collapse panel */
.pharma-header .vezor-nav-collapse {
    width: 100%;
    flex-basis: 100%;
    overflow: hidden;
}

.pharma-header .vezor-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.25rem;
}

.pharma-header .vezor-mobile-links .vezor-menu-link,
.pharma-header .vezor-mobile-links .vezor-primary-btn {
    padding: 0.75rem 1rem;
    border-radius: var(--pharma-radius-md);
    width: 100%;
    justify-content: flex-start;
}

/* Responsive: switch to mobile layout */
@media (max-width: 991.98px) {
    .vezor-desktop-only {
        display: none !important;
    }

    .vezor-mobile-only {
        display: flex !important;
    }

    .pharma-header .vezor-navbar {
        max-width: 100%;
        padding: 0 1rem;
    }

    .pharma-header .vezor-nav-container {
        padding: 0.5rem 0.75rem 0.5rem 1rem;
        border-radius: 30px;
        /* More elegant than 9999px on mobile */
        gap: 0.5rem;
    }

    /* Adjust radius when menu is open to look more like a card */
    .pharma-header .vezor-nav-container:has(.vezor-nav-collapse.show) {
        border-radius: 24px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    .pharma-header .vezor-nav-brand {
        font-size: 1.15rem;
        flex: 1;
    }

    .pharma-header .vezor-menu-button {
        display: flex;
        width: 40px;
        height: 40px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .pharma-header .vezor-nav-collapse {
        order: 10;
        /* Ensure it stays below brand/button */
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 0.25rem;
    }

    .pharma-header .vezor-nav-collapse:not(.show) {
        display: none;
    }

    .pharma-header .vezor-nav-collapse.show {
        display: block;
    }

    .pharma-header .vezor-mobile-links {
        padding: 0.75rem 0;
        border-top: none;
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .pharma-header .vezor-nav-container {
        padding: 0.4rem 0.6rem 0.4rem 0.8rem;
    }

    .pharma-header .vezor-nav-brand {
        font-size: 1.1rem;
    }
}

/* ===== Hero Section - Neurex Style 03 (Centered Layout with Dark Gradient) ===== */
.neurex-hero-03 {
    min-height: 100vh;
    background: linear-gradient(180deg, #000917 0%, #000d20 10%, #02122a 25%, #011742 40%, #01247b 55%, #153896 70%, #3055ba 85%, #5879d0 95%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
    z-index: 0;
}

/* Gradient Background Overlay */
.hero-03-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-03-noise {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.neurex-hero-03 .container {
    position: relative;
    z-index: 2;
}

/* Hero Content - Centered */
.hero-03-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

/* Reviews Badge */
.hero-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--pharma-radius-full);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.hero-reviews-badge .review-avatars {
    display: flex;
}

.hero-reviews-badge .review-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.hero-reviews-badge .review-avatar.overlap {
    margin-right: -10px;
}

.hero-reviews-badge .review-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Main Title */
.hero-03-title h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Description & CTA */
.hero-03-right {
    max-width: 600px;
    margin: 0 auto;
}

.hero-03-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.hero-03-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-03-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--pharma-radius-full);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-03-btn-primary:hover {
    color: #0f172a;
    background: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Hero Visual System - Advanced Animation ===== */
.hero-visual-system {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 2rem auto 0;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Central Core Dashboard */
.system-core {
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    animation: coreDataFloat 6s ease-in-out infinite;
}

.glass-panel.main-panel {
    width: 320px;
    height: 220px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Dashboard Details */
.panel-header {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.panel-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
}

.dot.red {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-area {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 50px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-line {
    flex: 1;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.8) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 4px;
    height: 70%;
    animation: chartGrow 2s ease-out infinite alternate;
}

.chart-line.short {
    height: 40%;
    animation-delay: 0.5s;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.8) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.chart-line.long {
    height: 90%;
    animation-delay: 1s;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.8) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.stats-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.stat-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--w);
    background: #3b82f6;
    border-radius: 3px;
    animation: statFill 2s ease-out forwards;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 20;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-element:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(59, 130, 246, 0.1);
    transform: scale(1.05) translateZ(20px);
}

.floating-element .icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-element .text-box {
    display: flex;
    flex-direction: column;
}

.floating-element .text-box .title {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.floating-element .text-box .subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Specific Positions & Animations */
.card-pills {
    top: 10%;
    left: 10%;
    animation: floatSlow 8s ease-in-out infinite;
}

.card-analytics {
    bottom: 15%;
    right: 5%;
    animation: floatMedium 7s ease-in-out infinite 1s;
}

.card-secure {
    bottom: 5%;
    left: 20%;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: #4ade80;
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(74, 222, 128, 0.2);
    animation: floatFast 9s ease-in-out infinite 0.5s;
}

.card-secure .shield-icon {
    margin-left: 6px;
}

/* Orbit Rings */
.orbit-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.ring-1 {
    width: 450px;
    height: 450px;
    animation: spinRight 60s linear infinite;
}

.ring-2 {
    width: 650px;
    height: 650px;
    animation: spinLeft 80s linear infinite;
    border-color: rgba(59, 130, 246, 0.03);
}

/* Animations Keyframes */
@keyframes coreDataFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-10px) rotateX(2deg);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -15px);
    }
}

@keyframes floatMedium {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, -10px);
    }
}

@keyframes floatFast {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5px, -8px);
    }
}

@keyframes spinRight {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spinLeft {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes chartGrow {
    0% {
        transform: scaleY(0.5);
    }

    100% {
        transform: scaleY(1.2);
    }
}

@keyframes statFill {
    from {
        width: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-visual-system {
        height: 300px;
        transform: scale(0.85);
        margin-top: 1rem;
    }

    .card-pills {
        left: -5%;
        top: 0;
    }

    .card-analytics {
        right: -5%;
        bottom: 10%;
    }

    .card-secure {
        left: 5%;
        bottom: -5%;
    }

    .neurex-hero-03 {
        padding-top: calc(72px + 1.5rem);
    }

    .hero-03-gradient {
        margin: 0 0.5rem;
        height: 60%;
    }

    .hero-reviews-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
}



/* ===== Legacy Hero Styles (kept for fallback) ===== */
.neurex-hero {
    min-height: 100vh;
    background: linear-gradient(#000917, #000d20 10%, #02122a 20%, #011742 30%, #01247b 40%, #153896 50%, #3055ba 60%, #4468c9 70%, #5879d0 80%, #6c89d9 84%, #86a1ea 88%, #b4c6f7 92%, #e7eeff 98%, #fff);
    position: relative;
    overflow: visible;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
    z-index: 0;
}

.neurex-hero-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 0;
}

.neurex-hero .container {
    position: relative;
    z-index: 1;
}

/* Content Styling */
.neurex-hero-content {
    max-width: 580px;
}

.neurex-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.neurex-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* CTA Buttons */
.neurex-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.neurex-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #0a0a0f;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--pharma-radius-full);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
    transition: all var(--pharma-transition-spring);
}

.neurex-btn-primary:hover {
    background: #f1f5f9;
    color: #0a0a0f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.neurex-btn-primary svg {
    transition: transform var(--pharma-transition);
}

.neurex-btn-primary:hover svg {
    transform: translateX(4px);
}

.neurex-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--pharma-radius-full);
    text-decoration: none;
    transition: all var(--pharma-transition);
}

.neurex-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Trust Section - Neurex Style */
.neurex-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-avatars {
    display: flex;
    margin-left: -8px;
}

.trust-avatars .avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: -10px;
}

.trust-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.trust-score {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.trust-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Cards Grid - Neurex Style on Dark - Enhanced Design */
.neurex-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    position: relative;
}

.neurex-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.neurex-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neurex-card:hover::before {
    opacity: 1;
}

.neurex-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.15);
}

/* Featured card spans full width */
.neurex-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0.05));
    border-color: rgba(59, 130, 246, 0.25);
    position: relative;
}

.neurex-card.featured::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.neurex-card .card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--pharma-radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.neurex-card .card-badge.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(96, 165, 250, 0.15));
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.neurex-card .card-badge.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(248, 113, 113, 0.15));
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.neurex-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.neurex-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin: 0;
}

/* Card Icon Animation */
.neurex-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.neurex-card:hover .card-icon {
    transform: scale(1.15) rotate(-5deg);
}

@media (max-width: 767.98px) {
    .neurex-cards {
        grid-template-columns: 1fr;
    }

    .neurex-card.featured {
        grid-column: 1;
    }
}

/* Trusted Section - blends with gradient end (white) */
.trusted-section {
    position: relative;
    z-index: 1;
    padding: 4rem 0 3rem;
    margin-top: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.trusted-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--pharma-text-muted);
    margin-bottom: 1.5rem;
}

.trusted-marquee {
    overflow: hidden;
    position: relative;
}

.trusted-marquee::before,
.trusted-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.trusted-marquee::before {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.trusted-marquee::after {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--pharma-radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pharma-text-light);
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .neurex-hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3rem;
    }

    .neurex-hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .neurex-cards {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .neurex-hero {
        padding-top: calc(72px + 1.5rem);
        padding-bottom: 2rem;
    }

    .neurex-cta {
        flex-direction: column;
    }

    .neurex-btn-primary,
    .neurex-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .neurex-trust {
        justify-content: center;
    }

    .marquee-track {
        gap: 2rem;
    }
}

/* ===== Hero Section - Dark Gradient Style (rifd.com.sa inspired) - Legacy ===== */
.pharma-hero {
    min-height: calc(100vh - var(--header-height));
    background: var(--pharma-gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

/* Animated mesh gradient overlay */
.pharma-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 10% 20%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at 90% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse 60% 40% at 40% 100%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
    pointer-events: none;
    animation: fadeIn 1.5s ease forwards;
}

/* Geometric shapes */
.pharma-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

.pharma-hero .container {
    position: relative;
    z-index: 2;
}

.pharma-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--pharma-radius-full);
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.8s var(--pharma-ease) 0.2s both;
}

.pharma-hero .hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pharma-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.pharma-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1.75rem;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s var(--pharma-ease) 0.4s both;
}

.pharma-hero .lead {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.85;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 0;
    animation: fadeInUp 0.8s var(--pharma-ease) 0.6s both;
}

.pharma-hero .hero-buttons {
    animation: fadeInUp 0.8s var(--pharma-ease) 0.8s both;
}

.pharma-hero .btn-hero {
    background: var(--pharma-gradient-accent);
    color: white;
    padding: 1.1rem 2.25rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--pharma-radius-full);
    border: none;
    box-shadow: var(--pharma-shadow-accent-glow);
    transition: all var(--pharma-transition-spring);
    position: relative;
    overflow: hidden;
}

.pharma-hero .btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.5s var(--pharma-ease);
}

.pharma-hero .btn-hero:hover {
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 50px var(--pharma-accent-glow);
}

.pharma-hero .btn-hero:hover::before {
    transform: translateX(100%);
}

.pharma-hero .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 1.1rem 2.25rem;
    font-weight: 600;
    border-radius: var(--pharma-radius-full);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all var(--pharma-transition);
}

.pharma-hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translateY(-3px);
}

/* ===== Stats Section - Consecutive flow (no overlap) ===== */
.pharma-stats-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.pharma-stats-section .pharma-stats {
    margin-top: 0;
    z-index: auto;
}

.pharma-stats {
    background: var(--pharma-white);
    padding: 2.5rem;
    box-shadow: var(--pharma-shadow-xl);
    margin-top: 0;
    position: relative;
    z-index: auto;
    border-radius: var(--pharma-radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    animation: fadeInUp 1s var(--pharma-ease) 1s both;
}

.pharma-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--pharma-radius-2xl);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.pharma-stats .stat-item {
    text-align: center;
    padding: 1.25rem 1.5rem;
    position: relative;
    transition: all var(--pharma-transition);
    border-radius: var(--pharma-radius);
}

.pharma-stats .stat-item:hover {
    background: rgba(59, 130, 246, 0.04);
    transform: translateY(-4px);
}

.pharma-stats .stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--pharma-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.pharma-stats .stat-label {
    color: var(--pharma-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.pharma-stats .stat-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--pharma-border), transparent);
}

[dir="rtl"] .pharma-stats .stat-divider.border-start {
    border-left: none !important;
}

@media (max-width: 767.98px) {
    .pharma-stats .stat-divider::before {
        display: none;
    }
}

/* ===== Section Styling ===== */
.pharma-section {
    padding: 7rem 0;
    position: relative;
}

.pharma-section-alt {
    background: var(--pharma-white);
    position: relative;
}

.pharma-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--pharma-border) 20%, var(--pharma-border) 80%, transparent 100%);
}

/* Section Headings - rifd.com.sa inspired */
.pharma-section-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pharma-primary);
    margin-bottom: 0.85rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.pharma-section-label::before {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--pharma-gradient-accent);
    border-radius: 2px;
}

.pharma-section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pharma-text);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.pharma-section-sub {
    font-size: 1.15rem;
    color: var(--pharma-text-muted);
    margin-bottom: 3.5rem;
    max-width: 640px;
    margin-inline: auto;
    line-height: 1.8;
}

/* ===== Category Cards - barmgely.com inspired ===== */
.pharma-card {
    background: var(--pharma-white);
    border-radius: var(--pharma-radius-xl);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid transparent;
    box-shadow: var(--pharma-shadow-card);
    transition: all var(--pharma-transition-spring);
    position: relative;
    overflow: hidden;
}

.pharma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pharma-gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--pharma-transition-slow);
}

.pharma-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--pharma-transition);
    pointer-events: none;
}

.pharma-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--pharma-shadow-card-hover);
    border-color: rgba(59, 130, 246, 0.1);
}

.pharma-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.pharma-card:hover::after {
    opacity: 1;
}

.pharma-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--pharma-radius);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
    color: var(--pharma-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.75rem;
    transition: all var(--pharma-transition-spring);
    position: relative;
    z-index: 1;
}

.pharma-card:hover .card-icon {
    transform: scale(1.1) rotate(-8deg);
    background: var(--pharma-gradient-primary);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.pharma-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--pharma-text);
    margin-bottom: 1rem;
}

.pharma-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--pharma-text-muted);
}

/* ===== Trust Bar - Premium Strip ===== */
.pharma-trust {
    background: linear-gradient(90deg, #000917 0%, #011742 50%, #000917 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.pharma-trust::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
    pointer-events: none;
}

.pharma-trust::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.pharma-trust .trust-text {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pharma-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pharma-trust .trust-item::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--pharma-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== Service Cards - Premium Interactive ===== */
.pharma-service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover Effect - Border Gradient & Shadow */
.pharma-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pharma-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.pharma-service-card:hover::before {
    opacity: 1;
}

/* Badge Styling */
.pharma-service-card .badge-num {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #eff6ff;
    color: #3b82f6;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.pharma-service-card:hover .badge-num {
    background: #3b82f6;
    color: white;
    transform: scale(1.05) translateZ(10px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Content Styling */
.pharma-service-card h4 {
    color: #1e293b;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.pharma-service-card:hover h4 {
    color: #3b82f6;
}

.pharma-service-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* List Styling */
.pharma-service-card ul {
    margin-top: 1.5rem;
    padding: 0;
}

.pharma-service-card ul li {
    padding: 0.6rem 0;
    position: relative;
    padding-right: 2rem;
    /* RTL support */
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.pharma-service-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    /* RTL */
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.pharma-service-card:hover ul li {
    transform: translateX(-5px);
}

.pharma-service-card:hover ul li::before {
    background: #10b981;
    color: white;
}

[dir="rtl"] .pharma-service-card ul li {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="rtl"] .pharma-service-card ul li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .pharma-service-card:hover ul li {
    transform: translateX(-5px);
    /* Move left in RTL */
}

/* ===== Product Cards - Premium Showcase ===== */
.pharma-product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pharma-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.pharma-product-card .product-image {
    height: 200px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

/* Blob Background in Image */
.pharma-product-card .product-image::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    border-radius: 50%;
    filter: blur(20px);
    transition: all 0.5s ease;
}

.pharma-product-card:hover .product-image::before {
    transform: scale(1.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 197, 253, 0.2));
}

/* Floating Icon */
.pharma-product-card .product-image span {
    z-index: 1;
    filter: drop-shadow(0 10px 15px rgba(59, 130, 246, 0.15));
    transition: transform 0.5s ease;
}

.pharma-product-card:hover .product-image span {
    transform: scale(1.15) rotate(-5deg);
}

.pharma-product-card .product-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 2;
}

.pharma-product-card .product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pharma-product-card .product-meta {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.pharma-product-card .btn-pharma-primary {
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.pharma-product-card:hover .btn-pharma-primary {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* ===== Work / Portfolio Grid - Barmgely معرض الاعمال inspired ===== */
.pharma-work-card {
    display: block;
    background: var(--pharma-white);
    border-radius: var(--pharma-radius-xl);
    padding: 2.25rem;
    height: 100%;
    border: 1px solid transparent;
    box-shadow: var(--pharma-shadow-card);
    text-decoration: none;
    color: inherit;
    transition: all var(--pharma-transition-spring);
    position: relative;
    overflow: hidden;
}

.pharma-work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pharma-gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--pharma-transition-slow);
}

.pharma-work-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pharma-shadow-card-hover);
    border-color: rgba(59, 130, 246, 0.12);
}

.pharma-work-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.pharma-work-card .work-card-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.04) 100%);
    border-radius: var(--pharma-radius);
    margin-bottom: 1.25rem;
    transition: all var(--pharma-transition-spring);
}

.pharma-work-card:hover .work-card-icon {
    background: var(--pharma-gradient-primary);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.pharma-work-card .work-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pharma-text);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    transition: color var(--pharma-transition);
}

.pharma-work-card:hover .work-card-title {
    color: var(--pharma-primary);
}

.pharma-work-card .work-card-desc {
    font-size: 0.95rem;
    color: var(--pharma-text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.pharma-work-card .work-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pharma-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap var(--pharma-transition), transform var(--pharma-transition);
}

.pharma-work-card:hover .work-card-link {
    gap: 0.6rem;
}

[dir="rtl"] .pharma-work-card .work-card-link {
    flex-direction: row-reverse;
}

.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--pharma-primary);
    background: rgba(59, 130, 246, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--pharma-radius-full);
    text-decoration: none;
    transition: all var(--pharma-transition-spring);
}

.btn-show-more:hover {
    background: var(--pharma-primary);
    color: white;
    border-color: var(--pharma-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}

/* ===== Partner Logos - Clean Grid ===== */
.pharma-partner-logo {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--pharma-white);
    border-radius: var(--pharma-radius);
    padding: 1.5rem;
    border: 1px solid transparent;
    box-shadow: var(--pharma-shadow-sm);
    font-weight: 700;
    color: var(--pharma-text-muted);
    font-size: 0.9rem;
    transition: all var(--pharma-transition-spring);
    cursor: pointer;
}

.pharma-partner-logo span {
    font-size: 1.75rem;
    transition: transform var(--pharma-transition);
}

.pharma-partner-logo:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--pharma-shadow-md);
    transform: translateY(-6px) scale(1.02);
    color: var(--pharma-primary);
}

.pharma-partner-logo:hover span {
    transform: scale(1.2);
}

/* ===== Quote Section - Editorial Style ===== */
.pharma-quote {
    background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 50%, #99f6e4 100%);
    border-radius: var(--pharma-radius-2xl);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--pharma-shadow-md);
}

.pharma-quote::before {
    content: '"';
    position: absolute;
    top: -30px;
    right: 40px;
    font-size: 12rem;
    font-family: Georgia, serif;
    color: rgba(59, 130, 246, 0.08);
    line-height: 1;
    pointer-events: none;
}

.pharma-quote::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 6px;
    background: var(--pharma-gradient-primary);
    border-radius: 0 var(--pharma-radius-2xl) var(--pharma-radius-2xl) 0;
}

[dir="rtl"] .pharma-quote::after {
    right: auto;
    left: 0;
    border-radius: var(--pharma-radius-2xl) 0 0 var(--pharma-radius-2xl);
}

.pharma-quote p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--pharma-text);
    position: relative;
    z-index: 1;
}

.pharma-quote .quote-author {
    font-weight: 700;
    color: var(--pharma-primary);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

/* ===== Certificates - Badge Style ===== */
.pharma-cert {
    background: var(--pharma-white);
    border: 1px solid transparent;
    border-radius: var(--pharma-radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--pharma-transition-spring);
    position: relative;
    overflow: hidden;
    box-shadow: var(--pharma-shadow-sm);
}

.pharma-cert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--pharma-gradient-primary);
    opacity: 0;
    transition: all var(--pharma-transition);
    border-radius: 0 0 4px 4px;
}

.pharma-cert:hover {
    border-color: rgba(59, 130, 246, 0.15);
    box-shadow: var(--pharma-shadow-lg);
    transform: translateY(-8px);
}

.pharma-cert:hover::before {
    opacity: 1;
    width: 80%;
}

.pharma-cert .cert-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
    transition: transform var(--pharma-transition-spring);
}

.pharma-cert:hover .cert-icon {
    transform: scale(1.2) rotate(-8deg);
}

.pharma-cert .fw-bold {
    font-size: 1.1rem;
    color: var(--pharma-text);
    margin-bottom: 0.35rem;
}

/* ===== Buttons - Premium Style ===== */
.btn-pharma-primary {
    background: var(--pharma-gradient-primary);
    color: white;
    border: none;
    border-radius: var(--pharma-radius-full);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all var(--pharma-transition-spring);
}

.btn-pharma-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pharma-gradient-shine);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--pharma-transition);
}

.btn-pharma-primary:hover {
    background: linear-gradient(135deg, var(--pharma-primary-dark), var(--pharma-primary-darker));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-pharma-primary:hover::before {
    opacity: 1;
    animation: shimmer 1.5s linear infinite;
}

.btn-outline-secondary {
    border-radius: var(--pharma-radius-full);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-width: 2px;
    transition: all var(--pharma-transition);
}

.btn-outline-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--pharma-shadow);
}

/* ===== Footer - Dark Premium ===== */
.pharma-footer {
    background: linear-gradient(135deg, #0B2447 0%, #19376D 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 5.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.pharma-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.pharma-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20%;
    width: 140%;
    height: 500px;
    background: radial-gradient(ellipse at center bottom, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.pharma-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--pharma-transition);
    position: relative;
}

.pharma-footer a:hover {
    color: white;
}

.pharma-footer .footer-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: white !important;
    letter-spacing: -0.025em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pharma-footer h6 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.75rem;
    color: white;
    position: relative;
    display: inline-block;
}

.pharma-footer h6::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--pharma-accent);
    border-radius: 1px;
}

.pharma-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4rem;
    padding: 2rem 0;
    font-size: 0.9rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

/* ===== Contact Section ===== */
#تواصل .pharma-section-title {
    margin-bottom: 0.5rem;
}

#تواصل .btn-lg {
    padding: 1rem 2.25rem;
    border-radius: var(--pharma-radius-full);
    font-size: 1.05rem;
}

/* ===== Accessibility & Focus ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--pharma-primary);
    outline-offset: 3px;
    border-radius: var(--pharma-radius-sm);
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pharma-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--pharma-radius-full);
    z-index: 10000;
    transition: top var(--pharma-transition);
    font-weight: 600;
}

.skip-link:focus {
    top: 10px;
    color: white;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
    .pharma-section {
        padding: 5rem 0;
    }

    .pharma-stats-section .pharma-stats,
    .pharma-stats {
        margin-top: 0;
        padding: 2rem;
    }

    .pharma-hero {
        min-height: auto;
        padding: 5rem 0 8rem;
    }

    .pharma-quote {
        padding: 3rem;
    }

    .pharma-footer {
        padding-top: 4.5rem;
    }

    .pharma-card,
    .pharma-service-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .pharma-header {
        height: 72px;
    }

    .pharma-hero {
        padding: 4rem 0 7rem;
    }

    .pharma-stats-section .pharma-stats,
    .pharma-stats {
        margin-top: 0;
    }

    .pharma-stats .stat-item {
        padding: 1rem;
    }

    .pharma-stats .stat-num {
        font-size: 1.75rem;
    }

    .pharma-section-sub {
        margin-bottom: 2.5rem;
    }

    .pharma-quote::before {
        font-size: 8rem;
        top: -15px;
        right: 25px;
    }
}

@media (max-width: 575.98px) {
    .pharma-hero {
        padding: 3.5rem 0 6rem;
    }

    .pharma-hero .d-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .pharma-hero .btn {
        width: 100%;
        text-align: center;
    }

    .pharma-section {
        padding: 4rem 0;
    }

    .pharma-quote {
        padding: 2rem;
    }

    .pharma-cert {
        padding: 2rem 1.5rem;
    }

    .pharma-card .card-icon,
    .pharma-service-card .badge-num {
        margin-bottom: 1.25rem;
    }
}

/* ===== Utility Classes ===== */
/* ===== Utility Classes - Dramatic Reveals ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(10px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
    filter: blur(5px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    filter: blur(5px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* Staggered Pop In Effect */
.animate-pop {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy */
}

.animate-pop.visible {
    opacity: 1;
    transform: scale(1);
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {

    .animate-on-scroll,
    .animate-left,
    .animate-right,
    .animate-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .animate-on-scroll.visible,
    .animate-left.visible,
    .animate-right.visible,
    .animate-scale.visible {
        opacity: 1;
        transform: none;
    }

    .delay-100,
    .delay-200,
    .delay-300,
    .delay-400,
    .delay-500,
    .delay-600 {
        transition-delay: 0s;
    }

    .pharma-hero {
        animation: none;
    }

    .pharma-hero::after {
        animation: none;
    }

    .pharma-trust::before {
        animation: none;
    }
}

.animate-scale {
    transform: scale(0.9);
}

.animate-scale.visible {
    transform: scale(1);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Glass morphism utility */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text utility */
.gradient-text {
    background: var(--pharma-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover lift effect */
.hover-lift {
    transition: transform var(--pharma-transition-spring), box-shadow var(--pharma-transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--pharma-shadow-lg);
}

/* Glow effect */
.glow {
    animation: borderGlow 2s ease-in-out infinite;
}

/* Print styles */
@media print {

    .pharma-header,
    .pharma-hero::before,
    .pharma-hero::after,
    .pharma-trust {
        display: none;
    }

    .pharma-hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 2rem !important;
    }

    .pharma-section {
        padding: 1.5rem 0 !important;
    }

    .pharma-card,
    .pharma-service-card,
    .pharma-product-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ===== Stats Strip - Professional Glass Design ===== */
.pharma-stats-section {
    position: relative;
    padding: 0 0 2rem;
    margin-top: -3rem;
    /* Overlap with hero */
    z-index: 10;
}

.glass-stats-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

/* Glow Effect */
.stats-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.stat-card-pro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.stat-card-pro:hover {
    transform: translateY(-3px);
}

.stat-card-pro.border-x {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

[dir="rtl"] .stat-card-pro.border-x {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card-pro:hover .stat-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.stat-icon-box.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-icon-box.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stat-icon-box.orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pharma-text);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--pharma-text), #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.stat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pharma-text);
    margin-bottom: 0.2rem;
}

.stat-subtitle {
    font-size: 0.8rem;
    color: var(--pharma-text-muted);
}

/* Responsive for Stats */
@media (max-width: 991.98px) {
    .pharma-stats-section {
        margin-top: 0;
        padding-bottom: 3rem;
    }

    .stat-card-pro {
        padding: 1.5rem;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .stat-card-pro.border-x {
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .glass-stats-wrapper {
        padding: 1rem;
    }
}

/* ===== Partner Logos ===== */
.partner-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    margin: 0 1rem;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.marquee-track.logos {
    gap: 4rem;
}

@media (max-width: 767.98px) {
    .partner-logo {
        height: 36px;
    }

    .marquee-track.logos {
        gap: 2.5rem;
    }
}

/* ===== Premium Animated Category Cards ===== */
.pharma-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover State - Lift & Glow */
.pharma-card:hover {
    transform: translateY(-15px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.1),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Background Blob Effect */
.pharma-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.6s ease;
    z-index: -1;
}

.pharma-card:hover::before {
    transform: scale(2.5) translate(-20px, 20px);
}

/* Icon Styling & Animation */
.pharma-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    /* Continuous Float Animation */
    animation: iconFloat 4s ease-in-out infinite;
}

/* Icon Hover State */
.pharma-card:hover .card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
    animation: none;
    /* Stop float on hover for stability */
}

/* Text Styling */
.pharma-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.pharma-card:hover h3 {
    color: #2563eb;
}

.pharma-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Shine Effect */
.pharma-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.8) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
    transition: none;
}

.pharma-card:hover::after {
    left: 200%;
    transition: left 0.8s ease-in-out;
}

/* Continuous Animation Keyframes */
@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =========================================
   Home Page Specific Styles (Moved from Home.razor)
   ========================================= */

/* Hero Visual Elements */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    position: relative;
}

.hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    transform: rotate(-5deg);
}

.hero-floating-icon {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-floating-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.15);
}

.hero-floating-icon:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 5s;
}

.hero-floating-icon:nth-child(2) {
    animation-delay: 0.5s;
    animation-duration: 6s;
}

.hero-floating-icon:nth-child(3) {
    animation-delay: 1s;
    animation-duration: 7s;
}

.hero-floating-icon:nth-child(4) {
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

.hero-particles span:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.hero-particles span:nth-child(2) {
    top: 35%;
    left: 85%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.hero-particles span:nth-child(3) {
    top: 55%;
    left: 25%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.hero-particles span:nth-child(4) {
    top: 75%;
    left: 65%;
    animation-delay: 1s;
    animation-duration: 22s;
}

.hero-particles span:nth-child(5) {
    top: 20%;
    left: 55%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.hero-particles span:nth-child(6) {
    top: 85%;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 19s;
}

/* Contact Info Cards */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 148, 136, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: 12px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.contact-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.contact-value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

/* Product image span styling */
.product-image span {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pharma-product-card:hover .product-image span {
    transform: scale(1.25) rotate(-8deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

@media (max-width: 991.98px) {
    .hero-visual {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .contact-info-card {
        width: 100%;
    }

    .contact-info-grid .row {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-info-grid .col-auto {
        width: 100%;
    }
}

/* Blog Preview Section Styles */
.featured-blog-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.featured-blog-card:hover {
    transform: translateY(-5px);
}

.featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.featured-blog-card:hover .featured-bg {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.featured-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.blog-badge {
    background: #10b981;
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-title a {
    color: white;
    text-decoration: none;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.post-date {
    font-size: 0.8rem;
    opacity: 0.8;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Side Cards */
.side-blog-card {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.side-blog-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.side-img-wrapper {
    width: 110px;
    min-width: 110px;
    height: 100%;
    min-height: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.side-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.side-blog-card:hover .side-img {
    transform: scale(1.1);
}

.side-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.side-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.side-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.side-title a:hover {
    color: #10b981;
}

@media (max-width: 991px) {
    .featured-blog-card {
        height: 400px;
    }

    .featured-title {
        font-size: 1.5rem;
    }
}