/* ================================
   Reference Pharma - Global Styles
   ================================ */

/* CSS Variables */
:root {
    --primary-dark: #0A2342;
    --primary-blue: #1B4965;
    --primary-teal: #4A9FB8;
    --primary-cyan: #5FA8D3;
    --primary-light: #CAE9FF;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-arabic);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

/* Utility Classes */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-cyan));
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.molecule-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
}

.molecule {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.molecule:nth-child(1) {
    top: 10px;
    right: 10px;
    animation-delay: 0s;
}

.molecule:nth-child(2) {
    bottom: 10px;
    left: 10px;
    animation-delay: 1s;
}

.molecule:nth-child(3) {
    top: 10px;
    left: 10px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--primary-teal);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-cyan));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-teal);
    border-radius: 50px;
    color: var(--primary-teal);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-teal) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
}

.floating-molecules .molecule-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    animation: float-large 6s ease-in-out infinite;
}

.molecule-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.molecule-particle:nth-child(2) { top: 40%; right: 20%; animation-delay: 1.5s; }
.molecule-particle:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 3s; }
.molecule-particle:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 4.5s; }
.molecule-particle:nth-child(5) { top: 60%; left: 50%; animation-delay: 6s; }

@keyframes float-large {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1rem;
    opacity: 1;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-cyan));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(74, 159, 184, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 159, 184, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% { top: 8px; opacity: 1; }
    100% { top: 28px; opacity: 0; }
}

/* Page Header */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: var(--white);
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Cards & Grids */
.about-preview-grid,
.portfolio-preview-grid,
.services-preview-grid,
.values-grid,
.portfolio-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-preview-card,
.portfolio-preview-card,
.service-preview-card,
.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-preview-card:hover,
.portfolio-preview-card:hover,
.service-preview-card:hover,
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon,
.service-icon,
.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-cyan));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.card-link,
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: 1rem;
}

.card-link:hover,
.service-link:hover {
    gap: 1rem;
}

/* Portfolio Section */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-badge {
    background: var(--primary-teal);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary-teal);
}

/* Global Presence */
.global-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.global-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.global-stat-item i {
    font-size: 2.5rem;
    color: var(--primary-teal);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-dark);
}

.stat-label {
    color: var(--white);
    font-size: 0.95rem;
}

/* Portfolio Stats Custom Styles */
.stat-number-1,
.stat-number-2,
.stat-number-3 {
    color: #000000;
    font-weight: 900;
    font-size: 3rem;
}

.stat-label-1,
.stat-label-2,
.stat-label-3 {
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
}

/* Leadership Stats Custom Styles */
.stat-number-leadership-1,
.stat-number-leadership-2,
.stat-number-leadership-3 {
    color: #000000;
    font-weight: 900;
    font-size: 2.5rem;
}

.stat-label-leadership-1,
.stat-label-leadership-2,
.stat-label-leadership-3 {
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
}

.global-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.region-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.region-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.region-header.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.region-location {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.region-countries {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--primary-teal);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-cyan);
    transform: translateY(-5px);
}

/* Contact Forms */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group i {
    color: var(--primary-teal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: var(--font-arabic);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(74, 159, 184, 0.1);
}

/* Language Direction Support */
html[dir="ltr"] {
    direction: ltr;
}

html[dir="rtl"] {
    direction: rtl;
}

/* Adjust notification position based on direction */
html[dir="ltr"] .notification {
    right: auto !important;
    left: 20px !important;
}

html[dir="rtl"] .notification {
    right: 20px !important;
    left: auto !important;
}

/* Adjust back to top button position based on direction */
html[dir="ltr"] .back-to-top {
    left: auto !important;
    right: 30px !important;
}

html[dir="rtl"] .back-to-top {
    left: 30px !important;
    right: auto !important;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: all 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .lang-toggle {
        margin-right: 1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    
    .logo-image {
        height: 40px;
        max-width: 140px;
    }
    
    .footer-logo-image {
        height: 60px;
    }
    
    .hero-stats,
    .form-row,
    .global-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    h1 { font-size: 2rem; }
    .hero-title { font-size: 2rem; }
    .page-title { font-size: 2rem; }
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-40deg);
}

/* ================================
   Language Support - English/LTR
   ================================ */

/* English Font */
html[lang="en"],
html[dir="ltr"] {
    font-family: var(--font-english);
}

html[lang="en"] body,
html[dir="ltr"] body {
    font-family: var(--font-english);
}

/* LTR Adjustments */
html[dir="ltr"] .nav-link::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .card-link i,
html[dir="ltr"] .service-link i {
    transform: rotate(180deg);
}

html[dir="ltr"] .scroll-indicator {
    text-align: center;
}

html[dir="ltr"] .footer-links,
html[dir="ltr"] .footer-contact {
    text-align: left;
}

/* Text Alignment for LTR */
html[dir="ltr"] {
    text-align: left;
}

html[dir="ltr"] .section-header {
    text-align: center;
}

/* Logo positioning for LTR */
html[dir="ltr"] .logo {
    flex-direction: row;
}

/* Mobile menu for LTR and RTL */
@media (max-width: 992px) {
    html[dir="ltr"] .nav-menu {
        left: -100%;
        right: auto;
    }
    
    html[dir="ltr"] .nav-menu.active {
        left: 0;
        right: auto;
    }
    
    html[dir="rtl"] .nav-menu {
        right: -100%;
        left: auto;
    }
    
    html[dir="rtl"] .nav-menu.active {
        right: 0;
        left: auto;
    }
}

/* Hide Arabic text and separator in product names when in English mode */
html[lang="en"] .product-list li .arabic-text,
html[dir="ltr"] .product-list li .arabic-text,
html[lang="en"] .peptide-category ul li .arabic-text,
html[dir="ltr"] .peptide-category ul li .arabic-text,
html[lang="en"] .product-list li .separator,
html[dir="ltr"] .product-list li .separator,
html[lang="en"] .peptide-category ul li .separator,
html[dir="ltr"] .peptide-category ul li .separator {
    display: none;
}

/* Hide the dash separator before Arabic text in English mode */
html[lang="en"] .product-list li .english-text::after,
html[dir="ltr"] .product-list li .english-text::after,
html[lang="en"] .peptide-category ul li .english-text::after,
html[dir="ltr"] .peptide-category ul li .english-text::after {
    content: "";
}

/* Remove the dash separator between English and Arabic in LTR */
html[lang="en"] .product-list li,
html[dir="ltr"] .product-list li,
html[lang="en"] .peptide-category ul li,
html[dir="ltr"] .peptide-category ul li {
    white-space: normal;
}
